1 // This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
2 // To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a
3 // letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
5 // Persistence Of Vision raytracer sample file.
11 global_settings{ assumed_gamma 1.0 max_trace_level 5 }
18 #
declare Fade_Distance
= 2;
19 #
declare Fade_Power
= 3;
21 #
declare Texture01
= texture {
23 color rgbf <1, 1, 1, 1>
33 0.65 // contribution to overall color
34 thickness 0.8 // affects frequency, or "busy-ness"
35 turbulence 0.1 // Variance in film thickness
42 fade_distance Fade_Distance
49 #
declare Texture02a
= texture {
58 #
declare Texture02
= texture {
60 color rgb<0.800, 0.800, 0.800>
73 #
declare Texture03
= texture { Texture01
}
75 //----------------------------------------------------------------------
76 // This scene uses a non-standard camera set-up.
77 // (See CAMERA in the included documentation for details.)
78 // If you are new to POV-Ray, you might want to try a different demo scene.
79 //----------------------------------------------------------------------
80 camera { // Camera StdCam
82 location <3.50, -15.00, 3.00>
83 direction <0.0, 0.0, 1.6542>
84 sky <0.0, 0.0, 1.0> // Use right handed-system!
85 up <0.0, 0.0, 1.0> // Where Z is up
86 right x*image_width
/image_height
// keep proportions with any aspect ratio
87 look_at <0.000, 0.000, -2.7500>
90 #
declare Intensity
= 20;
91 #
declare L_Fade_Distance
= 20;
92 #
declare L_Fade_Power
= 2;
97 #
declare Area_Light
=off;
99 light_source { // Light1
101 color Cyan
* Intensity
103 area_light x*ALL
, z*ALW
, ALR
, ALR
107 fade_distance L_Fade_Distance
108 fade_power L_Fade_Power
111 light_source { // Light1
113 color Yellow
* Intensity
115 area_light x*ALL
, z*ALW
, ALR
, ALR
119 fade_distance L_Fade_Distance
120 fade_power L_Fade_Power
123 light_source { // Light1
125 color Magenta
* Intensity
127 area_light x*ALL
, z*ALW
, ALR
, ALR
131 fade_distance L_Fade_Distance
132 fade_power L_Fade_Power
146 cylinder { <-3,0,0>, <3,0,0>, 0.3 }
151 interior
{Interior01
}
152 translate <0.0, -4.0, -0.5>
155 box { <-1, -1, -1>, <1, 1, 1>
157 interior
{Interior01
}
159 scale <3.0, 0.5, 0.5>
167 interior
{Interior01
}
172 interior
{Interior01
}
174 translate <0,3.0, -0.5>
178 interior
{Interior01
}
179 translate <-3.0, 3.0, -1>
183 interior
{Interior01
}
184 translate <-4.0, 0.3, 0>
188 interior
{Interior01
}
189 translate <4.0, 0.3, 0>