If you remove the offending glBegin, it works, but I dont know where is your projection looking at.
See http://groups.google.com/group/pyglet-users/web/pyglet-projection-matrix?hl=en You can test those 2 lines in projections.py, and they work perfectly. def playground(): # Test your code here sphere = gluNewQuadric() gluSphere(sphere,10.0,10,10) >> Why are you calling glBegin(GL_TRIANGLES)? In addition to posting >> code, you should also post a stacktrace to explain your crash. This what I get with that lost glBegin. File ".\xx.py", line 30, in draw gluSphere(sphere,10.0,10,10) WindowsError: exception: access violation reading 0x00000000 Presione una tecla para continuar . . . --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
