1
Vote

Odd behaviour when moving through 3d scene (triangles obscuring view)

description

I am working on a 3D Campus Map and have been attempting to use Kit3D to display the map so i can rotate, zoom and fly through the campus.
 
I am finding that when i ge close to the gound level i have triangles that should not be visible obscuring the view, see attached image to see what i mean, figure 1 shows the scene from one position, then the next wwo are from after moving (panning) forwards accross the plan.
 
Is this an easy fix?
 
Regards,
Duncan

file attachments

comments

markdawson wrote Oct 4, 2008 at 4:29 AM

Hi Duncan,
currently I do not cull/clip object that go behind the camera, so after applying the perspective transform things behind the camera can get projected back infront of the camera causing the issue you are seeing. There is a qucik and dirty beck that can be performed to stop this from happening, I will try to update the code in the next few days to fix this.

wrote Feb 14, 2013 at 12:18 AM