Now I'm using cocos2d and am new and having trouble with OpenGL,
OpenGL transform, etc.

cocos2d uses glPerspective instead of gluOrtho, which allow correct
rendering of 3d object, but I found it is quite confusing for 2d
rendering,

After I zoom out by transforming projection with gluLookAt, pyglet
gives different reading as expected, as pyglet took coordinate from
default projection.

the problem is, how do I get the correct mouse coords after the
transform?, I look at pybox2d's testbed examples, etc but they use
gluOrtho for projection
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to