Enable Spatial Hash Visualization

Official forum for the Chipmunk2D Physics Library.
Post Reply
lautarov
Posts: 8
Joined: Fri Apr 21, 2017 12:52 pm
Contact:

Enable Spatial Hash Visualization

Post by lautarov »

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!!!
aisman
Posts: 145
Joined: Tue Mar 04, 2008 2:21 am
Contact:

Re: Enable Spatial Hash Visualization

Post by aisman »

Maybe you have to reread this docu chapter:
https://chipmunk-physics.net/release/Ch ... patialHash
Chipmunk4PB: The fastest way to write games together with PureBasic and the Chipmunk physics engine.
lautarov
Posts: 8
Joined: Fri Apr 21, 2017 12:52 pm
Contact:

Re: Enable Spatial Hash Visualization

Post by lautarov »

aisman wrote:Maybe you have to reread this docu chapter:
https://chipmunk-physics.net/release/Ch ... patialHash
what? I know how to enable the spatial hashing, I want to visualize it... I don't get what you are suggesting...
aisman
Posts: 145
Joined: Tue Mar 04, 2008 2:21 am
Contact:

Re: Enable Spatial Hash Visualization

Post by aisman »

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.
lautarov
Posts: 8
Joined: Fri Apr 21, 2017 12:52 pm
Contact:

Re: Enable Spatial Hash Visualization

Post by lautarov »

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...
aisman
Posts: 145
Joined: Tue Mar 04, 2008 2:21 am
Contact:

Re: Enable Spatial Hash Visualization

Post by aisman »

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.
lautarov
Posts: 8
Joined: Fri Apr 21, 2017 12:52 pm
Contact:

Re: Enable Spatial Hash Visualization

Post by lautarov »

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.
aisman
Posts: 145
Joined: Tue Mar 04, 2008 2:21 am
Contact:

Re: Enable Spatial Hash Visualization

Post by aisman »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests