POV-Ray : Newsgroups : povray.unofficial.patches : Bug in isosurface using pigment function? : Re: Bug in isosurface using pigment function? Server Time
1 Sep 2024 20:13:33 EDT (-0400)
  Re: Bug in isosurface using pigment function?  
From: Chris Huff
Date: 24 Nov 2000 09:20:24
Message: <chrishuff-E00AB6.09205224112000@news.povray.org>
In article <3a1e53fd@news.povray.org>, Warp <war### [at] tagpovrayorg> 
wrote:

You declared your pigment as:
#declare ObjectFunc =
function {
    pigment {boxed
        color_map {[0 rgb 1][0 rgb 0][1 rgb 0]}
    }
}

What are you expecting this color_map to result in? It starts out as 
white, but goes to black in 0 distance and ends in black, basically a 
black pigment...isosurfaces require a smoothly varying function. My 
guess is you want either this:
color_map {[0 rgb 1][1 rgb 0]}
or something similar to this:
color_map {[0 rgb 1][0.5 rgb 0][1 rgb 0]}

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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