ScriptSpot

Script

PFlow Baker

By Ofer Zelichover · 2007-06-26

Version
0.71
Version requirement
3ds Max 9
Date updated
2010-06-03
Votes
78
Download
Download
Description

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.

Additional Info


Tags: Particles, Particle Flow, bake, point cache, vertex animation

Comments (41)

still works in 3DSMax_2021

Ralf · 2021-03-05

Tnx. Great Script. And it still works in 3DSMax_2021

Working with Max 2016

jeffreysbrown · 2017-06-14

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:

jeffreysbrown · 2017-06-14

Flow Diagram screengrab

It is a very simple flow, but the dynamics tracked fine when meshing (3 collision objects)

Still rocking in 2016 :)

asymptote · 2016-08-07

Priceless little tool, still works without issue in 2016, many thanks.

Update to 2016

leepuznowski · 2015-09-04

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.

Ofer Zelichover · 2016-03-24

What do you think is missing from the script? Is something broken in 2016?

magilla · 2016-12-09

can't bake mesh from physX/mParticles

Link broken

x1326 · 2015-07-15

The link is dead and the website seems to be offline.
Have anyone a alternative?

Optimizating

Dewuxas · 2015-05-26

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?

mr_pablo · 2014-11-19

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.

Circlenumber · 2014-08-21

Can use with Point Cache Obj?

Awesome script

dmi3iy · 2014-05-22

Very usefull script! Thanks, man, for your work!!

Many thank!

mujiyd · 2014-03-04

It't work on 2014

save my life

Oh! I just nothing to say more than really thank you

max 2012 64bit fine

rgayan21 · 2013-09-27

working in max 2012 64bit fine

thanks for the baker

HarryPotter · 2013-09-15

Any chance we get this working under 3dsMax 2014?
Thanks!

Integration steps on bake

mark pigott · 2012-08-01

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...

whaling · 2012-05-25

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

richierr · 2012-03-21

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 :)

herbap · 2012-02-10

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

nugas · 2011-10-28

great tools NIce Awesome coooool

W DIGITAL · 2011-08-31

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??????

Ofer Zelichover · 2011-08-31

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!

polyx · 2011-03-27

This is one of the best scripts ever man, thank you so much for it!

error

hotdoggyurkeyam · 2010-12-18

Keep getting an error after done baking that says:

Unknown property: "bakedTransObj" in undefined.

Using Max 2010 64 bit. Any ideas?

Augusto Lombardi · 2010-07-12

BTW great tool!

Augusto Lombardi · 2010-07-12

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!!

TiMi · 2010-05-06

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?

Ofer Zelichover · 2010-05-10

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

Fraine7 · 2010-05-06

Excellent script, should definitely be part of Max's built in tools, thank you for this!

JohnnyRandom · 2010-04-29

Thanks for the update Ofer :)

W DIGITAL · 2010-04-20

jea its wonderfulk!

Waxmodeler · 2010-03-04

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.

makco · 2010-03-04

very useful script, Thanks for sharing

Ofer Zelichover · 2009-01-24

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

mark pigott · 2008-12-23

works in max 6 as well!

Ofer Zelichover · 2008-10-01

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

JohnnyRandom · 2008-07-16

Great script, thanks for sharing! :)

FYI works in max 2008 too.

wolfgang · 2008-10-01

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.

masquerade · 2009-01-02

wolfgang.

its probably because of the delete operator. If any of the PF events contains a delete operator, it throws the same error.

spavelski · 2008-07-15

Saved my ass, brother. Props to you.