After banging my head against the wall for a while, I found out that removing self.window.push_handlers(self) and subclassing window.Window solved my problem...
On Thu, Jul 9, 2009 at 7:55 PM, Jimmy Chan<[email protected]> wrote: > > Here is a simple example which uses a trackball camera. I found the > camera here http://www.rogerandwendy.com/roger/code/trackball_camera.txt > > http://bitbucket.org/jimmyhchan/pyglet_glusphere_test/src/ > download and run trackball_camera_test.py > > jimmy > > > > On Jul 9, 5:19 am, Tristam MacDonald <[email protected]> wrote: >> On Thu, Jul 9, 2009 at 7:39 AM, Dag Henrik <[email protected]> wrote: >> >> > 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. >> >> Just to make sure the camera is in the correct place, try using gluLookAt >> (http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/...), >> which lets you precisely position the camera. >> >> Also make sure that you have disabled lighting and texturing - >> gluQuadrics don't generate normals or texture coordinates by default. >> >> -- >> Tristam MacDonaldhttp://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 -~----------~----~----~----~------~----~------~--~---
