POV-Ray : Newsgroups : povray.general : color_map is "dirty" on a plane that goes thru the origin : color_map is "dirty" on a plane that goes thru the origin Server Time
31 Jul 2024 12:20:37 EDT (-0400)
  color_map is "dirty" on a plane that goes thru the origin  
From: talk do stop
Date: 11 Mar 2007 12:50:00
Message: <web.45f440c8f0c5f335e8e88bca0@news.povray.org>
If I try the following scene, the top of the cylinder will be a noisy
mixture of the two colors in the color_map.

#declare height = 0;
cylinder {
    <0,height,0> <0,-1.2,0> 2
    texture { pigment {
        gradient -y
        color_map {
            [0 color rgb <1,1,0>]
            [1 color rgb <0,0,1>]
        }
        scale <1, 2, 1>
    }}
}
camera { look_at <0,0,0> location 3 }
light_source { 3 color rgb 1}


If however the height is changed to 0.001, the color is fine.  I am not
quite sure if it's a bug, or I just overlooked something, but I wouldn't
expect this behavior.


Post a reply to this message

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