POV-Ray : Newsgroups : povray.animations : Sphere only rotates 50% : Sphere only rotates 50% Server Time
28 Jul 2024 16:16:15 EDT (-0400)
  Sphere only rotates 50%  
From: Chuck Roberts
Date: 18 Aug 1999 14:49:35
Message: <37BB0079.87B2E06B@accn.org>
I'm using POV 3.1g with the Autoclk macro. I have a rotating planet that
only rotates 50% of the way around. I want to make an animation loop so
this will rotate 100% of the way around and then continue. How come this
won't rotate all the way around?

sphere
{<0,0,0> 1
  texture
  {
    pigment
    {
      image_map
      {
        sys "marsflat.bmp"
        map_type 1    // 1=spherical mapping
        interpolate 2 // smooth it
        once          // don't tile image, just one copy
        
      }
      // transform it to unit-size (-1 to +1)
//      translate -0.5*(x+y) // center on the origin
//      scale .7              // make it unit-sized
    }
    finish {ambient 0.3}
  }
  rotate
    From (0, <45, 0, 0>)  //(start_time, <start_values>)
    Using ( "", 1, 1, "")
    To (4, <45, 720, 0> ) //(end_time, <end_values>)
}


Post a reply to this message

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