Can any one tell me what is going on here. Why doesn't the stretched power fractal follow the terrain?
The PF is only masked and is not actually being warped the way the underlying surface for the waterfall is.
That would be my first idea why the PF isn't following the shape.
Hmmm, that's roughly the conclusion I came to, only you put much more clearly. Any sugestions
Since you vector displace on X I suppose you need to start with a PF stretched on Z.
Then I would create a warp input shader and feed the same vector displacement function you use for the waterfall into it.
As main input of the warp input shader you connect the stretch PF.
As long as you treat things the same way they should keep in place/aligned.
Ok turns out to be distort by normal in the colour pf
Yep, that's the way to go. Just a row of warp shaders, for every part one, all fed by the same, or perhaps a little extra with an extra different Vdisp setup.
Ah, and better not rotate your simple shape to begin with. Better to rotate the terrain to accomodate to the river, or find a better spot. Or rotate all having to do with the river and fall the same way. And the PF for your foam needs to be stretched by Z, not by X.
It was stretched by x as a test! Icould not strech the pf in the y direction so I tried x and z to see where the problem lay, as I said turned out to be distort by normal in the warping tab of the PF.
OK. Looking forward to where you take this.
I was hoping to go somewhere different but I'm only going over old ground! Looked at realflow but I can only see limited uses for someone like me. To use objects in it they have to be either some wierd .sb format or alembic, neither of which I can export! Whilst TG can handle the data and meshes it cannot handle the transparency so we are back to square one.
You can use .obj in realflow.
Only thing you need to take into account is that you'd need to translate your point of interest to the origin inside TG, otherwise you won't be able to find it back in your Realflow scene.
The .sd or whatever format realflow uses is an optimized format, but you don't have to use it per se.
Cheers TU maybe I'll go for a learning addition and play. I seem to have improved my waterfall so that it renders reasonably fast and the foam follows the flow - I now want to integrate Dunes road trick to get level streams.
That should work, but you need the stream to be near */0/0 or 0/0/*, depending on the angle of the stream (north-south or east-west).
Hi Dune, your road trick works but getting negative displacement with soft edges for the stream doesn't - I had to fudge it. I'll post something tomorow.
Mmmm? Curious why not.
Try it and see - maybe you can solve the problem. I've spent an afternoon taking apart with no real success.
Well, for one, the road won't 'look for the lowest spot'. You'd need a different setup for that. Experimenting with a Grand Canyon setup now....
But if you use the warped masks, you could add a softer 'road' and warp the same way, then displace down. That should work.