some faces of an object disappear when viewed at certain angle

Started by
2 comments, last by coda_x 20 years, 4 months ago
I rendered an object with several faces. When viewed from front face, it appears correctly. however when i rotate the object 360 deg, at certain angles, some faces disappear. How do I make sure that the faces appear at all angles?
Advertisement
Maybe it''s your near plane clipping it away...
_____ /____ /|| | || MtY | ||_____|/Marty
I have:
gluPerspective(45.0f,(GLfloat)width/(GLfloat) height,0.1f,100.0f);

how do i modify it? but it doesn''t seem to make sense that other objects i rendered in the same scene appeared nicely, only this particular object doesn''t..
i get it. i reversed my control coordinates and it works fine now

This topic is closed to new replies.

Advertisement