Bob Hughes wrote:
..
> I'd have to guess there could be trouble with the negative color used.
I've tracked it down to the average pattern.
//This gives the expected caustics:
#macro urTex(Color)
marble
texture_map {
[.5 pigment {color Color} ]
[.5 pigment {color Color*.8} ]
}
#end
//this doesn't:
#macro urTex(Color)
average
texture_map {
[ pigment {color Color} ]
[ pigment {color Color*.8} ]
}
#end
plane{y,-sqrt(2) texture {urTex(<94,1,165>/255) }}
I can clean up the source and post it if anybody's interested.
sig
Post a reply to this message
|