Hi all- I'm scratching my head over this one. I have a working pyglet script that was written in a non-object-oriented fashion (gfx_test_1.py). I then attempted to "object-orientify" this script by converting it into a class (gfx_test_2.py).
Both files should be rendering a square using a 3d perspective projection and then placing some text over top of the screen using a 2d ortho projection. >From the first script, I see the expected output. From the second script, I see the text but not the 3d square underneath. Any idea why? Is my use of decorators in second file incorrect? Please take a look, the files are pretty short. -Steven PS: should my on_draw event return pyglet.event.EVENT_HANDLED (like on_resize), or no? -- 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.
gfx_test_1.py
Description: Binary data
gfx_test_2.py
Description: Binary data
