PDA

View Full Version : object appears under certain angles



coda
01-15-2004, 04:31 AM
i drew an object with a few faces. When i rotate the object around 360 deg, some faces disappear at certain angles but appear when viewed from front (0 deg). How to resolve this?

PanzerSchreck
01-15-2004, 04:47 AM
Push your farclipping plane further away.

coda
01-15-2004, 04:50 AM
what is the fast clipping plane and what code to do that?

PanzerSchreck
01-15-2004, 06:00 AM
It's called far clipping plane. And if you don't know what it is, then please go and read the redbook (also called the OpenGL-Manual). The near and the far clipping plane define at what z your geometry gets clipped. If a point lies outside of the clipping range, then it get's clipped. You can set both via gluPerspective.