u3dreal / molecular-plus

particle solver for Blender 3.0+ / 4.0+
GNU General Public License v3.0
261 stars 19 forks source link

Set custom bake range? #27

Closed Entropy159 closed 9 months ago

Entropy159 commented 1 year ago

It would be really nice if I could set a custom range to bake without changing the render range. My particles don't spawn in until almost frame 300, but I am forced to bake all the empty frames before that.

u3dreal commented 1 year ago

Unborn particles are not processed ..

Entropy159 commented 1 year ago

Yeah, it definitely bakes faster when there aren't particles, but I would like to be able to skip it entirely. I have 25 substeps, meaning I have to wait 7800 frames before I can see the actual simulation. Then sometimes I have to stop it, change a few settings, and start baking all over again, waiting 7800 frames to see if it works.

VarnaScelestus commented 11 months ago

Seconding this. Despite not running any heavy calculations since there aren't any particles born on the frames before the particle system takes effect, it still wastes a LOT of time going through the frames prior. In my use case, I have to wait for 80% of the expanded timeline before it gets to my simulation, which actually ends up taking more time than the simulation itself!

u3dreal commented 10 months ago

That is not so easy since the sim is set up at frame 1 ... have to think about a solution here ..

u3dreal commented 10 months ago

After some digging i found this was broken .. it should work now along with resuming from an existing cache if you want to give it a try https://github.com/u3dreal/molecular-plus/actions/runs/6791787028

Unzip once and install

ALPHA !!

u3dreal commented 9 months ago

fixed