BlenderPartioTools is an open-source add-on to import particle data in Blender. The add-on can handle all file formats that are supported by the Partio library.
The add-on requires Blender 2.80 or newer.
This add-on can be used to import and render the particle data generated with our fluid simulation library:
Author: Jan Bender, License: MIT
-
This add-on requires the partio python module. This module can be built by the calling
python setup.py build_ext
in the directory partio_extension. Note that you have to use the same Python version as your Blender version uses (for Blender 2.80 this is Python 3.7).
-
Copy the generated file _partio.* (name depends on system) and the file partio.py to the Blender add-on folder.
-
Copy the file addon/BlenderPartioTools.py to the Blender add-on folder.
-
Start Blender and load add-on (Edit/Preferences/Add-ons)
After loading the add-on a new importer appears. To import partio data do the following steps:
- Click on "File/Import/Partio Import".
- Choose particle redius and maximum velocity (for coloring).
- Choose partio file (the add-on assumes that the last number in the file name is the frame number).
- Blender resets the particle system in frame 1. Therefore, the animation will start in frame 2 and all frame numbers are shifted by 1 (i.e. in frame 2 the file example_1.bgeo is loaded).
- The add-on generates a hidden cube as emitter and renders the particles as spheres. If the radius should be adapted, edit the render settings of the cube's particle system.
- By default the particle color is determined by the magnitude of the velocity of a particle. You can adapt this by modifying the shader.