Wayverb
wayverb::raytracer::simulation_parameters Struct Referencefinal

Public Attributes

size_t rays
 
size_t maximum_image_source_order
 
double receiver_radius = 0.1
 
double histogram_sample_rate = 1000
 

Member Data Documentation

double wayverb::raytracer::simulation_parameters::histogram_sample_rate = 1000

The frequency of the energy histogram. Smaller intervals need more rays, longer intervals are inaccurate.

size_t wayverb::raytracer::simulation_parameters::maximum_image_source_order

The raytracer uses an exact method to find early image sources. This method is more accurate than stochastic raytracing, but much slower and is not guaranteed to find all possible image sources, especially for higher reflection orders. This parameter controls the reflection order at which the model should switch from image-source contributions to stochastic specular contributions. Values from 0-5 are reasonable.

size_t wayverb::raytracer::simulation_parameters::rays

The number of rays to use. More is better, but also will take longer. Use at least a few thousand.

double wayverb::raytracer::simulation_parameters::receiver_radius = 0.1

The radius of the receiver. Should basically always be 0.1 because this is the size of a person's head. Small == really expensive, large == inaccurate, 0.1 is a good compromise.


The documentation for this struct was generated from the following file: