Compare commits

..

7 Commits

Author SHA1 Message Date
c6c43ad895 fix length of IDAT chunk 2024-08-06 17:39:09 +02:00
705e2d715d use a more performant RandomGenerator 2024-08-06 16:24:01 +02:00
85f61b7991 switch from octree to binary tree 2024-08-06 16:16:25 +02:00
a90b2c0d9e disallow unbounded Hittables and refactor Octree 2024-08-06 15:47:42 +02:00
235a61f354 add color to DielectricMaterial 2024-08-06 13:32:39 +02:00
5033cf78c6 move examples to their own file 2024-08-06 11:15:56 +02:00
c2d230bed0 fix checksum of IEND chunk 2024-08-06 01:11:46 +02:00
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 441 KiB

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 881 KiB

After

Width:  |  Height:  |  Size: 954 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 620 KiB

After

Width:  |  Height:  |  Size: 702 KiB

View File

@@ -43,7 +43,7 @@ public enum ImageFormat {
private static final int IHDR_TYPE = 0x49484452;
private static final int IDAT_TYPE = 0x49444154;
private static final int IEND_TYPE = 0x49454E44;
private static final int IEND_CRC = 0xAE426082;
private static final int IEND_CRC = -1371381630;
@Override
public void write(@NotNull Canvas image, @NotNull OutputStream out) throws IOException {