NVIDIAGameWorks/kaolin

A PyTorch Library for Accelerating 3D Deep Learning Research

What it solves

3D deep learning research involves many complex, GPU-heavy operations like physics simulation, rendering, and handling multiple 3D representations. Kaolin provides a single, cohesive PyTorch library with reusable, GPU-optimized modules, so researchers don't have to build these from scratch.

How it works

Kaolin offers several key components:

  • Physics (Simplicits): Simulate meshes, splats, and point clouds with collisions, using a representation-agnostic approach accelerated by Warp.
  • Differentiable Rendering: Includes DIB-R, nvdiffrast, and an easy PBR renderer, plus lighting with spherical harmonics and spherical Gaussians.
  • 3D Gaussian Splats: First-class support with a GaussianSplatModel, PLY/USD I/O, densification, and converters for the gsplat library.
  • Structured Point Clouds (SPC): A GPU octree acceleration structure for ray tracing and feature grids.
  • Conversions: Fast GPU conversions between meshes, voxel grids, point clouds, gaussians, and more.
  • Quaternions: Differentiable quaternion and rigid-transform utilities.
  • USD Pipeline: Import/export meshes, point clouds, gaussians, and physics materials with a custom schema.
  • Visualization: Jupyter 3D viewer, Timelapse checkpoints, and an experimental web client-server framework.

Who it's for

Kaolin is aimed at researchers and developers working on 3D deep learning, providing building blocks for simulation, rendering, and data handling so they can focus on their research.

Highlights

  • Representation-agnostic physics simulation with collisions for meshes, splats, and point clouds.
  • Differentiable rendering (DIB-R, nvdiffrast, easy PBR) with built-in lighting.
  • First-class 3D Gaussian splat support with I/O and densification.
  • GPU octree acceleration with Structured Point Clouds (SPC).
  • Fast GPU conversions between multiple 3D representations.
  • Differentiable quaternion utilities.
  • USD import/export with a custom physics schema.
  • Visualization tools including Jupyter viewer and web framework.

Related

  • Project
  • Project
  • Project
  • Project
  • Project