|
 |
Here's a scene demoing a rock wall texture using MegaPOV. (Code below....)
It isn't perfect - note the horizontal surface in the foreground - but it
works pretty well on most surfaces.
There is room for improvement; in particular, instead of one basic rock in a
lot of colors, -some of which end up looking a little like that colored
concrete that was fashionable in 1960's suburbia- one could use "blotches"
(or "crackle solid") with a pigment_map with four or five well-defined
stone types at /*A*/.
Spider - you can consider this as a response to your "favorite texture"
question!
-Robert Dawson
#declare RoughStone = texture{
pigment{crackle pigment_map
{[0.08 granite scale 0.2 color_map
{[0.5 rgb 0.8]
[0.8 rgb 0.2]
}]
[0.08 average pigment_map /*A*/
{[0.2 granite]
[0.8 blotches color_map
{[0.0 rgb 1]
[0.7 rgb <0.8,0.6,0.6>]
[0.8 rgb <0.8,0.75,0.5>]
[0.9 rgb 0.3]
}]
} ] }
}
normal {average normal_map {
[ 0.6 crackle 2 slope_map
{[0.0 <0,0>]
[0.08 <0,0>]
[0.08 <0,1>]
[0.7 <1,0>]
}]
[0.4 granite 1.5 ]}
}
finish { ambient 0.05 diffuse 0.95}
}
Post a reply to this message
Attachments:
Download 'Blocky.jpg' (49 KB)
Preview of image 'Blocky.jpg'

|
 |