rcRasterizeTriangles very slow when try to restarize UE5 Landscape Component #715
-
|
Hello, I am trying to use recast on my custom game server. I export the landscape collision components from Unreal as a obj file. I can preview the obj file in standart obj viewever. However, when i try to import the obj file in Recast Demo project, it takes very very long time to run rcRasterizeTriangles and consumes a lot of memory, around 40gb for 1 landscape component which is quite small in size. And finally it fails in dtCreateNavMeshData function. Any help would really be appreciated. Attached you can find the .obj file I am using. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Ok, the problem was with the default and max parameters in the Recast Demo GUI interface. The cell size and some other values were too small for the component mesh i was importing. Copied some values from the UE source code and it works. |
Beta Was this translation helpful? Give feedback.
Ok, the problem was with the default and max parameters in the Recast Demo GUI interface. The cell size and some other values were too small for the component mesh i was importing. Copied some values from the UE source code and it works.