Sunday, November 02, 2008

Panda3D Macintosh Install Script

Nutshell: Click here to download a Python script to install Panda3D from scratch. Read on for more deets.

Panda3D is a great game engine, especially for rapid-prototyping, but for Mac users it can be a bit frustrating being a second-class citizen. While independent developers are creating very useful distributions (like Hypnos's awesome p3dapp) there are no official builds, and installing from source is no easy task.

Edalytical's very helpful guide, Building Panda3D in OS X Leopard, has fallen out of date. Using it as a base, I've created a Python script that will install Panda3D from source, and can even download and install Panda3D's two major dependencies, MacPorts and the Cg Toolkit. Its only dependency is Leopard Developer Tools (you know, Xcode and the like).

Simply download the script from the Game Sketching project's downloads page. By default, it will download/compile/install Panda3D. You can add the options +macports and +cg to download/install those dependencies. See the source or read below for the usage info: [noex] [(+|-)option]
option is one of 'uninstall', 'download', 'compile', 'remove', 'test', 'macports', 'cg', 'announce'
To install everything: +all
To just install Panda3D:
To uninstall: +uninstall

Bug reports, positive/negative feedback and success/failure stories are welcome!

1 comment:

Jarmotion said...

Better than a Reese's Peanut Butter Cup!