Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
logo
    3D Animations with POV-Ray
        Some basics and examples on animations.
Italiano Italiano
Français français
Deutsch Deutsch
Home
- 3D Animations Gallery
- POV-Ray Tutorial

  3D Animation Tutorial
   Index of Content
  0. Basic Knowledge
     1. Basic Example
     2. Example 2
     3. Images to Animated Gif
     4. From Images to Video
     5. Basic Terms
     6. Animation Commands  
  I. Cyclic Animations
  > 1. Rotating Objects
     1.2. Planets in Orbit
     1.3. Clock Animation
     2. Rotating Camera
     2.1. Straight Moving Camera
     3. Western Wheel
         Problem
     3.1. Rolling Wheels
     4. Gears
     4.1. Roller Chain
     4.2. Bike Chain
     5. Swinging Pendulum
     5.1. Newton's Cradle
     5.2: Rock the Rocker
     6. Spiral Pendulum
     7. Coupling Rods
     7.1. Connecting Rods
     8. Psychedelic + Op-Art
     9. Counters + Countdowns
    10. Folding of a Cube
  II. Non-linear Movements
     1.0 Speed Up/Slow Down 1
     1.1 Speed Up/Slow Down 2
     2. Fall + Bounce
     3. Acceleration by
          physical Formulas
     4. Speed Controll by
          Spline Functions
  III. Animation Paths
      with Spline Curves
     1. Spline Curves
     2. Closed Splines
     3. Animation Paths
     2. Animation Paths
                                                       

Rotating Objects  

Cyclic animations - the rotation of objects.
           

Rotating Text Objects
An example:

// The text: ------------------------
text { ttf "arial.ttf", "Rotation", 0.2 , 0
       texture{ pigment{ color rgb<1,0.65,0>}
                normal { bumps 0.5 scale 0.005}
                finish { diffuse 0.8 specular 1}
              } // end of texture
       scale<1,1.8,1>*0.75
       translate<-1.30 ,0.50, -0.0 >
       rotate<0,-360*(clock+0.00),0>
     } // end of text object --------
rotate 1

scene description
for POV-Ray:
"rotate00.ini" and
"rotate00.pov"

A Shorter Version:
text { ...  see above
       ...
       rotate<0,-180*(clock+0.00),0>
     } // end of text object --------

rotate 2

Rotating Objects with Symmetric Axes:
We can apply some rotation adapted to the symmetry.
A cube:
 rotate<0,-90*clock,0>    
A hexagon:
 rotate<0,-60*clock,0>    
A seven-sided rounded pyramid:
 rotate<0,-360/7*clock,0> 

rotate 2

scene description
for POV-Ray:
"rotate10.ini" and
"rotate10.pov".
In addition this scene needs my include file: shapes_lo.inc!

A rotating Spiral:
Just a simple spiral rotating around the x axis!

top

© Friedrich A. Lohmüller, 2008
http://www.f-lohmueller.de