Home

Awesome

MayaPartioTools is an open-source plugin to visualize and import particle data in Maya. The plugin can handle all file formats that are supported by the Partio library.

This plugin can be used to import and render the particle data generated with our fluid simulation library:

Author: Jan Bender, License: MIT

Features

Build Instructions

This project is based on CMake. To build the plugin, the Maya devkit must be installed. If you tell CMake which Maya version you are using, CMake will search for the Maya headers and libraries in the usual Maya directories. CMake generates project files, Makefiles, etc. and then you can compile the project with a compiler of your choice that supports C++11.

The code was tested with the following configurations:

Installation

Just load the plugin in Plug-in Manager of Maya.

Note: The plugin needs the scripts directory. So if you copy the plugin, also copy the scripts folder.

Important: The following configuration should be used since otherwise Maya has problems to load the data correctly. In the menu choose "Windows -> Settings/Preferences -> Preferences". Then set "Settings/Animation -> Evaluation mode" to "DG".

Usage

After loading the plugin a new menu appears which is called "Partio Tools". It allows you to create the node types:

PartioVisualizerNode

<img src="images/visualizer_gui.jpg" height="347"> <img src="images/visualizer.jpg" height="347">

This node can visualize large sets of particles in Maya's viewport 2.0 using OpenGL and some shader programs. The PartioVisualizerNode can be used to get a quick preview of a particle file sequence.

PartioEmitterNode

<img src="images/emitter_gui.jpg" height="324"> <img src="images/emitter.jpg" height="324">

The PartioEmitterNode imports particles from partio files in Maya. If you create a new PartioEmitterNode, the plugin will also create an nParticle node and connect both. So your particles are imported in Maya's nParticle system. Moreover, an aiStandardSurface will be created and connected with a ramp that is used to color the particles. The color depends on the user-defined scalar or vector field (Attr. used for coloring).