Export_3ds: Improved distance cue node search
[blender-addons.git] / render_povray / templates_pov / cornell.pov
blobe4b34cd6b483cfc9a59b76f27c93a88d24c9481a
1 // This work is licensed under the Creative Commons Attribution 3.0 Unported License.
2 // To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/
3 // or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View,
4 // California, 94041, USA.
6 // Persistence Of Vision Ray Tracer Scene Description File
7 // File: cornell.pov
8 // Desc: Radiosity demo scene. See also http://www.Graphics.Cornell.EDU/online/box/
9 // Date: August 2001
10 // Auth: Kari Kivisalo
12 // +w300 +h300
14 #version 3.7;
15 global_settings {
16 assumed_gamma 1.0
17 radiosity{
18 pretrace_start 0.04
19 pretrace_end 0.01
20 count 200
21 recursion_limit 3
22 nearest_count 10
23 error_bound 0.5
27 #declare Finish=finish{diffuse 0.75 ambient 0}
29 #declare White=texture{pigment{rgb<1,1,1>} finish{Finish}}
30 #declare Red=texture{pigment{rgb<0.57,0.025,0.025>} finish{Finish}}
31 #declare Green=texture{pigment{rgb<0.025,0.236,0.025>} finish{Finish}}
33 #declare LightColor=<1,0.67,0.21>;
35 #declare N=3; // Divisions per side
36 #declare DX=13/N; // Dimensions of sub patches
37 #declare DZ=10.5/N;
39 #declare SubPatch=
40 light_source{
41 <27.8,54.88,27.95>
42 color LightColor*7
43 area_light DX*x, DZ*z, 4, 4 jitter adaptive 0
44 spotlight radius -90 falloff 90 tightness 1 point_at <27.8,0,27.95> // for cosine falloff
45 fade_power 2 fade_distance (DX+DZ)/2
48 #declare i=0;#while (i<N)
49 #declare j=0;#while (j<N)
50 light_source{SubPatch translate<i*DX-(13-DX)/2,0,j*DZ-(10.5-DZ)/2>}
51 #declare j=j+1;#end
52 #declare i=i+1;#end
57 camera{
58 location <27.8, 27.3,-80.0>
59 direction <0, 0, 1>
60 up <0, 1, 0>
61 right <-1, 0, 0>
62 angle 39.5
66 // ------------------------ OBJECTS ----------------------------
68 // Light Patch
70 box{
71 <21.3,54.87,33.2><34.3,54.88,22.7> no_shadow
72 pigment{rgb<1,1,1>} finish{ambient 0.78 diffuse 0}
75 union{
76 // Floor
77 triangle{<55.28, 0.0, 0.0>,<0.0, 0.0, 0.0>,<0.0, 0.0, 55.92>}
78 triangle{<55.28, 0.0, 0.0>,<0.0, 0.0, 55.92>,<54.96, 0.0, 55.92>}
79 // Ceiling
80 triangle{<55.60, 54.88, 0.0>,<55.60, 54.88, 55.92>,<0.0, 54.88, 55.92>}
81 triangle{<55.60, 54.88, 0.0>,<0.0, 54.88, 55.92>,<0.0, 54.88, 0.0>}
82 // Back wall
83 triangle{<0.0, 54.88, 55.92>,<55.60, 54.88, 55.92>,<54.96, 0.0, 55.92>}
84 triangle{<0.0, 54.88, 55.92>,<54.96, 0.0, 55.92>,<0.0, 0.0, 55.92>}
85 texture {White}
88 union {
89 // Right wall
90 triangle{<0.0, 54.88, 0.0>,<0.0, 54.88, 55.92>,<0.0, 0.0, 55.92>}
91 triangle{<0.0, 54.88, 0.0>,<0.0, 0.0, 55.92>,<0.0, 0.0, 0.0>}
92 texture {Green}
95 union {
96 // Left wall
97 triangle{<55.28, 0.0, 0.0>,<54.96, 0.0, 55.92>,<55.60, 54.88, 55.92>}
98 triangle{<55.28, 0.0, 0.0>,<55.60, 54.88, 55.92>,<55.60, 54.88, 0.0>}
99 texture {Red}
102 union {
103 // Short block
104 triangle{<13.00, 16.50, 6.50>,<8.20, 16.50, 22.50>,<24.00, 16.50, 27.20>}
105 triangle{<13.00, 16.50, 6.50>,<24.00, 16.50, 27.20>,<29.00, 16.50, 11.40>}
106 triangle{<29.00, 0.0, 11.40>,<29.00, 16.50, 11.40>,<24.00, 16.50, 27.20>}
107 triangle{<29.00, 0.0, 11.40>,<24.00, 16.50, 27.20>,<24.00, 0.0, 27.20>}
108 triangle{<13.00, 0.0, 6.50>,<13.00, 16.50, 6.50>,<29.00, 16.50, 11.40>}
109 triangle{<13.00, 0.0, 6.50>,<29.00, 16.50, 11.40>,<29.00, 0.0, 11.40>}
110 triangle{<8.20, 0.0, 22.50>,<8.20, 16.50, 22.50>,<13.00, 16.50, 6.50>}
111 triangle{<8.20, 0.0, 22.50>,<13.00, 16.50, 6.50>,<13.00, 0.0, 6.50>}
112 triangle{<24.00, 0.0, 27.20>,<24.00, 16.50, 27.20>,<8.20, 16.50, 22.50>}
113 triangle{<24.00, 0.0, 27.20>,<8.20, 16.50, 22.50>,<8.20, 0.0, 22.50>}
114 texture { White }
117 union {
118 // Tall block
119 triangle{<42.30, 33.00, 24.70>,<26.50, 33.00, 29.60>,<31.40, 33.00, 45.60>}
120 triangle{<42.30, 33.00, 24.70>,<31.40, 33.00, 45.60>,<47.20 33.00 40.60>}
121 triangle{<42.30, 0.0, 24.70>,<42.30, 33.00, 24.70>,<47.20, 33.00, 40.60>}
122 triangle{<42.30, 0.0, 24.70>,<47.20, 33.00, 40.60>,<47.20, 0.0, 40.60>}
123 triangle{<47.20, 0.0, 40.60>,<47.20, 33.00, 40.60>,<31.40, 33.00, 45.60>}
124 triangle{<47.20, 0.0, 40.60>,<31.40, 33.00, 45.60>,<31.40, 0.0 45.60>}
125 triangle{<31.40, 0.0, 45.60>,<31.40, 33.00, 45.60>,<26.50, 33.00, 29.60>}
126 triangle{<31.40, 0.0, 45.60>,<26.50, 33.00, 29.60>,<26.50, 0.0, 29.60>}
127 triangle{<26.50, 0.0, 29.60>,<26.50, 33.00, 29.60>,<42.30, 33.00, 24.70>}
128 triangle{<26.50, 0.0, 29.60>,<42.30, 33.00, 24.70>,<42.30, 0.0, 24.70>}
129 texture {White}