Re: Re: [GtkGLExt] About GL_LINES



Hi,
I think you just have to call glDisable(GL_LIGHTING); before drawing the
line, and also set the line's color by using glColor(); Then reenable
lighting if you need it.
Luca

I could do it!
I need more study about OpenGL programming.
Thank you for your good advise, Luca.

Sincerely yours,
Teppei






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]