An open API service indexing awesome lists of open source software.

https://github.com/shiinamiyuki/akari_render

High Performance CPU/GPU Physically Based Renderer in Rust
https://github.com/shiinamiyuki/akari_render

blender gpu-computing gpu-raytracing path-guiding path-tracer path-tracing ray-tracing raytracing rust

Last synced: 4 months ago
JSON representation

High Performance CPU/GPU Physically Based Renderer in Rust

Awesome Lists containing this project

README

          

AkariRender


High Performance CPU/GPU Physically Based Renderer

⚠ The new version based on LuisaCompute is updated! ⚠

![](gallery/classroom.png)
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](https://github.com/shiinamiyuki/akari_render/tree/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](https://github.com/LuisaGroup/luisa-compute-rs) 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
```