Author Topic: Adding a single mountain with heightfields  (Read 4068 times)

Offline FrankB

  • Member
  • *
  • Posts: 3603
Adding a single mountain with heightfields
« on: July 09, 2007, 12:50:17 PM »
Not rocket science, but someone had asked me how to add a single mountain somewhere on a current heigthfield.

Here's a clip file with which you can generate and position a single mountain within an existing heightfield.
Simple delete your existing "Load heightfield" + "Heightfield Shader", load the clip file and plug the merge shader into your compute terrain node.
The left "generate heightfield" node is the default, 10000 meter terrain generator, and the heightfield to the right is the single mountain. Position your mountain by adjusting the xz coordinates in the right hand side heightfield shader.

Make sure you hit "generate" in both heightfield generators.

Regards,
Frank

Offline Kevin F

  • Member
  • *
  • Posts: 1008
Re: Adding a single mountain with heightfields
« Reply #1 on: July 11, 2007, 03:09:40 PM »
Thank you!
Kevin

Offline FrankB

  • Member
  • *
  • Posts: 3603
Re: Adding a single mountain with heightfields
« Reply #2 on: July 11, 2007, 05:32:32 PM »
You're welcome. Did it work for you?

Offline Kevin F

  • Member
  • *
  • Posts: 1008
Re: Adding a single mountain with heightfields
« Reply #3 on: July 11, 2007, 07:48:53 PM »
It's my next project Frank. Another chance to compare created mountains to dems of real mountains (see my Mount Hood for comparison example).
Regards
Kevin.