Q: making path of water

Started by Sp34k, May 16, 2009, 12:20:13 pm

Previous topic - Next topic

Sp34k

Hallo my friends

I've been looking at some stunning pictures here on the forum, many of you guys got some serious skills with Terragen 2, and while wathing the pictures I got inspired.. I wan't to create a moutain with water running down.. But how do you make a path of water? All that I am able to do is making a specific level of water (the basic) - I wish to expand my horrizonts and take the next step towards creating beautiful Terragen images..

I hope that I made myself clear enough, otherwise just ask me what I mean more specific..


Regards,
Mike
Learning history and science, wait,
Knowing that, will that put food on my plate?
Yeah, can I walk into McDonald's, into the counter,
And tell them you can make limestone from gunpowder,
Will they give me a cheeseburger if I know that shit?

rcallicotte

Waterfalls are an ongoing discussion with different members here.  It's a good one.  Do some searches for waterfall and see what's been done already...let us know your findings, too.  That's part of the fun and health of this forum.
So this is Disney World.  Can we live here?

Hetzen

May 16, 2009, 05:55:52 pm #2 Last Edit: May 16, 2009, 07:55:18 pm by Hetzen
Ok, I've just been playing around with this, trying to distort a lake object with an offset powerfractal, which does what it's told, except: The problem is trying to flatten the offset. Sure you can define the area you want the river to flow, you can also distort a lake object to be a couple of meters higher than the groove you've just painted in with a paint shader, yet lower than the surounding terrain (think water surface), what you can't do, is clamp the altitude over an area to keep the water surface flat in x/z to a specific path vector over y, ie downhill. So what you would get is the water conforming exactly to the terrain, except an offset lower. So any dips in the terrain is reflected in the shape of the lake object. What you need to do is flatten this at specified altitudes along a vector path.

I've been playing around with field generation through voronoi noise recently, which I've got to sort of work, and hope to put into the NWA (NWDA, NDWA?) competition  :P But think I could have done with a "blur function over area". Now there is a smooth step node in the functions list, which sort of sounds like what I want, but have absolutely no idea what it needs to work, ie how does the point in it's calculation know what the step is in x,y,z is?(asuming it works in an area) I could also seriously see a very good use of some sort of "fast blur" in either x,y,z or any combination, which may get around sorting out the flatness over altitude with a down hill river for example.

Planetside?

Oshyan

Blur effects are usually "raster" effects, so they don't tend to work too well with procedurals. I could be wrong about that being the case in TG2, that's just what I recall *in general* in the CG world.

As for the original question, while you could do most of what's needed in TG2 decently (particularly using the Painted Shader), ultimately you need a proper shape in your terrain that works well with a river filling it. This is harder to achieve in TG2, though also possible (again mostly with the Painted Shader). If I were aiming for this, I'd probably just set the terrain up in a 3rd party app like Geocontrol or World Machine and then place the water with a mask (generated in the 3rd party app) or painted shader in TG2.

It's going to be difficult to get a river of proper "depth" regardless, but in a pinch (and especially from a distance) a colored surface with reflectivity can suffice.

- Oshyan

Hetzen

Well, I'm a little lost on what the "smooth step sclaer" function is, or how it works out where the steps are coming from if it's not a rasterise function. I've managed to clamp voronoi noise to a degree, to create stone walls thinner than the voronoi differnce scaler noise function through bias scaling to create the following PoC, but would like to add more grey into it's 'clampness'. Smooth step scaler would sound like it's the trick, yet it struggles on hard black on white differences, so I have no idea how it's supposed to work.

Here is what I've achieved, using voronoi to define fields/field stone walls, and field edge populations. Still very much wip and very much more proof of concept, so ignore it's crudeness. But there is a limit it seems I can clamp the noise, so it would be usefull to blur that result to get a little more resolution at the scale I want it. If you look at the centre parting of the nearest 3 fields, there is a grey line on the left hand side of the wall, which as far as I can tell, is the limit of the colour correction (read contrast) I can get out of the function to get the width. Adding a little blur would give me a few more steps to tighten up that line.

Oshyan

Well, honestly I'm not a function node expert, so I can't help much there. I presume you've read the reference on this though? http://www.planetside.co.uk/docs/tg2/noderef/window_1_16_2.html

- Oshyan

Hetzen

 ;) Yes I have. And all I can asume is that it needs a grey scale, rather than a black next white difference step betweeen points, hence the need to blur that to give me more grey to play with.

Goms

The smooth step scalar works with two constant scalar nodes.
You can use it Like this:

To get something like this:

scale, seed, step start and step end are constant scalars.
Quote from: FrankB
you're never going to finish this image ;-)

Hetzen

Thanks Goms, much appreciated. That is how I had set it up. The problem I had was getting the step to smooth at very small scales. I got around the problem with using a conditional scaler in the end.

Sorry for dragging this thread off topic.

Sp34k

Alright I've done alot of research here on planetside and from other sites.. Ehm from what I've learned, then I need to know more about the basic facts, people don't 'really' explain step by step how to create a waterfall, also I need to get more knowledge about creating the right terrange etc.

So before jumping into creating a waterfall, I guess that I'll have to do even more research about more basic stuff and then one day, return to the waterfall.. I didn't expect it to be that hard..
Also I have no idéa about how to use the internal network, ehm so.. First more practice, research and alot of scr*wing up ;)

One day I'll probably return to this topic and show a waterfall image, who knows :)


Best regards,
Mike
Learning history and science, wait,
Knowing that, will that put food on my plate?
Yeah, can I walk into McDonald's, into the counter,
And tell them you can make limestone from gunpowder,
Will they give me a cheeseburger if I know that shit?

Oshyan

Doing a convincing waterfall is actually quite difficult, both in TG2 and most other apps. There are several attempts of varying quality around the forums here, but all of them took a bit of work. While I understand it could be considered a "basic" landscape feature, in creation terms it's more of an "advanced" problem to solve. The same is true of convincing waves crashing on a beach, for example.

- Oshyan

cyphyr

To be honest (God I hate that phrase) I think your chasing your tail here. Well actually it depends on what your trying to achieve. Apart from waterfalls most rivers are either wide and flat (you could just use small water planes stacked and offset) or if their on a slope they don't look much like water, not in a clear watery sort of way. In most cases if a river/stream is going down the side of a mountain it cuts deep ravines and thus hides most of its actual visible water, all you can really see is the effects of where water has passed. Only where it has pooled can you actually see any water. Of course if your camera is set up right next to the stream you'll see plenty but for most landscape shots theres really not that much too see. Grab some images from google that show the effect your after. Then people here can give much better and more relevant advice. And also remember that many of the possible solutions will be situation specific, ie they will work great sometimes but at other times will be entirely inappropriate.
Good luck and let us see your wip's :)
Richard
www.richardfraser.co.uk
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 3900X @3.79Ghz, 64Gb (TG4 benchmark 6:20)
i7 5930K @3.5Ghz, 32Gb (TG4 benchmark 13.44)

Goms

cyphyr is absolutely right.
Also, how hard or easy it is, depends on what you want. a close-up shot from inside a canyon with high slope, is really hard. a distant shot from a waterfall on a scarp, is "easy".
You can taker a look at the "image" and the tgd attached. I should give you an idea about how to make a waterfall with clouds.
The cloud is made with a painted shader that paints in 3D.
Quote from: FrankB
you're never going to finish this image ;-)

Sp34k

Hallo cyphyr, its a little funny that you reply to my topic because it was from your picture I got the inspiration.. I saw two of your pictures: http://forums.planetside.co.uk/index.php?topic=5982.0, and I know your skills are way higher than mine (but nothing is inpossible) - so back to my point, I wanted to create a picture in the same POV but with a moutain or a hill in the background with water floating down..

This was the best picture that I could find: http://www.muche-net.de/sea2002/pics/water_stream.JPG as you can see my friend, the way the water is streaming down is beautiful.. I don't know if you can follow my imagination, but if you take one of your pictures and then insert a moutain/hill in the background with water streaming down.. :)

btw, those two pictures you made are extraordinary, they catch my taste 101% :)


Goms:
Im not sure if I catch your point, but, do you say that it's possible to make a waterfall out of clouds? Sounds weird to me but my knowledge is not big in Terragen, I'm more into photoshop so I need to change my way of "thinking" when it comes to creating landscapes:) I'm open to any idéas, suggestion and what so ever..


Regards,
Mike


Learning history and science, wait,
Knowing that, will that put food on my plate?
Yeah, can I walk into McDonald's, into the counter,
And tell them you can make limestone from gunpowder,
Will they give me a cheeseburger if I know that shit?

Goms

The Picture you got there is pretty much what i did in the attached tgd.
The form of the terrain is used to get a cloud in the right shape.
If you think about it, the smaller the waterdrops are the more cloudy do they have to look. And if you look at pictures with h higher exposure, you just see a cloud.
so try to model something like the terrain in the picture and draw with a painted shader an it. Maybe i have time to write something more in-depth about this tomorrow.
Quote from: FrankB
you're never going to finish this image ;-)