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
STEERING USING INFLUENCE MAPS
Steering of a game agent using pre-defined influence maps
DATE
TYPE
EFFORT
Nov 2006
Steering
Solo
Steering Using Influence Maps
@ programming > game technologies
SECTION MENU
     + Collision Detection Using Hierarchical OBB
     + Steering Using Influence Maps

A pre-defined influence map was created to map out the region where the character is not suppose to move into. Using such a steering method, we can prevent characters from moving to prohibited areas by simulating collision detectiong without doing the actual expensive calculations.

In the demo program, the repulsion influence maps are pre-defined using an algorithm to mark out regions which the character will be pushed away. This prevents the character from walking through the obstacles. The force exerted by the influence map onto the character is inversely proportional to the distance from the center of the obstacles i.e. if the character gets nearer to the center, it will be repelled more.

The video below shows the algorithm at work. The character is scheduled to walk straight through the obstacle but her path is changed due to the repulsive forces. The white markings on the ground indicates the influence map (which will be hidden in actual games).


Video showing how a character steers round obstacles due to influence maps

An enhancement made to this program is that the influence map will affect the character less as it is more perpendicular to the influence force vectors. What this does is that the character will not be repelled by the walls when it is near the walls but not going against the wall.

Note: Scene setup done by Goh Cheng Teng. Model and animation provided by Dr Golam Ashraf.

  • 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.