87 Commits (23c7a550ecfeffed64853d31658d095151569412)
 

Author SHA1 Message Date
jbb01 b5acbd1b6c add 2d primitives 6 months ago
jbb01 86b6f1891c move material package 6 months ago
jbb01 7a5526f987 configure java version and main class in gradle 6 months ago
jbb01 137c0b2190 add octree to improve rendering performance by reducing the number of ray-sphere-intersection calculations 6 months ago
jbb01 a84ed5c050 add bounding box to sphere 6 months ago
jbb01 8b7b99b184 add simple scene 6 months ago
jbb01 828c332e76 make scene deterministic 6 months ago
jbb01 07cdc0c213 remove Double#isFinite checks in Vec3 constructor
A performance analysis showed, that the Double#isFinite checks in the Vec3 constructor add significant overhead without providing much value to the application.
6 months ago
jbb01 b47ded6c56 add iterative rendering mode for faster results
In normal mode, the image is rendered one pixel at a time, taking multiple samples per pixel and averaging them before continuing with the next pixel.

In iterative mode, the image is rendered one sample at a time, taking one sample per pixel, then taking another sample and averaging it with the one before, and so on.
6 months ago
jbb01 0c6db707e0 separate camera from rendering 6 months ago
jbb01 c17b9aedf5 add "final" scene 6 months ago
jbb01 bb326e82a6 abstract Image and add support for watching the image as its being rendered 6 months ago
jbb01 1080711229 add depth of field 6 months ago
jbb01 d89d15f1a4 add Camera.Builder 6 months ago
jbb01 94231f6a5b play with camera settings and fix handedness of camera 6 months ago
jbb01 82b38d4501 add total internal reflection 6 months ago
jbb01 088263b344 add dielectric material 6 months ago
jbb01 ca769c56b2 add metal fuzz 6 months ago
jbb01 a41b14da48 add metal 6 months ago
jbb01 2e5659a04a add custom Materials 6 months ago
jbb01 927f63adf0 add support for png images 6 months ago
jbb01 cf0ed6f13f apply gamma correction 6 months ago
jbb01 0f122e2062 use Lambertian reflection 6 months ago
jbb01 8e77662b33 fix "shadow acne" 6 months ago
jbb01 d2ca6922ef add diffuse material 6 months ago
jbb01 9d204f6aa4 add antialiasing 6 months ago
jbb01 af3dc8dac7 refactor Camera 6 months ago
jbb01 672dc6af8b refactor Shape 6 months ago
jbb01 1113b91077 move render method to Camera 6 months ago
jbb01 7757b3d573 add Range to optimize Shape#hit 6 months ago
jbb01 5e52db65d4 add another sphere 6 months ago
jbb01 e3a8b08381 simplify Sphere#hit 6 months ago
jbb01 14fd1d73fc add shading according to normal vector 6 months ago
jbb01 590054a046 add sphere 6 months ago
jbb01 7875befa94 add camera, scene and skybox 6 months ago
jbb01 028d19b118 add math and image 6 months ago
jbb01 2d2f5090ea initial commit 6 months ago