Height field conversion issue.

   2060   3   1
User Avatar
Member
17 posts
Joined: Dec. 2019
Offline
I noticed that each time I entered a 1024*1024 terrain file into the object merge node.Will return 1022*1022. I need the terrain data edited using unity, but after this conversion, I simply cannot get the correct size.I looked at the documentation, but I didn't understand how this would make the data consistent.To help me work between unity and Houdini.

steps:

1.Generate terrain size 1024*1024 from HDA.
2.put it into object merge node input interface.
3.got new terrain size 1022*1022.

Attachments:
1.PNG (701.1 KB)
2.PNG (14.2 KB)
3.PNG (542.9 KB)

User Avatar
Member
571 posts
Joined: May 2017
Offline
There was a change in how terrains are generated in recent version of the plugin. Check out https://www.sidefx.com/forum/topic/72738/ [www.sidefx.com]
User Avatar
Member
17 posts
Joined: Dec. 2019
Offline
Thanks for your prompt response,I will check the new version feature.
User Avatar
Member
17 posts
Joined: Dec. 2019
Offline
Hi, Seelan.

I have fixed this issue in 18.0.418version. the new version is a valid.

For now,I have two problem:

1.I got the new size in unity (1026*1026),But I need divide it into 4 pieces.
As the document says each pieces will change to (514*514).
When I put it to HDAinput interface agin it will Prompt error.(shown in figure)

In addition,If the initial size big than 512(1024…) There will be no problem.

steps:

1, Generate terrain 512 from houdini.Got new size 514*514 in unity
2, add to new input asset or HDA input node.
3,Error report. nothing will be generate.

2. Back to the houdini use file node call the bgeo.sc file.I use the splice node to merge them.
But it seems the tile location is error. have any way to fix them?

Thanks for your provide valid information.

have a good day.
Edited by Dean_Lv - April 1, 2020 10:24:23

Attachments:
5.PNG (18.6 KB)
GIF22.gif (1.6 MB)

  • Quick Links