Slimelite BBS

Re: 3d rotations

Back to X_FILES

From Kevin Wafer · 1996-04-10 05:12 · #77545 in X_FILES

In reply to Re: 3d rotations by Kevin Wafer

-> 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, rot
-> I'm doing the same, but with texture mapping as well (well, I was bef
-> 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 rota
-> 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)

btw im my object rotation matrix is Z X Y order. and the camera Y X Z.
ive played around with the orders for a few days, and nothings worked.

--- WILDMAIL!/WC v4.12 
 * Origin: Wall Street - Stocks'n'Shares -  (2:2502/1000.0)