Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Navigation mesh generation#1783

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
DESpear262 wants to merge7 commits intopanda3d:master
base:master
Choose a base branch
Loading
fromDESpear262:navigation-mesh-generation

Conversation

@DESpear262
Copy link

Issue description

Solution description

Checklist

I have done my best to ensure that…

  • …I have familiarized myself with the CONTRIBUTING.md file
  • …this change follows the coding style and design patterns of the codebase
  • …I own the intellectual property rights to this code
  • …the intent of this change is clearly explained
  • …existing uses of the Panda3D API are not broken
  • …the changed code is adequately covered by the test suite, where possible.

- Create `panda/src/navmesh` module structure.- Implement `NavMeshSettings` class for configuration.- Create skeleton `NavMeshBuilder`, `NavMesh`, and `NavPath` classes.- Register module in CMake build system.- Update architecture and progress documentation.
- Implement core NavMesh module skeleton and configuration (NavMeshSettings, NavMeshBuilder, NavMesh, NavPath).- Register module in CMake build system.- Establish error handling via `navmesh_cat`.- Create unit test infrastructure in `tests/navmesh/`.- Complete all tasks in Section 2 of navmesh-tasks.md.
This commit introduces the Recast and Detour navigation libraries as a third-party dependency in panda/src/navmesh/thirdparty. These libraries provide the core navigation mesh generation and pathfinding capabilities.
- Adds panda/src/navmesh to the build system in panda/CMakeLists.txt.- Creates panda/src/navmesh/CMakeLists.txt to configure the new module and link Recast/Detour.- Implements config_navmesh to handle configuration variables for navmesh generation (cell size, agent radius, etc.).
- NavMeshSettings: Encapsulates generation parameters.- NavMeshBuilder: Handles geometry extraction from the scene graph and generates the navigation mesh using Recast.- NavMeshPoly: Wrapper around Detour mesh data, providing pathfinding queries.- NavPath: Represents the result of a pathfinding query.
- Updates PathFind to accept a NavMeshPoly object.- Modifies path_find to delegate to the new NavMesh system when available.- Updates CMakeLists.txt to link against the new navmesh module.
- Adds basic tests for NavMeshBuilder and settings validation.- Ensures the module can be imported and basic operations perform as expected.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@DESpear262

[8]ページ先頭

©2009-2025 Movatter.jp