CG:SKEELOGY
CG:SKEELOGY
CATEGORIES
   REELS
       + demo reels (2)
   PROJECTS
       + games (4)
       + VFX & animations (4)
   PROGRAMMING
       + simulations (8)
       + computer vision (4)
       + rigging & deformation (4)
       + computer graphics (3)
       + artificial intelligence (2)
       + game technologies (2)
   CG
       + rigs (7)
       + models (7)
       + effects & simulations (3)
   TUTORIALS
       + physics simulation (1)
   ME
       + honours & awards (8)
       + events (7)
       + updates (3)
FEATURED PROJECTS
Soft Body Tutorial: Program soft bodies in XNA!
Cloud Guardian: Shape the Orb to fix clouds!
Muskeelar: Muscle system for games
LATEST UPDATES
  + Now On Twitter   + CG:Skeelogy v1.1: The Web 2.0 Version   + Best Physics Knowledge Base Entry In Intel Havok Physics Contest!   + Community Voting Prize In Intel Havok Physics Contest   + Working at Double Negative in London
TAGS
ARCHIVES
 
 
 
CURRENTLY VIEWING
HIERARCHICAL A* PATHFINDING
A* search done in a hierarchical manner for pathfinding of computer agents
DATE
TYPE
EFFORT
Oct 2006
Pathfinding
Solo
Hierarchical A* Pathfinding
@ programming > artificial intelligence
SECTION MENU
     + Training Neural Networks
     + Hierarchical A* Pathfinding

Waymarkers are placed on the ground to serve as locations where the computer agents will move to, as they traverse through the game level. In this demo, the calculations of the paths are done using the standard A* search technique which uses heuristics to find the guaranteed shortest path to reach a certain destination. As an enhancement, the waymarkers are broken down into hierarchies so that the time and space complexities are significantly reduced.

In the video below, the robot is moving to a waymarker (represented by the flags) which the user has selected. It is doing this by moving from waymarker to waymarker, until the destination has been reached. Every time it reaches some intermediate waymarker, it will query from the pre-computed A* shortest path table to find out the next waymarker to go to, in order to reach the destination.

Video showing how a robot finds the shortest path from one waymarker to the next using a pre-computed A* search table

If the selected waymarker is in another room, the robot will find the shortest path in terms of rooms (e.g. shortest path from room A to B is through rooms C and then D etc). Then within each room, the robot will find the shortest path from door to door. This hierarchical search carries on until the robot ends up in the final selected waymarker.

Note: Scene setup done by Goh Cheng Teng.

  • Share/Save/Bookmark
Tags: , , ,

Related posts


Leave a comment:


Allows tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
CG:SKEELOGY
ABOUT ME
I have experience with physics simulation programming, character rigging and R&D on anatomical and deformable models. In my free time, I work on small personal projects such as casual games and tools development.
I am currently working at Double Negative Visual Effects in London.
MY OTHER SITES
SUBSCRIBE TO SITE
SHARE THIS SITE
Copyright © 2003-2010.
All works are original ones by Skeel, unless otherwise stated.