multi-level collision detection

Post: #1
Hello, CAn Anyone Help ...

I´am working in a multi-level collision detection using a depth map.
The process is simple, In a top view, I down the Z-Near to Z-Far, and save the image depth in a matrix. Then I compare the Depth´s in images to finder a path without a collision. But Opengl not keep a perpendicular line in the image.....

So, there is the question:
In a top view, when down the Z-Near the vertical walls of a building disappear of the top image, so that, I can´t identify this collision.
I have used glPolygonMode(GL_BACK,GL_LINE) to keep at the end the the line that corresponds at a wall, but when use glEnable(GL_DEPHT_TEST) the problem persists.

Any idea? to solve this?


Thanks all

Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  2D Pixel Collision Detection using OCCLUSION Elphaba 0 4,299 Jun 8, 2009 06:30 AM
Last Post: Elphaba
  the best way to do collision detection ghettotek 26 17,152 Jun 4, 2009 02:30 PM
Last Post: AnotherJake
  Hierarchy, gluProject and collision detection lemtoo 3 6,668 Nov 30, 2007 09:26 AM
Last Post: lemtoo
  Quad Collision-Detection Duane 5 7,586 Jan 18, 2005 01:42 PM
Last Post: Duane
  Collision detection problems CarbonX 6 5,475 Sep 5, 2004 01:08 PM
Last Post: Tasnu Arakun