Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: jamin1@psu.edu (Jamin Frederick) Newsgroups: scee.yaroze.programming.3d_graphics Subject: Re: RotMatrixBUG???? Date: Thu, 09 Jul 1998 20:38:16 GMT Organization: SCEA News Server Lines: 23 Message-ID: <35a528d3.93514378@news.scea.sony.com> References: <01bda686$31300120$4fa1f7c2@manolo> <359D8B5E.54DE@mdx.ac.uk> <35a427fd.88736196@news.scea.sony.com> <35A46F21.2A41@mdx.ac.uk> NNTP-Posting-Host: JAMINFRE.hq.ensco.com X-Newsreader: Forte Free Agent 1.11/32.235 > >>Now what do I have to do if I have a button for each rotation >>direction, positive and negative around each axis, and i want to >>rotate the object arbitrarily without using the "incremental" method? >>Apparently I can't just increment/decrement the numbers in the (a,b,c) >>vector when I push the corresponding buttons. > >Is it a problem to just rotate by small amounts each press? > No, that's how I was doing it -- I would get the new change in rotation angles input by the user and apply this vector (after matricising it) to the coord matrix -- and i didn't even notice distortion. But I was under the impression that everyone was using the "consummate" start-from-scratch method of RotMatrix with the angle vector. I haven't got it to work with the way given above, though. Once I rotate the model around one axis, following rotations are screwed up, like the original posted problem, I guess. Jamin