POV-Ray : Newsgroups : povray.general : Blob suggestion Server Time
20 Nov 2024 06:46:48 EST (-0500)
  Blob suggestion (Message 1 to 10 of 10)  
From: TAlphaBravo
Subject: Blob suggestion
Date: 28 Oct 2001 01:05:04
Message: <3bdb9200$1@news.povray.org>
What I wanna see is a blob object that can model any of the primatives into
a blob, I know of times when this would be a Godsend!]


Post a reply to this message

From: Mike Williams
Subject: Re: Blob suggestion
Date: 28 Oct 2001 02:10:20
Message: <AxyHjBAZ8627EwGg@econym.demon.co.uk>
Wasn't it TAlphaBravo who wrote:

>What I wanna see is a blob object that can model any of the primatives into
>a blob, I know of times when this would be a Godsend!

Most of the POV primitives can be represented by isosurfaces. It's
possible to blob isosurfaces together (see below) in both POV 3.5 and
MegaPOV. The following classes of primitives that can't (easily) be
represented by isosurfaces:-

1. Some Finite Patch Primitives: Bicubic patch, mesh, mesh2 and
smooth_triangle. The other finite patch primitives (polygon, disc,
triangle) can be easily represented as flat isosurfaces that have a
small thickness. It could well be argued that the concept of blobbing
finite patches is not meaningful.

2. Julia_Fractal

3. Text

4. Sphere_Sweep

Any other primitives can be easily represented by isosurfaces and then
blobbed.

From <http://www.econym.demon.co.uk/isotut/combine.htm>

  Blob-like combinations
  ======================

  #include "functions.inc"
  #declare  S = function {f_sphere(x,y,z,0.5)}
  #declare  T = function {f_torus(x,y,z,1,0.2)}

  isosurface {
    function { S(x-0.7,y,z) * T(x,y,z) - 0.05}
         max_gradient 2
         accuracy 0.001
         contained_by{sphere{0,R}}
         pigment {rgb .9}
  }

  [The MegaPOV syntax for the sphere and torus built in functions is ]
  [#declare S = function {"sphere" <.5>}                             ]
  [#declare T = function {"torus" <1,0.2>}                           ]

  Multiplying surfaces then adding a small constant produces an effect  
  that's similar to using blobs. However, this technique can be used to  
  blob together any kind of isosurface, not just spheres and cylinders. 


Also, in MegaPOV, it's possible to perform isosurface blobbing of any
object by creating the isosurfaces from proximity patterns of the
objects. Proximity patterns are not available in POV3.5. MegaPOV
proximity patterns are rather slow.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Warp
Subject: Re: Blob suggestion
Date: 28 Oct 2001 09:47:41
Message: <3bdc1a8d@news.povray.org>
TAlphaBravo <TAl### [at] yahoocom> wrote:
: primatives

  I wonder why this form if the word "primitive" is so popular.

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: JRG
Subject: Re: Blob suggestion
Date: 28 Oct 2001 10:07:23
Message: <3bdc1f2b$1@news.povray.org>
Maybe it's just a typo... just like *if* instead of *of*  ;-)

--
Jonathan.

"Warp" <war### [at] tagpovrayorg> ha scritto nel messaggio
news:3bdc1a8d@news.povray.org...
> TAlphaBravo <TAl### [at] yahoocom> wrote:
> : primatives
>
>   I wonder why this form if the word "primitive" is so popular.
>
> --
> #macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
> rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
> ],13),8)-3,10>#end blob{N(array[6]{11117333955,
> 7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Adrien Beau
Subject: Re: Blob suggestion
Date: 28 Oct 2001 11:57:53
Message: <3BDC3910.5E38DD84@free.fr>
And maybe not. On Slackware forums, I often see "kernal" for
"kernel" and other similar errors that I don't have in mind
right now. I think it's some kind of "slang pronunciation"
that gets written down by users that don't care that much
about the correctness of their writings.

-- 
Adrien Beau   adr### [at] freefr   http://adrien.beau.free.fr/


Post a reply to this message

From: JRG
Subject: Re: Blob suggestion
Date: 28 Oct 2001 12:08:37
Message: <3bdc3b95@news.povray.org>
And what about that ugly *fibinocci* I hear sometimes...

--
Jonathan.

"Adrien Beau" <adr### [at] freefr> ha scritto nel messaggio
news:3BDC3910.5E38DD84@free.fr...
> And maybe not. On Slackware forums, I often see "kernal" for
> "kernel" and other similar errors that I don't have in mind
> right now. I think it's some kind of "slang pronunciation"
> that gets written down by users that don't care that much
> about the correctness of their writings.
>
> --
> Adrien Beau   adr### [at] freefr   http://adrien.beau.free.fr/


Post a reply to this message

From: Francois Labreque
Subject: Re: Blob suggestion
Date: 28 Oct 2001 12:49:41
Message: <3BDC44E9.5090904@videotron.ca>
Bad spelling due to bad pronounciation is understandable, especially 
when it is with names of people that are from a different ethnicity than 
the person mentioning it.

What bugs me is people - mostly native english-speakers - who routinely 
confuse "its" and "it's" and "then" and "than".

followups set.

JRG wrote:

> And what about that ugly *fibinocci* I hear sometimes...
> 
> --
> Jonathan.
> 
> "Adrien Beau" <adr### [at] freefr> ha scritto nel messaggio
> news:3BDC3910.5E38DD84@free.fr...
> 
>>And maybe not. On Slackware forums, I often see "kernal" for
>>"kernel" and other similar errors that I don't have in mind
>>right now. I think it's some kind of "slang pronunciation"
>>that gets written down by users that don't care that much
>>about the correctness of their writings.
>>
>>--
>>Adrien Beau   adr### [at] freefr   http://adrien.beau.free.fr/
>>
> 
> 


-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{location<6,1.25,-6>look_at a orthographic}


Post a reply to this message

From: Nekar Xenos
Subject: Re: Blob suggestion
Date: 29 Oct 2001 04:28:08
Message: <3bdd2128@news.povray.org>
Only problem is isosurfaces are a lot slower and can get artefacts more often...

- Nekar

"Mike Williams" <mik### [at] nospamplease> wrote in message
news:Axy### [at] econymdemoncouk...
> Wasn't it TAlphaBravo who wrote:
>
> >What I wanna see is a blob object that can model any of the primatives into
> >a blob, I know of times when this would be a Godsend!
>
> Most of the POV primitives can be represented by isosurfaces. It's
> possible to blob isosurfaces together (see below) in both POV 3.5 and
> MegaPOV. The following classes of primitives that can't (easily) be
> represented by isosurfaces:-
>
> 1. Some Finite Patch Primitives: Bicubic patch, mesh, mesh2 and
> smooth_triangle. The other finite patch primitives (polygon, disc,
> triangle) can be easily represented as flat isosurfaces that have a
> small thickness. It could well be argued that the concept of blobbing
> finite patches is not meaningful.
>
> 2. Julia_Fractal
>
> 3. Text
>
> 4. Sphere_Sweep
>
> Any other primitives can be easily represented by isosurfaces and then
> blobbed.
>
> From <http://www.econym.demon.co.uk/isotut/combine.htm>
>
>   Blob-like combinations
>   ======================
>
>   #include "functions.inc"
>   #declare  S = function {f_sphere(x,y,z,0.5)}
>   #declare  T = function {f_torus(x,y,z,1,0.2)}
>
>   isosurface {
>     function { S(x-0.7,y,z) * T(x,y,z) - 0.05}
>          max_gradient 2
>          accuracy 0.001
>          contained_by{sphere{0,R}}
>          pigment {rgb .9}
>   }
>
>   [The MegaPOV syntax for the sphere and torus built in functions is ]
>   [#declare S = function {"sphere" <.5>}                             ]
>   [#declare T = function {"torus" <1,0.2>}                           ]
>
>   Multiplying surfaces then adding a small constant produces an effect
>   that's similar to using blobs. However, this technique can be used to
>   blob together any kind of isosurface, not just spheres and cylinders.
>
>
> Also, in MegaPOV, it's possible to perform isosurface blobbing of any
> object by creating the isosurfaces from proximity patterns of the
> objects. Proximity patterns are not available in POV3.5. MegaPOV
> proximity patterns are rather slow.
>
> --
> Mike Williams
> Gentleman of Leisure


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.286 / Virus Database: 152 - Release Date: 2001/10/09


Post a reply to this message

From: Mike Williams
Subject: Re: Blob suggestion
Date: 29 Oct 2001 13:53:07
Message: <$hDI3BAaDa37EwpE@econym.demon.co.uk>
Wasn't it Nekar Xenos who wrote:

>Only problem is isosurfaces are a lot slower and can get artefacts more often...

But blobs that did this might well be even slower than isosurfaces, and
it's fairly easy to get rid of the artefacts in the vast majority of
cases.

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Nekar Xenos
Subject: Re: Blob suggestion
Date: 30 Oct 2001 07:10:18
Message: <3bde98aa@news.povray.org>
"Mike Williams" <mik### [at] nospamplease> wrote in message
news:$hDI### [at] econymdemoncouk...
> Wasn't it Nekar Xenos who wrote:
>
> >Only problem is isosurfaces are a lot slower and can get artefacts more
often...
>
> But blobs that did this might well be even slower than isosurfaces, and
> it's fairly easy to get rid of the artefacts in the vast majority of
> cases.

I'm beginning to think isosurfaces might just be easier as well, seeing the
actual diameter stays the same in isosurfaces - less of a guessing game..?

- Nekar



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.286 / Virus Database: 152 - Release Date: 2001/10/09


Post a reply to this message

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