|
![](/i/fill.gif) |
Ive <"ive### [at] lilysoft org"> wrote:
> I have only defined the basic colors (again the ones I actually did
> have) and the values are taken from
> http://www.peeron.com/cgi-bin/invcgis/colorguide.cgi
> but are inverse gamma corrected to have them in linear color space as
> they should be:
>
> #macro GI(C)
> #local C = color C;
> <pow(C.red/255, 2.2),
> pow(C.green/255, 2.2),
> pow(C.blue/255, 2.2),
> C.filter>
> #end
You are so clever Ive! I've been struggling using the peeron "official colors"
and being so light. Wow, what a difference! Sadly, I'll having to render all
my scenes again. :(
I may try your finish. Here's what I've been using:
// brick finish
#declare lf_brick = finish {
#if (l_ambient) // normal
diffuse 0.5
ambient 0.3
#else // radiosity
diffuse 0.8
ambient 0
#end
phong 0.6 phong_size 40
specular .1
#if (l_shiny) // reflection on
reflection { 0,.05 falloff .5}
conserve_energy
#end
}
Thanks for sharing!!!
Post a reply to this message
|
![](/i/fill.gif) |