Slimelite BBS

Re: 3d rotations

Back to X_FILES

From Richard Gregory · 1996-04-08 07:26 · #77540 in X_FILES

In reply to 3d rotations by David Otton

Hello Kevin,

In a message on 4 Apr 96, you wrote to all:

KW>  Hi all, I've got a little prob I hope someone can help me with. Theres
KW> a free subscription or two to my 4 node bbs (TFR 0181 2874190) to
KW> whoever can help me out.
Cash prefered :-)

KW>  Im doing a little 3D engine for fun, ive got my poly filler, rotation,
I'm doing the same, but with texture mapping as well (well, I was before a 
electronics project came up).

KW> Do I have to put in an extra rotation in there, i.e. I'm doing rotation
KW> around X,Y and Z for the object matrix and camera matrix, in Z,X,Y
KW> order.  Do I need another rotation or something for the camera matrix?
It sounds like you are doing the rotation in the wrong order.  You should
rotate around the Y first.  Y X Z is the most natural way to do it. 

KW>  I can't find any decent docs on camera rotation only object rotation.
I couldn't find any docs on anything except what came with a PD compiler.
Everything else I've either worked out or read in fido.


BTW, do you have a full Z clipping function I could have(in C) ?



Richard

--- Blue Wave v1.0
 * Origin: Xstream 44-151-488-0698 V21-V34 [OS2/Max3.00/Md1.02e] (2:250/210)