POV-Ray : Newsgroups : povray.newusers : Rotation Problem Server Time
5 Nov 2024 01:26:29 EST (-0500)
  Rotation Problem (Message 1 to 3 of 3)  
From: RyanWatkins
Subject: Rotation Problem
Date: 31 Jan 2003 14:05:03
Message: <web.3e3ac802518a4028f0fe41560@news.povray.org>
I'm working on a simple animation of an object (protein molecule) rotating
about the y-axis.  I've included the following lines at the end of my .pov
file:

object {
    _Scene
        rotate <0,clock*360,0>
}

When I render, I get my rotated object but I also get the object in its
original orientation overlaid on top of the new orientation.  I don't want
to see the old orientation.  I tried just changing the rotation of the
camera but as the light source doesn't move around with it, the object is
dark on the far side so this doesn't produce a desired effect.

Anybody got any suggestions?

Thanks,
Ryan


Post a reply to this message

From: James Taylor
Subject: Re: Rotation Problem
Date: 31 Jan 2003 14:39:50
Message: <3e3ad106@news.povray.org>
Sounds like you have the object _Scene declared twice. Once in the object
block for the rotation, and once in the original declaration( hence no
rotation). Check how many times _Scene appears in your script.

jim


Post a reply to this message

From: RyanWatkins
Subject: Re: Rotation Problem
Date: 31 Jan 2003 15:05:09
Message: <web.3e3ad68eb7d1e994f0fe41560@news.povray.org>
Perfect!
Seems I misread the instructions I was reading-inserting the extra lines at
the end of my file rather than just editing it to contain the rotation
information.  Thanks a lot.
Ryan

James Taylor wrote:
>Sounds like you have the object _Scene declared twice. Once in the object
>block for the rotation, and once in the original declaration( hence no
>rotation). Check how many times _Scene appears in your script.
>
>jim
>


Post a reply to this message

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