banty wrote:
>
> I've been trying to create an image with a cobblestone type street
> but, while i can get the bump map to work, I cant get pov to layer over
> it with a material map so that there's variation in the coloring of the
> rocks. I keep getting a message "Cannot layer a patterned texture over
> another."
> Is there a way around this problem or do I have to ditch depth in
> favor of color?
I have made cobblestones with the following code. The attached image
shows how it looks. It is not great, but perhaps you can improve on the
technique. The bump_map image is a 256 colour grayscale image, that give
the depth info, and the material_map image is the same image reduced to
2 colours.
#declare T_Brosten1=texture {
T_Grnt15 scale 0.003
normal {
bump_map {
gif "brosten256.gif"
bump_size 5.0
}
}
}
#declare T_Brosten2=texture {
T_Stone6 scale 0.0003
normal {
bump_map {
gif "brosten256.gif"
bump_size 5.0
}
}
}
#declare T_Brosten=texture {
material_map {
gif "brosten2.gif"
texture { T_Brosten1 }
texture { T_Brosten2 }
}
scale <435, 300, 1>
}
/Ib
Post a reply to this message
Attachments:
Download 'brosten.jpg' (52 KB)
Preview of image 'brosten.jpg'
|