Panda3D on Mac OS X

Latest Version: 0.5 (September 1st, 2006)

/!\ Users of 0.5: if you are interested in audio support there is now a hack to enable FMOD with the same build - see the Known Issues section below for further information /!\

New in this version:

/!\ If you upgrade from 0.4 or below, you might want to follow these instructions: /!\


What is Panda3D?

From the Panda3D site:

If you are interested in Panda3D in general go to the main Panda3D site.

This page allows users to install a preliminary version of Panda3D for Mac OS X, until an official release will be available.

Currently this has only been tested on Mac OS X 10.4 (PPC and Intel) with Python 2.4.3 (Universal build). For creating the binary package below a CVS head revision of Panda3d had been used with local modifications. To build Panda3D yourself, please follow this thread. Local modifications include a subset of what has been discussed in here.

Prerequisits

Installation

Install DarwinPorts and needed libraries

Install the NVIDIA Cg Toolkit

Install the FMOD Ex Sound System

Install Python

Install Panda3D

Configure .bash_profile

The bash configuration file is located in ~/.bash_profile (in the root of your home directory). Just open it with any text editor and edit according to the instructions below:

Compiling Panda3D on Mac OS X from Source Code

I will try to provide the collected instructions from the forum threads and a patch file as soon as I can. I hope that the patch will be feed back into Panda3Ds CVS repository.

Included Panda3D Tools

Have a look at /usr/local/panda/bin to see which Panda3D tools are included in your package.

ls /usr/local/panda/bin 

Samples

Download the original samples from here.

To run a sample script, open the script with the PythonLauncher for Python as shown in the picture below:

Previously I adapted the samples locally to run with the PythonLauncher, until Bob Ippolito realized that the problem is not with the samples or Panda3D, but with the PythonLauncher. This will be fixed in an upcoming distribution of Python (Python 2.5 should have this already fixed). For more information see this thread on the PythonMac SIG mailing list and this bug report.

I'm not providing a package with the local modification anymore because hopefully this will not be needed anymore in the near future.

Here is a list of all Panda3D 1.2.3 samples and their status on Mac OS X (last update: June 28th, 2006).

Basic-Tutorials--Lesson-1-Solar-System

OK

Basic-Tutorials--Lesson-2-Carousel

OK

Feature-Tutorials--Actors

OK

Feature-Tutorials--Animated-Textures

OK

Feature-Tutorials--Cartoon-Shader

OK - Tut-Cartoon-Shader - OK, FAIL - Tut-Cartoon-Variant

Feature-Tutorials--Collision-Detection

OK

Feature-Tutorials--Deferred-Shading

FAIL - seems to be the same problem encountered with Feature-Tutorials--Cartoon-Shader/Tut-Cartoon-Variant

Feature-Tutorials--Fog

OK

Feature-Tutorials--Glow-Filter

OK

Feature-Tutorials--Joint-Manipulation

OK

Feature-Tutorials--Lighting

OK

Feature-Tutorials--Motion-Trails

FAIL - the sample starts without any problems, but the graphical result is broken, no effect is seen

Feature-Tutorials--Normal-Mapping

OK - it's slow, does Cg on Mac OS X have any known preformance issues?

Feature-Tutorials--Particles

FAIL - Pmw megawidgets needs to be installed, the particle editor runs, but is unusable, because the UI does not react to any input (probably due to a conflict between tcl/tk and Panda3D? I had no time to investigate yet as this is no priority for me at the moment)

Feature-Tutorials--Picking

OK

Feature-Tutorials--Procedural-Geometry

OK - Tut-Procedural-Cube - OK, FAIL - Tut-Fractal-Tree (throws an assertion in geomVertexReader)

Feature-Tutorials--Profiling-Tool

OK - though I don't see anything happening when drawing 1000 teapots (option 3), couldn't compare to Windows version yet

Feature-Tutorials--Render-To-Texture

OK

Feature-Tutorials--Roaming-Ralph

OK

Feature-Tutorials--Sound

FAIL

Feature-Tutorials--Tasks

OK

GreetingCard

OK - without sound though

Known Issues

License

Panda3D comes with this license. The package provided on this page shares the same license. So use at your own risk. ;)

Contact

Please use the Panda3D Forums regarding any Panda3D related issues. There is an active thread for Panda3D on Mac OS X.

If you have any problems with the package provided on this page, you can contact me at kaweh (dot) kazemi (at) teamvienna (dot) at.

History

0.5 (September 1^st^, 2006)

/!\ If you upgrade from 0.4 or below, you might want to follow the instructions below /!\

0.4 (June 28^th^, 2006)

0.3 (June 16^th^, 2006)

/!\ When upgrading from 0.2 to 0.3 make sure to install the NVIDIA Cg Toolkit (installation instruction have been updated). /!\

0.2 (June 7^th^, 2006)

0.1 (June 6^th^, 2006)

InstallPanda3d (last edited 2006-09-08 20:15:45 by KawehKazemi)