Commit Graph

48 Commits

Author SHA1 Message Date
Lukas Rieger (Blue)
2899646adc
Swap chunk-scan direction for future stuff :) 2024-02-25 18:12:27 +01:00
Lukas Rieger (Blue)
2c341fc894
Apply spotless fixes 2024-02-23 21:51:29 +01:00
Lukas Rieger (Blue)
40119127ee
Pack normals into one byte instead of 4 to save space :) 2024-02-23 18:02:29 +01:00
Lukas Rieger (Blue)
6e68a8f0e0
[breaking] Switch hires tile format to prbm (modified prwm) 2024-02-23 17:32:07 +01:00
Lukas Rieger (Blue)
ff1e38a7e1
Fix Map-Updates not working correctly 2024-02-22 12:58:57 +01:00
Lukas Rieger (Blue)
cc50e05262
Use floats for model-positions instead of doubles 2024-02-09 15:30:23 +01:00
Lukas Rieger (Blue)
73a77e5e0e
Do light/cave testing before face-culling to improve performance 2024-02-08 15:26:45 +01:00
Lukas Rieger
16981f2797
Refactor World-Management and Region/Chunk-Loading (#496)
* Implement PackedIntArrayAccess

* First working render with BlueNBT

* Progress converting chunkloaders

* Core rewrite done

* WIP - Restructuring configs and world-map mapping

* WIP - Compiling and starting without exceptions :)

* Fix cave detection

* Ensure configuration backwards compatibility (resolve dimension from configured world if missing)

* Implement support for 1.16+ chunks

* Implement support for 1.15+ chunks

* Implement support for 1.13+ chunks and some fixes

* Also find worlds based on their id again in BlueMapAPI

* Improve autogenerated config names

* Implement equals for all ServerWorld implementations

* Get rid of var usage
2024-02-07 20:43:37 +01:00
TechnicJelle
48445db7b5
Add map config for having a different void colour (#477)
* Added global webapp option for not having a void

* Fix for non-default lighting conditions

* Replace `isVoid` with whole `voidColor` feature!

* Default void colour should be black

* And now the default sky colour can also be set back to what it was

* Fix the low-res void colour

* Add config option for the new void colour setting!

(I hope I haven't forgotten any place to add it, but it does work, so I don't think so..?)
2023-09-30 23:42:37 +02:00
Lukas Rieger (Blue)
ec5ca244fd
Fix precision issue which can cause visual artifacts in lowres 2023-03-07 16:42:07 +01:00
Lukas Rieger (Blue)
22ed75c513
Fix bug with variant-rotation not beeing applied correctly for lowres coloring 2023-03-04 18:43:28 +01:00
Lukas Rieger (Blue)
6d53bce0dd
Add stuff 2022-12-13 16:54:31 +01:00
Lukas Rieger (Blue)
f4e2767410
Make ice/glass blocks culling themselves if blocks are identical 2022-11-08 23:45:22 +01:00
Lukas Rieger (Blue)
6213137894
Also apply variant-rotation to the color-calculation. Fixes: #354 2022-11-01 14:19:04 +01:00
Lukas Rieger (Blue)
ff100e2656
Add option to use ocean-floor-heightmap to improve cave-detection 2022-10-23 00:52:39 +02:00
Lukas Rieger (Blue)
9efeaedf18
Move the sorting out of the save() method 2022-10-21 18:46:31 +02:00
Lukas Rieger (Blue)
685a7bf85e
Remove unneded commented-out code 2022-10-19 23:04:07 +02:00
Lukas Rieger (Blue)
a5c6f5a31f
Fix sorting not working properly 2022-10-19 23:02:27 +02:00
Lukas Rieger (Blue)
cc1e2197f0
Remove uneccessary line 2022-10-19 19:18:11 +02:00
Lukas Rieger (Blue)
d1ab1c6ca0
Switch face-sorting to merge-sort 2022-10-19 19:16:34 +02:00
Lukas Rieger (Blue)
63a003b13e
Switch to arrays to improve object-allocation 2022-10-19 17:20:36 +02:00
Lukas Rieger (Blue)
c6019c722d
Little improvements here and there 2022-10-19 16:25:25 +02:00
Lukas Rieger (Blue)
8c675bc4f7
Fix lowres block color calculation with multipart-blocks 2022-09-18 21:28:08 +02:00
Lukas Rieger (Blue)
c3a26abc3b
Add option to disable saving the hires-layer 2022-08-15 00:19:24 +02:00
Lukas Rieger (Blue)
42e53f0135
Fixes for lowres lighting and map-purging/saving, tweak default settings 2022-08-14 20:36:50 +02:00
Lukas Rieger (Blue)
562deb17a3
Finalize new lowres tiles implementation 2022-08-12 18:11:11 +02:00
Lukas Rieger (Blue)
7d14ca4a29
Merge branch 'master' into feature/lowres 2022-08-08 21:29:50 +02:00
Lukas Rieger (Blue)
057d25bd15
Fix color issue and fix cli-webserver not working 2022-08-08 21:29:16 +02:00
Lukas Rieger (Blue)
81574c5176
Rewrite lowres tiles with mutiple LODs 2022-08-07 20:32:55 +02:00
Lukas Rieger (Blue)
cef202ebba
Switch to tiles with added wrapper-object for future additional data 2022-07-31 18:06:57 +02:00
Lukas Rieger (Blue)
7389cb1a16
Completely rework ResourcePack and resource-loading 2022-05-28 21:55:41 +02:00
Lukas Rieger (Blue)
e555d558b7
Refactored config management 2022-04-20 22:54:27 +02:00
Blue (Lukas Rieger)
49e956ed66
Refactor Map-Storage to be more modular in preparation for SQL-storage 2021-11-06 16:14:14 +01:00
Blue (Lukas Rieger)
31910382b0
Apply spotless fixes 2021-09-19 22:15:50 +02:00
Blue (Lukas Rieger)
877100aeb0
More performance tweaking 2021-09-19 19:37:42 +02:00
Blue (Lukas Rieger)
34d89ae0fe
Fix lowres lighting and color calculation issues 2021-09-17 17:13:34 +02:00
Blue (Lukas Rieger)
4447c318bd
Improve cave-render detection and update default configs 2021-09-13 22:14:21 +02:00
Blue (Lukas Rieger)
eadf854c50
Fix several lighting issues on high and lowres renders 2021-09-13 19:44:31 +02:00
Blue (Lukas Rieger)
e178f935aa
Rewrite of the render-engine and big performance improvements
- changed most immutable vectors with mutable ones
- dropped 1.12.2 support
- improved caching and block/chunk access
- much more smaller tweaks
2021-07-25 13:08:40 +02:00
Blue (Lukas Rieger)
d88a25ad47
Model-Rewrite: Complete, further performance improvements in progress 2021-07-17 16:06:50 +02:00
Blue (Lukas Rieger)
4c23bd5add
Model-Rewrite: Add new mutable model class and deprectate old model classes 2021-06-26 23:20:33 +02:00
Blue (Lukas Rieger)
bb588c322f
Small final/static improvement 2021-06-25 11:05:24 +02:00
Blue (Lukas Rieger)
0818f945c8
Remove unused function in HiresModelManager 2021-06-24 10:36:50 +02:00
Blue (Lukas Rieger)
67a0e2a0bf
Improve Version-Management and add support for variable world-heights to be able to support custom 1.17 worlds 2021-06-04 11:25:05 +02:00
Blue (Lukas Rieger)
c1f3122c68
Make version handling more flexible 2021-05-23 10:12:34 +02:00
Blue (Lukas Rieger)
c0edb3d294
Update gradle, update configurate-library and improve gradle build 2021-05-16 18:13:30 +02:00
Blue (Lukas Rieger)
16237d292a
Implement file-watchers and remove events that are not needed anymore 2021-05-02 14:51:42 +02:00
Blue (Lukas Rieger)
27295cb988
Intermediate commit: Lots of redesigning with the RenderManager and Render-Tasks 2021-04-24 22:11:26 +02:00