Physica is a C++23 and CUDA computer graphics research workspace for modern implementations of reconstruction, simulation, differentiable graphics, and generative modeling algorithms. Core algorithms are organized as reusable C++ modules, while standalone examples can expose live visualization providers to Spectra.
- Reconstruction: Instant Neural Graphics Primitives, PINFS, and shared multi-view datasets
- Gas simulation: smoke, keyframe control, and differentiable adjoint control
- Liquids: PIC, FLIP, APIC, WCSPH, PCISPH, IISPH, DFSPH, and PBF
- Deformables: differentiable cloth simulation
- Generative modeling: class-conditioned Flow Matching with FlowDiT
- CMake 4.4
- CUDA Toolkit 13.3
- C++23 compiler with standard-library module support
- Ninja
- Spectra SDK when building visualization providers
cmake -S . -B build -G Ninja
cmake --build build --parallel 30