Chris Field wrote:
>
> I was wondering if it was possible to overlay an image map on an object that
> already has a texture.
> can you make the image map transparent in parts and put it on top of a
> texture so that the texture shows through?
> any help greatly appreciated.
>
> Chris.
Yes it is possible. Read up in the docs on filter/transimit for
image maps. Basicaly you need to make the image_map's background
a single filterable color. You also need to know what the pallet
index for that color is. You could also specifiy a filter all
value if you prefer.
If I recall correctly the syntax for filtering a single color in a
image map is:
pigment{
image_map{
gif "MyImage.gif
interpolate 2
filter 255,1
}
}
The first number is the pallet index number for the backgound color
( I have choosen 255 = white for this example) and the second is the
filter amount. I may have that backward so check the docs. You can
also specify a transmit amount the same way. It's best to use .gif
files for this if possible because it uses a 256 color pallet for the
image which is compatible with the pov syntax for the feature.
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|