Martin Magnusson wrote:
> Is there another way?
Don't think so. I did something similar some time ago. Here's a stripped down version
you might find useful.
texture {
material_map {
png "" map_type 1 once
#local i=0;
#local I=255;
#while (i<=I)
texture{
average
texture_map {
[ i/I pigment{Pig1} finish {Fin}] // index 1 ->
[ 1-i/I pigment{Pig2} finish {Fin2}] // <- index 256
}
}
#local i=i+1;
#end
}
scale <475,98,0>/475*5
}
--
ICQ 74734588
Post a reply to this message
|