POV-Ray : Newsgroups : povray.binaries.images : finish maps [67kbu] : Re: finish maps [67kbu] Server Time
13 Aug 2024 13:13:44 EDT (-0400)
  Re: finish maps [67kbu]  
From: Kitsune e
Date: 7 Mar 2003 18:00:06
Message: <web.3e6923d55028885071469c610@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.