**Alex DeJournett Sarah Friday Final Project**
Student names: Alex DeJournett (f003c3q) and Sarah Friday (f005cbs)
(#) Motivational image

This image relates to our theme in sort of a word matching way. We wanted to focus on the "insides" of things, which brought to mind cross-section visualizations and containers.
The jar in the above forms a container around the candy, but the marbles/candy can also contain different materials.
Adding to the interpretation of the theme, we thought of the idiom "losing your marbles". Therefore we decided to put the marbles/candy
inside of a skull to represent personality/cognition. The rest of the elements in our scene arose out of the spookiness of the skull, leading
to a juxtaposition between the scary and silly.
(#) Features
(##) Volumetric Path Tracing and Shell Tracing
No media
g = 0
g = 0.7
g = -0.7
mfp = 1/10 meters for world medium. emitter *= 100
Volumetric path tracing:
(36.313s)
Number of intersection tests: 1050725228
Number of rays traced: 137022751
Average number of intersection tests per ray: 7.668254
Number of surface events: 31395730
Number of volume events: 26835133
Number of shell events: 0
Vol tracing 0.8 albedo 500spp g=0.7 mfp = 1/10 with rr
(2m:20s)
Number of intersection tests: 3724591737
Number of rays traced: 563069011
Average number of intersection tests per ray: 6.614805
Number of surface events: 263304
Number of volume events: 218714643
Number of shell events: 0
Shell Tracing:
(48.614s)
Number of intersection tests: 1051601995
Number of rays traced: 137136558
Average number of intersection tests per ray: 7.6682835
Number of surface events: 31376840
Number of volume events: 26482641
Number of shell events: 536754
Percent unscattered: 0.36843136
Percent single: 0
Percent multiple: 0.6315687
(3m:27s) Shell mfp = 1/25
Number of intersection tests: 5007469260
Number of rays traced: 604072024
Average number of intersection tests per ray: 8.289523
Number of surface events: 216678014
Number of volume events: 4915151
Number of shell events: 23592581
Percent unscattered: 0.16103537
Percent single: 0.02396105
Percent multiple: 0.81500363
(3m:30s) Shell mfp = 1/20
Number of intersection tests: 4967216568
Number of rays traced: 599629001
Average number of intersection tests per ray: 8.283816
Number of surface events: 217468864
Number of volume events: 4962642
Number of shell events: 22583517
Percent unscattered: 0.20042415
Percent single: 0.017999632
Percent multiple: 0.7815763
(3m:26s) Shell mfp = 1/10
Number of intersection tests: 4982356884
Number of rays traced: 601430739
Average number of intersection tests per ray: 8.284174
Number of surface events: 221358320
Number of volume events: 5956709
Number of shell events: 19674137
Percent unscattered: 0.34997883
Percent single: 0
Percent multiple: 0.65002126
(2m:59s) Shell mfp = 1
Number of intersection tests: 5016093082
Number of rays traced: 604228241
Average number of intersection tests per ray: 8.301653
Number of surface events: 236951206
Number of volume events: 3672432
Number of shell events: 0
Code:
- phase_funcs\isotropic.cpp
- phase_funcs\hg.cpp
- media\heterogeneous.cpp
- media\homogeneous.cpp
- integrators\shell_transfer.cpp
- integrators\volpath_iter.cpp
- integrators\volpath.cpp
- integrators\volpathNEE.cpp
Resources:
[Efficient Rendering of Heterogeneous Polydisperse Granular Media,
Supplemental Material](https://cs.dartmouth.edu/~wjarosz/publications/muller16efficient-supplemental.pdf)
[Rendering Discrete Random Media
Using Precomputed Scattering Solutions]https://www.ics.uci.edu/~yug10/projects/translucent/papers/EGSR07-vol.pdf
[PBRT](https://www.pbr-book.org/3ed-2018/Volume_Scattering)
(##) Environment Mapping
Code:
materials\environment_map.cpp
Resources:
[PBRT](https://www.pbr-book.org/3ed-2018/Light_Sources/Infinite_Area_Lights)
(##) Parallelism (already implemented)
(#) Models
[M&Ms](https://sketchfab.com/3d-models/mms-74bd66ae7e3f406688cbb7ca3276bf06)
[Skull](https://sketchfab.com/3d-models/teeth-9cdd9852bcae4f71849f59adbe18f2f0)
[Table and Books](https://sketchfab.com/3d-models/table-books-wine-glass-52c23730214e41a6b96442dfb35cdec7)
[Candle](https://sketchfab.com/3d-models/a0b7dbb41b9849938002b7f80aa9607f)
[Dragon (from PBRT)](https://www.pbr-book.org/3ed-2018/Volume_Scattering)
(#) Final image
