Page 1 of 1

Example use of the Recast Navigation Library in Irrlicht

Posted: Thu Sep 13, 2012 12:04 pm
by smso
An example showing the use of the Recast Navigation Library in Irrlicht.

Screenshots:
http://code.google.com/p/irrcodes/downl ... enshot.png
http://code.google.com/p/irrcodes/downl ... h_only.png

Download:
http://code.google.com/p/irrcodes/downl ... recast.zip

Steps:

1.
Checkout the Recast Navigation Library:
svn checkout http://recastnavigation.googlecode.com/svn/trunk/ trunk

2.
Your have to change a few (#define) params to point to the proper directories, e.g.

makefile
========

Code: Select all

IRRLICHT_DIR = /home/smso/downloads/irrlicht/irrlicht-svn
RECAST_DIR = /home/smso/downloads/recastnavigation/trunk
main.cpp
========

Code: Select all

#define IRRLICHT_DIR "/home/smso/downloads/irrlicht/irrlicht-svn/"
#define MODEL_FILE "/home/smso/downloads/recastnavigation/trunk/RecastDemo/Bin/Meshes/dungeon.obj"

3.
Compile and run ./r

Regards,
smso

Re: Example use of the Recast Navigation Library in Irrlicht

Posted: Sat Sep 15, 2012 1:29 pm
by itsagam
Simply great! Thanks a ton for sharing this stuff. It just would've great if somebody could've integrated your Waypoint Pathfinding, IrrAI, and this. IrrAI is easy to integrate in a project but lacks finishing, like smooth path by spline and marking nodes reserved, the very two things you provide.