stndbye
stndbye
I found part of the issue, in FluidSim3D.compute, [this line](https://github.com/SebLague/Fluid-Sim/blob/2e2dd4fea2009fbc08ac1c9b94686ccfa36c3078/Assets/Scripts/Sim%203D/Compute/FluidSim3D.compute#L269) `Velocities[id.x] += viscosityForce * viscosityStrength * deltaTime;` needs to go outside of the loop. Still after this, the fluid periodically...
Had a little time to figure out how to make a PR for this. https://github.com/SebLague/Fluid-Sim/pull/7 Let me know if i missed something, but it seems to make viscosity a bit...
Thanks, will see if i can implement RK4 and create a PR - unless it's something you want to do any time soon. Otherwise i'll have a go at self...
Just what i need. Thanks!
There is another issue with collision handling, the damping is only applied per velocity component so it makes the vector more parallel to the collision surface. Tends to bunch particles...
I did some reading (got a bit obsessed with the topic, don't know why). I found one well explained method to have a nice viscosity that can reproduce shocks. The...
Just wanted to come back to the tree topic. All the code and papers i found looked terrible - very high complexity if one factors in "proper" gpu usage (shared...