POV-Ray : Newsgroups : povray.animations : **** Help Rotating An Object **** : Re: **** Help Rotating An Object **** Server Time
19 May 2024 18:25:43 EDT (-0400)
  Re: **** Help Rotating An Object ****  
From: W0RLDBUILDER
Date: 30 Apr 2011 00:40:00
Message: <web.4dbb91fa84cd035bb6f0ad930@news.povray.org>
"benjy" <ben### [at] hotmailcom> wrote:
> 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)!
>
> Does anyone have any ideas!?!?
>
> Regards,

Translate the fan to the center of the scene, rotate it there, and then
translate it back.If it's supposed to rotate on the X axis, use rotate
x*clock*10. If it's the Z axis you need to rotate it around, use rotate
z*clock*10. If it's too slow (I doubt it will be too slow, but just in case)
change 10 to 20 or 50, maybe even 100.


Post a reply to this message

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