multi-level collision detection

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


Problem:
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?

Wacko

Thanks all

Alert
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 3,207 Jun 8, 2009 06:30 AM
Last Post: Elphaba
  the best way to do collision detection ghettotek 26 9,936 Jun 4, 2009 02:30 PM
Last Post: AnotherJake
  Hierarchy, gluProject and collision detection lemtoo 3 4,532 Nov 30, 2007 09:26 AM
Last Post: lemtoo
  Quad Collision-Detection Duane 5 5,081 Jan 18, 2005 01:42 PM
Last Post: Duane
  Collision detection problems CarbonX 6 3,692 Sep 5, 2004 01:08 PM
Last Post: Tasnu Arakun