POV-Ray : Newsgroups : povray.general : [bug] Discontinuous pigment : Re: [bug] Discontinuous pigment Server Time
31 Jul 2024 14:20:59 EDT (-0400)
  Re: [bug] Discontinuous pigment  
From: William Peska
Date: 27 Jan 2007 19:30:09
Message: <45bbee91@news.povray.org>
Slime wrote:
>> 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/ ]

Here is a result from POV-Ray v3.6.1.icl8.win32 rendering of the above 
code (1000x1000, no AA), performed on P4 machine: 
http://img262.imageshack.us/img262/5146/bug2bh9.png

William


Post a reply to this message

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