|
|
Mael wrote:
>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
>}
>
Yes, this looks very usefull! Actualy I wondered why there was no finish
map in the official release...
Post a reply to this message
|
|