Commit Graph

1854 Commits

Author SHA1 Message Date
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
James Seibel 378ea5599b Merge branch 'distant-horizons-core-abstract.shader.refactor' 2023-09-11 07:29:43 -05:00
James Seibel 5ec874d4a0 Improve LOD Building and Lighting speed for BigGlobe worlds
Thanks Builderb0y!
2023-09-11 07:25:58 -05:00
James Seibel d3865551a5 Minor Lighting Engine GC optimizations 2023-09-10 17:09:33 -05:00
NULL511 8f42acbd65 simplify matrix usage; uniform cleanup 2023-09-10 04:15:35 -04:00
NULL511 25f4ef3224 default viewport 2023-09-10 03:38:47 -04:00
NULL511 a37b0abd18 use init render events 2023-09-10 03:14:03 -04:00
NULL511 22281d477c fix shader init; remove GL11 2023-09-10 01:37:55 -04:00
NULL511 0b2284e258 refactor abstract shader base class and ssao renderer 2023-09-10 00:47:04 -04:00
James Seibel 7d84e05b1f Move framebuffer unbinding to GLState 2023-09-09 18:26:00 -05:00
James Seibel 2d1729d325 Revert "Use MC's projection matrix in SSAO instead of creating a new one"
This reverts commit 5735599569.
2023-09-09 18:22:33 -05:00
James Seibel e415d1cb72 Fix shadow static rendering 2023-09-09 17:03:33 -05:00
James Seibel 5735599569 Use MC's projection matrix in SSAO instead of creating a new one 2023-09-09 16:45:20 -05:00
NULL511 d73c0b9531 cleanup 2023-09-09 16:33:27 -04:00
NULL511 faf51a57e7 fix ssao frame buffer binding 2023-09-09 16:33:27 -04:00
NULL511 d6d94804a0 cleanup 2023-09-09 16:33:27 -04:00
NULL511 a21edfeed6 remove unused frame buffer 2023-09-09 16:33:27 -04:00
NULL511 36092008ef fix fog texture bind + shaders 2023-09-09 16:33:27 -04:00
James Seibel ae8c95250c Reduce duplicate Client Chunk update calls 2023-09-09 13:36:59 -05:00
James Seibel e484926f62 Temporarily disable clientApi neighbor chunk updating 2023-09-09 12:47:23 -05:00
James Seibel 8ae78dbf60 Fix inconsistent QuadTree detail level variable names 2023-09-09 10:45:17 -05:00