[PyOpenGL-Users] Using Trackball
Brought to you by:
mcfletch
From: John M. <jo...@jo...> - 2004-07-15 20:49:16
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is there any examples of how to use OpenGL.Trackball? All it says is that you supply 2 points to the trackball, and then you use .matrix to get the rotation matrix out. But what points do you supply? Does it only rotate around the (0,0,0) axis, so you need to do your own translations, etc? (I assume it has to). At that point, when do you do the translation for an object? Etc, etc. I've tried using it, but it usually looks really bad. Like it will rotate, but it distorts the image as it goes, that sort of thing. I haven't tried a lot lately, but I was hoping that I could have an example to go off of. Thanks, John =:-> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFA9u3QJdeBCYSNAAMRAkbsAKCXST/D40T90THOa8rALKAq+1Tn7QCfUZKx ZiFOxxweB2ftblhFaH3/bn8= =w9rq -----END PGP SIGNATURE----- |