|
|
Triple Omega wrote:
>There is no mention of the
> ambient light that is on by default, yet it expected me to have no ambient
> light, sharp shadows and an unlit plane when using a spotlight. Maybe someone
> should report this to someone?(I don't know who to contact.)
The problem is that you're writing textures without finishes. According
to Help, the default value for ambient is 0.1 (look under "finish").
Try using something like this:
sphere {
<0, 1, 2>, 2
texture {
pigment {
color Yellow
}
finish {
ambient 0
}
}
}
plane {
<0, 1, 0>, -1
texture {
pigment {
checker
color Red, color Blue
}
finish {
ambient 0
}
}
}
You can, of course, make the ambient light go away by changing the
default texture. You can also shut off ambient light in global_settings
(my personal preference, as I don't care for falling back on the default
texture). This can be useful for doing quick preliminary renders of a
scene that's going to be using radiosity or complex lighting
arrangements (which slow things down): use an ambient value in your
finishes somewhere in the neighborhood of 0.3, and then add
ambient_light 0 to global_settings when you're ready to do radiosity
renders. The actual ambient value will then be 0 x 0.3 = 0.
Hope this helps.
--Sherry Shaw
--
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}// TenMoons
Post a reply to this message
|
|