POV-Ray : Newsgroups : povray.advanced-users : Isosurface function: rippled box Server Time
26 Nov 2024 06:50:39 EST (-0500)
  Isosurface function: rippled box (Message 1 to 6 of 6)  
From: ian
Subject: Isosurface function: rippled box
Date: 12 Oct 2000 14:00:29
Message: <39e5fc3d@news.povray.org>
Hello,

I am looking for an isosurface function to make a box with ripples like one
would find on a large pool of water. The ripples need to be not of the type
one would find after throwing a rock in, but like those found on a still
wind blown lake.

I wish for this to be subtracted from my pool of water, as I dislike normals
when true displacement is available.

I attempt this pedantic level of reality as all others have been covered
within current ability; Media falloff in the water with conservation of
energy, photons and radiosity, etc..

ian


Post a reply to this message

From: Christoph Hormann
Subject: Re: Isosurface function: rippled box
Date: 12 Oct 2000 14:35:28
Message: <39E60471.59CED5E8@schunter.etc.tu-bs.de>
ian wrote:
> 
> Hello,
> 
> I am looking for an isosurface function to make a box with ripples like one
> would find on a large pool of water. The ripples need to be not of the type
> one would find after throwing a rock in, but like those found on a still
> wind blown lake.
> 
> I wish for this to be subtracted from my pool of water, as I dislike normals
> when true displacement is available.
> 
> I attempt this pedantic level of reality as all others have been covered
> within current ability; Media falloff in the water with conservation of
> energy, photons and radiosity, etc..
> 
> ian

You could try any pigment function with a pattern like you would use for a
normal statement.  Furthermore you could try a Ridged Multifractal function
which can give very realistic water.  

Check out the entries in the last IRTC, there are a lot using isosurfaces for
realistic water.  

Christoph

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


Post a reply to this message

From: Chris Huff
Subject: Re: Isosurface function: rippled box
Date: 12 Oct 2000 16:04:31
Message: <chrishuff-3B1D6C.15070712102000@news.povray.org>
In article <39e5fc3d@news.povray.org>, "ian" <ian### [at] aolcom> 
wrote:

> I wish for this to be subtracted from my pool of water, as I dislike 
> normals when true displacement is available.

I think a better idea would be to make the water itself an 
isosurface...just use a plane function and displace it with a pigment 
function, maybe a wrinkles pigment.

#declare WaterFunc = function {pigment {...}}

isosurface {
    function {y - WaterFunc(x,y,z)}
    ...


You could also try a height_field, though the fact that it is made of 
triangles might give worse results, and the memory usage would be worse.

-- 
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: ian
Subject: Re: Isosurface function: rippled box
Date: 13 Oct 2000 08:37:38
Message: <39e70212@news.povray.org>
The problem is that the pool of water is not evenly shaped, and needs to
refract light properly. It is a set of loop-stacked cylinders inside a
slightly larger vessel of the same shape. It is currently solid with a media
interior.

Would zeroing the effect of the current media container object in regards to
reflection and refraction, then placing said plane in the proper position
produce the described effect?

I do not see that happening as easily as a CSG from my current
configuration, but I am known for missing blatantly obvious things from time
to time..

thanks,
ian

Chris Huff wrote in message ...
>I think a better idea would be to make the water itself an
>isosurface...just use a plane function and displace it with a pigment
>function, maybe a wrinkles pigment.


Post a reply to this message

From: Chris Huff
Subject: Re: Isosurface function: rippled box
Date: 13 Oct 2000 10:29:44
Message: <chrishuff-02AF16.09322213102000@news.povray.org>
In article <39e70212@news.povray.org>, "ian" <ian### [at] aolcom> 
wrote:

> The problem is that the pool of water is not evenly shaped, and needs 
> to refract light properly. It is a set of loop-stacked cylinders 
> inside a slightly larger vessel of the same shape. It is currently 
> solid with a media interior.

What I meant was that you don't need a box function for this, you can 
use a simpler plane function(you can't get much simpler than "y") in the 
CSG, because only the top surface has waves. Perhaps I misunderstood 
what you were asking about, but I thought you wanted a box function with 
a displacement.

(I just had an interesting idea: a spherical or toroidal swimming pool, 
in a large room aboard a spacecraft, held in place in the center by air 
jets and magnetic fields, but otherwise free of support. What do you 
think?)

-- 
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: Isosurface function: rippled box
Date: 13 Oct 2000 10:36:24
Message: <39E71DE8.4E373415@schunter.etc.tu-bs.de>
Chris Huff wrote:
> 
[...]
> 
> (I just had an interesting idea: a spherical or toroidal swimming pool,
> in a large room aboard a spacecraft, held in place in the center by air
> jets and magnetic fields, but otherwise free of support. What do you
> think?)
> 

I'm just not sure whether i would like to swim in that pool ... :-)
The whole idea reminds me somehow of the movie 'The Abyss'.

Christoph

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


Post a reply to this message

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