Skip to content

Latest commit

 

History

History
135 lines (118 loc) · 2.63 KB

README.md

File metadata and controls

135 lines (118 loc) · 2.63 KB

Raya

Raya is an acoustic raytracer written in rust.

Building

To build raya, simply run:

cargo build --release

This will output the output binary to target/release/raya

Usage

USAGE:
    raya --model <FILE> --output <FILE>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -m, --model <FILE>     The 3d model file used (.gltf)
    -o, --output <FILE>    The file path for the calculated impulse response (.wav)

Examples

raya -m bench/auditorium/raya/auditorium.gltf -o bench/auditorium/raya/auditorium.wav

Benchmarks

Auditorium

  • Receiver Radius: 0.25m
  • Max Order: 50
  • Ray Count: 10000
  • Triangles: 56
CRAM
Model Impulse Response Raytracing IR Calculation Total
auditorium.json auditorium.wav 115.42s 0.35s 115.77s
Raya
Model Impulse Response Raytracing IR Calculation Total
auditorium.gltf auditorium.wav 12.56s 0.17s 12.73s

Shoebox

  • Receiver Radius: 0.2m
  • Max Order: 50
  • Ray Count: 10000
  • Triangles: 12
CRAM
Model Impulse Response Raytracing IR Calculation Total
shoebox.json shoebox.wav 22.36s 0.33s 22.69s
Raya
Model Impulse Response Raytracing IR Calculation Total
shoebox.gltf shoebox.wav 4.33s 0.09s 4.42s