POV-Ray : Newsgroups : povray.binaries.images : Bug with Blobs ? Server Time
4 Oct 2024 13:10:50 EDT (-0400)
  Bug with Blobs ? (Message 1 to 7 of 7)  
From: Ph Gibone
Subject: Bug with Blobs ?
Date: 14 Mar 1999 05:51:34
Message: <36eb94b6.0@news.povray.org>
Hi There

If you look to the attached images there are many notches (look at the red
ovals) in the object which is a very simple blob made of spheres.
If I rotate the object, the notches change place and size, so I'm quite sure
it is a bug in POVRay (version 3.1a).

Any one knows about this ?

Philippe


Post a reply to this message


Attachments:
Download 'Notches.jpg' (13 KB)

Preview of image 'Notches.jpg'
Notches.jpg


 

From: Bob Hughes
Subject: Re: Bug with Blobs ?
Date: 14 Mar 1999 06:44:13
Message: <36EBA0C6.654AEFE0@aol.com>
That does look peculiar. Did you try using the 'sturm' keyword in the
blob statement though?
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?


Ph Gibone wrote:
> 
> Hi There
> 
> If you look to the attached images there are many notches (look at the red
> ovals) in the object which is a very simple blob made of spheres.
> If I rotate the object, the notches change place and size, so I'm quite sure
> it is a bug in POVRay (version 3.1a).
> 
> Any one knows about this ?
> 
> Philippe
> 
>  [Image]

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
 mailto:inv### [at] aolcom?PoV


Post a reply to this message

From: Ph Gibone
Subject: Re: Bug with Blobs ?
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

From: Mike
Subject: Re: Bug with Blobs ?
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

From: Bob Hughes
Subject: Re: Bug with Blobs ?
Date: 14 Mar 1999 17:09:12
Message: <36EC334D.D429DECF@aol.com>
It obviously is the last component (sphere) causing the problem. If
Strengthval is increased by multiplying it by 1.25 the artifacts more or
less disappear. The threshold, strength, radius adjusted in various ways
does not acheive the proper shape first made here without some pieces
missing.
So the interactions you need are disfunctional in that configuration for
some reason or another. May well be bug report material afterall.
But might not be an actual "bug" either and just the way blob works in
the current formulation.


-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.htm
 mailto:inv### [at] aolcom?PoV


Post a reply to this message

From: Ph Gibone
Subject: Re: Bug with Blobs ?
Date: 14 Mar 1999 17:17:52
Message: <36ec3590.0@news.povray.org>

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

If you give the "visible" components a texture which is totally transparent,
the notches disapear ! But this is a very dirty and time consuming
workaround


Post a reply to this message

From: Ph Gibone
Subject: Re: Bug with Blobs ?
Date: 14 Mar 1999 17:20:35
Message: <36ec3633.0@news.povray.org>

>It obviously is the last component (sphere) causing the problem. If
>Strengthval is increased by multiplying it by 1.25 the artifacts more or
>less disappear. The threshold, strength, radius adjusted in various ways
>does not acheive the proper shape first made here without some pieces
>missing.
>So the interactions you need are disfunctional in that configuration for
>some reason or another. May well be bug report material afterall.
>
>
First remark : If you give the "visible" components a texture which is
totally transparent, the notches disapear ! But this is a very dirty and
time consuming workaround
Second remark : if you try with clock = 60 the notches are much bigger.
Third remark : the drawing you see is exactly what I want !


>But might not be an actual "bug" either and just the way blob works in
>the current formulation.

Hum... that's what I say to my clients.

Philippe


Post a reply to this message

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