|
|
Hello,
I'm trying to figure out a good way to use an image to specify only the
transparency of an object while still being able to specify the rest of the
texture directly in povray.
Specifically, I've got a set of complex shape outlines represented as
grayscale alpha masks. I'd like to apply the mask to a square polygon
object so that the object is fully opaque in the black (or white) regions,
fully transparent in the white (or black) regions, and of intermediate
opacity in the intermediate grays. Where the polygon is (partially) opaque,
I'd like to paint a procedural texture to it.
The eventual effect will be something like a stained-glass window with the
shapes created in an external paint program.
I can see how to use a texture map to use the mask to blend between a given
texture an a fully-transparent texture. However, is there a faster/better
way to do this just using image maps and/or layered textures?
Thanks,
Zach Pincus
Post a reply to this message
|
|