Here's a small tool to export instance transforms from out of Blender as .cvs file. This is an separate addon that attaches itself to the unofficial Lionel's Blender exporter GUI. You must have the Octane exporter engine enabled, because it reads some values from it. Upon enabling (it's located in the render group - to be close to the exporter) it creates a "Instances" panel in the Render settings, with a button that will export instance transforms for the currently selected emitter object to a .cvs file located in the exporter folder (same place that .obj / .ocs go) with the name of the dupli-emitter or PS system.
Latest version: (see changes here) Previous version: For changelog & description, see this post Example scene - hair PS grass (original files courtesy by Roubal)
you'll have to correct the paths in Blender and re-browse .obj in Octane Terminology:
- * emitter = object that has PS or duplication with dupliverts / faces
* dupli object = object that is the particle visualization
* mesh dupli = object that has Alt+D shared mesh
Features:
- * It exports dupliverts / duplifaces
* It exports multiple hair / emitter PS but with limitations
* It exports transforms of objects that share the same mesh
* The transforms are saved in a .csv file in your project folder (.csv files take the name of the emitter or PS for each PS)
* It exports the dupli object data to .obj/.mtl in your project folder
- * Only object visualization is supported (no groups)
- * The emitter must be the selected object when exporting
* PS Render panel -> Rotation must be enabled
* You can translate, rotate & scale the emitter or the dupli object
* If you translate the dupli object, you must use the Write dupli objects to file option, when exporting the instance transforms
* In the PS Rotation panel the Initial rotations that work are: Object Z, Global Z, Velocity/hair & Normal
- * Rotate your grass dupli object 90 around Y (so that it's "up" looks along +X)
* Set Rotation -> Initial rotation to Normal, tweak the other params to decline the particle from the normal and randomize it's rotation around the normal
* Set Physics -> Size to 1.0 and Random size to your liking
* Use Velocity -> Normal to grow the particle along emitter normal
You should test it and report your findings. If you find any major problems / bugs (not mentioned above) provide as much info (settings screenshots) as possible, ideally with a .blend test scene