On Jan 31, 2008 12:43 PM, Txema Vicente <[EMAIL PROTECTED]> wrote:

The problem is that I don“t know if I have to make an imaginary line
between the position of the shooter and the "virtual screen coords",
and then go from the nearest image calculating if that line is
intersecting it. Im learning OpenGL on the fly, so the question is: is
there a simpler way?

Are you trying to convert screen coordinates to world coordinates? I'm not
exactly following the problem, but this might help if you are:

http://djfroofy.livejournal.com/3924.html

Drew

--~--~---------~--~----~------------~-------~--~----~
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