PDA

View Full Version : is ther a problem with frustum?



mithun_daa
10-29-2003, 07:58 AM
im not sure whatz happening, but iv created a viewvolume using glfrustum and i have a few polygons in ther. when i zoom in (using gllookat) or as i move in the viewvolume, and when i hit say a polygon, the polygon seemz to be at a distance, while what i was expecting was that i would be inside the polygon. i think therz some gap thatz being generated between the camera and the polyon. is this cause im using frustum or is it cause im goin wrong somewher else?

thank u

10-30-2003, 02:35 AM
If you have back face culling enabled are the polygons only visible from one side. Inside a sphere for example is not the walls visible.

virtualchetan
10-30-2003, 07:45 AM
Can it be a floating point calculation error....If the near plane is almost equal to 0?

- Chetan

mithun_daa
10-30-2003, 07:50 AM
the near plane is set at 10, so i dont think that should cause a prob.

Originally posted by virtualchetan:
Can it be a floating point calculation error....If the near plane is almost equal to 0?

- Chetan