Skip to main content
gamedev.net
🔒 Locked

3d wireframe

Started by mea36 1 reply 750+ views
Original Post
mea36
mea36
Hi, I'm trying to create a 3d object out of triangle. However whenever I run my program all I see is 2 triangles that form a square. I have glPolygonMode se to GL_FRONT_AND_BACK, GL_LINE I've enabled GL_AUTO_NORMAL and GL_NORMALIZE And glMatrixMode is GL_PROJECTION is there anything I'm missing?
Lord_Evil
Lord_Evil
Depends on what shape your model has. Could you post a screenie?

Check is glDisable(GL_CULL_FACE) is set.
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!
mea36
mea36
Thanks for responding but I figured out my problem. Everything was correct, I was just looking at in from the wrong angle.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.