POV-Ray : Newsgroups : povray.binaries.images : Bozo blob (23KB) Server Time
20 Aug 2024 00:15:03 EDT (-0400)
  Bozo blob (23KB) (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: Tor Olav Kristensen
Subject: Bozo blob (23KB)
Date: 8 Oct 2000 19:32:34
Message: <39E103B3.7EE3B0A9@hotmail.com>
I have to admit that one week ago I played 
around with MegaPOV's eval_pattern to see
if I could make a 3D-pattern "visible" with
a blob.

The image enclosed is one of the results 
from experimenting with the bozo pattern.

The code I used to make it did not work 
quite as I expected, so I didn't like the 
result back then. 

But I have had a second look at the image,
and now I think I like it.


Btw.: 

Is there a way in MegaPOV to have a 
"pattern surface" ? (I.e. make the surface
of a 3D-shape appear where a pattern have 
a certain threshold value.)


Tor Olav
-- 
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message


Attachments:
Download 'blobpattern02_.jpg' (24 KB)

Preview of image 'blobpattern02_.jpg'
blobpattern02_.jpg


 

From: Halbert
Subject: Re: Bozo blob (23KB)
Date: 8 Oct 2000 20:08:07
Message: <39e10c67$1@news.povray.org>
That's really lava-lampesque.

You can use a pigment function to define an isosurface.

#define pigfunc = funcion{pigment{bozo color_map{[0 rgb 1][1 rgb 0]}};

isosurface{
    function{pigfunc(x*xfactor,y*yfactor,z*zfactor)*Some_factor}
.
.
.
}


--


http://www.capital.net/~hhawkins


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


Post a reply to this message

From: Bill DeWitt
Subject: Re: Bozo blob (23KB)
Date: 8 Oct 2000 20:08:36
Message: <39e10c84$1@news.povray.org>
"Tor Olav Kristensen" <tor### [at] hotmailcom> wrote :
>
> Is there a way in MegaPOV to have a
> "pattern surface" ? (I.e. make the surface
> of a 3D-shape appear where a pattern have
> a certain threshold value.)

    Um... Isosurface? #declare the pattern as a function and use it that
way? Maybe I don't understand the question...


Post a reply to this message

From: Halbert
Subject: Re: Bozo blob (23KB)
Date: 8 Oct 2000 20:10:49
Message: <39e10d09$1@news.povray.org>
> #define pigfunc = funcion{pigment{bozo color_map{[0 rgb 1][1 rgb 0]}};

I mean #declare of coarse!

(that's a c/c++ism)


--


http://www.capital.net/~hhawkins


Post a reply to this message

From: Steve
Subject: Re: Bozo blob (23KB)
Date: 8 Oct 2000 20:35:35
Message: <slrn8u24ap.58r.steve@zero-pps.localdomain>
Fase clock animate dude.

-- 
Cheers
Steve              email mailto:ste### [at] zeroppsuklinuxnet

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.zeropps.uklinux.net/

or  http://start.at/zero-pps

  1:24am  up 10 days,  3:44,  2 users,  load average: 1.02, 1.01, 1.00


Post a reply to this message

From: Chris Huff
Subject: Re: Bozo blob (23KB)
Date: 8 Oct 2000 20:39:06
Message: <chrishuff-567263.19413608102000@news.povray.org>
In article <39E103B3.7EE3B0A9@hotmail.com>, Tor Olav Kristensen 
<tor### [at] hotmailcom> wrote:

> Is there a way in MegaPOV to have a 
> "pattern surface" ? (I.e. make the surface
> of a 3D-shape appear where a pattern have 
> a certain threshold value.)

The isosurface is perfect for this...

#declare Func =
function {
    pigment {bozo color_map {[0 rgb 0][1 rgb 1]}}
}


isosurface {
    function {Func(x, y, z)}
    threshold 0.5
    contained_by {
        box {<-1,-1,-1>, < 1, 1, 1>}
    }
}

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Bozo blob -> isosurface bozo (47KB)
Date: 8 Oct 2000 21:48:46
Message: <39E123D3.1C989ED3@hotmail.com>
Tor Olav Kristensen wrote:
> ...
> Is there a way in MegaPOV to have a
> "pattern surface" ? (I.e. make the surface
> of a 3D-shape appear where a pattern have
> a certain threshold value.)

Thank you all for fast replies.

You've helped me to do what I wanted.

But I don't understand why one has to involve
pigments to determine a surface.

Why can I not define the function like this ?

function {
  eval_pattern(bozo scale <1, 1, 1>/4, x + y + z)
}

Please explain.


Enclosed are an image I just made.
I love isosurfaces !


Tor Olav
-- 
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message


Attachments:
Download 'bozo.jpg' (48 KB)

Preview of image 'bozo.jpg'
bozo.jpg


 

From: Chris Huff
Subject: Re: Bozo blob -> isosurface bozo (47KB)
Date: 9 Oct 2000 07:29:47
Message: <chrishuff-DA49DA.06321909102000@news.povray.org>
In article <39E123D3.1C989ED3@hotmail.com>, Tor Olav Kristensen 
<tor### [at] hotmailcom> wrote:

> Why can I not define the function like this ?
> 
> function {
>   eval_pattern(bozo scale <1, 1, 1>/4, x + y + z)
> }
> 
> Please explain.

Because nobody has added the eval_pattern() function to isosurface 
functions yet. Oh, and it wouldn't be "x + y + z", it looks like you 
meant "x, y, z". :-)
The eval_pattern() function would probably be a little bit faster than a 
pigment function, and certainly easier to use, but I don't plan on 
trying to add it to isosurfaces until a MegaPOV based on POV 3.5 is 
released. Adding an isosurface function is a bit more complex than 
ordinary functions, and I want to wait until the isosurface code is 
cleaned up and organized better.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Bozo blob -> isosurface bozo (47KB)
Date: 9 Oct 2000 16:56:35
Message: <39E23003.454939EC@online.no>
Chris Huff wrote:

> In article <39E123D3.1C989ED3@hotmail.com>, Tor Olav Kristensen
> <tor### [at] hotmailcom> wrote:
>
> > Why can I not define the function like this ?
> >
> > function {
> >   eval_pattern(bozo scale <1, 1, 1>/4, x + y + z)
> > }
> >
> > Please explain.
>
> Because nobody has added the eval_pattern() function to isosurface
> functions yet. Oh, and it wouldn't be "x + y + z", it looks like you
> meant "x, y, z". :-)

Yes you're right. I think I misunderstood that part.


> The eval_pattern() function would probably be a little bit faster than a
> pigment function, and certainly easier to use, but I don't plan on
> trying to add it to isosurfaces until a MegaPOV based on POV 3.5 is
> released. Adding an isosurface function is a bit more complex than
> ordinary functions, and I want to wait until the isosurface code is
> cleaned up and organized better.

Ahh... I thought that any float expression would do. -Sorry.

Has the added complexity anything to do with the derivatives
of these iso-functions ?


Tor Olav
--
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Bozo blob (23KB)
Date: 9 Oct 2000 17:05:12
Message: <39E231FE.909F7B5B@online.no>
Steve wrote:

> Fase clock animate dude.

What do you mean ?
That I should make an animation of it ?

Have anyone done any animations with iso-
surfaces that changes their shapes according to
a 3D-pattern that has it's different parameters
changed slowly ?

I'll have to try that some day.


Tor Olav
--
mailto:tor### [at] hotmailcom
http://www.crosswinds.net/~tok/tokrays.html


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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