PDA

View Full Version : Part of a quad becomes see through when viewed at certain angles



xman84
09-15-2012, 11:43 AM
I notice it when viewing from a specific angle but if I move a little or change the direction the camera is pointing then it'll go back to normal. I'm not really sure even where to start with this one.
I only render faces exposed to air and I dont have culling enabled in opengl. If you look closely you'll notice that its not even a full triangle that isn't being drawn because the top is still visible.
Anyone have any thoughts on what could cause this?

871

Carmine
09-15-2012, 01:21 PM
Anyone have any thoughts on what could cause this?

Check to make sure that all 4 vertices making up the quad are co-planar.

xman84
09-15-2012, 04:04 PM
Yes they are coplanar. It looks like it is being clipped but I don't understand why like that and why not also clip what is closer.