Commit Graph

1770 Commits

Author SHA1 Message Date
James Seibel 2e49bf299e Merge DataRenderTransformer and FullDataToRenderDataTransformer 2023-09-02 20:41:58 -05:00
James Seibel 2c71a2a63a Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-09-02 20:18:05 -05:00
James Seibel 3d62ca361d Refactor RenderSourceFileHandler and DataRenderTransformer 2023-09-02 20:17:56 -05:00
James Seibel dc1ce86cc3 Remove commented out code in FullDataToRenderDataTransformer 2023-09-02 20:17:08 -05:00
James Seibel a60f91ad00 refactor FileScanUtil 2023-09-02 11:53:12 -05:00
James Seibel 6976cb9bb0 Remove useless file lock from AbstractMetaDataContainerFile 2023-09-02 07:32:54 -05:00
coolGi d71ab1138b Fixed deep dark not blackening lods 2023-09-02 20:59:31 +09:30
coolGi a3a41c44a9 Fixed crash ran on version not on Modrinth 2023-09-02 20:10:56 +09:30
James Seibel 1af6e83086 Add missing licensing headers 2023-09-01 20:43:26 -05:00
James Seibel 7a0a217822 Update existing licensing headers 2023-09-01 07:44:15 -05:00
James Seibel 983703479f Remove unused IDE files and move Gitlab docker setup instructions 2023-09-01 07:41:44 -05:00
James Seibel aee6407941 Add file write locking to AbstractMetaDataContainerFile
Done to try preventing a rare bug where multiple threads would write the same file
2023-08-31 22:01:43 -05:00
James Seibel 9ba1b18fac Remove debug disable lighting engine configs 2023-08-31 21:43:17 -05:00
James Seibel c28ec12983 Improve a couple data update comments 2023-08-31 21:42:57 -05:00
James Seibel b894cc8836 Move Fog matrix inversion to the CPU 2023-08-31 21:15:49 -05:00
James Seibel 08f78c22f0 Move SSAO gInvProj to the CPU instead of GPU
Also make Mat4f.invert() return void instead of boolean to prevent confusion about trying to pass the result into shader uniforms.
2023-08-31 21:06:41 -05:00
James Seibel 751eb75c50 Fix GLProxy null pointer 2023-08-31 19:08:31 -05:00
James Seibel 7ac562c5e9 Fix DhBlockPos mutable methods 2023-08-31 19:01:57 -05:00
James Seibel 3148991667 Make light propagation mutate instead of create BlockPos to reduce GC pressure 2023-08-31 07:55:43 -05:00
James Seibel d4a75eb73c Rename StableLightPosArray -> StableLightPosStack and add cache reusing 2023-08-31 07:21:15 -05:00
James Seibel 9f46dd13a6 Create StableLightPosArrayList for DhLightingEngine 2023-08-30 18:32:40 -05:00
James Seibel f6df6e83a5 make DhBlockPos mutable 2023-08-30 18:31:58 -05:00
James Seibel 58378ffcba Fix disappearing LOD sections
Its still a bit of a duck tape solution, but should be good enough for now
2023-08-30 07:43:59 -05:00
James Seibel d3a7bb7b9d Add debug methods to ColRender Buffer/Source 2023-08-30 07:43:19 -05:00
James Seibel 5c03d7446b Add a temp debug option that disables the lighting engine and light baking 2023-08-30 07:07:25 -05:00
James Seibel fa93a22ab2 temp 2023-08-28 21:14:19 -05:00
James Seibel 93cfea4c84 Convert WorldGenQueue to use SectionPos instead of LodPos 2023-08-27 07:53:37 -05:00
James Seibel ee93122254 fix render source null pointer 2023-08-26 21:52:58 -05:00
James Seibel 44691f38f1 fix quality preset cache reset firing too often 2023-08-26 17:57:36 -05:00
James Seibel 4439983ace Fix some api:javadoc warnings and suppress future ones
I don't like suppressing warnings, but in this case they want the javadocs to be a bit more verbose then necessary.
2023-08-26 17:32:39 -05:00
James Seibel 0978f4a4d8 Fix API javadoc compiling 2023-08-26 15:29:44 -05:00
James Seibel 2cd2941cbe Add IDhApiConfigValue.addChangeListener() 2023-08-26 13:11:16 -05:00
James Seibel 2cb1e32817 Minor DhApi rename and comment cleanup 2023-08-26 12:04:00 -05:00
James Seibel c6ee61777c Add a ReadMe to DhApi
Hey You. You're finally awake...
2023-08-26 11:19:49 -05:00
coolGi 781bcd318c Merge remote-tracking branch 'origin/main' 2023-08-27 01:38:15 +09:30
coolGi b3591066bd Fixed compiling 2023-08-27 01:36:42 +09:30
James Seibel 7a3f63040d Remove unused IDhApiConfigValue.getApiValue() 2023-08-26 10:56:31 -05:00
James Seibel f8857d2a1d Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-08-26 10:43:26 -05:00
James Seibel cfa00010d9 Cache SSAO uniforms 2023-08-26 10:43:10 -05:00
coolGi 0979d75a5d Disabled SVG from being included in the jar 2023-08-27 01:02:05 +09:30
coolGi 53e8519aab Removed flatlaf 2023-08-27 00:59:36 +09:30
James Seibel 8871b893c1 Reduce SSAO artifacting 2023-08-26 10:15:17 -05:00
James Seibel 2216eed449 Remove unused SSAOShader (use SSAORenderer instead) 2023-08-26 08:57:40 -05:00
James Seibel 9e43076853 Add OpenGL error log config 2023-08-26 08:51:20 -05:00
coolGi 7470552576 Fixed up how file handling works in the config 2023-08-26 17:29:27 +09:30
coolGi a0bc44ca06 Proper fix for checking if the config is loaded 2023-08-26 15:21:04 +09:30
James Seibel 2e647b5781 Remove deprecated getX() and getZ() from DhChunkPos 2023-08-25 21:17:42 -05:00
James Seibel cdc6635a76 Refactor 2023-08-25 21:05:47 -05:00
James Seibel 89724e4a74 Merge branch 'distant-horizons-core-refactor/world-gen-module' 2023-08-25 20:09:53 -05:00
James Seibel d5922900b5 Attempt to fix LodRenderer freeing GL objects while they are in use 2023-08-25 07:52:16 -05:00