Commit Graph

613 Commits

Author SHA1 Message Date
James Seibel 80f9bcb148 Fix debug Renderer Mode localization 2023-07-14 07:03:06 -05:00
James Seibel 973e106882 Merge branch 'distant-horizons-core-main' 2023-07-11 18:50:47 -05:00
James Seibel ed9cccccea refactoring 2023-07-11 08:49:08 -05:00
James Seibel 5fb79325ce Fix option and changelog button missing backgrounds 2023-07-10 20:43:15 -05:00
James Seibel 96edfcb065 Add a shadowed library check 2023-07-08 11:54:57 -05:00
James Seibel 581ac02472 remove unused imports 2023-07-08 11:32:44 -05:00
s809 730216b761 Fix log string 2023-07-08 16:22:54 +05:00
s809 7d5b3c8917 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-07-08 12:26:12 +05:00
s809 83ab7e46b3 Base is pretty much finished 2023-07-08 12:25:20 +05:00
James Seibel 5a014f163d Add experimental Seamless Overdraw option 2023-07-06 22:16:59 -05:00
s809 62ff9606c1 Outline what interaction should somewhat look like
(not an actual interaction)
Fix client repeatedly registering handlers on reconnects
2023-07-06 21:57:02 +05:00
James Seibel f07973a1ce Refactor, remove unused class, add API docs 2023-07-04 15:41:08 -05:00
James Seibel 2fc74914b4 Merge branch 'distant-horizons-core-serverSupport' 2023-07-04 13:39:49 -05:00
James Seibel 2b0ee29a8c refactor and rename 2023-07-04 10:29:32 -05:00
Cailin Smith 55f39996cb Rename class 2023-07-02 22:34:47 +02:00
Cailin Smith 649cd5bbe8 Add ability for servers to communicate with the client to set the world.
This prevents the client from accidentally selected the wrong world
folder to load LODs from, since levels of the same dimension can't
naturally be distinguished from each other. With level similarity
detection, this can sometimes work, but in general is not reliable. This
mechanism instead allows servers to send a packet to the client on load,
enabling the override system, and then a second packet on world change,
which specifically sets the world key, based on knowledge that only the
server has, leading to a reliable way of detecting the correct world.
2023-07-02 21:41:14 +02:00
s809 748b484377 The real server side
(not tested)
2023-06-30 22:05:02 +05:00
James Seibel ea40006023 Add SSAO to the quick quality presets 2023-06-30 07:47:29 -05:00
James Seibel 52edbd7c18 Update javadocs for API enums
and move one core enum out of the API
2023-06-30 07:46:00 -05:00
s809 2fc76e2842 Minimal ping-pong but less rigid impl
DhClientWorld#close is never fired smh
2023-06-29 20:58:43 +05:00
s809 e660c466f8 Remove unused param 2023-06-29 20:43:37 +05:00
s809 1f9aa2f70b Minimal working client-server
No cleanup logic yet
2023-06-29 20:41:08 +05:00
s809 8378b1f09a Add encoder 2023-06-29 20:38:50 +05:00
s809 8bae038612 Move everything to core 2023-06-29 20:38:38 +05:00
TomTheFurry 114d3210fb Prob fix the gl error? (might add mem leak tho.) & fix 1.18.2 build 2023-06-29 16:27:42 +08:00
Cailin Smith 98634e2a0b Fix small bugs + make level map concurrent to prevent exceptions 2023-06-28 18:16:33 -05:00
TomTheFurry 007749c9ef Optimization on load time, fix gl bug, and improve transparency 2023-06-26 23:20:02 +08:00
James Seibel 048b745be0 re-add horizontal micro-offset in vertex shader
It caused gaps on the edge of some LODs
2023-06-25 22:00:47 -05:00
James Seibel 35f239693d re-add quad.hasError red color
accidentally removed it
2023-06-25 19:01:10 -05:00
James Seibel 9789b5be12 Fix some black sky lighting, refactor ColumnBox and RenderDataPoint 2023-06-25 18:44:54 -05:00
James Seibel 89f0d719c8 refactor ColumnBox.makeAdjQuads -> makeAdjVerticalQuad 2023-06-25 18:44:46 -05:00
Cailin Smith 368541b09c Fix small bugs + make level map concurrent to prevent exceptions 2023-06-25 22:22:23 +02:00
coolGi d04b4c0d55 Moved SSAO to the new AbstractShader thing 2023-06-24 23:17:58 +09:30
James Seibel 1dad6fd83f Overhaul Dh API event definition system
Whether an event is a one time event or a cancelable event is now defined via their interface.
Also replace DhApiLevelSaveEvent with DhApiChunkModifiedEvent
2023-06-23 23:07:41 -05:00
TomTheFurry be38d82b26 Greatly improve Gen queue stability & improve loading times and performance 2023-06-24 00:24:11 +08:00
James Seibel b0f9122599 DhApiTerrainDataRepo reformat 2023-06-22 19:49:43 -05:00
James Seibel feb03efafa Add AbstractDhApiChunkWorldGenerator 2023-06-22 07:56:43 -05:00
James Seibel 6066b98a9b Remove micro vertical vertex offset
remove to attempt fixing a SSAO bug where some blocks have black borders.
Also the vertical offset shouldn't be necessary since all vertical LODs should be the same size.
2023-06-21 07:30:31 -05:00
James Seibel cf60322be6 Add a comment from leetom explaining granularity 2023-06-21 07:14:36 -05:00
James Seibel 5dcb73b30a Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-06-21 07:03:41 -05:00
James Seibel a3c991d769 Remove unimplemented IDhApiWorldGen.getThreadingMode() 2023-06-21 07:03:28 -05:00
coolGi 31a563ee90 Copied noise to its own shader, and maybe fixed fog fragment 2023-06-21 19:40:24 +09:30
coolGi 5bc9ce7c8a Moved SSAORenderer to shaders folder 2023-06-21 19:27:06 +09:30
TomTheFurry d5c1b7669d Fixed up last of the bugs 2023-06-20 19:04:23 +08:00
TomTheFurry 2f249c39d4 fixed and optimize a lot of stuff. 2023-06-20 15:47:52 +08:00
James Seibel 173e216fa3 Add (untested) DhApiTerrainDataRepo.overwriteChunkDataAsync() 2023-06-19 22:04:10 -05:00
James Seibel e760c6a4e3 Add an API event for modified render and full data files 2023-06-19 21:41:42 -05:00
James Seibel 419323bedb Fix config default thread counts being 0 2023-06-19 20:40:54 -05:00
coolGi 71f8bccb7d Forgot to turn down default noise intensity 2023-06-20 00:03:53 +09:30
coolGi 40225cb13f Started work on putting fog in its own shader 2023-06-20 00:01:54 +09:30