Skip to content
/ raya Public

Raya is an acoustic raytracer written in rust

Notifications You must be signed in to change notification settings

gregzanch/raya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Raya is an acoustic raytracer written in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages