Author Topic: A Heightfield Question  (Read 964 times)

Offline Urantia Jerry

  • Member
  • *
  • Posts: 130
  • Truth, Beauty and Goodness!
A Heightfield Question
« on: August 13, 2016, 04: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

Offline Dune

  • Terragen Alpha Tester (Win)
  • ***
  • Posts: 14319
    • www.ulco-art.nl
Re: A Heightfield Question
« Reply #1 on: August 14, 2016, 06: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.

Offline N-drju

  • Member
  • *
  • Posts: 1299
  • A bee-sting allergic artist and philosopher
Re: A Heightfield Question
« Reply #2 on: October 04, 2016, 12:07:23 PM »
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.
"When dictatorship is a fact, revolution becomes a right."

Offline Urantia Jerry

  • Member
  • *
  • Posts: 130
  • Truth, Beauty and Goodness!
Re: A Heightfield Question
« Reply #3 on: October 04, 2016, 01:43:52 PM »
Wow - great idea's I had not even considered.  Thank you I will give them a shot.