Autonomous steering behaviours and simple terrain generation for Panda3D.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
models
plugins
.gitignore
README.markdown
camera.py
character.py
containers.py
draw.py
gpl.txt
knownIssues.txt
obstacles.py
pandaSteer.py
pandaSteerPlugin.py
path.py
perlin.py
scene.py
steerVec.py
terrain.py
todo.txt
vehicle.py

README.markdown

PandaSteer

A plugin-based, reusable implementation of steering behaviours for autonomous characters for the game engine Panda3D. Also includes some simple terrain generation code based on the diamond-square algorithm and Perlin noise. This code requires Panda3D to be installed on your system. The 3D models included with the download are from the free set that you can download from panda3d.org.

Video and screenshots: http://seanh.sdfeu.org/pandasteer/

Instructions

Run pandaSteer.py for a plugin-based steering behaviours demo.

Run terrain.py for a demo of the terrain generator.

Run scene.py for a demo 'game' scene combining the terrain generator and steering behaviours.

The code was originally posted to a thread on the Panda3D forums. Thanks to Panda3D forum members ynjh_jo, Thomas_egi, pro-rsoft, drwr, cyan, mavasher, Ffeuuell, zuck and astelix for contributions.

Copyright

Copyright (c) 2007 Sean Hammond

This file is part of PandaSteer.

PandaSteer is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

PandaSteer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PandaSteer; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA