Terrain - Heightfield Noise Generation By A Mask Image

   2073   2   1
User Avatar
Member
4 posts
Joined: March 2018
Offline
Hi guys,

I have searched a bit and I am not a very experienced Houdini user. But I would like to ask you something.
I want to generate random noise defined by a given mask with certain properties. I don't want to use Heightfield Paint because I have already decided land masses.

I want the noise to be 99% positive (higher than the water level) inside the land mass. Since I want the white area to be like a continental plate, inside it randomly generated mountains and valleys, lakes etc. And the ocean area to be with a noise below zero. Is there a possibility to define the coastline with a mask like this?

PS: I mistakenly submitted this post with missing parts. I have edited it afterwards.

Thanks in advance
Cheers
Fau
Edited by tfau - Jan. 14, 2019 14:45:00

Attachments:
df3bef31cf21abc2d4c456756e926058.png (15.2 KB)

User Avatar
Member
240 posts
Joined: March 2015
Offline
Hi, you can use a HeightField_File as a heightfield or mask, see attached.

Attachments:
HF_From_Image.hiplc (140.3 KB)
HF_From_Image.jpg (51.7 KB)

User Avatar
Member
4 posts
Joined: March 2018
Offline
Thank you so much robsdesign. I could use the file as a mask for the heightfield_layer as you have mentioned but the landmass is flat. Both the landmass and the rest piece (ocean let's say) have no noise. I'm stuck with the point that I wish to be able to create noise inside and outside the mask that would represent a continental and oceanic noise in terms of water level and height variations. But thank you very much for sparing time and giving a thought and even uploading the Houdini file. I am sure that there are endless opportunities with Houdini and I'll give it another try for the file that you have uploaded. Every approach counts.
Best wishes
Fau
Edited by tfau - Jan. 15, 2019 16:21:03
  • Quick Links