Planetside Software Forums

General => Terragen Discussion => Topic started by: Red Eyed Jedi on October 08, 2011, 03:34:16 PM

Title: Basalt Rock Formations?
Post by: Red Eyed Jedi on October 08, 2011, 03:34:16 PM
Hi Everyone,

I have been floating around on these forums as a guest for about the last 3 months, trying out clip files and tdg's that folks are kind enough to share, figuring out bits and bobs as I go along.

I had an idea for a scene and wonder if it's possible to create those hexagonal stone columns like those found at The Giant's Causeway (attached a couple of pics)

I'm pretty sure this will point me towards those frightning blue nodes that I've been avoiding like the plague all this time..

Thanks in advance,

Andy
Title: Re: Basalt Rock Formations?
Post by: Tangled-Universe on October 08, 2011, 03:53:28 PM
Quote from: Red Eyed Jedi on October 08, 2011, 03:34:16 PM

I'm pretty sure this will point me towards those frightning blue nodes that I've been avoiding like the plague all this time..


LOL ;D Sounds very familiar! :)
Title: Re: Basalt Rock Formations?
Post by: Henry Blewer on October 08, 2011, 10:54:26 PM
This could probably be done using an image map or two. I am not familiar with these formations. Basically, it would  take a honeycomb of a varied gray scale pattern. Plug the image map into a displacement shader.
Title: Re: Basalt Rock Formations?
Post by: TheBadger on October 09, 2011, 02:43:16 AM
I would like to see how you could do this with image maps, and have it look real. Very interesting to me.
Title: Re: Basalt Rock Formations?
Post by: Dune on October 09, 2011, 02:49:31 AM
There is a filter in Photoshop that does honeycombs. You could try that one for a start, perhaps soften it a bit, or kind of eliminate the black lines between. Make a few different ones and set them at the same location with different displacement and they will give you the different heights (just theoretically thinking).
Title: Re: Basalt Rock Formations?
Post by: Red Eyed Jedi on October 09, 2011, 04:56:54 AM
Thanks guys - gives me a couple of starting points to go from.

A friend suggested starting off with a voronoi shader but again I don't fancy going anywhere near the blue nodes just yet...

Cheers,

Andy
Title: Re: Basalt Rock Formations?
Post by: Henry Blewer on October 09, 2011, 08:10:36 AM
The GIMP photo/paint program will do honeycombs also I think. You'll need a gap between the cells to color them in differing grays. A slight blur should remove that when you are done coloring the cells.
Anyway, this is the easiest way I can think of t do this.
Title: Re: Basalt Rock Formations?
Post by: Red Eyed Jedi on October 09, 2011, 04:00:42 PM
Thanks for the tip

Gimp had a filter that creates mosaics and lets you choose the number of sides - set this to hexagonal and came up with this for a quick test. What kind of image size should I be using for the image map? Guessed at 1024x1024 but is obviously easy to change if needed...

Also, being a noob, I'm struggling with where to connect the displacement shader that the image map plugs into - I'm sure I'll get it eventually
Title: Re: Basalt Rock Formations?
Post by: Tangled-Universe on October 09, 2011, 04:17:00 PM
Without the beveled edges this would work pretty nice as a displacement map.
The columns shouldn't have any kind of edge, since every pixel represents an "elevation" when you use the image as displacement map / heightfield.

The way to set it up in TG2 would be:

1) create image map shader -> load file -> set projection mode to "plan Y" -> set appropriate size, say 50x50m for starters
2) create displacement shader -> connect image map shader output to "function" input of the displacement shader (right) side -> set displacement factor in displacement shader (scale is in metres)
3) connect displacement shader output to compute terrain

Cheers,
Martin
Title: Re: Basalt Rock Formations?
Post by: Red Eyed Jedi on October 09, 2011, 04:30:38 PM
Many thanks - I'll give it a try once I've got the highlights out of the image map in the first place -  thinking about it now, I realise they'd probably look spiky round the edges because of this. :-[
Title: Re: Basalt Rock Formations?
Post by: Red Eyed Jedi on October 09, 2011, 05:08:11 PM
Ok so this is what I've got so far - need a better image map in the first place still and need to make the gaps between the columns narrower. I'll pick this up when I next get on my PC - as for now, it's time to climb the wooden hill for me.

Thanks for everyone's help (especially TU) it's much appreciated.

I WILL get the hang of this awesome app...

Title: Re: Basalt Rock Formations?
Post by: Henry Blewer on October 10, 2011, 08:37:43 AM
This is a very good start. There are many, many things that image maps can be used for in Terragen 2. Keep working at them. We'll be coming to you for advice soon.
Title: Re: Basalt Rock Formations?
Post by: Red Eyed Jedi on October 11, 2011, 10:07:27 AM
Getting there slowly - I still haven't cleaned up the image map properly yet as these filters all seem to want to apply a light source (where the bevelled edges came from in that image map above) so it looks like I'll have to create one manually. Because I'm impatient and wanted to get stuck in, I decided to use it anyway so I know it looks a bit rough and ready. Here's what I've come up with so far using dandelo's PGS Evolution 2 clip file for the grass.

Also Inky's Cirrus & Little Fluffy Clouds clip.

Title: Re: Basalt Rock Formations?
Post by: Henry Blewer on October 11, 2011, 12:26:10 PM
The second image is getting there. Your wave scale on the water is too high I think. Try reducing the roughness.
Title: Re: Basalt Rock Formations?
Post by: inkydigit on October 12, 2011, 05:45:40 AM
looking good...glad the clip file was of use!
now all you need are hundreds of tourists!!
:)
Title: Re: Basalt Rock Formations?
Post by: N810 on October 13, 2011, 02:24:19 PM
you guys should Google the anchent artificial island of Nan Madol.
this whole place was made from Basalt pillars.  :o
Title: Re: Basalt Rock Formations?
Post by: Red Eyed Jedi on October 14, 2011, 06:51:25 PM
It looks like they transported the columns there and built with them direclty from some images I've looked at. That would have been an impressive feat I back then... :)
Title: Re: Basalt Rock Formations?
Post by: Red Eyed Jedi on October 14, 2011, 07:09:36 PM
So here's what I have so far - I'm still not happy with the image map to displace the rocks but that's easy to change. It needs some surface shaders and fake stones for detail (I'll have to get the hang of that yet) but it's coming along...
Title: Re: Basalt Rock Formations?
Post by: Henry Blewer on October 14, 2011, 08:41:45 PM
That is coming along. What size image map did you use? The edges may have jaggies from the pixel edges. I use quite large image maps when I do use them; 2500 x 2500 pixels.
Title: Re: Basalt Rock Formations?
Post by: Red Eyed Jedi on October 15, 2011, 06:13:23 PM
The last one was 1024x1024 so I guess not high enough resolution so I doubled it for this version - I can still see those jaggies creeping in - maybe more blur on the image map?

Not happy with the POV on this version though - the columns look a bit weird over to the right.
Title: Re: Basalt Rock Formations?
Post by: Henry Blewer on October 15, 2011, 06:17:11 PM
The edges look weathered. I would continue with developing the rest of the scene. Good work!