How to create a second splat map for Terrain?

   4883   5   1
User Avatar
Member
28 posts
Joined: April 2016
Offline
If have more than 5 types of layers in Terrain, will need 2 or more splat maps, …right?
Is it possible to automatically create the correct terrain with the second splat map from HDA?

I will attach an ideal image of HDA and completion.
This is what I want to make.

But when viewed in unity, it actually looks like this:
(I do not understand!)

Any advice would be appreciated.

Attachments:
splat_image_003.png (506.3 KB)
splat_image_002.png (465.8 KB)
terrain_multi_layer_test.hda (26.6 KB)

User Avatar
Member
28 posts
Joined: April 2016
Offline
Well … maybe I didn't have enough explanation
The question seems too difficult or too easy.
I haven't realized it yet, so let me explain a little more.

so..I have one terrain.
The terrain has 5 layers such as “grass” and “rock”.
In this case, if you load HDA with unity, the result of paint will be strange.
I try to keep the total value of each layer within 1.0,
but is there any way to explain how to make this correctly?

There are explanations about four layers here,
What should I do if I have more than 5?
https://www.sidefx.com/docs/unity/_terrain.html [www.sidefx.com]

thank you.
Edited by xopowoo - May 8, 2020 08:47:42
User Avatar
Member
28 posts
Joined: April 2016
Offline
Can anyone imagine why this question doesn't get an answer?
In my imagination,

・ This question is too stupid
・ English is too poor
・ In the first place, this does not happen in anyone's environment,
The attached HDA is displayed correctly in your environment

I need your help to make a terrain with hda.
If you have any hints, please let me know. Thank you.
User Avatar
Member
17 posts
Joined: Dec. 2019
Offline
In my side the example is valid. please check your terrain layer setting in unity.
User Avatar
Member
28 posts
Joined: April 2016
Offline
Dean_Lv
Thank you for your reply. Apparently,
it was because unity and houdini handled different negative values ​​for layers.
I was able to get the expected look by clamping the layer values ​​between 0 and 1 exactly.
User Avatar
Member
3 posts
Joined: July 2020
Offline
xopoo
Dean_Lv
Thank you for your reply. Apparently,
it was because unity and houdini handled different negative values ​​for layers.
I was able to get the expected look by clamping the layer values ​​between 0 and 1 exactly.


How did you do that ?Could you show the node ?thank you very much!
  • Quick Links