PathEngine home previous: Post processing the agent's pathnext: 'loadpathengine'
Contents, Programmers Guide, Example Projects

Example Projects

Description

These example projects build on the tutorials to demonstrate additional techniques and functionality.

Contents

'loadpathengine'

Link with the standalone PathEngine dll and runs a simple test across the interface.

'testapplication'

Mixing control methods.
This project combines the user control mechanism from tutorial 2 with code to advance along a path that was introduced in tutorial 3.
The findClosestUnobstructedPoint() query is introduced.

'swarm'

Implementing a basic queueing behaviour.
This example is based on tutorial 2.
An agent may be placed and moved around the environment under user control. (As in tutorial 2.)
A group of 'swarmer' agents is added which either chase or flee from the user controlled agent, based on a user toggleable flag.

'pathstress'

A stress test for pathfinding and collision queries.

'memory'

A memory footprint benchmark.
Generates preprocess for some benchmark meshes and displays the amount of memory used.

'backgroundloading'

A modified version of 'pathstress', with mesh loading, random base obstacle placement and preprocess generation performed in a background thread whilst pathfinding queries are running in a foreground worker thread.

'threadpool'

Measures throughput for a pool of worker threads operating on a shared collision context.
Thread pools of varying sizes are set up and the throughput measured for each pool size.

'contentchunks'

Provides a worked example of a split content process based on initial creation of 'content chunks' which are then later instantiated for PathEngine's content processing.

'meshfederation'

Provides a worked example of PathEngine's support for working with 'federated' sets of tiled overlapping pathfinding meshes.

'run3dcontentprocessing'

This project shows how to link with the 3D content processing dll and run 3D content processing on a simple scene.
An .exe is built that uses the win32 function LoadLibrary() to load the dll, and the win32 function GetProcAddress() to obtain a function that can then be used to obtain the root interface.

'SemiDynamicObstacles'

Demonstrates a double buffering technique, based on PathEngine's 'preprocessed obstacle sets' mechanism, for fast pathfinding and collision against large numbers of 'semi-dynamic' obstacles.


Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEnginenext: 'loadpathengine'