On Feb 15, 2008 11:25 PM, Txema Vicente <[EMAIL PROTECTED]> wrote: > > >> You might want to try glReadPixels for this. > > No more z-layers, now my app is gone 3D. > Targets can rotate over all axis, clipping is enabled. > That ray function works, but now I can't know witch > one is nearest, so I'm trying with glReadPixels. >
You might want to into gluPickMatrix as well: http://www.cse.msu.edu/~cse872/tutorial9.html An example of how I've used this with pyglet can be found in miru: http://enterthefoo.com:8001/Miru/file/tip -- \\\\\/\"/\\\\\\\\\\\ \\\\/ // //\/\\\\\\\ \\\/ \\// /\ \/\\\\ \\/ /\/ / /\/ /\ \\\ \/ / /\/ /\ /\\\ \\ / /\\\ /\\\ \\\\\/\ \/\\\\\/\\\\\/\\\\\\ d.p.s --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
