POV-Ray : Newsgroups : povray.newusers : Rotations not working as expected : Re: Rotations not working as expected Server Time
30 Jul 2024 10:16:03 EDT (-0400)
  Re: Rotations not working as expected  
From: Severi Salminen
Date: 19 May 2004 21:06:30
Message: <40ac0496$1@news.povray.org>
Alex Bame wrote:
> I think I'm missing something in how the rotation mechanism is supposed to
> work. 
[snip...]

You have a WAY too long example. Try to make it _as short as possible_. 
Remove all the unnecessary stuff like textures and try to give only one 
single object showing the problem.

The syntax of rotate is given in section 6.3.1.3 in the manual. In summary:

- rotation is done relative to each axis
- totation is done in degrees
- rotation is done using left-handed rotation system
- the order of rotations in one rotate statement is x,y,z

That should probably solve your problems?

Severi


Post a reply to this message

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