A quick example to illustrate the finish maps in mlpov, here we use the same
map for specular and reflection but they could have been different.
Unfortunately the patch is far from complete (there are problems with
transformations, etc)
#declare fmap = function { pigment { image_map { jpeg "metal_44_s.jpg"
map_type 1 interpolate 2 } } }
#declare fmap_g = function { fmap(x,y,z).gray * 2 }
...
finish {
ambient .1
diffuse .6
specular fmap_g
reflection fmap
roughness .01
}
Post a reply to this message
Attachments:
Download 'metal_44_s.jpg' (47 KB)
Download 'finish.jpg' (22 KB)
Preview of image 'metal_44_s.jpg'
Preview of image 'finish.jpg'
|