POV-Ray : Newsgroups : povray.newusers : Contained_by color : Re: Contained_by color Server Time
2 Nov 2024 05:22:15 EDT (-0400)
  Re: Contained_by color  
From: Jim Charter
Date: 28 Aug 2004 02:03:52
Message: <41302048$1@news.povray.org>
FrEaK wrote:
> I'm going through the tutorials and am up to isosurfaces.  All their example
> images have a different color for the surface of the function than for the
> containing box.  And this is the one section of the tutorial without sample
> scene code!  How do you make the containing box gray and the surface tan?
> 
> 
I don't think you get it from the iso alone

They are using some sort of trick to produce the illustration
maybe:
#declare F = function { abs(x)-1+y }

intersection {
         isosurface {
                 function { F (x,y,z) }
                 contained_by { box { -1.1, 1.1 } }

                 pigment { rgb Tan }


         }
         box { -1.0, 1.0 pigment { rgb .8 }}
}


Post a reply to this message

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