POV-Ray : Newsgroups : povray.binaries.images : Bug with Blobs ? : Re: Bug with Blobs ? Server Time
4 Oct 2024 15:14:36 EDT (-0400)
  Re: Bug with Blobs ?  
From: Mike
Date: 14 Mar 1999 15:08:43
Message: <36EC15EA.279A2A95@aol.com>
I tried removing the internal bounding hierarchy, but that didn't seem
to help either.  One thing I did notice is that there is a lot of
components overlapping.  I'm still not sure if there's a bug being shown
or if they just aren't overlapping the way expected. Here's the scene
with the components visible: 

#include "colors.inc"
camera {location <0, 0, -5>}

light_source {<10, 20, -30> color White}

#declare teta=texture{pigment {color rgb<.8,.8,1>}}
#declare tetb=texture{pigment{color rgb<1,.9,.9>} //finish{reflection
.95}
}
//#declare tetc=texture{pigment{color rgbf<1,1,1,1>}}


// create a smooth blobby shape
#declare Strengthval = 1 // (+ or -) strength of component's radiating
density
#declare radiuss = .45;
blob
{
  // threshold (0.0 < threshold <= StrengthVal) surface falloff
threshold #
  threshold 0.61
     sphere {<0,.951057,0>, Strengthval, radiuss}
     sphere {<0,.425326,.850651> , Strengthval,radiuss}
     sphere {<.809017,.425326,.262866> , Strengthval,radiuss}
     sphere {<.5,.425326,-.688191> , Strengthval,radiuss}
     sphere {<-.5,.425326,-.688191> , Strengthval,radiuss}
     sphere {<-.809017,.425326,.262866> , Strengthval,radiuss}
     sphere {<0,-.951057,0> , Strengthval,radiuss}
     sphere {<0,-.425326,-.850651> , Strengthval,radiuss}
     sphere {<-.809017,-.425326,-.262866> , Strengthval,radiuss}
     sphere {<-.5,-.425326,.688191> , Strengthval,radiuss}
     sphere {<.5,-.425326,.688191> , Strengthval,radiuss}
     sphere {<.809017,-.425326,-.262866> , Strengthval,radiuss}
     sphere {<0,0,0>,Strengthval,radiuss/3 texture{teta}}
  //sturm
  scale 2
  texture {tetb}
  rotate <clock, 2 * clock, 3*clock>
  hierarchy off

}

union {
sphere {<0,.951057,0>, Strengthval}
     sphere {<0,.425326,.850651> , Strengthval}
     sphere {<.809017,.425326,.262866> , Strengthval}
     sphere {<.5,.425326,-.688191> , Strengthval}
     sphere {<-.5,.425326,-.688191> , Strengthval}
     sphere {<-.809017,.425326,.262866> , Strengthval}
     sphere {<0,-.951057,0> , Strengthval}
     sphere {<0,-.425326,-.850651> , Strengthval}
     sphere {<-.809017,-.425326,-.262866> , Strengthval}
     sphere {<-.5,-.425326,.688191> , Strengthval}
     sphere {<.5,-.425326,.688191> , Strengthval}
     sphere {<.809017,-.425326,-.262866> , Strengthval}
     sphere {<0,0,0>,Strengthval}

       pigment {color rgbt <1, 1, 1, .9>}
       }


Post a reply to this message

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