Panda3D OSX 64 bit test build with Maya 2012, 2013

Panda3D OSX 64 bit test build with Maya 2012, 2013

Postby BenChang » Thu Oct 10, 2013 8:50 pm

Here is an in-progress test build of Panda for OSX with exporter support for maya2012 and maya2013. There are a few issues with it still so please read the notes before using it.
(40.04 MiB) Downloaded 147 times


0. Build Notes
Built on OSX 10.6.8 (Snow Leopard), with Maya 2012 and Maya 2013, 64-bit, using Python 2.7 from [url]Brew[/url].

Build line:
Code: Select all
python makepanda/ --everything --installer --no-ffmpeg --no-vrpn --no-rocket --no-opencv --no-gles --no-gles2 --no-egl --threads 2 --no-swscale --arch x86_64 --no-fcollada --no-freetype --no-ode --no-fftw

1. Installation

To install, double-click the zip file to uncompress it, then double-click the disk image to mount it. Double click the installer package to run it.

You may get a a warning that ways "Installation Failed". However, it may have actually installed the files successfully, so here's how to check.

It should install files into Macintosh HD (your main system drive). On my computer it installed into Macintosh_HD/Developer/Panda3D, and it installed the maya2egg converter and other tools into Macintosh_HD/Developer/Tools/Panda3D

2. Test if the install worked at all
1. open a terminal
2. run pview:
Code: Select all
halcyon-228:~ ben$ pview

3. you should get a PView model preview window, with a small blue triangle in it.
3. Test if the Python bindings are working

1. open a terminal
2. run the python interpreter and import the DirectStart module, which launches Panda. If this import gives you errors, there's something wrong. Otherwise, that's good news.

Code: Select all
halcyon-228:~ ben$ python
Python 2.7.5 (v2.7.5:ab05e7dd2788, May 13 2013, 13:18:45)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import direct.directbase.DirectStart

[b]4. Test if maya2egg works

For this I had to run the exporter from the command line and set some environment variables, because of how Maya's dynamic libraries and their linker options are set up on the Mac.

1. open a terminal
2. configure the dynamic linker environment variable:
Code: Select all
export DYLD_FALLBACK_LIBRARY_PATH=/Applications/Autodesk/maya2013/

3. run the exporter without any input files. See if you get an error at this point.
Code: Select all
MAYA_LOCATION: /Applications/Autodesk/maya2013/

You must specify the Maya file to read on the command line.

  maya2egg2013 [opts] input.mb output.egg
  maya2egg2013 [opts] -o output.egg input.mb
  maya2egg2013 [opts] input.mb >output.egg

4. Run the exporter with an actual file:
Code: Select all
cd ~/Documents/maya/projects/default/scenes
maya2egg2013 cube.mb -o cube.egg

5. Check if the file is there
Code: Select all

6. Preview the file
Code: Select all
pview cube.egg
User avatar
Posts: 176
Joined: Mon Jan 17, 2011 4:48 pm

Return to Game Development

Who is online

Users browsing this forum: No registered users and 2 guests