POV-Ray : Newsgroups : povray.general : Partially black isosurface Server Time
29 Nov 2024 07:44:38 EST (-0500)
  Partially black isosurface (Message 1 to 1 of 1)  
From: Sebastian H 
Subject: Partially black isosurface
Date: 1 Feb 2006 17:54:34
Message: <43e13c2a@news.povray.org>
I was just surprised by an isosurface that was completely black
all over the bounding box in the volume with abs(x) > 1.
The reason was a square root of a negative number in
the isosurface function similar to the following.

isosurface {
   function{  y - sqrt(1 - x*x) }
   contained_by { box { -1.1, 1.1 }  }
   max_gradient 5
   texture {
     pigment {rgb <1/3,1/3,1>}
     finish {ambient 0.2 phong 1.0 phong_size 120}
   }
}

Sebastian


Post a reply to this message

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