Search - User list
Full Version: Heightfield conversion
Root » Houdini Engine for Unity » Heightfield conversion
Dean_Lv
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
Which version of Houdini are you using? Also, is this through the PDG Asset Link, and loading the generated bgeo in Unity?
Dean_Lv
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
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
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!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB