POV-Ray : Newsgroups : povray.general : HELP: Smoother Blob Server Time
10 Oct 2026 13:42:58 EDT (-0400)
  HELP: Smoother Blob (Message 1 to 27 of 27)  
From: Sven Littkowski
Subject: HELP: Smoother Blob
Date: 20 Dec 2015 02:33:54
Message: <567659e2$1@news.povray.org>
Hi,

I have a (red) cylinder, and want to add - with smooth transitions - a
number of (purple) cylinders at its end. But my understanding of the
blob object is not very good, and so i simply don't succeed.

Please see below the code as it exists now, after endless attempts.

--------------------------------------

#declare MyStrength =  2.00;
#declare MyDiameter = 150.0;

blob
{
 threshold 1.65
 cylinder { < -62.5, 0.0, 0.0 > < 62.5, 0.0, 0.0 > 500.0, 2.75 pigment {
rgb < 1, 0, 0 > } scale < 0.025, 2.105, 2.105 > translate < -60.0, 0.0,
0.0 > }
 cylinder { < -62.5, 0.0, 0.0 > < 62.5, 0.0, 0.0 > 500.0, 2.75 pigment {
rgb < 1, 0, 0 > } scale < 0.025, 2.105, 2.105 > translate <  60.0, 0.0,
0.0 > }

 cylinder { < -700.0,  100.0, 250.0 > < 700.0,  100.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } scale < 10.0, 1.0,
1.0 >  }
 cylinder { < -700.0,  050.0, 250.0 > < 700.0,  050.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0,  000.0, 250.0 > < 700.0,  000.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -050.0, 250.0 > < 700.0, -050.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -100.0, 250.0 > < 700.0, -100.0, 250.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }

 cylinder { < -700.0,  100.0, 300.0 > < 700.0,  100.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0,  050.0, 300.0 > < 700.0,  050.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0,  000.0, 300.0 > < 700.0,  000.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -050.0, 300.0 > < 700.0, -050.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -100.0, 300.0 > < 700.0, -100.0, 300.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }

 cylinder { < -700.0,  100.0, 350.0 > < 700.0,  100.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0,  050.0, 350.0 > < 700.0,  050.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0,  000.0, 350.0 > < 700.0,  000.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -050.0, 350.0 > < 700.0, -050.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -100.0, 350.0 > < 700.0, -100.0, 350.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }

 cylinder { < -700.0,  100.0, 400.0 > < 700.0,  100.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0,  050.0, 400.0 > < 700.0,  050.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0,  000.0, 400.0 > < 700.0,  000.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -050.0, 400.0 > < 700.0, -050.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -100.0, 400.0 > < 700.0, -100.0, 400.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }

 cylinder { < -700.0,  100.0, 450.0 > < 700.0,  100.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0,  050.0, 450.0 > < 700.0,  050.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0,  000.0, 450.0 > < 700.0,  000.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -050.0, 450.0 > < 700.0, -050.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
 cylinder { < -700.0, -100.0, 450.0 > < 700.0, -100.0, 450.0 >
MyDiameter, MyStrength pigment { rgb < 1, 0, 1 > } }
}

cylinder { < -62.5, 0.0, 0.0 > < 62.5, 0.0, 0.0 > 500.0 pigment { rgbf <
1, 0, 0,0.5 > } }

--------------------------------------

Can you give me advises, how to create a smoother transition between the
purple and red cylinders? Thanks a lot.


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 20 Dec 2015 02:34:59
Message: <56765a23$1@news.povray.org>
I forgot to say: the size of the red cylinder needs to be maintained.


Post a reply to this message

From: William F Pokorny
Subject: Re: HELP: Smoother Blob
Date: 20 Dec 2015 09:44:27
Message: <5676becb$1@news.povray.org>
On 12/20/2015 02:33 AM, Sven Littkowski wrote:
> Hi,
>
> I have a (red) cylinder, and want to add - with smooth transitions - a
> number of (purple) cylinders at its end. But my understanding of the
> blob object is not very good, and so i simply don't succeed.
>
> --------------------------------------
>
> Can you give me advises, how to create a smoother transition between the
> purple and red cylinders? Thanks a lot.
>

Blobs are difficult to control precisely especially given we have only 
spheres and cylinders with which to work. Where precision shapes are 
desired, folks tend not to use them.

Given your magenta cylinders are placed so near the edge of the red one 
you wished to be a fixed radius, the red is going to bulge outward.

That said, some suggestions :

Blob only :
-------------------------
1) Move the magenta shape away from the red cylinder edge if able.
2) Use many more smaller radius magenta cylinders to reduce the bulge / 
lesson the inset distance for no bulge.
3) Perhaps you could come up with an negative strength tube made up of a 
larger negative strength cylinder mostly already neutralized by inner 
positive one(s). Complicated to get clean.
4) Surround the bulging parts with many carefully positioned negative 
strength shapes, but again the red shape wouldn't be completely 
cylindrical, though you could get quite close. The neg strength shape 
count would likely be high meaning possible impacts to parse and render 
performance.
5) I've seen mention of POV-Ray blob modeling tools, but not something 
I've used.

Shape aided / shape based
-----------------------------
6) Intersect the blob you have with a cylinder of the radius you want. 
In other words constrain the blob bulge with CSG.
7) Drop the blob approach altogether and use CSG - see, for example, the 
rounded shapes package(s) in the objects collection. With pure CSG you 
of course then need somewhat more complicated textures but looks like 
you could use a gradient pattern as a basis.
8) Meshes & UV mapping probably using a modeling tool like Blender...

(6) Is probably the quickest fix.

Bill P.


Post a reply to this message

From: William F Pokorny
Subject: Re: HELP: Smoother Blob
Date: 20 Dec 2015 09:57:27
Message: <5676c1d7$1@news.povray.org>
On 12/20/2015 09:44 AM, William F Pokorny wrote:
> On 12/20/2015 02:33 AM, Sven Littkowski wrote:
>> Hi,
5a)

Posted and then thought on another blob possibility - call it 5a I 
guess. Namely, you might be able to move some or all of the magenta 
cylinders outward from the red cylinder ends to reduce any unwanted 
bulging. Likely hard to get the positioning just right & still get the 
inside corner rounding you want.

Bill P.


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 20 Dec 2015 19:56:39
Message: <56774e47@news.povray.org>
Here, this is what I try to get: a very smooth transition from the large
main cylinder towards a side body with straight walls but curved edges
(made by several smaller cylinders, I guess).

Would your suggestions work for this shape?


Post a reply to this message


Attachments:
Download 'untitled-1.jpg' (48 KB)

Preview of image 'untitled-1.jpg'
untitled-1.jpg


 

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 20 Dec 2015 21:01:55
Message: <56775d93@news.povray.org>
POV-Ray blob modeling tool

Can you give me some names? I want to try them out. Thanks.


Post a reply to this message

From: clipka
Subject: Re: HELP: Smoother Blob
Date: 20 Dec 2015 21:59:53
Message: <56776b29$1@news.povray.org>
Am 21.12.2015 um 03:01 schrieb Sven Littkowski:
> POV-Ray blob modeling tool
> 
> Can you give me some names? I want to try them out. Thanks.

IIRC the alternative POV-Ray exporter for Blender that "Mr" is working
on already features support for blobs.


Post a reply to this message

From: clipka
Subject: Re: HELP: Smoother Blob
Date: 20 Dec 2015 22:05:15
Message: <56776c6b$1@news.povray.org>
Am 21.12.2015 um 01:56 schrieb Sven Littkowski:
> Here, this is what I try to get: a very smooth transition from the large
> main cylinder towards a side body with straight walls but curved edges
> (made by several smaller cylinders, I guess).
> 
> Would your suggestions work for this shape?

I don't think blobs will get you there, as they are fundamentally
unsuited to get truly flat surfaces.

If you do want to follow the blob approach, an isosurface with blob-like
functions might be worth trying.


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 07:24:28
Message: <5677ef7c$1@news.povray.org>
Thanks, but wow - I have never done such before. I have no idea, how to
do such. Can you give me an example? From that, I could learn for this
particular purpose. I am not easy with blobs, and I never touched iso
surfaces yet.


Post a reply to this message

From: William F Pokorny
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 09:33:31
Message: <56780dbb$1@news.povray.org>
On 12/20/2015 09:01 PM, Sven Littkowski wrote:
> POV-Ray blob modeling tool
>
> Can you give me some names? I want to try them out. Thanks.
>
I'd have given you names in the response, if my old memory were up to 
it. :-)

A google search for "povray blob model" turned up povray's own, links 
page at:

http://www.povray.org/resources/links/3D_Programs/POV-Ray_Modelling_Programs/

on which some blob modeling tools are listed. Some of those links dead 
end - though further searches on the tool names found downloads.

Code seems pretty old - mid to late 90s vintage - though probably still 
functions. I'd go with Christoph's Blender recommendation for Mr's 
Blender Blobs if you want any support.

Saw the image you posted in another response which I suppose came from 
some other technique/modeler you don't want to use? In any case, I 
second Christoph's response that blobs are not the way to go if you want 
flat surfaces.

Bill P.


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 09:34:14
Message: <56780de6@news.povray.org>
What means "IIRC"? Online I found "International Intelligent Robots
Contest", but I doubt very much that this is what you meant.   :-)



On 20.12.2015 21:59, clipka wrote:
> IIRC the alternative POV-Ray exporter for Blender that "Mr" is working
> on already features support for blobs.


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 09:39:26
Message: <56780f1e@news.povray.org>
If it comes to iso surfaces, I seriously need help. Real help. I never
touched iso surfaces yet, and being in need now for such a shape and
having no knowledge yet, I wonder if you allow me to ask, if someone
could create a sample for me that shows the shape I want. From that
sample, I can learn and should be able to use such iso surfaces in the
future on my own. I hope, I am not asking for too much, I feel shy about
asking for help (could be seen as an attempt to exploit others).


Post a reply to this message


Attachments:
Download 'untitled-1.jpg' (48 KB)

Preview of image 'untitled-1.jpg'
untitled-1.jpg


 

From: Stephen
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 10:04:30
Message: <567814fe$1@news.povray.org>
On 12/21/2015 12:39 PM, Sven Littkowski wrote:
> What means "IIRC"? Online I found "International Intelligent Robots
> Contest", but I doubt very much that this is what you meant.   :-)
>
>

If I Remember Correctly.

>
> On 20.12.2015 21:59, clipka wrote:
>> IIRC the alternative POV-Ray exporter for Blender that "Mr" is working
>> on already features support for blobs.
>


-- 

Regards
     Stephen


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 10:04:59
Message: <5678151b$1@news.povray.org>
Trying to google for "Mr Blender Blobs", but the Jamaican version of
Google (google.com.jm) does not list anything when searching. Could be,
that such results are not permitted to Google by Jamaican authorities
for some reason or by accident. Since the Google search engine,
following a demand by China, has created local (national) versions of
its service that can be influenced by local authorities, it seems,
search results differ from country to country. Bad in my eyes.

With Yahoo, i find only videos and this:
http://www.moddb.com/games/platformer/downloads/mr-blob-the-vertical-slice
(a game with mr. Blob for the Blender game engine)...

Can you give me a URL for "Mr Blender Blobs"? Thanks.



On 21.12.2015 09:33, William F Pokorny wrote:
> Mr's Blender Blobs


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 10:16:43
Message: <567817db$1@news.povray.org>
I hope, the POV-Ray developer team soon adds blob support for more
shapes, like box, cone, superellipsoid, and all those.





On 21.12.2015 09:33, William F Pokorny wrote:
> Mr's Blender Blobs


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 10:25:34
Message: <567819ee$1@news.povray.org>
Really? Cool, learned something new... :-)


Post a reply to this message

From: Stephen
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 10:32:20
Message: <56781b84$1@news.povray.org>
On 12/21/2015 3:04 PM, Sven Littkowski wrote:
> Trying to google for "Mr Blender Blobs", but the Jamaican version of
> Google (google.com.jm) does not list anything when searching. Could be,
> that such results are not permitted to Google by Jamaican authorities
> for some reason or by accident. Since the Google search engine,
> following a demand by China, has created local (national) versions of
> its service that can be influenced by local authorities, it seems,
> search results differ from country to country. Bad in my eyes.
>
> With Yahoo, i find only videos and this:
> http://www.moddb.com/games/platformer/downloads/mr-blob-the-vertical-slice
> (a game with mr. Blob for the Blender game engine)...
>
> Can you give me a URL for "Mr Blender Blobs"? Thanks.
>
>
The Blender name for Blobs is metaballs if that helps.

Mr is his initials not short for Mister. Confusing yes or no?


>
> On 21.12.2015 09:33, William F Pokorny wrote:
>> Mr's Blender Blobs

The mind boggles. ;-)

-- 

Regards
     Stephen


Post a reply to this message

From: clipka
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 10:34:49
Message: <56781c19$1@news.povray.org>
Am 21.12.2015 um 16:04 schrieb Stephen:
> On 12/21/2015 12:39 PM, Sven Littkowski wrote:
>> What means "IIRC"? Online I found "International Intelligent Robots
>> Contest", but I doubt very much that this is what you meant.   :-)
>>
>>
> 
> If I Remember Correctly.

Recall.

The official version might be "remember", but I "recall" ;)


Post a reply to this message

From: Stephen
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 10:42:35
Message: <56781deb$1@news.povray.org>
On 12/21/2015 3:25 PM, Sven Littkowski wrote:
> Really?

Yes but YMMV

http://www.urbandictionary.com/define.php?term=ymmv


> Cool, learned something new... :-)
>

You are not dead then ;-)
We should all endeavour to learn something new every day.
At my age it is often the same thing I relearn each day. ;-)

-- 

Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 10:47:35
Message: <56781f17$1@news.povray.org>
On 12/21/2015 3:34 PM, clipka wrote:
> Am 21.12.2015 um 16:04 schrieb Stephen:
>> On 12/21/2015 12:39 PM, Sven Littkowski wrote:
>>> What means "IIRC"? Online I found "International Intelligent Robots
>>> Contest", but I doubt very much that this is what you meant.   :-)
>>>
>>>
>>
>> If I Remember Correctly.
>
> Recall.
>
> The official version might be "remember", but I "recall" ;)
>

Whatever floats your boat. :-)

-- 

Regards
     Stephen


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 11:55:51
Message: <56782f17$1@news.povray.org>
Total Recall...   ;-)


Post a reply to this message

From: Larry Hudson
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 16:25:43
Message: <56786e57$1@news.povray.org>
On 12/21/2015 07:42 AM, Stephen wrote:
> On 12/21/2015 3:25 PM, Sven Littkowski wrote:
>> Really?
>
> Yes but YMMV
>
> http://www.urbandictionary.com/define.php?term=ymmv
>

Another site I've found useful for this is http://www.acronymfinder.com/

In this one, for IIRC, the 2nd and 3rd suggestions are:
     If I Read Correctly
     If I Recall/Remember Correctly
followed by 20 more.

For YMMV, it finds 5 suggestions, with "Your mileage may vary" as the first.

      -=- Larry -=-


Post a reply to this message

From: Stephen
Subject: Re: HELP: Smoother Blob
Date: 21 Dec 2015 17:49:53
Message: <56788211$1@news.povray.org>
On 12/21/2015 9:25 PM, Larry Hudson wrote:
> On 12/21/2015 07:42 AM, Stephen wrote:
>> On 12/21/2015 3:25 PM, Sven Littkowski wrote:
>>> Really?
>>
>> Yes but YMMV
>>
>> http://www.urbandictionary.com/define.php?term=ymmv
>>
>
> Another site I've found useful for this is http://www.acronymfinder.com/
>

That is really the better site IMO (not so humble, I might add) ;-)

> In this one, for IIRC, the 2nd and 3rd suggestions are:
>      If I Read Correctly
>      If I Recall/Remember Correctly
> followed by 20 more.
>

Basically the same. Don't quote me if I get/got it wrong. DQMIIGIW


> For YMMV, it finds 5 suggestions, with "Your mileage may vary" as the
> first.
>

That is a relatively new one for me. I have never believed what the 
manufacturers have ever said. So it was taken for granted.


>       -=- Larry -=-
>


-- 

Regards
     Stephen


Post a reply to this message

From: Cousin Ricky
Subject: Re: HELP: Smoother Blob
Date: 22 Dec 2015 07:55:00
Message: <web.56794814c9b5d73aac6323910@news.povray.org>
Stephen <mca### [at] aolcom> wrote:
> > For YMMV, it finds 5 suggestions, with "Your mileage may vary" as the
> > first.
> >
>
> That is a relatively new one for me. I have never believed what the
> manufacturers have ever said. So it was taken for granted.

This started with the energy crisis.  It was all over automobile advertizements
in the USA during the late '70s and early '80s.


Post a reply to this message

From: Sven Littkowski
Subject: Re: HELP: Smoother Blob
Date: 22 Dec 2015 12:26:00
Message: <567987a8@news.povray.org>
And it affects even this thread, ha ha!


Post a reply to this message

From: Stephen
Subject: Re: HELP: Smoother Blob
Date: 23 Dec 2015 06:16:57
Message: <567a82a9$1@news.povray.org>
On 12/22/2015 12:54 PM, Cousin Ricky wrote:
> Stephen <mca### [at] aolcom> wrote:
>>> For YMMV, it finds 5 suggestions, with "Your mileage may vary" as the
>>> first.
>>>
>>
>> That is a relatively new one for me. I have never believed what the
>> manufacturers have ever said. So it was taken for granted.
>
> This started with the energy crisis.  It was all over automobile advertizements
> in the USA during the late '70s and early '80s.
>
>
>
That long ago? I've only noticed it in the last 10 years or so.
I'm so observant. :-)

-- 

Regards
     Stephen


Post a reply to this message

From: Alain
Subject: Re: HELP: Smoother Blob
Date: 24 Dec 2015 23:19:46
Message: <567cc3e2@news.povray.org>
Le 15-12-23 06:16, Stephen a écrit :
> On 12/22/2015 12:54 PM, Cousin Ricky wrote:
>> Stephen <mca### [at] aolcom> wrote:
>>>> For YMMV, it finds 5 suggestions, with "Your mileage may vary" as the
>>>> first.
>>>>
>>>
>>> That is a relatively new one for me. I have never believed what the
>>> manufacturers have ever said. So it was taken for granted.
>>
>> This started with the energy crisis.  It was all over automobile
>> advertizements
>> in the USA during the late '70s and early '80s.
>>
>>
>>
> That long ago? I've only noticed it in the last 10 years or so.
> I'm so observant. :-)
>

It was pervasive in the 70's and 80's, then, it faded away in the 90's 
and early 2000's only to make a comeback.


Post a reply to this message

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