Wayverb
exact.h File Reference
#include "raytracer/image_source/fast_pressure_calculator.h"
#include "core/callback_accumulator.h"
#include "core/geo/box.h"
#include <iostream>

Go to the source code of this file.

Functions

glm::vec3 wayverb::raytracer::image_source::image_source_position (const glm::ivec3 &order, const glm::vec3 &source, const glm::vec3 &dim)
 
template<typename T >
constexpr T wayverb::raytracer::image_source::power (T t, size_t p)
 
template<typename T >
auto wayverb::raytracer::image_source::attenuation_factor (const glm::ivec3 &order, const glm::vec3 &image_source, const glm::vec3 &receiver, const T &impedance)
 
template<typename T >
auto wayverb::raytracer::image_source::traverse_images (const core::geo::box &box, const glm::vec3 &source, const glm::vec3 &receiver, double max_distance, const T &impedance)
 
template<typename Surface >
auto wayverb::raytracer::image_source::find_impulses (const core::geo::box &box, const glm::vec3 &source, const glm::vec3 &receiver, const Surface &surface, double max_distance)
 

Detailed Description

For a cuboid with perfectly reflective walls, the image source solution is exact and fast to calculate. Here we implement a fast solver for image sources in a cuboid.