FluidNexus: 3D Fluid Reconstruction and Prediction from a Single Video
Method
How should these \(\mathbf{p}^t\) that we’ve scattered across 3D space move in order to look like that video?
1) Since the material properties are unknown, they are fixed during simulation. 2) The simulation proceeds without fully satisfying the spatio-temporal consistency of the input video required for 3dgs.
Two different particle types
- Physical Particles: Define density and velocity field → aim to satisfy the constraint (incompressibility)
- Visual Particles: Represented by Gaussians, Passive Advection
- They are only transported by the velocity field created by the physical particles, and are distributed only in the regions where the fluid should be visible.
Physical Loss
\[\mathcal{L}_{\text{physics}} = \lambda_{\text{sim}} \mathcal{L}_{\text{sim}} + \mathcal{L}_{\text{incomp}}\] \[\mathcal{L}_{\text{incomp}} = \sum_j \left( \frac{\rho_t(\mathbf{p}_{t,j})}{\rho_0} - 1 \right)^2 + \lambda_{\text{next}} \sum_j \left( \frac{\rho_{t+1}(\mathbf{p}_{t+1,j})}{\rho_0} - 1 \right)^2 + \lambda_{\text{v-incomp}} \sum_{i \neq j} \left( \max(0, \sigma - d_{t,ij}) \right)^2,\]This is where it gets interesting: the loss is given from two perspectives.
\(L_{sim}\) is the MSE loss between the position at time t obtained by actually running the differentiable PBF and the generated position.
\(L_{incomp}\) is the loss for incompressibility, and it consists of: is it incompressible at the current step? + starting from the position output by this model, is the position obtained by running PBF one step forward at the next step incompressible? + is it not visually clumped too much (simple clamping)?
At this point, since the material properties of the simulation are fixed, the penalty of Lsim is moderately adjusted (Soft Constraint).
Discussion
- Why the SPH approach?
- If the design defines things physically overall, a grid-based approach would have been a natural choice too, so I’m curious why SPH was chosen (perhaps because the particle representation is advantageous for connecting with visual particles?).
- Is separating the particles (particles with physical values / visual particles) now the standard design? I’m curious whether merging them into one is a fundamentally difficult problem.