Right. I tried that, with the same result: a black window. The camera is zoomed out, so I can't be inside the sphere... Hmm.
On Thu, Jul 9, 2009 at 1:34 PM, Tristam MacDonald<[email protected]> wrote: > On Thu, Jul 9, 2009 at 7:04 AM, Dag Henrik <[email protected]> wrote: >> >> Thank you for the feedback. I tried running the code with a different >> projection >> without much luck. However, I'm starting the think the problem is >> related to the >> camera. Current code: >> >> http://paste.pocoo.org/show/127450/ >> >> glPushMatrix() >> glTranslatef(0.0, 0.0, -100.0) >> glPopMatrix() > > The code I have copied here does absolutely nothing - you have to push and > translate before drawing the sphere, and not pop till afterwards. > -- > Tristam MacDonald > http://swiftcoder.wordpress.com/ > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
