PDA

View Full Version : Lines problems with texturemapping...



luc_pop
09-07-2001, 01:28 PM
Hello,
I did a small OpenGl program that displays a texturemapped box on the screen. When I try to make a bigger wireframe box around it (made of white lines (glBegin(GL_LINES))) the lines has the same color as the texture. I tried to set the color with glColor3f(1.0,1.0,1.0) but it doesn't work. Can someone tell me why can't I set the color, please? I'm getting desperate...

I'm using Linux 7.0 and asus TNT (16 MB).

harsman
09-08-2001, 02:20 AM
Lines are affected by texturing too, disable it before drawing the lines.

luc_pop
09-09-2001, 07:44 AM
Originally posted by harsman:
Lines are affected by texturing too, disable it before drawing the lines.

That did it! THANX....
http://www.opengl.org/discussion_boards/ubb/biggrin.gif