James Seibel
0d0826f319
Separate out Generic object rendering
2024-06-28 16:53:05 -06:00
James Seibel
6bfa3a422e
Move generic cube rendering into it's own class
2024-06-27 06:36:30 -06:00
James Seibel
352abc40e6
Add proof-of-concept cube rendering
2024-06-27 06:22:15 -06:00
James Seibel
58d26dedd6
Show overloaded message in chat and increase message timeout 5 -> 30 sec
2024-06-26 12:58:18 -05:00
James Seibel
71ffbfb7b9
add "warning" to the low memory warning message
2024-06-25 19:24:07 -05:00
James Seibel
2ab7949ce5
Fix database file paths
2024-06-25 19:23:53 -05:00
James Seibel
30dda058fe
Throw an exception if the file handler can't read/write to the DB
2024-06-23 08:22:35 -05:00
James Seibel
0d16c037f5
Increase default world gen timeout to 3 minutes (from 60 sec)
2024-06-18 07:11:48 -05:00
James Seibel
7f50de17c0
Fix file handler tooltip
2024-06-17 07:40:49 -05:00
James Seibel
67819b30eb
Improve F3 menu logic and visuals
2024-06-15 19:20:20 -05:00
James Seibel
ad38722304
add a todo to shared api
2024-06-15 11:26:46 -05:00
James Seibel
4da48c4c55
Lower the default CPU presets
2024-06-15 11:26:01 -05:00
James Seibel
6542e9e889
comment out unused showMigrationChatWarning
2024-06-15 11:04:56 -05:00
James Seibel
2f7e3d43d1
Add a startup low memory warning
2024-06-15 11:04:43 -05:00
James Seibel
edaafb5cf0
Fix saving the chunk hash incorrectly
2024-06-15 10:37:59 -05:00
James Seibel
81d1ed419e
Prevent creating LODs for already processed chunks
2024-06-15 09:42:43 -05:00
James Seibel
385e3dc964
Add ChunkWrapper BlockBiome HashCode
2024-06-15 08:11:16 -05:00
James Seibel
9592cd80f3
Improve position error logging
2024-06-15 07:20:38 -05:00
James Seibel
7b153a8aad
Fix SelfUpdater list logging
2024-06-14 07:11:06 -05:00
James Seibel
54c2213eb6
Merge in JustALittleWolf's optimizations
2024-06-13 07:30:17 -05:00
JustAlittleWolf
1274a8e097
Directly access childNodes in LodQuadTree
...
This changes `LodQuadTree::recursivelyUpdateRenderSectionNode` to directly iterate on the children, instead of creating a childpositerator, and searching for the sectionpos. This lowers memory usage, as the iterators add quite a lot of object garbage (see https://i.imgur.com/r0qlxzc.png )
2024-06-13 13:15:39 +02:00
JustAlittleWolf
bd1d0063e5
Change iterator Queue from LinkedList to ArrayDequeue
...
This improves performance and memory allocation, whenever the iterators are used. See https://docs.oracle.com/javase/8/docs/api/java/util/ArrayDeque.html
2024-06-13 13:14:30 +02:00
James Seibel
af9b55ad6c
Add lighting engine unit tests
2024-06-11 19:33:08 -05:00
James Seibel
97b86d69c4
Move shared ChunkWrapper code form Main to Core
2024-06-11 18:34:57 -05:00
James Seibel
c6b4eacf03
Improve the overloaded chunk loading message
2024-06-11 07:35:28 -05:00
James Seibel
e011ce3ee0
Remove OpenGL multithreading
2024-06-08 12:49:08 -05:00
James Seibel
1dd6359c89
Try changing LZMA preset from 4 -> 3 (faster, less compressed)
2024-06-08 11:06:26 -05:00
James Seibel
e41abdd176
Improve config comment spacing
2024-06-08 08:33:32 -05:00
James Seibel
b7a5bfd274
Add update branch config "auto"
2024-06-08 08:11:09 -05:00
James Seibel
f49a79b54a
remove unused lightmapBindingIndex in DhApiRenderParam
2024-05-27 17:57:45 -05:00
James Seibel
3cf385c2a2
Potentially fix memory leaks when rendering is disabled
2024-05-27 17:37:52 -05:00
James Seibel
8c91a84795
Fix LZ4 in retail MC
2024-05-21 07:43:33 -05:00
James Seibel
4af63758f2
Add error logging to stream wrappers
2024-05-21 07:42:22 -05:00
James Seibel
969b02dc18
Put config button hide option only in file
2024-05-20 22:15:38 -05:00
James Seibel
9cebd7ee54
Add ConfigBasedLogger.errorAndThrow()
2024-05-18 08:07:41 -05:00
James Seibel
894a2dbe7d
Fix incorrect DhSectionPos method var order
2024-05-16 22:14:34 -05:00
James Seibel
172e7560fd
Replace DhSectionPos with long primitives to reduce GC
2024-05-16 22:07:57 -05:00
James Seibel
cd5ff8ce35
Start adding new DhSectionPos and unit tests
2024-05-15 18:48:25 -05:00
James Seibel
6e717a383d
Remove unused OldSectionPos methods and add serialize methods to V1 repo
2024-05-15 18:47:51 -05:00
James Seibel
bef873b875
Add comments to EDhDirection
2024-05-15 18:47:09 -05:00
James Seibel
331d75a3bc
Rename DhSectionPos -> OldDhSectionPos before rewrite
2024-05-15 07:50:52 -04:00
James Seibel
cec6438602
Replace QuadTree iterator linked list with ArrayDeque
...
Thanks JustALittleWolf!
2024-05-15 07:36:32 -04:00
James Seibel
f5e0c112e3
Revert max world gen tasks 2 -> 20
...
I was hoping it would fix LODs not appearing, although it appears there was a different problem which has since been fixed.
2024-05-11 16:23:20 -05:00
James Seibel
899c4aca91
Add Quad Tree Render Status debug wireframe
2024-05-11 16:21:53 -05:00
James Seibel
a4ac483e5b
Potentially fix LODs not loading in
2024-05-11 16:19:10 -05:00
James Seibel
723f67ea0c
Attempt to prevent thread starvation due to world gen
...
Hopefully this should help prevent issues on low end machines not loading in LODs
2024-05-10 22:27:22 -05:00
James Seibel
4575701bd4
disable sql timeout
2024-05-09 23:21:35 -05:00
James Seibel
7cfcfb0695
Handle missing/corrupted block/biome ID's in the full data
2024-05-09 19:45:54 -05:00
James Seibel
f33bfa1d69
Fix monoliths due to duplicate IDs
...
This would specifically happen if moving from one MC version that has more blockstate attributes to one with fewer. If that was done then the both blockstates would act like they were the same, screwing up the ID map.
2024-05-09 19:44:33 -05:00
James Seibel
a3c1f1563d
minor FullDataToRenderDataTransformer reformat
2024-05-09 19:35:43 -05:00