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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

784a353 · Jun 21, 2024
Feb 11, 2022
Feb 11, 2024
Jan 25, 2024
Dec 6, 2023
Nov 27, 2023
Nov 27, 2023
May 23, 2023
Feb 17, 2022
Feb 11, 2024
Dec 2, 2023
Jan 17, 2022
Jun 21, 2024
May 12, 2023

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