home *** CD-ROM | disk | FTP | other *** search
- // Persistence Of Vision raytracer version 3.0 sample file.
- // Example of wood pigment using various waveforms.
-
- #version 3
- global_settings { assumed_gamma 2.2 }
-
- #include "colors.inc"
-
- camera {
- location <0,1,-11>
- direction 3*z
- }
-
- plane {
- y, -1.01
- pigment {checker color White color Magenta}
- }
-
- plane {
- z, 3.01
- pigment {checker color White color Magenta}
- }
-
- light_source { <300, 500, -500> color Gray65}
- light_source { <-100, 10, -500> color Gray65}
-
- #declare P1=
- pigment{
- wood
- scale 0.24
- color_map{[0 Black][1 White]}
- }
-
- #default {
- finish{phong 0.8 phong_size 200}
- }
-
- box{<-1,-1,-1>,<1,1,1>
- scale .75
- pigment{P1 ramp_wave}
- rotate <20,20,0>
- translate <-1,2,0>
- }
-
- box{<-1,-1,-1>,<1,1,1>
- scale .75
- pigment{P1 triangle_wave}
- rotate <20,20,0>
- translate <1,2,0>
- }
-
- box{<-1,-1,-1>,<1,1,1>
- scale .75
- pigment{P1 sine_wave}
- rotate <20,20,0>
- translate <-1,0,0>
- }
-
- box{<-1,-1,-1>,<1,1,1>
- scale .75
- pigment{P1 scallop_wave}
- rotate <20,20,0>
- translate <1,0,0>
- }
-
-