Matthew Gordon
|
cefbc2873b
|
Refactor, adding Material trait that returns a BSDF
|
2019-11-23 20:53:45 -05:00 |
Matthew Gordon
|
f13b585bfe
|
Shapes can now be colours other than gray
|
2019-11-19 07:43:00 -05:00 |
Matthew Gordon
|
d2fb84191e
|
Add retro (towards camera) direction to IntersectionInfo
Not tested or used yet.
|
2019-11-13 17:47:40 -05:00 |
Matthew Gordon
|
c144780fce
|
Fix failed intersection when ray origin is insode sphere
Added unit test which detected a false miss when the sphere centre
is behind the ray origin but the ray origin is inside the sphere.
|
2019-11-13 17:45:33 -05:00 |
Matthew Gordon
|
3c24a084b9
|
Add another ray-sphere intersection unit test
|
2019-11-13 17:28:43 -05:00 |
Matthew Gordon
|
700de75337
|
Reworked ray-sphere intersection which was failing tests
|
2019-11-13 17:25:57 -05:00 |
Matthew Gordon
|
d9af6dad94
|
Added Phong integrator (actually only computing lambertion yet)
|
2019-11-12 22:11:06 -05:00 |
Matthew Gordon
|
1eb3741b7d
|
Render a basic scene
|
2019-11-12 08:03:29 -05:00 |
Matthew Gordon
|
041c940931
|
Add Plane struct
|
2019-11-11 22:18:49 -05:00 |
Matthew Gordon
|
eaf9ba7b2f
|
Create raycasting module
|
2019-11-08 07:38:24 -05:00 |