Hierarchical Pathfinding in CrystalSpace

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
874 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 25, 2010

The navigation meshes are created using the Recast toolset.

In CrystalSpace, maps are divided into sectors (in this example each room is a sector). Each sector has it's own navigation mesh, and we have a high level graph connecting the sectors (actually, each node in this graph represents a portal, which is the area of transition between sectors).

In order to find a path, we first find a high level path in the graph, to determine which portals the path will cross. Then, sections of the path are calculated for each sector, using the Detour toolset.

Note that because of the way sectors are rendered, only the navigation mesh and path for the sector the camera is currently at are visible at a given time.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more