POV-Ray : Newsgroups : povray.newusers : Box blob object? Server Time
26 Dec 2024 19:45:02 EST (-0500)
  Box blob object? (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Mr
Subject: Box blob object?
Date: 9 Aug 2017 16:55:00
Message: <web.598b75a15c2f84e3638427fa0@news.povray.org>
Hi, blender has a box type blob object besides standard capsule (cylinder)
ellipsoid and sphere. Does any povray version allow the same?  If not, or
without a workaround, this is a feature request. :-)


Post a reply to this message

From: clipka
Subject: Re: Box blob object?
Date: 9 Aug 2017 18:52:21
Message: <598b9225$1@news.povray.org>
Am 09.08.2017 um 22:50 schrieb Mr:
> Hi, blender has a box type blob object besides standard capsule (cylinder)
> ellipsoid and sphere. Does any povray version allow the same?  If not, or
> without a workaround, this is a feature request. :-)

Then a feature request it is ;)


Post a reply to this message

From: B  Gimeno
Subject: Re: Box blob object?
Date: 9 Aug 2017 20:30:00
Message: <web.598ba83cba742d5fe2d509f80@news.povray.org>
"Mr" <nomail@nomail> wrote:
> Hi, blender has a box type blob object besides standard capsule (cylinder)
> ellipsoid and sphere. Does any povray version allow the same?  If not, or
> without a workaround, this is a feature request. :-)

I'm intrigued about this. Could you provide some more information? Any links? I
would like to see how far I am from being able to write a macro for this
purpose. Thank you.

B. Gimeno


Post a reply to this message

From: Mr
Subject: Re: Box blob object?
Date: 10 Aug 2017 05:35:01
Message: <web.598c27c5ba742d5fe10e80840@news.povray.org>
"B. Gimeno" <nomail@nomail> wrote:
> "Mr" <nomail@nomail> wrote:
> > Hi, blender has a box type blob object besides standard capsule (cylinder)
> > ellipsoid and sphere. Does any povray version allow the same?  If not, or
> > without a workaround, this is a feature request. :-)
>
> I'm intrigued about this. Could you provide some more information? Any links? I
> would like to see how far I am from being able to write a macro for this
> purpose. Thank you.
>
> B. Gimeno

hi,
In Blender, you add new objects to a scene by hitting SHIFT+A in the 3d view and
choose metaball (Blender's blob equivalent) in the submenu pick Cube (Blender's
"box" equivalent)


Post a reply to this message

From: bgimeno
Subject: Re: Box blob object?
Date: 10 Aug 2017 09:15:27
Message: <598c5c6f$1@news.povray.org>
Well, at the moment I can't see any exit to the limits that the syntax 
of blob in pov-ray imposes. I have not achieved anything acceptable, 
except a certain resentment against those sticky forms.

Regards.
B. Gimeno


Post a reply to this message

From: clipka
Subject: Re: Box blob object?
Date: 10 Aug 2017 16:14:07
Message: <598cbe8f$1@news.povray.org>
Am 10.08.2017 um 15:15 schrieb bgimeno:
> 
> Well, at the moment I can't see any exit to the limits that the syntax
> of blob in pov-ray imposes. I have not achieved anything acceptable,
> except a certain resentment against those sticky forms.

POV-Ray's blobs are indeed currently too limited to do that job. You'd
need to resort to isosurfaces for that purpose.


Post a reply to this message

From: Mr
Subject: Re: Box blob object?
Date: 15 Aug 2017 19:20:01
Message: <web.59938080ba742d5f61ea16670@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 10.08.2017 um 15:15 schrieb bgimeno:
> >
> > Well, at the moment I can't see any exit to the limits that the syntax
> > of blob in pov-ray imposes. I have not achieved anything acceptable,
> > except a certain resentment against those sticky forms.
>
> POV-Ray's blobs are indeed currently too limited to do that job. You'd
> need to resort to isosurfaces for that purpose.

Except an isosurface cube probably won't merge with a blob yet, will it?


Post a reply to this message

From: Bald Eagle
Subject: Re: Box blob object?
Date: 16 Aug 2017 07:50:01
Message: <web.599430d4ba742d5fc437ac910@news.povray.org>
"Mr" <nomail@nomail> wrote:

> > POV-Ray's blobs are indeed currently too limited to do that job. You'd
> > need to resort to isosurfaces for that purpose.
>
> Except an isosurface cube probably won't merge with a blob yet, will it?


I think he means the way to blob-together isosurface functions as described in
the docs  (2.3.3.3.6 Combining isosurface functions):

Apart from basic CSG you can also obtain smooth transits between the different
surfaces, for instance the blob object:
  #declare Blob_Threshold=0.01;

  isosurface {
    function {
      (1+Blob_Threshold)
      -pow(Blob_Threshold, fn_A(x,y,z))
      -pow(Blob_Threshold, fn_B(x,y,z))
    }
    max_gradient 4
    contained_by { box { -2, 2 } }
  }


The Blob_Threshold value influences the smoothness of the transit between the
shapes. A lower value leads to sharper edges, and it's function looks like:
function{fn_A(x,y,z) + pow(Blob_Threshold,(fn_B(x,y,z) + Strength))}


Post a reply to this message

From: clipka
Subject: Re: Box blob object?
Date: 18 Aug 2017 13:58:14
Message: <59972ab6$1@news.povray.org>
Am 16.08.2017 um 01:15 schrieb Mr:
> clipka <ano### [at] anonymousorg> wrote:
>> Am 10.08.2017 um 15:15 schrieb bgimeno:
>>>
>>> Well, at the moment I can't see any exit to the limits that the syntax
>>> of blob in pov-ray imposes. I have not achieved anything acceptable,
>>> except a certain resentment against those sticky forms.
>>
>> POV-Ray's blobs are indeed currently too limited to do that job. You'd
>> need to resort to isosurfaces for that purpose.
> 
> Except an isosurface cube probably won't merge with a blob yet, will it?

No, but the other way round is now possible: A blob can be turned into a
`potential` pattern, a pattern can be turned into a function, and a
function can be combined with other isosurface functions such as that of
a "blob box" isosurface.


Post a reply to this message

From: Mr
Subject: Re: Box blob object?
Date: 20 Aug 2017 10:10:01
Message: <web.599997f8ba742d5f61ea16670@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 16.08.2017 um 01:15 schrieb Mr:
> > clipka <ano### [at] anonymousorg> wrote:
> >> Am 10.08.2017 um 15:15 schrieb bgimeno:
> >>>
> >>> Well, at the moment I can't see any exit to the limits that the syntax
> >>> of blob in pov-ray imposes. I have not achieved anything acceptable,
> >>> except a certain resentment against those sticky forms.
> >>
> >> POV-Ray's blobs are indeed currently too limited to do that job. You'd
> >> need to resort to isosurfaces for that purpose.
> >
> > Except an isosurface cube probably won't merge with a blob yet, will it?
>
> No, but the other way round is now possible: A blob can be turned into a
> `potential` pattern, a pattern can be turned into a function, and a
> function can be combined with other isosurface functions such as that of
> a "blob box" isosurface.

Every blob converted to a function... Why not have povray do it all the time
under the hood so that these two types of entities get compatible with
eachother?


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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