|
|
Is it possible to place more than one image_map into a height_field. I
have two tga images I would like to overlay onto a height_field created
from a DEM (imported into POVRay as a tga image).
The two images make up different parts of the overall image, i.e., land
and water. Each image_map is brought in as a pigment object.
I have tried applying to pigments (image_maps) to the same height_field,
but POVRay only draws the second pigment. I have also tried using
texture layers to do this. That didn't work as well.
Does anybody have any clues that might help?
Thanks?
Post a reply to this message
|
|
|
|
"Michael Cooper" <coo### [at] cartonet> wrote in message
news:3FC### [at] cartonet...
>
> Does anybody have any clues that might help?
The following would layer to image maps, one on top of the other. The top layer
would be 50% transparent.
box{
0, 1
texture{
pigment{
image_map {
gif "under.gif"
map_type 0
interpolate 2
}
}
}
texture{
pigment{
image_map {
gif "over.gif"
map_type 0
interpolate 2
transmit all 0.5
}
}
}
}
If you wanted just parts of the top image to be transparent, then you can
specify a colour index, rather than 'all' - e.g.:
transmit 0, 0.5 // filters color index 0 by 50%
Post a reply to this message
|
|