POV-Ray : Newsgroups : povray.animations : **** Help Rotating An Object **** Server Time: 16 May 2008 10:33:18 GMT
  **** Help Rotating An Object **** (Message 1 to 2 of 2)  
From: benjy
Subject: **** Help Rotating An Object ****
Date: 9 Nov 2007 17:15:00
Message: <web.47349529a313fa8343e9d3860@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)!

Does anyone have any ideas!?!?

Regards,


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: **** Help Rotating An Object ****
Date: 9 Nov 2007 17:21:44
Message: <47349728$1@news.povray.org>
benjy escribió:
> 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 1991-2004 POV-Team™