On Tue, Jul 28, 2009 at 12:27 PM, A Y <[email protected]> wrote: > > Hi, > I am a newbie. I have several images from one surface from > different angles and I want to enable the user to rotate a surface and > see it from different angles. The only issue is that I do not want > opengl to automatically calculates the surface, instead to load a new > image each time. Could anyone help me with the direction on how I can > do this? Thanks a lot. > A
Roughly speaking, you want to figure out the angle you are viewing the object from, and display the appropriate image. If you are doing this in 3-dimensional space, then you will have to figure out the vector from the viewer to the object, and extract the necessary angle(s) from that. If you can give more details on what you are trying to accomplish (and where you are so far), we may be able to assist further. -- 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 -~----------~----~----~----~------~----~------~--~---
