On Thu, Dec 18, 2008 at 12:00 PM, Steve <[email protected]> wrote:
>
> You can also try setting glLineWidth(2), or something else greater
> than 1, as a stopgap.
line widths greater than 1 are deprecated, so your milage may vary there as
well, particularly with newer drivers.
(in a function called drawLines, which is called by hiway.draw())
....
pyglet.graphics.draw(vertNo,pyglet.gl.GL_LINES,('v2i',tuple
(scaledList)), ('c3B',RGBcolor*vertNo))
....
You probably have this down, but just in case: GL_LINES draws a single
segment between each *pair* of vertices, whereas GL_LINE_STRIP draws a
segment between each vertex and the next. This is an easy mistake to make,
so make sure you have all the duplicate vertices in there if you intended to
use GL_LINES.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---