Visits

[+/-]
Today:
Yesterday:
Day before yesterday:
346
517
481

+36
This week:
Last week:
Week before last week:
2205
2962
3860

-898

Last month:
Month before last month:
8463
15650
24339

-8689

Visitor Data

IP ADDRESS
38.107.179.213
-
Location
United States
-
Browser
Unknown Browser
-
Operating System
Unknown Operating System


   
Add to: JBookmarks Add to: Bookmarks.cc Add to: Digg Add to: Reddit Add to: Upchuckr Add to: StumbleUpon Add to: Slashdot Add to: Blogmarks Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Smarking Add to: Spurl Add to: Google Information
POVRAY - Making animated GIF's

POVRAY - Making Animated GIFs

To see this in action, reference:
http://souptonuts.sourceforge.net/povray/orbit.pov.html

These are the basic command to create:


$ povray orbit.ini -Iorbit.pov
$ convert -delay 20 *.ppm orbit.gif

By the way, convert is a program from imagemagick, and it can
be downloaded from ( http://www.imagemagick.org ).

The following is "orbit.pov"


#include "colors.inc"
#include "finish.inc"
#include "metals.inc"
#include "textures.inc"
#include "stones.inc"
#include "skies.inc"

camera {
location < 2, 3, -8 >
look_at  < 0, 0, 0 >
focal_point <0, 0, 0>
blur_samples 20
}

light_source {
< 0, 10, 0>
color White
area_light <2,0,0>,<0,0,2>, 2, 2
adaptive 1
fade_distance 8
fade_power 1
}

sky_sphere {
S_Cloud3
}

plane { <0, 1, 0>, -1
texture {
pigment {
checker color Blue, color White
}
finish {Phong_Glossy}
}
}
#declare ball0=
sphere {
<0.5, 0.5, 0>, 1
texture {
T_Silver_1E
pigment {Yellow}
}
}

#declare ball1=
sphere {
<3, 2, 0>, 0.5
texture {
T_Silver_1E
pigment {Blue}
}
}

#declare ball2=
sphere {
<3, 1, 0>, 1
texture {
T_Silver_1E
pigment {Green}
}
}

object {ball0 rotate 360*clock*y}
object {ball1 rotate 720*clock*y}
object {ball2 rotate 360*(1 - clock)*y}


And, "orbit.ini" follows:

Output_File_Type=P

Width=320
Height=240

Initial_Frame=1
Final_Frame=10
Antialias=true

Subset_Start_Frame=1
Subset_End_Frame=10

Cyclic_Animation=on