Bakes particle flow particles into meshes and/or helpers.
NOTE: This script bakes only the viewport particles, so in order to get the amout of particles set in your system, set the viewport count to 100%.
Version: 0.71 (2010-06-02 17:25:44) Compatibility:MAX 9,MAX 2008,MAX 2009,MAX 2010,MAX 2011
- Changed the way the particles are baked into point cache. It is now much faster using this method.
Comments (41)
Comment policy
still works in 3DSMax_2021
Tnx. Great Script. And it still works in 3DSMax_2021
Working with Max 2016
This saved my workflow today! It worked with Max 2016, and using mParticles (emitted from a BirthStream). ShapeInstance was the PFlow geometry source, so that might help if you're trying to use this script with mParticles.
PFlow diagram:
It is a very simple flow, but the dynamics tracked fine when meshing (3 collision objects)
Still rocking in 2016 :)
Priceless little tool, still works without issue in 2016, many thanks.
Update to 2016
Great little script. To this day, with 3dsmax 2016, I still need to use this script as rendering often omits particles. Any chance you could continue working on this tool? Even make it a paid script.
What do you think is missing from the script? Is something broken in 2016?
can't bake mesh from physX/mParticles
Link broken
The link is dead and the website seems to be offline.
Have anyone a alternative?
Optimizating
Is it going to get any future update for optimizating? Because it's using only 5% of CPU or there is already is maximum speed that u can get?
Is there any way I can bake the material that is applied to my pflow source?
Or at least some way of re-texturing the baked objects? I used a "Mapping Object" and "Material Dynamic" operator.
Can use with Point Cache Obj?
Awesome script
Very usefull script! Thanks, man, for your work!!
Many thank!
It't work on 2014
save my life
Oh! I just nothing to say more than really thank you
max 2012 64bit fine
working in max 2012 64bit fine
thanks for the baker
Any chance we get this working under 3dsMax 2014?
Thanks!
Integration steps on bake
When baking the particles, I know the Quantity Mulitplier must be set to
100%, but when you bake, should the Viewport Integration Step be set to 1/8 frame, or does the Bake read from the Render Integration Step?
great but...
Hello Ofer - this is a very handy script! But I get an error now when I try to store visibility info. It says "bakedTransObj" error and points to line
k.inTangentType = k.outTangentType = #Step
I think it doesn't like Step, but what does that mean?
I'm on Max 2012 x64
Many thanks for the script.
Andrew
doesnt bake all animation
This is very useful script, but when I created particles from geometry with BirthScriptMeshToParticles, baked animation looks, like is not all or that baked mesh is litle bit rotated. Thanks a lot for advice.
great script... its save my life :)
but materials ignored...
i tried with pflow box#2... particles baked perfectly but materials ignored,
is there any way to bake particles with own materials
regards
Awesome Script
great tools NIce Awesome coooool
whats the advantage of the point cache function? i never saw that...
does that mean it can animate all particles as one object and save to point cache??????
The point cache option bakes the animated mesh to point cache instead of as vertex animation. The main advantage of this is that the file size is not bloated like with vertex animation.
But the animated mesh option is only useful when the geometry of the particles is animated. If the geometry doesn't change, and only the transformation of the particles change, you shouldn't use the animated mesh option as it is way slower.
Great!
This is one of the best scripts ever man, thank you so much for it!
error
Keep getting an error after done baking that says:
Unknown property: "bakedTransObj" in undefined.
Using Max 2010 64 bit. Any ideas?
BTW great tool!
Hi, really great script but it miss one important feature, it doesen't bake the material of particles!! in the case of big shape particles the material is fundamental and in the case of multi sub materials assigned to particles it's impossible to manual reassign to the baked ojbects the same material from the original particle stream!!
I've converted your script to macroscript. Hope you don't mind?
It is convinient for users.
http://rapidshare.com/files/386017129/PFlowBaker-v0_61.mcr
Just drag & drop macroscript in max viewport and under "customize user interface"-"Category" find "Ofer Zelichover"
Usually I'm "installing" this kind of script with drag & drop in max viewport, and after that I can see button for scripts in Customize User Interface, but for this script I can't see the button?
That's because this is no a macroscript.
You can run it using the Maxscript > Run Script menu option.
Or if you'd like to make it into a macroscript, open the script in the script editor, select all of it and drag it onto a toolbar. That will automatically make a new macroscript out of it.
Cheers,
o
Excellent script, should definitely be part of Max's built in tools, thank you for this!
Thanks for the update Ofer :)
jea its wonderfulk!
Oh now this script is super cool. I can now take the particles and use them with reactor. Waaaaaaaay Cool and it works great with Max Version 8. You are a genius.
very useful script, Thanks for sharing
Hi Masquerade,
I don't get this error, even when I have a delete operator. Can you please send me simple scene where you get this error so I can check this issue?
Thanks,
o
Hi,
Thanks for reporting this. Unfortunately, I don't have 64bit version so I can't check this, and it seems to work fine on 32bit.
Does anyone else have this issue with the 64bit version? Does anyone with 64bit version have a solution for this?
Thanks,
o
Great script, thanks for sharing! :)
FYI works in max 2008 too.
Tried running the script in max 2009 64bit and it didn't work completely, couldn't find a 'visibility' property in the loop for setting stepped keys.
wolfgang.
its probably because of the delete operator. If any of the PF events contains a delete operator, it throws the same error.
Saved my ass, brother. Props to you.