Wasn't it jong who wrote:
>Hi,
>
>I try to use two image_map on the heigh_field.
>But the result always show the later one.
>Here is the simplified scene:
>
>height_field {jpeg "mount.jpg" smooth
>pigment {image_map{jpeg "mount_green.jpg"}}
>pigment {image_map{jpeg "road.jpg"}}
>finish {ambient 0.1 diffuse 0.9 phong 0.5}
> }
>
>I also try to use pigment_map. But the result
>is not change. It always only show the later one
>(road.jpg) on the heigh_field.
>
>Is there any mistake in the syntax?
>How can I do to show both of them?
1. You can't layer just the pigments, you can only layer complete
textures.
2. When you layer textures, the last one needs to have some sort of
transparency (filter or transmit) otherwise you can't see through it to
the underlying layer.
height_field {jpeg "mount.jpg" smooth
texture {pigment {image_map{jpeg "mount_green.jpg"}}}
texture {
pigment {image_map{jpeg "road.jpg" transmit all 0.75}}
finish {ambient 0.1 diffuse 0.9 phong 0.5}
}
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|