Author Topic: Water Library  (Read 35130 times)

Offline rcallicotte

  • Member
  • *
  • Posts: 9542
Water Library
« on: July 18, 2008, 02:10:54 PM »
For your water files that will help push us toward better water renders...here's my start.  Some of this clip file might need to be changed to work with the present water transparency.
So this is Disney World.  Can we live here?

Offline Tangled-Universe

  • Terrevangelist
  • *
  • Posts: 6075
    • CGScenery.com - Terragen Tutorials!
Re: Water Library
« Reply #1 on: July 27, 2008, 11:02:42 AM »
These are good initiatives Calico.

You might consider posting a screenshot along to show what the clip has to offer.

Offline Mr_Lamppost

  • Member
  • *
  • Posts: 1062
POV Ripples
« Reply #2 on: July 27, 2008, 12:27:47 PM »
POV Ripples

This is a clip file which produces a pattern of ripples similar to those created by POV-Rayís ripples normal pattern.  The clip is based on the ripple functions I used here: http://forums.planetside.co.uk/index.php?topic=4524.0

For convenience the clip includes a water shader with the waves zeroed and the displacement shader that makes the ripples. 

There is a Constant Scalar to the right of the Ripples Group which can be changed to change the size of the ripples.  This also affects the height of the ripples to keep them proportional.  The height can be changed independently with the Displacement Multiplier in the displacement shader.

The ripple pattern is built by averaging the sine of the distance from eight arbitrary points. The pattern of ripples can be changed by moving these points, which are defined by eight Constant Vectors in the Ripples Group.

The sample image shows the clip applied to a 1 metre radius lake placed 10 metres above the default terrain.
Smoke me a kipper Iíll be back for breakfast.

Offline rcallicotte

  • Member
  • *
  • Posts: 9542
Re: Water Library
« Reply #3 on: July 28, 2008, 11:48:50 AM »
Thanks, Mr. L.  This is interesting work...very functional.   :P

Seriously, the only way I've found to understand functions is either through someone's generosity like this or especially when we have threads devoted to one thing or another using functions.  Thanks!!
So this is Disney World.  Can we live here?

Offline bobbystahr

  • Member
  • *
  • Posts: 8194
  • Turn, and face the Strange Ch Ch Changes...D Bowie
Re: Water Library
« Reply #4 on: July 28, 2008, 11:22:10 PM »
Great idea these libraries calico...kudos for getting it started and thanx both for these waters which I shall explore later.. ...
something borrowed,
something Blue.
Ring out the Old.
Bring in the New

bobbystahr

dandelO

  • Guest
Re: Water Library
« Reply #5 on: August 19, 2008, 09:31:09 AM »
Here is the link to my TG water-caustics files, I can't see the option to move the topic to here manually so I'll just link to it here and attatch the resulting images from each file as examples.
You can see the discussion and download the .tgc/.tgd from this link...

http://forums.planetside.co.uk/index.php?topic=4677.msg48831#msg48831

On sand: - .tgc available
12416-0
On Rocks: .tgd available
12418-1

Thanks. :)
« Last Edit: August 19, 2008, 09:32:47 AM by dandelO »

Offline chaps

  • Member
  • *
  • Posts: 47
Circles on water, or anything else
« Reply #6 on: September 07, 2008, 06:31:43 PM »
The joke of Mr_Lamppost make me think that I could share "mes ronds dans l'eau".

Here is a clip file containing the displacement function and the water shader I used in my post

http://forums.planetside.co.uk/index.php?topic=4738.0.

I'll be happy to see it in a picture more realistic than mines.

Bye.

Pascal.


Offline mogn

  • Member
  • *
  • Posts: 443
Re: Water Library
« Reply #7 on: September 08, 2008, 03:46:26 AM »
Why do you use a dot operation followed by a square root, one 'length to scalar' does exactly the same.
Or you could use implicit conversions by connecting the three outlets from the 'Distance to center' directly to the 'Subtract from center'
Nice by the way 8)

Offline rcallicotte

  • Member
  • *
  • Posts: 9542
Re: Water Library
« Reply #8 on: September 08, 2008, 01:15:11 PM »
One way or another, this is still cool.  I love it.  RIPPLES and WAVES!!!
So this is Disney World.  Can we live here?

Offline bigben

  • Member
  • *
  • Posts: 2129
  • The Long Stranger rides again
    • Tinkering with Terragen
River/lake masking of TER files
« Reply #9 on: September 08, 2008, 01:35:26 PM »
Updated 10/9/2008

I think I'm happy enough with this to take it out of beta and put it here for others to use.  This clip demostrates a method for creating lakes and rivers on TER files for real world data.  You need a TER file and an image map to define where the water is supposed to be. I'll post a demo image when the latest test of this finishes rendering. More notes in the development post <http://forums.planetside.co.uk/index.php?topic=4746.0>

[update]
Should have checked the clip file I saved. Downloaded it for a test at work and realised half of the nodes were missing. Fixed now
[/update]
« Last Edit: September 10, 2008, 09:05:39 AM by bigben »

Offline rcallicotte

  • Member
  • *
  • Posts: 9542
Re: Water Library
« Reply #10 on: September 08, 2008, 02:06:11 PM »
Wow, Ben.  Thanks.

Downloaded!!!
So this is Disney World.  Can we live here?

Offline Mr_Lamppost

  • Member
  • *
  • Posts: 1062
Re: Water Library
« Reply #11 on: April 08, 2009, 11:30:28 PM »
Instant Atlantic ocean.

Derived from the ocean surface used in this render:

http://www.terragen.org/gallery/displayimage.php?pos=-5822http://www.terragen.org/gallery/displayimage.php?pos=-5822

The clip file will insert a new ďAtlanticĒ group into your scene which contains the default lake object and all the displacements and shaders.

Smoke me a kipper Iíll be back for breakfast.

Offline rcallicotte

  • Member
  • *
  • Posts: 9542
Re: Water Library
« Reply #12 on: April 12, 2009, 12:29:22 PM »
COOL!  This is awesome, Mr. Lamppost.  Thank you.
So this is Disney World.  Can we live here?

Offline Henry Blewer

  • Member
  • *
  • Posts: 6333
  • The cooler weather is great!
    • flickr.com/photos/njeneb/
Re: Water Library
« Reply #13 on: August 14, 2009, 11:22:28 PM »
Just when I think I'm making progress, here comes a wave algorithm using many of the functions I do not understand, yet. :'(
Thank you for sharing this. If I look at enough of these, it will start to make sense to me. I hope.
http://flickr.com/photos/njeneb/
Forget Tuesday; It's just Monday spelled with a T

dandelO

  • Guest
Re: Water Library
« Reply #14 on: January 30, 2010, 08:55:53 PM »
I forgot about the water library. :D

Here's my water masking files that eliminate subterranean rendering of water objects. This can save you hours on a render where you need a very large water object, like a long river, but you don't need water everywhere in the scene(like under mountains for instance).

http://forums.planetside.co.uk/index.php?topic=8779.0

Thanks for looking/reading/downloading/etc'ing/etc.