Skip to content

Cloth sim with Lighthouse 2 framework for real-time ray tracing

Notifications You must be signed in to change notification settings

Logan-Shi/cloth-sim-with-lighthouse2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloth-sim-with-lighthouse2

We built a real-time cloth simulation with Lighthouse 2 framework for real-time ray tracing.

Demo Gif

full scene

Cloth physics are solved using verlet integration which is also accelerated with CUDA.

Features

  • Natural wind effect with perlin randoms.

  • Simple cloth self-collision.

  • Real-time obstacles collision with paralleled BVH.

Reference code

Languages

  • C++ 41.2%
  • HTML 36.4%
  • C 20.3%
  • JavaScript 0.6%
  • Cuda 0.4%
  • CMake 0.3%
  • Other 0.8%