Skip to main content
gamedev.net
🔒 Locked

i

Started by aeleneski 2 replies 600+ views
Original Post
aeleneski
aeleneski
i [Edited by - aeleneski on April 24, 2006 11:13:17 PM]
djsteffey
djsteffey
why cant you draw anything else ?
look into

glBegin(GL_LINES);

"A soldier is a part of the 1% of the population that keeps the other 99% free" - Lt. Colonel Todd, 1/38th Infantry, Ft. Benning, GA
Simonlude
Simonlude
Try to set the texture to null
glBindTexture(GL_TEXTURE2D, 0);

Should work

Simon
PinguinDude
PinguinDude
That is because you need to set the line color, use glColor3f(R, G, B); 1.0f is the same as 255 in the paint RGB thing.

Besides that you can also draw triangles squars blabla.

look.

glBegin(GL_QUADS); would start a squar
glBegin(GL_TRIANGLES); would start a triangle
http://sourceforge.net/projects/pingux/ <-- you know you wanna see my 2D Engine which supports DirectX and OpenGL or insert your renderer here :)

Topic Locked

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

Sign in to reply to this topic.