Example use of the Recast Navigation Library in Irrlicht

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
Post Reply
smso
Posts: 246
Joined: Fri Jun 04, 2010 3:28 pm
Location: Hong Kong

Example use of the Recast Navigation Library in Irrlicht

Post 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
itsagam
Posts: 10
Joined: Wed Dec 28, 2011 3:39 am

Re: Example use of the Recast Navigation Library in Irrlicht

Post 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.
Post Reply