Commit Graph

26 Commits

Author SHA1 Message Date
jonah 87a7fbfcff abstract Image 2024-08-04 01:28:12 +02:00
jonah 1080711229 add depth of field 2024-08-04 00:18:54 +02:00
jonah d89d15f1a4 add Camera.Builder 2024-08-04 00:18:54 +02:00
jonah 94231f6a5b play with camera settings and fix handedness of camera 2024-08-03 22:37:00 +02:00
jonah 82b38d4501 add total internal reflection 2024-08-03 22:16:53 +02:00
jonah 088263b344 add dielectric material 2024-08-03 22:05:02 +02:00
jonah ca769c56b2 add metal fuzz 2024-08-03 21:42:18 +02:00
jonah a41b14da48 add metal 2024-08-03 21:30:22 +02:00
jonah 2e5659a04a add custom Materials 2024-08-03 21:19:01 +02:00
jonah 927f63adf0 add support for png images 2024-08-03 17:02:19 +02:00
jonah cf0ed6f13f apply gamma correction 2024-08-03 03:00:11 +02:00
jonah 0f122e2062 use Lambertian reflection 2024-08-03 02:56:24 +02:00
jonah 8e77662b33 fix "shadow acne" 2024-08-03 02:54:15 +02:00
jonah d2ca6922ef add diffuse material 2024-08-03 02:52:07 +02:00
jonah 9d204f6aa4 add antialiasing 2024-08-03 02:42:15 +02:00
jonah af3dc8dac7 refactor Camera 2024-08-03 02:36:21 +02:00
jonah 672dc6af8b refactor Shape 2024-08-03 02:15:03 +02:00
jonah 1113b91077 move render method to Camera 2024-08-03 02:15:03 +02:00
jonah 7757b3d573 add Range to optimize Shape#hit 2024-08-03 02:15:02 +02:00
jonah 5e52db65d4 add another sphere 2024-08-03 01:53:48 +02:00
jonah e3a8b08381 simplify Sphere#hit 2024-08-03 01:47:22 +02:00
jonah 14fd1d73fc add shading according to normal vector 2024-08-03 01:46:27 +02:00
jonah 590054a046 add sphere 2024-08-03 01:37:56 +02:00
jonah 7875befa94 add camera, scene and skybox 2024-08-03 01:37:56 +02:00
jonah 028d19b118 add math and image 2024-08-03 01:26:08 +02:00
jonah 2d2f5090ea initial commit 2024-08-02 22:04:04 +02:00