Liquid simulation using IISPH


Dam break simulation

Summary

A simple C++ implementation of the implicit incompressible sph model (IISPH) proposed by Ihmsen et al.

  • Boundaries are handled using the method of Akinci et al.
  • Surface tension has been implemented using the model proposed by Akinci et al.
  • Neighbor search uses Z-sorting to improve cache efficiency.
  • Blender was used for offline rendering.

Downloads

[Github]

Results

References

  • Markus Ihmsen, Jens Cornelis, Barbara Solenthaler, Christopher Horvath, and Matthias Teschner. Implicit Incompressible SPH. In: IEEE Transactions on Visualization and Computer Graphics 20.3 (), pp. 426–435.
  • Nadir Akinci, Markus Ihmsen, Gizem Akinci, Barbara Solenthaler, Matthias Teschner. Versatile Rigid-Fluid Coupling for Incompressible SPH. ACM Transactions on Graphics (Proc. SIGGRAPH 2012), vol. 31, no. 4, pp. 62:1-62:8, July 2012.
  • Nadir Akinci, Gizem Akinci, and Matthias Teschner. Versatile surface tension and adhesion for SPH fluids. ACM Trans. Graph., 32(6):182:1–182:8, 2013.

Raytracer sandbox


Summary

A c++ raytracer based on the work of Turner Whitted and ScratchAPixel tutorials. This work is a sandbox for learning and exploring new techniques related to raytracing used for rendering images. The current implementation is extremely slow as it does leverage any acceleration structure. This project features :

  • Rendering of spheres, plane and triangle meshes.
  • Reflection, refraction and diffusive illumination models.
  • Hard shadows

Downloads

[Github]

Results

Simple spheres raytracing

References

  • Turner Whitted. 1980. An improved illumination model for shaded display. Commun. ACM 23, 6 (June 1980), 343-349.