Compare commits

..

7 Commits

Author SHA1 Message Date
4ea9ebe25a fix length of IDAT chunk 2024-08-06 17:58:17 +02:00
1fe5731dcf use a more performant RandomGenerator 2024-08-06 17:58:01 +02:00
5bf3108ab4 switch from octree to binary tree 2024-08-06 17:58:01 +02:00
8773b04b0f disallow unbounded Hittables and refactor Octree 2024-08-06 17:58:01 +02:00
b96c6db440 add color to DielectricMaterial 2024-08-06 17:58:01 +02:00
4dfeb133de move examples to their own file 2024-08-06 17:58:01 +02:00
579a08bbb3 fix checksum of IEND chunk 2024-08-06 17:57:58 +02:00
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 346 KiB

After

Width:  |  Height:  |  Size: 441 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 954 KiB

After

Width:  |  Height:  |  Size: 881 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 702 KiB

After

Width:  |  Height:  |  Size: 620 KiB

View File

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