POV-Ray : Newsgroups : povray.unofficial.patches : Isosurface pigment bug? : Isosurface pigment bug? Server Time
2 Sep 2024 20:14:21 EDT (-0400)
  Isosurface pigment bug?  
From: SamuelT 
Date: 14 Jul 1999 22:52:56
Message: <378D4DA6.743D726C@aol.com>
When I try something like the following example I get speckles(or worse)
all over the isosurface. It happens when I add sine_wave or any other
wave type in the pigment  statement. Bumping the max_gradient to the sky
doesn't seem to help it, either. This limits what can be done with the
pigments, obviously. Other than that., the new pigment+isosurface
feature rules!

#declare P=function{pigment{radial sine_wave frequency 8 color_map{[0
rgb 0][1 rgb 1]}}}

isosurface{
 function (x^2+y^2+z^2)+(P(x,y,z)*.5)
 method 2
 max_gradient 10
 threshold 1
 sign 1
 pigment{rgb 1}
}


Post a reply to this message


Attachments:
Download 'us-ascii' (1 KB)

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