Planetside Software Forums

Support => Terragen Support => Topic started by: Urantia Jerry on August 13, 2016, 12:16:11 PM

Title: A Heightfield Question
Post by: Urantia Jerry on August 13, 2016, 12:16:11 PM
I have done some research on the forums, and I have tried using Terragen to accomplish what I would like to do - but I have not been able to find the answer to the following question.


Let's say a Heightfield is created, or imported, is it possible to drop the heightfield partially underground so that only the uppermost parts of the heightfield show?  Has any one done this?  Any help would be most appreciated.  Thank you - Jerry
Title: Re: A Heightfield Question
Post by: Dune on August 14, 2016, 02:25:15 AM
I never work with heightfields, but there are some additional nodes that can help, like the clip vertical and adjust vertical. Maybe you can lower it using those. You could also (I guess) use the displacement to scalar node, add a smooth step, and some constants (the heights you need to show), and feed that into a diplacement shader, which will shape your terrain. Or you could place the heightfield on a second planet, or sphere, same size, and add a surface layer or displacement shader with a constant (offset) to lower the main surface, so the heightfield will sink into the main planet.
Title: Re: A Heightfield Question
Post by: N-drju on October 04, 2016, 08:07:23 AM
I think you can also increase the "displacement offset" of the very first "Base colors" node. This should "inundate" your heightfield with some land and leave peaks standing.
Title: Re: A Heightfield Question
Post by: Urantia Jerry on October 04, 2016, 09:43:52 AM
Wow - great idea's I had not even considered.  Thank you I will give them a shot.