Hello! Will have this readme and the tests cleaned up soon. Will also finish incorporating my pbrt implementation and create a quick script for generating them.
Canonical Tests
In this repository we provide the implementation of generating our canonical plots as seen in the paper Integral formulations of volumetric transmittance. While our paper utilizes a false color transformation and provides isocontours, we leave out our that messy implementation and just provide the logic and means of generating the base heatmaps. We also provide an intuitive abstraction of transmittance estimators for any individuals who wants to test their own against ours and previous work.
To compile the program simply do the following:
cmake ./ && make
And to run the program you have the following options:
./transm_est samp_name all
The first option runs all combinations of estimators and extinctions utilizing the specified sampler, while the second option runs all combinations of the estimators and extinctions specified.
The sampler is optional, and if no sampler is specified the sampler defaults to independent samples. At least one extinction and one estimator must be specified, otherwise the program will terminate without running any experiments.
List of
List of available samplers:
halton - Halton sampler hammersley - Hammersley sampler independent - Independent sampler latinip - In-Place Latin Hypercubes sampler
List of available extinction functions:
const - Constant extinction: f(x) = c cos - Cosine extinction: f(x) = y + h cos(s x + k) gauss - Gaussian extinction: f(x) = h e^((-(x-m)^2) / (2 s)) hole - Hole extinction: f(x) = c - h e^((-(x-m)^2) / (2 s)) lin_inc - Linear increasing extinction: f(x) = m x + y lin_dec - Linear decreasing extinction: f(x) = -m x + y
List of available transmittance estimators:
bidirectional - Bidirectional MIS expected - Ground Truth next_flight_ratio - Next-flight pseries_cmf - p-series CMF pseries_cumulative - p-series cumulative pseries_next_flight_ratio - Next-flight reformulated in p-series framework pseries_ratio - Ratio-tracking reformulated in p-series framework ratio - Ratio_tracking track_length - Delta-tracking / track-length unidirectional - Unidirectional MIS
All results are written as png and hdr images.