|
![](/i/fill.gif) |
Wasn't it spl who wrote:
>Is there a way to modulate the transmittance of an object that also has an
>image_map containing alpha values?
>
>I have tried using the
>
>transmit all <some_transmittance_value>
>
>image map modifier but I get very bizarre results when the transmittance
>value is greater than about 0.5 -- almost as if colors are wrapping around
>to complementary colors (that is what should be red shows cyan).
>
>To explain a little about what I'm attemping to do, I am using image_mapped
>planes to essentially do volume rendering. I would like to be able to fade
>in the volume object by manipulating its overall transmittance.
>
>Can I make this work or is this just a stupid idea?
One thing you could try is to use a texture_map to take the weighted
average of your existing texture and a completely transmitting texture.
As you change the weights used in the average, the transmittance of the
overall object should vary.
#declare T1 = texture{pigment {image_map ...
#declare T2 = texture{pigment {rgbt <0,0,0,1>}}
plane { z, whatever
texture {
average texture_map {
[clock T1]
[1-clock T2]
}
}
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |