Matthew Gordon
|
45cf4fa487
|
Implement importance sampling for materials
|
2020-09-12 11:53:01 -04:00 |
Matthew Gordon
|
87f62eedb0
|
Add photon parameter to Material::sample(), other changes to integrate()
|
2020-09-12 09:45:21 -04:00 |
Matthew Gordon
|
773ca99ac1
|
Very inefficient first-pass at global illumination
|
2020-09-09 20:39:32 -04:00 |
Matthew Gordon
|
2494a30aef
|
Cast rays for single light wavelengths instead of RGB values
Colours are wrong because Spectrum class isn't implemented.
Also there's a lot of other cleanup that needs to be done.
|
2020-09-05 22:45:43 -04:00 |
Matthew Gordon
|
f5b0a35635
|
Replace nalgebra matrix and vector classes with own classes
Nalgebra only used to find matrix inverse now.
|
2020-08-28 23:08:44 -04:00 |
Matthew Gordon
|
99cf127c9f
|
Change a bunch of generics that used with RealType to just use f64
|
2020-08-18 23:12:28 -04:00 |
Matthew Gordon
|
29dc3b6a37
|
Fix a typo that caused artifacts with ReflectiveMaterial
|
2020-06-19 00:00:12 -04:00 |
Matthew Gordon
|
cb67362ad4
|
Break material module up into multiple files
|
2020-06-11 22:28:53 -04:00 |