On Feb 7, 1:20 pm, Rayene Ben Rayana <[email protected]> wrote: > 3. call gluOrtho2D with a fix scale sc2 (does not depend on the zoom) > 4 call gluLookAt again with coords = x*(sc2/sc1) , y*(sc2/sc1) , instead of
I think this might be a bit more complicated than it needs to be look at this example: http://tartley.com/?p=250 you can just set gluOrtho2D to the window dimensions and use absolute coordinates. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
