POV-Ray : Newsgroups : povray.general : [bug] Discontinuous pigment : Re: [bug] Discontinuous pigment Server Time
31 Jul 2024 14:24:38 EDT (-0400)
  Re: [bug] Discontinuous pigment  
From: Slime
Date: 27 Jan 2007 16:12:54
Message: <45bbc056$1@news.povray.org>
> global_settings {
>    assumed_gamma 1
>    radiosity { }
> }
>
> camera{
>   location <5, 9, 11>
>   up       <0, 1, 0>
>   right    <1, 0, 0>
>   look_at  <0, 0, 0>
> }
>
> plane{
>   -y, -20
>
>   pigment { rgb 1 }
>   finish { ambient 1 diffuse 0 }
> }
>
> #local f = function(a, b) { min(1, (a*a + b*b) / 100) }
>
> plane{
>   y, 0
>
>   pigment{
>    function { f(x, z) }
>    pigment_map{
>     [0 rgb 0]
>     [1 rgb 1]
>    }
>   }
>
>   finish { ambient 0 diffuse 1 }
> }

This has no discontinuities in 3.6.1a for me.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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