POV-Ray : Newsgroups : povray.animations : **** Help Rotating An Object **** : Re: **** Help Rotating An Object **** Server Time
17 May 2024 07:47:22 EDT (-0400)
  Re: **** Help Rotating An Object ****  
From: Nicolas Alvarez
Date: 9 Nov 2007 12:21:44
Message: <47349728$1@news.povray.org>

> Hey all,
> 
> Well basically I have created a scene with an object (like a fan) in it, but
> what I am trying to do is actually rotate the object around quite quickly so it
> looks like its creating a gust of wind. All i need to know is how to do the
> rotating business?? I mean....I have tried rotating it with the clock variable
> in the x, or the y, or the z axis...but it just moves the head of the object
> around the screen...instead of what i want (making it rotate around and around
> on the spot)!
> 

Rotations are around the origin of the scene. POV-Ray has no idea what 
the "center of the object" is. You need to rotate the object before 
moving it. Keep it centered at the origin, rotate it, *then* move it to 
the place you want it on the scene.


Post a reply to this message

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