File: 11%20-%20animation1%20scene_file.txt

package info (click to toggle)
povray 1%3A3.7.0.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 147,232 kB
  • sloc: cpp: 845,011; ansic: 122,118; sh: 34,204; pascal: 6,420; asm: 3,355; ada: 1,681; makefile: 1,389; cs: 879; awk: 590; perl: 245; xml: 95
file content (48 lines) | stat: -rw-r--r-- 2,217 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// PoVRay 3.6 / 3.7 Scene File "animation1.pov"
// animation scene sample file
// rotating sphere
// author: Friedrich A. Lohmller, Dec 2010
//--------------------------------------------------------------------------
#version 3.7;
global_settings{ assumed_gamma 1.0 }
#default{ finish{ ambient 0.1 diffuse 0.9 }} 
//--------------------------------------------------------------------------
#include "colors.inc"
#include "textures.inc"
//--------------------------------------------------------------------------
// camera ------------------------------------------------------------------
#declare Camera_0 = camera { /*ultra_wide_angle*/ angle 65     // front view
                            location  <0.0 , 1.0 ,-2.7>
                            right     x*image_width/image_height
                            look_at   <0.0 , 1.0 , 0.0>}
camera{Camera_0}
// sun ---------------------------------------------------------------------
light_source{< 1500,2500,-  1500> color White}
// sky ---------------------------------------------------------------------
sky_sphere{ pigment { gradient <0,1,0>
                      color_map { [0.00 rgb <1.0,1.0,1.0>]
                                  [0.30 rgb <1,1,1.0>]
                                  [0.70 rgb <1,1,1.0>]
                                  [1.00 rgb <1.0,1.0,1.0>] 
                                } 
                      scale 2         
                    } // end of pigment
          } //end of skysphere
// fog ---------------------------------------------------------------------
fog{ fog_type   2
     distance   50
     color      White
     fog_offset 0.1
     fog_alt    2.0
     turbulence 0.8}
//--------------------------------------------------------------------------
//---------------------------- objects in scene ----------------------------
//--------------------------------------------------------------------------
sphere{ <0,0,0>, 0.25 
        texture { pigment{ color Red } // rgb< 1, 0.0, 0.0>}
                  finish { phong 1}
                } // end of texture 
        scale<1,1,1> 
        translate<1,0.75,0>
        rotate<0,360*(clock+0.00),0>    
      } // end of sphere -----------------------------------