hknibbe01
11-01-2000, 12:01 AM
Hello everyone,
I'm having a problem moving a 3D object on the screen. I would like the object to follow the mouse movements (the object's center and the mouse's cursor do not necessary have to be the same on the screen).
I know the object's world coordinates and the mouse position. This should be done with gluProject and gluUnproject but so far I have been unsuccessfull.
Can someone help me/point me to an example?
Thanks in advance Hans.
I'm having a problem moving a 3D object on the screen. I would like the object to follow the mouse movements (the object's center and the mouse's cursor do not necessary have to be the same on the screen).
I know the object's world coordinates and the mouse position. This should be done with gluProject and gluUnproject but so far I have been unsuccessfull.
Can someone help me/point me to an example?
Thanks in advance Hans.