|
|
Hi superpatchers,
the following code (a simple sky sphere, 2 lights and some water)
sends the latest superpatch (here on Solaris 7, linux not yet
tested) into an endless loop. If I remove the reflection statement
right at the end of the code all is ok.
Any ideas?
-Hans-
Scene follows:
#include "colors.inc"
#declare camera_location = <26, 4.3, -80>;
#declare camera_look_at = <17, 0, 0>;
#declare camera_angle = 120;
/*******************************
* THE CAMERA
*******************************/
camera{
location camera_location
look_at camera_look_at
angle camera_angle
}
/*******************************
* THE SKY
*******************************/
#declare SkyBlue = rgb <0.15, 0.4, 0.7>;
#declare P_Clouds =
pigment {
wrinkles
turbulence 0.1
lambda 2.2
omega 0.707
color_map {
[0.60 SkyBlue ]
[0.80 White ]
[1.00 Gray90 ]
}
scale <0.5, 0.15, 1>
rotate z*180
}
sky_sphere {
pigment {
gradient y
pigment_map {
[0.00 rgb <0.847, 0.749, 0.847> ] // horizon
[0.05 SkyBlue ] // horizon
[1.00 SkyBlue ]
}
}
}
/*******************************
* THE LIGHTS
*******************************/
light_source { <450, 350, -200> colour rgb 3.4*<1.0, 1.0, 1.0> }
light_source { <-1300, 100, 300> colour rgb 0.7*<1.0, 1.0, 1.0> }
/*******************************
* THE WATER
*******************************/
plane { y, 0.0
texture {
pigment { color rgbt <0.0, 0.1, 0.1, 0.5> }
finish {
ambient 0.15
brilliance 5
diffuse 0.6
metallic
specular 0.80
roughness 1/100
reflection 1.0 // <--- this one is the guilty
}
rotate y*90
}
}
Post a reply to this message
|
|