Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gravity and Simulation Speed (Timescale) keying has no effect on simulation. #12

Open
fineskimo opened this issue Dec 11, 2017 · 6 comments

Comments

@fineskimo
Copy link

Hi there, great work so far.

Compiled a build on 07/12/17 and ran a few simulations, I noticed that keyframing the value of the timescale/simulation speed or gravity in the Domain settings had no effect during the simulation.

Also Scene Gravity appears not to effect the simulation at all.

Hope this is helpful.

Fin

@sebbas
Copy link
Owner

sebbas commented Jan 28, 2018

Hi, sorry for the late reply. But better late than never :)

I see what you mean! And it's, in fact, a really good idea! Besides the gravity, there are even a couple more variables that could be parsed "dynamically" and this way made available for keyframing.

So thanks for the suggestion! I'll get back once it's implemented!

@fineskimo
Copy link
Author

fineskimo commented Jan 29, 2018 via email

@GottfriedHofmann
Copy link

Any updates on this? Keyframing the time scale would be really appreciated! In fact please try to parse as many parameters dynamically as possible since that is also one of the core principles of Blender: Everything can be animated :)

@sebbas
Copy link
Owner

sebbas commented Mar 25, 2018

Yes! Finally integrated this into the (new) baking setup that I am working on right now.

All variables that Mantaflow uses are now updated at every frame before the simulation "step". (2a6a579, 7d4c961). I hope this covers all properties from the UI - I just tested it with gravity and timescale for now.

Invert gravity for smoke plume:
manta_keyfraed_gravity

Slow-motion for liquid (FLIP only, no mesh) when it hits bottom of domain:
manta_keyframed_timescale

@fineskimo
Copy link
Author

fineskimo commented Mar 25, 2018 via email

@Misterdudeman
Copy link

Any more news on this thread?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants