|
![](/i/fill.gif) |
"Ian Crofoot" <nomail@nomail> wrote:
> I'm testing a scene with Christmas lights, and to get the effect of the
> lights I thought turning up the ambient values sufficiently high would work
> (with radiosity). The only problem I run into is that four of the six
> colors of lights I use turn white when the ambient value is raised. Two of
> them are function perfectly however.
>
> The scene file is rather large, so here is a link:
>
> http://www.geocities.com/iancrofoot/treeLit.txt
You'll get more people looking at your code if you try to isolate the
problem into a small scene we can easily read & run.
>
> Putting lightsources in all the bulbs would be HUGE pain, so this is the
> only method I can think of. If there is a better method, or at least a fix
> to my problem, I would be pleased.
//---------- Ian's code ----------------------
#declare redlight_WingsMat =
texture{
pigment{ rgbf <0.866667, 0.00000e+0, 0.286667, 0.500000>}
finish{
ambient rgb 100
diffuse 1.00000
brilliance 1.00000
specular 0.500000 roughness 5.00000e-2
}
}
//---------- Ian's code ----------------------
I've only had a quick look at your scene, but if the section above is an
example of your problem, then I suggest not using white as your ambient
colour.
Instead use something like this:
ambient rgb 100*<0.866667, 0, 0.286667>
Sorry, I haven't tested this out.
Post a reply to this message
|
![](/i/fill.gif) |