-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navmesh representation #13
Comments
Hi! Recast can write to a binary structure, as you mention, and currently this library does not support that. But fortunately Recast can also be used to extract geometry from the navigation mesh and write that to an OBJ. I've been using https://github.com/but0n/recastcli.js to do this in Node.js. |
Yes, but I am refering to docs on your site. I would understand that all
3 tools (1.blender, 2.recast(link given), 3.recastcli.js) produce the
input navmesh for your system. But option 2 is untrue.
BTW, recastcli.js is broken currently :(
…--
Karol Kreński
tel. 517-302-055
Hi! Recast can write to a binary structure, as you mention, and currently this library does not support that. But fortunately Recast can also be used to extract geometry from the navigation mesh and write that to an OBJ. I've been using https://github.com/but0n/recastcli.js to do this in Node.js.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#13 (comment)
|
I'm not aware that https://github.com/recastnavigation/recastnavigation has any one correct output style... it can write the binary navigation mesh, or a tiled navigation mesh, or simple geometry... perhaps using it for geometry is less common? I'd welcome suggestions in the docs if you think the docs could be better — I've tried to be specific ( |
About recastcli I assume you mean this issue? but0n/recastCLI.js#11 FWIW I have a slightly older version of the package published to NPM which works for me: |
About recastcli I assume you mean this issue? but0n/recastCLI.js#11
Yes.
FWIW I have a slightly older version of the package published to NPM which works for me:
- ***@***.***/recast
- Usage: https://github.com/donmccurdy/aframe-inspector-plugin-recast/blob/master/function.js
OK, thanks.
|
I admit I am not competent enough in this matters. This tool
https://github.com/arl/go-detour (based on recast/detour) produces the
binary navmesh and I thought this is the most standard representation.
|
Added more documentation in 070b48c. |
"This library does not build navigation meshes for you — instead, create a navigation mesh using Blender, Recast (CLI), or another tool."
I'd say that the original Recast writes the output to some binary structure which is more than just geometry. I don't expect it's that easy to just extract the geometry into the .gltf. The question is: are you sure of what you state above, I mean the Recast part? I am not commenting Blender or CLI outputs.
The text was updated successfully, but these errors were encountered: