Solved, thank you! I appreciate everyone's comments. This one proved to be the key:
On Dec 18, 12:00 pm, "Tristam MacDonald" <[email protected]> wrote: ... > 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. .... Tristam, you are correct! As is usually the case, the code did what I told it to, not what I wanted. Thank you again - I was pulling my hair out, worrying it was my hardware or a driver issue or other lousy intractable situation. I am definitely, as Steve put it, at the cargo- cult level of openGL understanding. I play the drums, sacrifice some offerings, and insert lines of code here and there, and every once in a while the thing actually works. Its becoming slowly less mystical for me. As you can imagine, my code isn't at all elegant, but it is a mostly working hacked-together geographic information system (GIS). It stitches together a couple of libraries to read spatial data, display it on the screen, and make it available for analysis and modeling. I know a lot about spatial algorithms but very little about graphics; older posts on this forum have already helped me a lot, though. This code is for a graduate course on spatial programming I'm teaching next semester. In case anyone is interested, I will polish it up some and post it on a public course web page: https://www.msu.edu/~ashton/classes/825/weekly.html Currently that page has notes from last time I taught it, but pretty soon it'll have the 2009 class. It'd better at least! For those interested, here is a screen shot of all of the roads in Clinton County, Michigan, with over 6900 separate features. Pyglet/openGL handles it fine, and now with no gaps! https://www.msu.edu/~ashton/temp/rendering2.png --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
