Function Only World Tutorials or Examples?

Started by elipsis1, June 16, 2014, 09:17:05 AM

Previous topic - Next topic

elipsis1

I just read a thread and down in it somewhere it was discussed that some users make function only worlds.

Can someone point me to a tutorial or perhaps upload a basic example of this so I can attempt to learn?

LOL

Thanks in advance, this sounds really interesting...

bobbystahr

Quote from: elipsis1 on June 16, 2014, 09:17:05 AM
I just read a thread and down in it somewhere it was discussed that some users make function only worlds.

Can someone point me to a tutorial or perhaps upload a basic example of this so I can attempt to learn?

LOL

Thanks in advance, this sounds really interesting...

found these in user contributed tutorials...always a good place to look.

http://www.planetside.co.uk/forums/index.php/topic,1168.0.html

http://www.planetside.co.uk/forums/index.php/topic,195.0.html

http://www.planetside.co.uk/forums/index.php/topic,1166.0.html
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

elipsis1

Weird I did a "search all forums" but didn't get many results.  Perhaps I need to alter my input in the search field...

Thank you very much for your reply!

elipsis1

Trying to work through this:


"Lets start from scratch.

Add a Get Position Function, an X to Scalar Function, and a Sin scalar function, and join them together
in that order.
Add a Displacement shader and join the Sin function to the function input of the Displacement shader and the output
of ther Displacement to the Compute Terrain as usual.
Change the Camera to position 0,25,0 with a rotation of -90,0,0.
Change the Sun to a angle of 45.

You should have a ploughed field look. Let's add some noise to the X co-ordinate.

Add a Perlin 3D scalar and an Add Scalar function.
Connect the Get Position to the Perlin 3D scalar, The Perlin 3D Scalar and the X to Scalar to the Add Scalar.
Connect the Add Scalar node to the Sin Scalar node.

There should now be indentations now (Fig 4 'a') 

Add a Constant Scalar, set to 20, and connect it to the Scale input of the Perlin 3D scalar.

The smoothnes is back, but you may notice some subtle distortions, the poughing is not as straight as
it used to be. Set the Camera to 0,100,0 to see it a little better. (Fig 4 'b')

Perlin noise tends to give values between -1.0 and +1.0 so lets increase those and see what happens.

Add a Mulitply Scalar. Connect the Perlin 3D scalar and the Constant Scalar to the Multiply scalar.
Use the Multiply Scalar output to replace the Perlin 3D Scalar input to the Add Scalar.

That distortion is not so subtle now is it (Fig 4 'c') :-) "


Terragen crashes when I get the following items assembled (see attached image)

elipsis1

Hmm, on second try it did not crash...

Moving on now :)

Dune

That setup won't do a thing. The right hand input (function input) is the one you need for your sine function do displace.

bobbystahr

Quote from: elipsis1 on June 16, 2014, 09:58:25 AM
Weird I did a "search all forums" but didn't get many results.  Perhaps I need to alter my input in the search field...

Thank you very much for your reply!

I just went to User Contributed Tutorials and scanned the list myself....in some ways faster than an actual"search"
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist