Advertisement

How To Use Mouse Trackball???

Started by January 23, 2002 08:58 PM
1 comment, last by Functor 23 years, 1 month ago
Hey! I''ve been working with making an interactive viewpoint in my OpenGL stuff. I chose to take quite a different approach than in Lesson 10. I use gluLookAt to change the viewpoint position. Anyways... I currently have bound keys to the movement functions, but I would like to be able to move around using the mouse (not the buttons on the mouse). Where can I find information about how to use the two axes of the mouse? Thanks.
Shakedown...
There''s a really simple way to use the mouse for looking around in Lesson 23, hehe, it''s like a few lines.
Languages: C/C++ C# JavaAPIs: Win32 OpenGL DirectXWeb: &#106avascript Perl JSP PHP-MySQL Oracle Database Programming</span><a href='http://www.ethereal-studios.com'>http://www.ethereal-studios.com</a></a>
Advertisement
take a look at this

http://is6.pacific.net.hk/~edx/bin/trackball.zip

if that is what you want, just look for the code of Gavin Bell and use it.

Hope this helps!

g

This topic is closed to new replies.

Advertisement