I need help starting out...

Started by
10 comments, last by Kaezin 21 years, 8 months ago
Forget what I said - that''s just the way I did it. Anyway, as an aside you can change the orientation with glFrontFace() with the parameter GL_CW or GL_CCW.


Luigi Pino
www.lp23.com
Advertisement
The problem is that you had textures enabled. Since there was a bound texture, and you did not specify texture coordinates, nothing showed up. You can use PmanC''s suggestion, but I prefer to actually disable texturing instead of binding a non-existent texture.

glDisable(GL_TEXTURE_2D);
but make sure you re-enable it after you draw the any non-textured stuff:
glEnable(GL_TEXTURE_2D);

***500 error***

This topic is closed to new replies.

Advertisement