10-24-2006, 05:10 AM
Hi!
Is there a faster way than using the glPushName/glPopName solution to find out the x,y position on the heightmap using the mouse pointers position?
Maybe by calculating the position depending on the depth buffer using glReadPixels?
An example would be also nice, because I'm not so good with calculating all those 3D things.
Thanks for every help :)
Is there a faster way than using the glPushName/glPopName solution to find out the x,y position on the heightmap using the mouse pointers position?
Maybe by calculating the position depending on the depth buffer using glReadPixels?
An example would be also nice, because I'm not so good with calculating all those 3D things.
Thanks for every help :)