Re: [GtkGLExt] About GL_LINES
- From: Luca Cappa <luca cappa i-medlab com>
- To: gtkglext-list gnome org
- Subject: Re: [GtkGLExt] About GL_LINES
- Date: Tue, 06 Sep 2005 09:41:08 +0200
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]