Imported .ASE geometry problem

Greetings.

I wrote an app that imports an ASE file that 3D Studio Max has exported, and then takes the *MESH from the *GEOM_OBJECT and creates a display list from it. My problem is that when I move the camera forward towards the object, faces of the shape occasionally disappear. The faces that disappear/reappear change each movement of the camera. Any ideas on why this is?

Thanks

Originally posted by JGailor:
[b]Greetings.

I wrote an app that imports an ASE file that 3D Studio Max has exported, and then takes the *MESH from the *GEOM_OBJECT and creates a display list from it. My problem is that when I move the camera forward towards the object, faces of the shape occasionally disappear. The faces that disappear/reappear change each movement of the camera. Any ideas on why this is?

Thanks[/b]

Actually, fixed my problem. OpenGL apparently doesn’t like it much when the near view plane is at 0. Set it to 1.0 and everything is fine now.