jalberse / shimmer

Physically based rendering in Rust
Apache License 2.0
33 stars 0 forks source link

Sampling module #1

Open jalberse opened 1 year ago

jalberse commented 1 year ago

Complete sampling.rs including associated Tests.

View Appendix A in the book.

jalberse commented 1 year ago

Some of this work such as BilinearPDF() will require some work from the geometry module to be completed first (e.g. Point2f). So, maybe do some basic geometry module work as needed, or go into that work first.

jalberse commented 11 months ago

I've been implementing the sampling module's functions as needed on an as-needed basis, but it would be good to go through and create tests and ensure the module is "done"