Skip to content

High Performance CPU/GPU Physically Based Renderer in Rust

License

Notifications You must be signed in to change notification settings

shiinamiyuki/akari_render

Repository files navigation

AkariRender

High Performance CPU/GPU Physically Based Renderer
⚠ The new version based on LuisaCompute is updated! ⚠

Scene by Christophe Seux (CC0)

AkariRender is a CPU/GPU physically based renderer written in Rust and powered by LuisaCompute. Previous version with PPG and SMCMC is in legacy-cpp branch

Features

  • Loading Blender scene
  • Supports a subset of Cycles shader graph via JIT
  • RGB/Spectral Rendering (WIP)
  • Path Tracing
  • Path Tracing with Metropolis Sampling
  • Gradient Domain Path Tracing

Building:

If you are using < Windows 10, please upgrade to Windows 10 or above.

  • CMake > 3.23
  • Ninja
  • Clone Blender 4.0 source code from blender-v4.0-release branch
  • Put path to blender source in blender_src_path.txt
  • Clone LuisaCompute alongside this repo

If you intend to run the renderer on cpu, the following runtime requirement must be satisfied:

  • clang++ in PATH
  • llvm dynamic library of the same version. For Windows users, it is the LLVM-C.dll.

Run

cargo run --release --bin akari-cli -- -d (cpu|cuda|dx|metal) -s scenes/cbox/scene.json -m scenes/cbox/test.json