POV-Ray : Newsgroups : povray.advanced-users : Rotation mathematics : Re: Rotation mathematics Server Time
29 Jul 2024 20:15:34 EDT (-0400)
  Re: Rotation mathematics  
From: David Fontaine
Date: 10 Jan 2001 18:49:52
Message: <3A5CF3FC.27A61A74@faricy.net>
David Fontaine wrote:

> This is exactly what matrices are for! But here:
>
> Rotate x: <x,y,z> -> <x,y*cos-z*sin,z*cos+y*sin>
> Rotate y: <x,y,z> -> <x*cos+z*sin,y,z*cos-x*sin>
> Rotate z: <x,y,z> -> <x*cos-y*sin,y*cos+x*sin,z>

This is just for left-handed systems BTW.

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.