Commit Graph

1874 Commits

Author SHA1 Message Date
James Seibel 9d5bfc4f16 Remove unimplemented IDhLevel.dumpRamUsage() 2023-09-23 11:21:29 -05:00
James Seibel 1aa45bd9d6 DhClientServerLevel reformat 2023-09-23 08:44:16 -05:00
James Seibel 04e8a99320 Improve World Gen tick method names and put queue work on queue thread 2023-09-23 08:44:01 -05:00
James Seibel 5b8649630c WorldGenerationQueue remove unused code and cleanup 2023-09-23 08:32:22 -05:00
James Seibel 89e92504e4 Fix null pointer in RenderDataMetaFile 2023-09-23 08:20:02 -05:00
James Seibel 6fa0c802dc fix merge for commit 5ae27310 2023-09-21 22:01:21 -05:00
James Seibel 10b3c94782 Fix some LodRenderSections not rendering when populated by the world generator 2023-09-21 21:56:36 -05:00
James Seibel cdb0ce63b8 Improve FullDataMetaFile debug colors 2023-09-21 19:40:32 -05:00
James Seibel 29d474c577 Improve full data sample pooling logic 2023-09-21 19:29:52 -05:00
James Seibel 74cac0c263 Restructure and optimize the debug wireframe renderer 2023-09-21 19:19:38 -05:00
James Seibel 9a82b718a5 refactor DebugRenderer 2023-09-21 07:31:29 -05:00
James Seibel cd7463728f Add full Data source pooling for certain sampling operations
May cause some concurrency issues
2023-09-21 07:11:41 -05:00
James Seibel f5fd27d513 Fix RenderDataMetaFile not updating if debug rendering wireframes were disabled 2023-09-20 21:23:57 -05:00
James Seibel 568a4b0a2e Improve FileUtil.renameCorruptedFile() messages 2023-09-19 22:05:19 -05:00
James Seibel 2c01b29dad Merge branch 'deadlock-fix' into 'main'
Fixed deadlock when drawLODs returns early because Iris is rendering shadow pass

See merge request jeseibel/distant-horizons-core!25
2023-09-19 23:12:31 +00:00
alex-huff 5ae2731008 Fixed deadlock when drawLODs returns early because Iris is rendering shadow pass 2023-09-19 17:44:39 -05:00
James Seibel b096183388 Attempt to use existing arrays in CompleteFullDataSource if possible 2023-09-18 22:26:58 -05:00
James Seibel ae4fe153ed remove todo from FullDataArrayAccessor 2023-09-18 22:24:30 -05:00
James Seibel f92fc89073 Add sample error handling to FullDataFileHandler 2023-09-18 22:18:24 -05:00
James Seibel 15e03e03e9 add FullDataPointIdMap.clear() and minor reformat 2023-09-18 22:17:51 -05:00
James Seibel 4cddc9efe4 remove future parameter from FullDataToRenderDataTransformer 2023-09-18 22:14:49 -05:00
James Seibel 4a4a3bf297 Fix LowDetailIncompleteFullDataSource divide by zero 2023-09-18 22:08:20 -05:00
James Seibel 704da8cfc1 Minor SingleColumnFullDataAccessor optimization 2023-09-18 22:04:54 -05:00
James Seibel cd9f8a5f9b Fix low detail sampling from complete render sources 2023-09-17 19:56:04 -05:00
James Seibel 3555a9aa01 Minor optimization and refactor of FullDataFileHandler.sampleFromFileArray() 2023-09-17 16:15:12 -05:00
James Seibel f41552b760 minor FullDataToRenderDataTransformer refactor 2023-09-17 16:11:17 -05:00
James Seibel 064853c6ff minor FullDataArrayAccessor.downsampleFrom() reformat 2023-09-17 16:10:06 -05:00
James Seibel bc0437f78a Fix FullDataMetaFile load not returning if an error occured 2023-09-17 16:08:16 -05:00
James Seibel b4fe07643e Add config options for debug wireframe rendering 2023-09-16 10:10:11 -05:00
James Seibel b1c07c6204 DebugRenderer refactor 2023-09-16 08:53:14 -05:00
James Seibel 8a0e3a710c Add GL Context creation debug configs
In an attempt to fix Steam Deck crashing due to being unable to create the GL Context
2023-09-16 08:03:39 -05:00
James Seibel 1ae1f1f36f Add a mutable DhSectionPos 2023-09-15 07:34:37 -05:00
James Seibel 2cee805645 Optimize some DhSectionPos via mutating the pos and removing duplicate DhLodPos allocations 2023-09-14 22:04:52 -05:00
James Seibel db58aa117a Minor QuadTree refactor 2023-09-14 20:19:02 -05:00
James Seibel 1c247e0da2 Rename DhSectionPos.getMinCornerLodPos() 2023-09-14 20:11:09 -05:00
James Seibel 4d863adac5 replace DhSectionPos getCenter() with getCenterBlockPos() 2023-09-14 20:07:25 -05:00
James Seibel 96a39bce69 reformat DhBlockPos2D 2023-09-14 19:56:48 -05:00
James Seibel 9a89731a59 Add DhSectionPos getBlockWidth() and getWidthCountForLowerDetailedSection() 2023-09-14 19:16:05 -05:00
James Seibel 269b763b73 Add DhSectionPos.getNumberOfLodSectionsWide() 2023-09-14 07:52:04 -05:00
James Seibel 00806933e0 Optimize DhSectionPos constructors and add convertSelfToDetailLevel() 2023-09-14 07:21:01 -05:00
James Seibel 84236e7a31 Add additional DhSectionPos unit tests 2023-09-13 21:52:56 -05:00
James Seibel 5ee1bea7c0 reformat DhSectionPos 2023-09-13 21:37:31 -05:00
James Seibel a5178cecea Rename RenderMetaDataFile -> RenderDataMetaFile 2023-09-13 18:29:56 -05:00
James Seibel cc933b6bd0 comment out DataSourceReferenceTracker GC logic 2023-09-13 07:45:01 -05:00
James Seibel 03f50b168d Add DataSourceReferenceTracker to automatically free unused data sources 2023-09-12 20:16:32 -05:00
James Seibel 13b7a20ff6 DhLightingEngine reformat 2023-09-11 20:35:33 -05:00
Builderb0y 62e8bea246 I forgot a line of code. 2023-09-12 01:05:27 +00:00
Builderb0y a51bb760d0 inline LightPos, effectively preventing tens of thousands of them from being allocated. 2023-09-11 17:04:17 +00:00
Builderb0y a28eddc1d5 remove iteration over chunkArray, calculate index directly instead. 2023-09-11 16:55:52 +00:00
James Seibel 61564d8914 Merge branch 'distant-horizons-core-iris.shadow.fix' 2023-09-11 07:36:24 -05:00