Dynamica/PDB file format

Physics APIs, Physics file formats, Maya, Max, XSI, Cinema 4D, Lightwave, Blender, thinkingParticles™ and other simulation tools, exporters and importers
goldleaf
Posts: 19
Joined: Fri Nov 20, 2009 6:41 am

Dynamica/PDB file format

Post by goldleaf »

First of all thank you for releasing/developing Dynamica. Great tool! Is there a spec for this .pdb format that Dynamica can export? Has/will that Houdini file SOP shown in the video be released?
artshek
Posts: 2
Joined: Tue Jun 03, 2008 7:31 pm

Re: Dynamica/PDB file format

Post by artshek »

The .pdb format is a native Maya particle caching format that is exported via the MEL or Python dynExport command. It's intended for people that want to export particle simulations out of Maya and render them via a third party renderer like Renderman. As stated in the Maya documentation for the command, there is no formal file specification. Maya does ship with an example open source program that reads the .pdb format, so you can start there. The source files also include a README file which describes the format a little more.

I don't have a Maya installation handy, but in versions I've looked at before, the source is located in $MAYA_LOCATION/Gifts/readpdb, and the Maya 2010 documentation listed above seems to indicate the source is now in $MAYA_LOCATION/ExploreMe/particles/readpdb. In addition, since the Dynamica plug-in is open source, we did include the source code for writing out .pdb files, so between the two, you should have code to read and write .pdb files.

We wrote the plug-in with .pdb support because that's what we use at Disney, but we anticipated that others would add their own exporters for their own preferred formats. As such, we have no plans to release the Houdini SOP that reads .pdb files, since that has code that is specific to our workflow, but I can say that it was a simple wrapper around the readpdb code provided above, just wrapped up in Houdini HDK framework code.

Hope that helps!
goldleaf
Posts: 19
Joined: Fri Nov 20, 2009 6:41 am

Re: Dynamica/PDB file format

Post by goldleaf »

Ah, I see. I'd never have thought it was a maya format. Thanks!