POV-Ray : Newsgroups : povray.general : I give up... : I give up... Server Time
5 Aug 2024 00:19:34 EDT (-0400)
  I give up...  
From: Phil Clute
Date: 15 Jan 2003 03:14:54
Message: <3e25187e@news.povray.org>
Why isn't this working?
The correct behaviour should be an animation where
the ship spins 360 degrees(10 degrees per frame). Once
it has completed 1 rotation it moves away from the camera
and spins again.
The ship spins just fine but I can't get it to move away from
the camera.



#declare NumColumns = 24;
#declare Columns = 0;
#declare NumRows = 36;
#declare Rows = 0;

#while(Columns < NumColumns)
         #while(Rows < NumRows)
            #declare T = Columns *40;
            object {ship rotate clock*z*360
                         translate < 0, T, T> }
            #declare Rows = Rows + 1;
         #end
     #declare Columns = Columns + 1;
#end




-- 
Phil


Post a reply to this message

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