Commit Graph

17 Commits

Author SHA1 Message Date
61f9ec7642 Create scene data structure 2025-09-23 15:36:08 +01:00
a6b52d5f75 Change sky colour 2025-09-23 15:36:08 +01:00
c32c903d18 Allow camera position and target position to vary 2025-09-23 15:36:08 +01:00
75159e7223 Remove focal_len parameter from camera (hard-code as 1.0) 2025-09-23 15:36:08 +01:00
bb6c1683b2 Specify camera FOV instead of viewport height 2025-09-23 15:36:08 +01:00
1e31fae5d0 Make samples per pixel a camera parameter 2025-09-23 15:36:08 +01:00
cdc56a119f Add progress output 2025-09-23 15:36:08 +01:00
ce45c57662 Create material abstraction 2025-09-23 15:36:08 +01:00
b15edd1906 Gamma correct pixels before writing out 2025-09-23 15:36:08 +01:00
a2559d373f Implement Lambertian diffuse scattering 2025-09-23 15:36:08 +01:00
61cfddd75c Implement Gaussian anti-aliasing 2025-09-23 15:36:08 +01:00
75b646dd44 Parallelise rendering 2025-09-23 15:36:08 +01:00
8827f22359 Sample each pixel multiple times 2025-09-23 15:36:08 +01:00
c92f43ca3c Implement diffuse scattering 2025-09-23 15:36:08 +01:00
036b8fd4d3 Simplify hit detection logic 2025-09-23 15:36:08 +01:00
3687723153 Move rendering logic into camera module 2025-09-23 15:36:08 +01:00
f4ffea57fd Move camera initialisation into seperate module 2025-09-23 15:36:08 +01:00