Planetside Software Forums

General => Terragen Discussion => Topic started by: aymenk2003 on July 30, 2009, 04:20:14 PM

Title: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on July 30, 2009, 04:20:14 PM
Yes I know I'm not a pro in Terragen ... but just a newbie...
Well here the fact : I was tweaking the shaders ; water shader, heightfield shader: add an other heightfield connect one to the other... terragen cracks and leaves...
let's reopen it and load the saved Untitled.tgd ...and what ???
I saw in the 3D preview something unbeleivable : the WATERFALL... don't touch...save the project make a render (Detail 0.1) Here's my Tweaking Story...
Title: Re: Tweaking Story "Waterfall"
Post by: aymenk2003 on July 30, 2009, 04:23:01 PM
Other tweaking I'm trying to get foaming...
Title: Re: Tweaking Story "Waterfall"
Post by: aymenk2003 on July 30, 2009, 04:25:10 PM
I'll be back in fifteen days and try to do better..
Title: Re: Tweaking Story "Waterfall"
Post by: Henry Blewer on July 30, 2009, 04:38:44 PM
This is cool. I like 16 the best. The last one, the plant hides your work.
Now it is time for particle effects... ???
Title: Re: Tweaking Story "Waterfall"
Post by: Thelby on July 30, 2009, 04:48:00 PM
Thats a pretty nifty accident to happen across and has much potential!!!
Title: Re: Tweaking Story "Waterfall"
Post by: Dune on July 31, 2009, 02:26:59 AM
Looks very good. I've been playing with the same problem of waterfalls and rapids, and we might have come up with the same solution. But what about the shore in your system? And if the water has enough transparancy you should see the edge of land underneath the fall.
Title: Re: Tweaking Story "Waterfall"
Post by: kevnar on August 02, 2009, 01:07:22 PM
Try using very low and small scale clouds as mist.
Title: Re: Tweaking Story "Waterfall"
Post by: aymenk2003 on August 14, 2009, 11:16:13 AM
Quote from: Dune on July 31, 2009, 02:26:59 AM
Looks very good. I've been playing with the same problem of waterfalls and rapids, and we might have come up with the same solution. But what about the shore in your system? And if the water has enough transparency you should see the edge of land underneath the fall.
I didn't modify the transparency of the water and if you did Yoruba should see the land underneath the fall.
Title: Re: Tweaking Story "Waterfall"
Post by: Dune on August 15, 2009, 03:05:42 AM
What is 'Yoruba'? It is hard to see the land under the water in these samples. I mean that the land under water should have the same displacement as the waterfall itself, otherwise it would be 'a wall of water'. I worked with a lake with the same underlying displacements as the world (before cutting a river), for my studies into a cascading river, smoothing the water plane in a compute terrain. But it's hard to get 'flat' water perpendicular to the streambed.
I imagine this is a lake with a mask-like blendshader, fed through a displaced surface shader? Will you tell us how you achieved this?
Title: Re: Tweaking Story "Waterfall"
Post by: aymenk2003 on August 15, 2009, 05:38:45 AM
Quote from: aymenk2003 on August 14, 2009, 11:16:13 AM
Quote from: Dune on July 31, 2009, 02:26:59 AM
Looks very good. I've been playing with the same problem of waterfalls and rapids, and we might have come up with the same solution. But what about the shore in your system? And if the water has enough transparency you should see the edge of land underneath the fall.
I didn't modify the transparency of the water and if you did Yoruba should see the land underneath the fall.
"Yoruba" ? means nothing I was tired yesterday & I don't remember what I want to write sorry...
btw I preparing a simple tutorial and put some tgd files to let others continue what I 've began ...
Title: "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 15, 2009, 10:56:23 AM
Tutorial "Waterfall"
Part 01:
Open TG2 as Default scene ...Click on Terrain Tab then select the "Heightfield generate 01" change "Size in metres" to 1000x1000...select the "Heightfield shader 01" and in the displacement Tab change the "Height multiplier" to 0.8(the smaller this value the higher is the waterfall).from the button "add terrain" ->add a "power fractal". select the "Node Network" tab and select the "compute terrain" node then from menu Edit duplicate you will get "Compute Terrain_1" rename it to "Compute Water". Select the "Water" tab then add lake TWICE (lake01 & lake02). select "Lake 02"  and change the water level from 100 to 40 you can later tweak this value but not higher than the water level of "Lake 01". Next Step is tweaking the Node Network. you have "Before.jpg" change it to "After.jpg".
After a default render you 'll get this..."Part01.jpg" from "TUT_Waterfall_001.tgd"
... see you in Part 02...
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: bla bla 2 on August 15, 2009, 11:03:07 AM
Merci c'est super :) ;)
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 15, 2009, 11:06:14 AM
Part 02:
Tweaking...
to get a good pov change the position of the "Heightfield shader 01"...
I've changed the size of the "Heightfield generate 01" to 4000x4000 question of taste...
Changed the "Height Multiplier" in the Displacement tab of the "Heightfield shader 01" to 0.2 ...
Changed the "water level" of "Lake 01" to 500...
changed the position of my camera and the heading of the sunlight to end with this render "Part02.jpg" from "TUT_Waterfall_002.tgd"...
... to be continued...
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: Henry Blewer on August 15, 2009, 12:27:18 PM
Thank you for sharing these. I wonder if the height fields could overlap, giving a curved edge to the fall?
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 15, 2009, 01:04:21 PM
yes that 's possible I'll try to explain that in Part 04 of this tutorial...
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 15, 2009, 07:46:09 PM
Part 03:

Change the elevation sun light to approx. from 30  to 77. to avoid sunshine in the waterfall...
-Add a Power fractal shader in the node network area, and plug it to "heightfield generate 01" shader (top right) with these PS setting:
noise stretchXYZ 1-10-1 in the tweak noise tab .
-Add a "Twist and shear shader and plug it between "heightfield shader" and the "Compute Water" "Lean factor": 1 ,"Lean direction": 0-1-0
...to be continued...
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 15, 2009, 08:39:06 PM
Part 03bis:

I didn't like the waterfall wall though I changed the setting of the "Twist and shear" and added an other one
"Twist and shear 5X":LF 5 LD 1-0-0
"Twist and shear 15Y":LF 15 LD 0-1-0
*EDIT://**Due to camera orientation let's modify from X to Z LF:5 LD 0-0-1..//*** "Part03bisEDIT.jpg"
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 15, 2009, 08:56:22 PM
Part 04:

unplug the "Power fractal shader v3 01" from the "Heightfield Generate" and change its setting:
FScale:366 ,LScale:500 ,SScale:366...Displacement ampl:300. tweak till you get get the desired displacement...
create a Redirect shader plug it before the "Compute Water" and connect its X and Z to the above PS shader
*EDIT you have to tweak the water shader 01 & 02 to get what you are looking for ...
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 16, 2009, 05:25:26 PM
After some tweaking we end up with "Part04b.jpg"
the Underneath water (Water shader 02) need some work...
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 16, 2009, 07:37:33 PM
Part 04c:

The waterfall was to linear ...that let me change the Power fractal shader settings (increasing them) to end up with this...
Detail 0.1125
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: Dune on August 17, 2009, 01:18:12 AM
Thanks, Aymenk, that is quite clear. It is different from my method, though. I am currently getting them perfected and will post about it soon.

---Dune
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 17, 2009, 12:20:25 PM
Took a long time to render (old machine) I render with detail :0.1
Title: Re: Tweaking Story "Waterfall" THE TUTORIAL 15 august 2009
Post by: aymenk2003 on August 17, 2009, 08:03:46 PM
Using Glen5700 voronoi...