Re: [GtkGLExt] About GL_LINES



Hello

Teppei IKEYA wrote:
> 
> Could you teach me correct writing style for keeping the line's color
> in GTKGLEXT library.

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.

Greetings,
Luca





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