Closed ghost closed 7 years ago
Not sure I can follow. It seems normal that bigger time steps make the simulation less stable. Are you aiming at doing everything at 30 Hz? Did you try to use more iterations per step?
I doubled g_numSubsteps to 4 and it seems to work now also for 30fps. Thanks! The final result in my case will be a 30fps video and so for reducing overhead and saving resources I run the simulations on that rate.
When I change the "g_dt" var in main.cpp the buoyancy scene gets disturbed
I think the simulation result should be very similar on final video which uses 15fps, but the modified main.cpp with g_dt= 1.0 / 30 (=30fps) version is very different SOLVED.