aboutsummaryrefslogtreecommitdiff
path: root/src/sample/mod.rs
AgeCommit message (Collapse)Author
2021-02-08Finish depth of fieldJulian T
2021-02-07Move to double to avoid rounding errorJulian T
This rounding errors seems to happen when adding floats very close to 1 to a relatively large number. 325.0 + 0.99999034 = 326.0 This is a problem as this sample should be counted at the 325 pixel. However this will be a lesser problem when filtering is implemented.
2021-02-06Implement pathtracingJulian T
2021-02-05Achieve anti aliasing with multi pixel samplingJulian T