POV-Ray : Newsgroups : povray.binaries.images : Bozo blob (23KB) Server Time
20 Aug 2024 02:18:47 EDT (-0400)
  Bozo blob (23KB) (Message 6 to 15 of 15)  
<<< Previous 5 Messages Goto Initial 10 Messages
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

From: Chris Huff
Subject: Re: Bozo blob (23KB)
Date: 9 Oct 2000 17:46:27
Message: <chrishuff-AEF597.16490009102000@news.povray.org>
In article <39E231FE.909F7B5B@online.no>, Tor Olav Kristensen 
<tto### [at] onlineno> wrote:

> > Fase clock animate dude.
> What do you mean ?
> That I should make an animation of it ?

Don't worry, you aren't the only one who doesn't understand...
"Fase" = Face?
Clocks have faces...
Maybe he wants you to make an animated clock with isosurfaces...
:-)


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

It has been done before, so it is useable. I think there is an explosion 
effect which uses this technique.

-- 
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: Chris Huff
Subject: Re: Bozo blob -> isosurface bozo (47KB)
Date: 9 Oct 2000 17:52:16
Message: <chrishuff-5D18BC.16535609102000@news.povray.org>
In article <39E23003.454939EC@online.no>, Tor Olav Kristensen 
<tto### [at] onlineno> wrote:

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

Nope, there are a few functions which haven't been added yet.


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

No. The problem is that isosurface functions are processed in a 
completely different way from the rest of the POV Script language. They 
are saved in a data structure and evaluated during the rendering process 
to search for the isosurface intersections, instead of being executed at 
parse time.

-- 
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: Christoph Hormann
Subject: Re: Bozo blob -> isosurface bozo (47KB)
Date: 10 Oct 2000 07:30:40
Message: <39E2FDE1.B2F35562@schunter.etc.tu-bs.de>
Tor Olav Kristensen wrote:
[...]
> 
> Enclosed are an image I just made.
> I love isosurfaces !
> 
> Tor Olav

Welcome to the isosurface fan club, you should start saving money for a new
faster computer, because you will need it soon ... :-)

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Bozo blob -> isosurface bozo (47KB)
Date: 10 Oct 2000 20:32:11
Message: <39E3B408.663B83C2@online.no>
Christoph Hormann wrote:

> Tor Olav Kristensen wrote:
> [...]
> >
> > Enclosed are an image I just made.
> > I love isosurfaces !
> >
> > Tor Olav
>
> Welcome to the isosurface fan club, you should start saving money for a new
> faster computer, because you will need it soon ... :-)

=)

I have already saved some money that I hope I can use for a new computer.

Since I want to select every part of it myself, I never come to buy it.
This is because when I finally have found a device I like, then some of the
others I have found earlier is not still "the best value for money".  :(


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 -> isosurface bozo (47KB)
Date: 10 Oct 2000 20:34:47
Message: <39E3B4A9.B6CFE7C5@online.no>
Chris Huff wrote:

> In article <39E23003.454939EC@online.no>, Tor Olav Kristensen
> <tto### [at] onlineno> wrote:
>
> > Ahh... I thought that any float expression would do. -Sorry.
>
> Nope, there are a few functions which haven't been added yet.
>
> > Has the added complexity anything to do with the derivatives
> > of these iso-functions ?
>
> No. The problem is that isosurface functions are processed in a
> completely different way from the rest of the POV Script language. They
> are saved in a data structure and evaluated during the rendering process
> to search for the isosurface intersections, instead of being executed at
> parse time.

I see.

Thank you for explaining.


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


Post a reply to this message

<<< Previous 5 Messages Goto Initial 10 Messages

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