POV-Ray : Newsgroups : povray.newusers : isosurfaces? : Re: isosurfaces? Server Time
30 Jul 2024 18:21:34 EDT (-0400)
  Re: isosurfaces?  
From: Matthew Pace
Date: 4 Nov 2003 01:45:12
Message: <matt-pace-14D9EE.22451003112003@netplex.aussie.org>
Holy Jumping Mother of God!  It worked!  Sorta, anyways.  It rendered, 
yes, but there was nothing there.  My guess is because I messed up 
somewhere along with placing the objects and camera.

in case anyone was interested still, this is the fixed code:

#declare AmbientLight= 0;
camera
{
   location <0,.5,-7>
   look_at  <0,0,0>
}

light_source
{
   <.5,11,-3>
   color rgb 2
   spotlight
   radius 3
   falloff 15
   tightness 5
   point_at <0,0,0>
   area_light
   <.5,0,0>,<0,.5,0>,5,5
   adaptive 1
   jitter
}
plane
{
   y,0
   hollow
   texture
   {
      pigment
      {
         checker
            color rgb <.8,.8,.8>
            color rgb <0,0,.25>
      }
   }
}

#declare Sphere=function (x,y,z,R) {x*x+y*y+z*z}


isosurface
{
   function{Sphere(2,2,2,4)}
   threshold 0
   contained_by {box {-5,5}}
   texture
   {
      pigment
      {
         color rgb .6
      }
   }


Post a reply to this message

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