James Seibel
5099f85da6
Merge branch '1.16.5' of gitlab.com:jeseibel/minecraft-lod-mod into
...
1.16.5
# Conflicts:
# src/main/java/com/seibel/lod/render/LodRenderer.java
2021-09-17 23:11:28 -05:00
James Seibel
6e150fe378
Update to ForgeGradlew from 3.+ to 5.1.+
2021-09-17 22:58:09 -05:00
James Seibel
fd67d1ac66
Change setupProjectionMatrix to be mc version agnostic
...
Now the LOD projection matrix's zoom, transformation, distortion, etc. are all gotten dynamically from Minecraft's projection matrix.
Hopefully this should prevent camera mods from breaking the mod.
2021-09-17 22:57:20 -05:00
Leonardo
62223480e2
Fixed nether roof
2021-09-17 16:58:59 +02:00
Leonardo
50ab424497
added regen for the lightmap
2021-09-17 15:57:01 +02:00
Leonardo
900467cef2
System uses lightmap now
2021-09-17 13:02:05 +02:00
cola98765
fa1d950ff9
grass is actually using texture now
2021-09-17 12:55:14 +02:00
Leonardo
83571951be
Added the ability to get the top texture
2021-09-17 12:29:57 +02:00
Leonardo
c31b1f4039
added the ability to avoid not full block or small block
2021-09-17 11:14:23 +02:00
James Seibel
8fcd428194
improve error handling and error messages related to contexts
2021-09-16 20:32:32 -05:00
James Seibel
87c275f768
Add improved error reporting and commenting
2021-09-16 20:32:03 -05:00
James Seibel
8df6e972cb
Fix a out of memory error when changing worlds
2021-09-16 20:28:07 -05:00
James Seibel
d7d88d61ee
Merge branch '1.16.5' of gitlab.com:jeseibel/minecraft-lod-mod into
...
1.16.5
# Conflicts:
# src/main/java/com/seibel/lod/wrappers/MinecraftWrapper.java
2021-09-16 19:05:05 -05:00
James Seibel
9b1c0a1125
Add the ability to access the lightmap from the MinecraftWrapper
2021-09-16 19:03:43 -05:00
cola98765
b008b70255
colors are better than it were... again
2021-09-17 00:05:29 +02:00
cola98765
b6c350f667
colors are better than it were
2021-09-16 22:21:04 +02:00
Leonardo
e23bbfcd91
small changes
2021-09-16 18:53:26 +02:00
cola98765
6bc14fbb2d
brightness fix with real block colors TODO foliage
2021-09-16 18:12:22 +02:00
Leonardo
d911017112
new color for grass, leaf and water
2021-09-16 17:11:08 +02:00
Leonardo
fc4546538f
Reintroduced manual color for nether blocks
2021-09-16 16:17:38 +02:00
Leonardo
a90b3e9d37
Merge remote-tracking branch 'origin/1.16.5_new_file_handling' into 1.16.5
2021-09-16 16:15:29 +02:00
Leonardo
b2aca27615
Added texture mean in lod builder
2021-09-16 15:44:28 +02:00
cola98765
6bf9e187e0
this breaks old file version system by simply ignoring the old files.
2021-09-16 11:41:53 +02:00
James Seibel
b5f32705e8
remove commented out code
2021-09-15 23:12:10 -05:00
James Seibel
8bc72af63f
Improve rendering performance and improve buffer building stability
...
Specifically improve the rendering speed so we can get over 100 fps again.
2021-09-15 22:01:52 -05:00
Leonardo
0e4cf8e882
added a TODO in data util
2021-09-15 17:02:44 +02:00
Leonardo
5ede5fa202
Added fake lighting system. Improved some point
2021-09-15 16:17:26 +02:00
Leonardo
cdeba2616c
Re-Introduced HEIGHMAP mode correctly.
...
Added single get and add to the LevelContainer to avoid using temp arrays
2021-09-15 13:23:41 +02:00
Leonardo
6dc94b0cc2
Introduced lodQualityMode in config to change from 3d to 2d
2021-09-15 10:42:09 +02:00
James Seibel
7f9c7d8722
Merge branch '1.16.5' of gitlab.com:jeseibel/minecraft-lod-mod into
...
1.16.5
# Conflicts:
# src/main/java/com/seibel/lod/builders/LodBufferBuilder.java
2021-09-14 23:46:01 -05:00
James Seibel
aebbeb6ade
Simplify the multi-context uploading, improve stability, and refactor
2021-09-14 22:49:08 -05:00
James Seibel
a945eb4579
Fully add multi-context uploading
2021-09-14 21:27:36 -05:00
Leonardo
f9cf27a2c7
Changed the dataPoint, started the introduction of the lightmap use
2021-09-14 23:21:48 +02:00
Leonardo
e03e09a243
Fixed various bugs and introduced more maps in the ThreadMapUtil
2021-09-14 19:02:37 +02:00
Leonardo
fe02813d17
Disabled a section in the getNearbyLodChunkPosToSkip
2021-09-14 13:45:08 +02:00
Leonardo
145479267d
Fixed Nether color
2021-09-14 13:15:36 +02:00
Leonardo
77ccd9eec3
changed how the valid block is determined, and added a mask and a shift for future use
2021-09-14 12:58:09 +02:00
Leonardo
9b216fedad
Vertical lod now works (optimization required)
2021-09-14 01:05:41 +02:00
Leonardo
e9798ace13
kinda working version
2021-09-13 23:23:55 +02:00
Leonardo
75e78d9000
First vertical data working
2021-09-13 17:34:37 +02:00
Leonardo
34776074fd
added the vertical merge
2021-09-13 13:16:52 +02:00
James Seibel
8822e2d8a1
partially add different context rendering
2021-09-12 23:14:43 -05:00
Leonardo
32de70b4f0
Removed the normals
2021-09-13 01:48:11 +02:00
Leonardo
76a7baeb32
Saving works again
2021-09-13 01:47:04 +02:00
Leonardo
95d9c17e49
Added new colors for the torches
2021-09-13 01:19:39 +02:00
Leonardo
a6544d3bb6
Introduced light and added normal in the template for future shading improvement
2021-09-13 00:37:23 +02:00
Leonardo
c3115caa8f
Re-organized the LodBuilder code
2021-09-12 16:29:41 +02:00
Leonardo
4e1e5b24ee
Changed the lodBuilder to use a single function
2021-09-11 20:05:11 +02:00
Leonardo
7b73445f4d
Changed the lodBuilder to use a single function
2021-09-11 19:59:30 +02:00
Leonardo
5f1f5f0948
Fixed some smalls bugs
2021-09-11 16:29:20 +02:00