Article View: comp.os.msdos.programmer
Article #7452Re: Math experts! Need 3D rotation equation
From: Stephen Quan
Date: Tue, 05 Jan 1993 05:28
Date: Tue, 05 Jan 1993 05:28
28 lines
1424 bytes
1424 bytes
paul@ramsey.cs.laurentian.ca (Paul Lalonde) writes: >I'm working on a small 3D graphics program that takes vector images >and rotates them about the XY axes. There are 3 kinds of rotations in 3D : x-axis rotation : y' = y*cos(angle) - z*sin(angle) z' = y*sin(angle) + z*cos(angle) y-axis rotation : z' = z*cos(angle) - x*cos(angle) x' = z*sin(angle) + x*cos(angle) z-axis rotation : x' = x*cos(angle) - y*sin(angle) y' = x*sin(angle) + y*cos(angle) There is, of course, the more effective matrix representations of the above, but I didn't think Paul wanted to be bamboozled with all the matrix-algebra jargon. Any good computer graphics would describe the 3D theory rotation well. -- Stephen Quan (quan@sol.surv.utas.edu.au) Tel : 002 202844 (local) Research Fellow, Computer Scientist, Fax : 002 240282 (local) Centre for Spatial Information Systems, Tel : 61 02 202844 University of Tasmania, Australia. Fax : 61 02 240282
Technical Details
Message-ID:
<quan.726211707@sol>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!newsroom.utas.edu.au!sol!quanReferences:
<1993Jan4.015421.11143@ramsey.cs.laurentian.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!newsroom.utas.edu.au!sol!quan From: quan@sol.surv.utas.edu.au (Stephen Quan) Subject: Re: Math experts! Need 3D rotation equation Message-ID: <quan.726211707@sol> Sender: news@newsroom.utas.edu.au Organization: University of Tasmania, Australia. References: <1993Jan4.015421.11143@ramsey.cs.laurentian.ca> Date: Tue, 5 Jan 1993 05:28:27 GMT Lines: 28