|
|
I have just started using POV-ray but I seem to have struck a problem in my
first proper model. In the file below there is an oval mirror at 45 deg which
ought to be reflecting a circular patch of light onto the plane in which there
should a shadow of the sphere.
This is not present although you can see reflected light source re-reflected in
the mirrored sphere.
#include "colors.inc"
#include "textures.inc"
camera {
location <-4, 3, -9>
look_at <0, 2, 0>
angle 48
}
plane {
y, -1
texture {
pigment {
checker
color rgb<0.5, 0, 0>
color rgb<0, 0.5, 0.5>
}
finish {
diffuse 0.4
ambient 0.2
phong 1
phong_size 100
reflection 0.25
}
}
}
cylinder { <0,0,0> ,<0,-.1,0>, 2
finish {reflection {1.0} ambient 0 diffuse 0 }
scale <1.42,1,1>
rotate <0,0,-45>
translate<0,3,0>}
sphere {
<0,0,0>,1
finish {reflection {1.0} ambient 0 diffuse 0 }
translate <0, 0, 0>
}
light_source {
<-10, 1, 0>
color White
}
Otherwise I anticipte doing some fantastic things with POV-Ray.
Post a reply to this message
|
|