Layers of Color

Started by MGebhart, October 29, 2009, 01:43:18 PM

Previous topic - Next topic

MGebhart

Hi,

I'm trying to layer elevations of color on my terrain. I'm not clear on how to setup the shader to do this. I could not find documentation to help accomplish this.

I thought I could stack Surface shaders with different min and max altitudes to get the look I want but, no luck. Can't get past two colors and the colors are not blended.

The image gives you an idea of what I want to do.

Thank you,

Marc
Marc Gebhart

neuspadrin

#1
you would need to limit the min AND max of each layer, except the top/bottom layer which top would only limit min, and bottom would limit only max.  Also might want to check the "use y for altitude" to make your life easier there.  Or youd need to be super careful and just set the min height and slowly go through each layer in proper order. 

Theres other ways to do this, easiest is with using images.  I'm sure theres other methods too.

cyphyr

As neuspadrin says images may be the best way. You could make a banded layer in photoshop or use the free program Stratagen 2. You'll need to use an image shader in plan z or plan x projection and set the scale to the relative height of your terrain (the diff between your min altitude and your max altitude)
:)
Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

Henry Blewer

Here is a link to my towers landscape. It uses procedurals for strata and strata coloring. There is a tgd file you can download and use if you like it. I made it as a rough landscape which can be reseeded to make many more.
http://forums.planetside.co.uk/index.php?topic=7145.0
http://flickr.com/photos/njeneb/
Forget Tuesday; It's just Monday spelled with a T

MGebhart

Thank you all for your input.

When I get some time tomorrow I'll work on it.

Thanks again,

Marc
Marc Gebhart

MGebhart

Here is an image with the strata.

Thanks again for your help.

Marc
Marc Gebhart

schmeerlap

It looks like your image with strata is projected through the camera as the strata in the distant cliffs is perfectly aligned (and is the same scale) with the strata in the nearby cliffs. That can seem unnatural. Using an Imagemap for coloured strata layers is probably better implemented using X or Cylindrical projections. I've put this one together to illustrate how the Cylindrical projection looks. You'll find the tgd below. I've also provided you with a low resolution version (the original is more than 3 Mb) of the image I used in the Imagemap shader. When you first open the tgd file you'll get an error message cos it won't be able to find the image. Either insert this low res image into the Imagemap shader, or one of your own. You can see that the image itself isn't a strat image, just some coloured noise. So you can see how cool the Cylindrical projection can be in converting it to strata. When you've got the tgd loaded you'll see that the Imagemap is filtered through a Warp shader. To see what the strata looks like without the warping, just unhook the Warp shader from the Surface layer Colour input, and hook the output from the Imageshader straight into that Colour input.

John
I hope I realise I don't exist before I apparently die.

MGebhart

John,

Excellent.

I appreciate your involvement in this topic. This is very helpful and will give users with less knowledge a solid leg-up on creating believable strata. You have gone that extra mile and I am grateful.

Thank you,

Marc   
Marc Gebhart

MGebhart

#8
Here is a quick render of image driven strata.

Again, I would like to give credit to John for his involvement in this Topic and providing the necessary Terragen settings to create this image.  

Please note that this image was rendered 320x240 and sharpened in Photoshop. The final render will be larger with populations.

Marc
Marc Gebhart

bobbystahr

Quote from: MGebhart on November 05, 2009, 12:27:56 PM
Here is a quick render of image driven strata.

Again, I would like to give credit to John for his involvement in this Topic and providing the necessary Terragen settings to create this image. 

Please note that this image was rendered 320x240 and sharpened in Photoshop. The final render will be larger with populations.

Marc

You might also want to play around with the Paint shader as a way of restricting all strata info: maps, strata shader, etc. to a specified area.. ...
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

TheBlackHole

The first one is the best (other than the weird strata). Is that a TG2 render or a photo showing what you wanted?
They just issued a tornado warning and said to stay away from windows. Does that mean I can't use my computer?

MGebhart

Yes, the sample.jpg is a photograph.

It does kind of look like a render. I suppose that's a good observation of how TG2 renders photo-real stuff so well.

Marc 
Marc Gebhart

pfrancke

This has been a very useful thread for me.  John, I messed with your tgd also to see how you get this great terrain - I couldn't get the strata or the twist and shear to do anything though until I put a compute terrain node in front of the twist and shear (I might be wrong about this).  Anyway, thanks guys!

pfrancke

Here is jpg and tgd with couple of minor tweaks.

TheBlackHole

Quote from: MGebhart on November 07, 2009, 09:20:31 PM
Yes, the sample.jpg is a photograph.

It does kind of look like a render. I suppose that's a good observation of how TG2 renders photo-real stuff so well.

Marc 
I was talkng about how the strata colors are so weird.
They just issued a tornado warning and said to stay away from windows. Does that mean I can't use my computer?