Enable Spatial Hash Visualization

Official forum for the Chipmunk2D Physics Library.

Enable Spatial Hash Visualization

Postby lautarov » Tue Oct 31, 2017 11:56 am

Hello everybody!
In the Spatial hashing section of https://chipmunk-physics.net/release/Ch ... test-Docs/ says "Using the spatial has visualization in the demo program you can see what I mean." . I couldn't find how to enable the visualization in the demo :?: , is that possible?
Thanks!!!
lautarov
 
Posts: 8
Joined: Fri Apr 21, 2017 12:52 pm

Re: Enable Spatial Hash Visualization

Postby aisman » Sat Nov 04, 2017 2:16 am

Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
User avatar
aisman
 
Posts: 143
Joined: Tue Mar 04, 2008 2:21 am

Re: Enable Spatial Hash Visualization

Postby lautarov » Wed Nov 22, 2017 2:50 pm

aisman wrote:Maybe you have to reread this docu chapter:
https://chipmunk-physics.net/release/ChipmunkLatest-Docs/#cpSpace-SpatialHash

what? I know how to enable the spatial hashing, I want to visualize it... I don't get what you are suggesting...
lautarov
 
Posts: 8
Joined: Fri Apr 21, 2017 12:52 pm

Re: Enable Spatial Hash Visualization

Postby aisman » Mon Dec 04, 2017 2:24 am

lautarov wrote:... I want to visualize it... I don't get what you are suggesting...

visualizing? What? Maybe it is your part to render it.
Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
User avatar
aisman
 
Posts: 143
Joined: Tue Mar 04, 2008 2:21 am

Re: Enable Spatial Hash Visualization

Postby lautarov » Tue Dec 05, 2017 6:31 pm

aisman wrote:
lautarov wrote:... I want to visualize it... I don't get what you are suggesting...

visualizing? What? Maybe it is your part to render it.


"Maybe" or maybe not, that's why I asked. The docu says "Using the spatial hash VISUALIZATION in the demo..." suggesting it was already implemented, I don't know, a guideline or something...
lautarov
 
Posts: 8
Joined: Fri Apr 21, 2017 12:52 pm

Re: Enable Spatial Hash Visualization

Postby aisman » Wed Dec 06, 2017 3:35 am

lautarov wrote:"Maybe" or maybe not, that's why I asked. The docu says "Using the spatial hash VISUALIZATION in the demo..." suggesting it was already implemented, I don't know, a guideline or something...

Its only a docu and VISUALIZATION has differnt meanings.
What you are think to see on the Demo?
I think it is "only a faster "behavior"
Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
User avatar
aisman
 
Posts: 143
Joined: Tue Mar 04, 2008 2:21 am

Re: Enable Spatial Hash Visualization

Postby lautarov » Sun Dec 10, 2017 11:35 am

aisman wrote:
lautarov wrote:"Maybe" or maybe not, that's why I asked. The docu says "Using the spatial hash VISUALIZATION in the demo..." suggesting it was already implemented, I don't know, a guideline or something...

Its only a docu and VISUALIZATION has differnt meanings.
What you are think to see on the Demo?
I think it is "only a faster "behavior"


After that sentence, there are a couple of photos with grey squares representing the hash cells. I thought "visualization" was referring to that, I mean, viewing that squares in the background.
lautarov
 
Posts: 8
Joined: Fri Apr 21, 2017 12:52 pm

Re: Enable Spatial Hash Visualization

Postby aisman » Tue Dec 12, 2017 5:56 am

ok.
Maybe you need a second look an the demo sources.
Maybe there is one more switch to show what you miss/mean.
Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
User avatar
aisman
 
Posts: 143
Joined: Tue Mar 04, 2008 2:21 am


Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 2 guests