POV-Ray : Newsgroups : povray.newusers : Rubik's cube animation : Rubik's cube animation Server Time
30 Jun 2024 03:47:13 EDT (-0400)
  Rubik's cube animation  
From: RayZ
Date: 11 Jul 2011 09:30:01
Message: <web.4e1afa64ece69fa6416ed4460@news.povray.org>
I'm trying to animate a cube so that all the pieces within
Box{A,B} rotate <x,y,z>
I'm not sure about how to do that, do I use a bound_by?
Also, I'm making it so that after one side turns another side turns, so how do I
go about doing that? like this?:
#if ( clock <= 1 )
    box{A,B} rotate <x,y,z>
  #else
    #declare ElseClock = clock - 1;
    box{A,B} rotate <x,y,z>
  #end
    #declare ElseClock = clock - 2;
    box{A,B} rotate <x,y,z>
  #end
Lastly, I want the frames to be exported as GIFs, which again, I have no idea
how to go about.
Thanks.


Post a reply to this message

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