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:44:21 GMT Organization: SCEA News Server Lines: 34 Message-ID: <35a52a58.93903711@news.scea.sony.com> References: <01bda686$31300120$4fa1f7c2@manolo> <359D8B5E.54DE@mdx.ac.uk> <35a427fd.88736196@news.scea.sony.com> <35A480D6.FA1F21A@scee.sony.co.uk> NNTP-Posting-Host: JAMINFRE.hq.ensco.com X-Newsreader: Forte Free Agent 1.11/32.235 On Thu, 09 Jul 1998 09:35:34 +0100, James Russell wrote: >> 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. > >No, that's fine. If you want to rotate your object 40 degrees MORE about the Z axis, >then just add 40*4096/360 to 'c'. > But this is the problem. It works at first, when still in the original orientation, but gets screwed up when I change the orientation of the model in X or Y directions, like the original post. i.e., adding an amount t to the current angle c no longer has the same effect when the model is tilted away (??). Jamin >Cheers, > >James > >-- >== James_Russell@scee.sony.co.uk +44 (171) 447-1626 >== Developer Support Engineer - Sony Computer Entertainment Europe > >A diagnostic is someone who doesn't know if there are two Gods.