POV-Ray : Newsgroups : povray.binaries.images : Bug with Blobs ? : Re: Bug with Blobs ? Server Time
4 Oct 2024 15:15:50 EDT (-0400)
  Re: Bug with Blobs ?  
From: Ph Gibone
Date: 14 Mar 1999 13:33:17
Message: <36ec00ed.0@news.povray.org>

>That does look peculiar. Did you try using the 'sturm' keyword in the
>blob statement though?

Yes !

>But I haven't seen such a incomplete set of blobs before. In case you
>haven't seen many of the recent animations using blobs, they don't have
>any of this problem apparently. Nor have I ever seen them get as bad as
>this. Trying to think from memory whether there was any fixes to blob{}
>since 3.1a and only a texture placement fix comes to mind (I think).
>Could that be it?
>
I've tried several textures one very simple : texture{pigment {color
rgb<.8,.8,1>}}
Always the same

This image is one out of an animation set, an you can see the notches moving
and changing size just because the object is rotated !

Anyway here is the source :

#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>

}

Thanks for taking time to answer

Philippe


Post a reply to this message

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