POV-Ray : Newsgroups : povray.binaries.animations : Re: swirly water[751kbu DIVX] Server Time
19 Jul 2024 17:17:39 EDT (-0400)
  Re: swirly water[751kbu DIVX] (Message 1 to 7 of 7)  
From: Tim Nikias
Subject: Re: swirly water[751kbu DIVX]
Date: 19 May 2002 08:01:55
Message: <3CE79416.AE235FF@gmx.de>
Hey Mike! That looks really cool! I know that the
algorithm doesn't actually rotate the water, so its
an impressive effect to see that it actually looks like
its spinning!

As for the persistant variables, thats a no-no with
POV-Ray 3.5. Perhaps someone will make a patch
for that (like MegaPOV 3.5 or such, who knows).

But if you want something easy you can take a look at
my homepage, in the downloads section you'll find
some macros which take care of writing arrays filled
with floats/vectors/boolean to disk and loading it
very easily. It supports arrays of up to 5 dimensions (the
actual limit POV-Ray has itself), and is very easy
to use.
Steven Vogel used those Macros for his implementation
of that algorithm as well and said he was very satisfied.

You wouldn't have to save to different files but simply specify
one data-file which you initialize in the first frame, and every
next frame you simply load at the beginning, and save at the
end (the typical way of doing that sort of stuff).

Anyways, nice animation, interesting textures (image-maps,
I guess), good lighting. Looks pretty realistic...


Mike Hough wrote:

> I liked Rune's water animation so much I had to try it myself.  It took me
> awhile to figure out that code on Hugo Elias' site and adapt it to POV.  I'd
> actually seen that before but never considered that it could be done in SDL.
> There's one thing I ran into during the project maybe someone knows
> about...is there some way to have variables persist from one frame to the
> next in 3.5 like you could in MegaPOV?  I wound up saving data to sequential
> files in order to save the time of calculating the entire thing from the
> beginning for each frame.
>
>

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Rick [Kitty5]
Subject: Re: swirly water[751kbu DIVX]
Date: 19 May 2002 08:02:11
Message: <3ce79443@news.povray.org>
Now that is nice


--
Rick

Kitty5 WebDesign - http://Kitty5.com
POV-Ray News & Resources - http://Povray.co.uk
TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message

From: Rune
Subject: Re: swirly water[751kbu DIVX]
Date: 19 May 2002 12:21:51
Message: <3ce7d11f@news.povray.org>
Very nice! I think your water has better wands than mine... :)

The ripples don't go all the way out to the walls though. That probably
shouldn't be too difficult to fix.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:  http://rsj.mobilixnet.dk (updated Apr 14)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Ring:  http://webring.povray.co.uk


Post a reply to this message

From: Hugo
Subject: Re: swirly water[751kbu DIVX]
Date: 19 May 2002 12:36:42
Message: <3ce7d49a$1@news.povray.org>
Eeeii, great great!  :o))


-Hugo


Post a reply to this message

From: Tony[B]
Subject: Re: swirly water[751kbu DIVX]
Date: 19 May 2002 14:59:49
Message: <3ce7f625@news.povray.org>
Impressive!


Post a reply to this message

From: Mike Hough
Subject: Re: swirly water[751kbu DIVX]
Date: 19 May 2002 19:38:14
Message: <3ce83766@news.povray.org>
> I know that the
> algorithm doesn't actually rotate the water, so its
> an impressive effect to see that it actually looks like
> its spinning!

I was suprised by that myself.  It was more accurate than I expected.

> But if you want something easy you can take a look at
> my homepage, in the downloads section you'll find
> some macros which take care of writing arrays filled
> with floats/vectors/boolean to disk and loading it
> very easily.

I'll check it out.

> Anyways, nice animation, interesting textures (image-maps,
> I guess), good lighting. Looks pretty realistic...

Thanks.  Yeah, I used some simple image and bump maps for the textures.


Post a reply to this message

From: Mike Hough
Subject: Re: swirly water[751kbu DIVX]
Date: 19 May 2002 19:38:15
Message: <3ce83767@news.povray.org>
> Very nice! I think your water has better wands than mine... :)

Thanks!  The difference could be the resolution.  I used a 100x100 map.

> The ripples don't go all the way out to the walls though. That probably
> shouldn't be too difficult to fix.

Caught me :)
What happened was I used a 4.5 unit radius circle as the blocking map but
the inner radius of the pool is 5...forgot to adjust for it.


Post a reply to this message

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