by "jbwest" <jbwest@[EMAIL PROTECTED]
>
Aug 26, 2008 at 05:10 PM
"Flark" <flarkino@[EMAIL PROTECTED]
> wrote in message
news:b6091c1f-a403-43ba-a85f-0c910a7dd590@[EMAIL PROTECTED]
>
> When I view some lines (GL_LINES) from above
> (negative y axis), they appear one color e.g. black.
> When I view them from the front (negative z)
> they appear white. They are supposed to be
> white all of the time. Anybody know what could
> cause this? There is one light.
> Also, when I rotate the model between 65 and 75
> degrees on the y axis, the lines change color.
>
> Thanks.
Do you have lighting enabled for the line draw? (Yes, lines can be
lighted).
If you do, it picks up the last normal and uses that for the lighting
calculation.
If you want them unlit -- then turn off lighting while drawing them.
jbw