POV-Ray : Newsgroups : povray.general : Object-reflection-only Plane : Re: Object-reflection-only Plane Server Time
29 Jul 2024 06:16:26 EDT (-0400)
  Re: Object-reflection-only Plane  
From: Tim Cook
Date: 26 Nov 2012 16:47:48
Message: <50b3e384$1@news.povray.org>
On 2012-11-26 09:45, Seansbox wrote:
> How do I make the plane fade-out the reflection over distance?
>
> plane {
>    <0, 1, 0>, -5
>    pigment { color hex2rgb("E6E8FA") }
>    finish { ambient .9 diffuse 0 brilliance 0 reflection .1 }
> }

Try a material map?

material{
   texture{
     pigment_pattern{
       spherical color_map{
         [0.0 rgbft <1.0, 1.0, 1.0, 0.0, 0.0>]
         [0.3 rgbft <1.0, 1.0, 1.0, 0.0, 0.0>]
         [0.7 rgbft <0.0, 0.0, 0.0, 0.0, 0.0>]
         [1.0 rgbft <0.0, 0.0, 0.0, 0.0, 0.0>]
       }
     }
     texture_map{
       [0.0
         pigment{ color rgbt <0.0, 0.0, 0.0, 1.0> }
         finish{
           ambient 0
           reflection{
             1.0, 1.0
             fresnel off
             falloff 1.0
             exponent 1.0
             metallic 0.0
           }
         }
       ]
       [1.0
         pigment{ color rgbt <0.0, 0.0, 0.0, 1.0> }
         finish{
           ambient 0
           reflection{
             0.0, 0.0
             fresnel off
             falloff 1.0
             exponent 1.0
             metallic 0.0
           }
         }
       ]
     }
   }
}

--
Tim Cook
http://empyrean.sjcook.com


Post a reply to this message

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