Planetside Software Forums

General => File Sharing => Shaders, Materials => Topic started by: glen5700 on January 01, 2007, 09:02:25 pm

Title: Dried mud Shader
Post by: glen5700 on January 01, 2007, 09:02:25 pm
Now there's a subject that will get everyones attention. :)       

This is started from the "Building a Terrain from functions" tutorial.

Please don't mind the simple scenes, I wanted to give an example of what it looks like. I have also included a link for the scene download which includes a .ter file for the mountains in the background, you may have to relink the file. All the basic controls are to the right of the Terrain group, I think there self explanatory. I added a Perlin noise function so the Voronoi isn't so perfect, use the Voronoi Perlin mix settings to affect how much Perlin is added and the Perlin Scale for it's size.

Hope this proves useful,
Glen

http://www.3ddigitalgraphics.com/terragen/voronoi.zip (http://www.3ddigitalgraphics.com/terragen/voronoi.zip)  - With mountains 1.9mb

http://www.3ddigitalgraphics.com/terragen/voronoi_no_mountains.zip (http://www.3ddigitalgraphics.com/terragen/voronoi_no_mountains.zip)  - No mountains 5kb


Title: Re: Dried mud Shader
Post by: MooseDog on January 01, 2007, 09:52:12 pm
this forum needs a thumbs-up emoticon.  thx for sharing :)  very nice work!
Title: Re: Dried mud Shader
Post by: Sethren on January 01, 2007, 11:49:01 pm
Dry lake beds. To nice!    :o
Title: Re: Dried mud Shader
Post by: swiftstream on January 02, 2007, 12:09:31 am
I've been playing with this just a little myself, working on getting a more realistic effect. One of the bigger problems is that in real life, in contrast to the Voronai effect, this happens on more than one scale. I've experimented with overlaying two Voronai shaders on different scales together (one about half the scale of the other) but I'm not terribly happy with the results yet.

Anyway, thanks for sharing.
Title: Re: Dried mud Shader
Post by: glen5700 on January 02, 2007, 12:50:01 am
Thanks for the comments!

It's by no means perfect, but it's a start. What it really needs is to have a fractal function applied to the Voronai with octaves setting. Then you could get the detail you are talking about, the render times could get quite high depending on how many octaves were applied.

I don't know if it's possible to make a fractal function out of the existing functions, could be worth a try. I wonder if they will be adding more functions before the final release?

Glen
Title: Re: Dried mud Shader
Post by: littlecannon on January 02, 2007, 04:50:37 am
Lookin good... I see the potential here.. Keep it up. :o
Title: Re: Dried mud Shader
Post by: swiftstream on January 02, 2007, 05:47:05 am
Quote from: glen5700 on January 02, 2007, 12:50:01 amWhat it really needs is to have a fractal function applied to the Voronoi with octaves setting. Then you could get the detail you are talking about, the render times could get quite high depending on how many octaves were applied.


You're right, of course. I've been trying to fake it, but it's not very convincing.

I'm still trying to think of ways to fake it and/or do it in a somewhat more roundabout way, but I haven't come up with any yet...

I think 2 or 3 octaves would probably give a convincing effect, so it may be reasonable to do it manually... I just have to figure out how.
Title: Re: Dried mud Shader
Post by: glen5700 on January 02, 2007, 11:09:46 am
Swiftstream,

I will probably give it a go and see what I can come up with. If you come up with anything please post it.

Thanks,
Glen
Title: Re: Dried mud Shader
Post by: glen5700 on January 02, 2007, 02:10:28 pm
Here are a couple of test I did over my lunch hour, it's a bit of an improvement.
Glen

Title: Re: Dried mud Shader
Post by: crazymonkey on January 02, 2007, 06:27:25 pm
awesome man, thanks for sharing :)
Title: Re: Dried mud Shader
Post by: glen5700 on January 02, 2007, 08:50:31 pm
Here is the latest, not to much different from my previous post but the scene file is available for download.

Thanks for all the comments,
Glen
Title: Re: Dried mud Shader
Post by: Oshyan on January 04, 2007, 02:42:07 am
Excellent work guys. We will indeed be including more shaders and greater control in future versions. This will hopefully allow you to do this effect more realistically with less trouble. In the meantime you guys are doing great in pushing things further. :)

- Oshyan
Title: Re: Dried mud Shader
Post by: Sethren on January 04, 2007, 02:48:02 am
A crack noise shader with turbulence functions would be nice.    ;D