Dean_Lv
April 20, 2020 05:42:26
Hi
I setting the heightfield size 1024*1024. I will got size 1026*1026 in unity. But when I cooked(TopNetwork), The size will change to 1024*1024. How to use the final size result(1024) to round trip between engines?
Thanks!
seelan
April 20, 2020 08:43:07
Which version of Houdini are you using? Also, is this through the PDG Asset Link, and loading the generated bgeo in Unity?
Dean_Lv
April 20, 2020 09:32:29
I use 18.0.418 ver.
yes, I use HDA creat the terrain first, Then use the ROP geometry output node to export bgeo file.
Finally, add them to the PDG process.
Once the terrain is added to the cook process,it will change size to 1024.I can't have them to round trip between the two engines again.
seelan
April 21, 2020 07:23:07
I believe this to be a bug with the HEU_GeoSync not generating the HFs with the recent changes using corner sampling. Please attach a generated bgeo file if possible. I'll update this post when I fix it.
Dean_Lv
April 22, 2020 09:26:30
Hi,
This is bgeo file. I think we load the bgeo file generated by PDG Asset Link ,In unity the size should be power of 2 + grid spacing.
If the size doesn't change. They won't be able to round trip between the engines.
So the PDG asset link generates the final file also satisfies the rules of corner sampling?
In addition, I export output geo and load geo file in unity, Each round trip to unity and disk. The size of the terrain will be subtracted by 2.(1026 1024 1022 1020…).Is this normal?
Thanks for your patient reply
have good day!