Commit Graph

283 Commits

Author SHA1 Message Date
tom lee f9871ef16d WorldGen: Now no longer gen all chunks in higher than chunk details 2022-01-04 18:57:25 +08:00
tom lee 054988851d CutExpend: Fixed Cut bugs and some general fix to LodFileHandler stuff. 2022-01-04 16:43:21 +08:00
coolGi2007 44bcc5ae01 Added lower qulity clouds 2022-01-04 07:50:02 +00:00
tom lee 3b475886ef Buffers: Fixed critical render bugs and vertex buffer leaks 2022-01-04 15:10:41 +08:00
tom lee d72805d1fe Buffers: Basically redid the buffer management
Note: Backface Culling currently disabled
2022-01-03 00:04:54 +08:00
coolGi2007 f80c43385a Removed category annotation 2022-01-02 06:13:41 +00:00
coolGi2007 219ad9c45a Turned off custom clouds till it is fixed 2022-01-02 03:07:05 +00:00
James Seibel 662a1ec8bc Add a partially completed rendering flow diagram 2022-01-01 15:46:10 +00:00
cola98765 e60a0526ca even tho it is not used yet, updated texture so patterns are closer in size to vanilla 2022-01-01 15:05:21 +01:00
cola98765 1266ed6dc1 fixed updateData 2022-01-01 13:31:21 +01:00
tom lee 816c4fa76a BufferFactory: Added static bool for enabling time logging 2022-01-01 16:48:19 +08:00
tom lee 975c24c8a9 AMD: Fixed AMD render issue due to vertex data alignments 2022-01-01 15:25:37 +08:00
tom lee 4db3b7b729 LodRenderer: Add support for underwater fog 2022-01-01 13:50:59 +08:00
tom lee 32e341fe4f Reordered and chopped up some config desc 2022-01-01 12:12:08 +08:00
tom lee 0ce249ab17 Fixed up cloud configs and removed @nullable for 1.16.5 build 2021-12-31 21:44:46 +08:00
tom lee f9372c6a07 Save/Load: Fixed locking up files due to try-catch-resoure issue 2021-12-31 20:59:14 +08:00
coolGi2007 6ea7ecd215 Moved some resources to core 2021-12-31 10:40:40 +00:00
tom lee 6a828ee931 Load: Fixed load error on missing middle level data 2021-12-31 17:25:08 +08:00
tom lee e8d25daabf BufferUpload: Fixed bug on 0 size data not updating vert count 2021-12-31 17:01:40 +08:00
tom lee 7c8b073b02 Save: Fixed critical bug causing 0KB files on new world 2021-12-31 16:09:29 +08:00
coolGi2007 b623fc530f Abstracting clouds 2021-12-31 07:20:59 +00:00
tom lee 5fdf09209c Fixed Config names 2021-12-30 22:03:53 +08:00
cola98765 515afe4d45 moved where last pos is saved 2021-12-30 14:58:05 +01:00
cola98765 7f5eea865e made config for minimum back side culling distance. actual value is using prev player pos so on long flights it works better. 2021-12-30 13:19:46 +01:00
cola98765 13d6232790 made connected lods dependant on Vertical Quality config. 2021-12-30 12:04:40 +01:00
tom lee 607f3e8afe VertQuality: Fixed some stuff. Now High Qual loading works
Live config change still... a work in progress though
2021-12-30 16:07:49 +08:00
tom lee 8b3404e5f8 Cleanup for the saving in interface 2021-12-29 21:32:04 +08:00
tom lee df6253af39 LodUpdate: Make both cut and expand use spiral iteration 2021-12-29 20:36:40 +08:00
tom lee b1f3b23ba1 Load: Make it load via a spiral 2021-12-29 20:18:52 +08:00
tom lee c4708ed173 Save/Load: Slightly improved speed on loading 2021-12-29 19:40:34 +08:00
tom lee fcab0d3b20 Save/Load: Optimize Memory usage on save/load
It now directly read/write to file stream instead of via a temp byte[]
buffer.
2021-12-29 18:17:44 +08:00
tom lee 1034360b88 Renderer: Stored and reapplied more gl states to increase mod compat
Now at least iris shaders won't throw OpenGL errors. (Even though it
still aren't working correctly)
2021-12-29 13:44:37 +08:00
tom lee f92f656876 Changed some System.out to ClientApi.debug 2021-12-28 15:26:01 +08:00
coolGi2007 e052a0c96f Moved annotations to core 2021-12-28 05:31:56 +00:00
tom lee 8bb8217c7b GLProxy: Changed GL logger to new unique log file
Log file is: OpenGL-Lod-ProxyContext
and: OpenGL-LodWorkerContext
2021-12-28 00:09:10 +08:00
tom lee 0563cde3c2 GLProxy: Add temp debug enable via setting debugMode to SHOW_DETAIL` 2021-12-27 23:42:47 +08:00
tom lee 5fe192f4c5 BufferUpload: Changed/Improve Buffer Upload, and a new timeout
Now timeout length is based on how much data is uploaded.

Also, added LagSpikeCatcher in LodBufferBuilderFactory to debug catch
lag spike locations.
2021-12-27 16:07:55 +08:00
cola98765 428e12081c fixed void chunks... made it a bit more resilient 2021-12-26 17:22:56 +01:00
cola98765 ac102402cc disabled connected lods in hasCeiling dimensions 2021-12-26 16:19:06 +01:00
cola98765 966677b89e Add back face culling #109 2021-12-26 10:40:11 +01:00
cola98765 64e73b7d83 fixed light requiring Y offset 2021-12-25 13:19:01 +01:00
cola98765 52ea2e96b7 detect snow etc on connected lods; better comments to enable transparency 2021-12-25 12:25:48 +01:00
cola98765 c658697ecd fixed rogue faces when using connected lods 2021-12-25 11:32:35 +01:00
cola98765 a5b259f098 remove debug if 2021-12-25 10:45:01 +01:00
cola98765 e9da9c26f4 remove connected vertical faces 2021-12-25 10:44:12 +01:00
cola98765 2f6ff1a3ea fix avoided blocks with new method 2021-12-24 11:48:00 +01:00
cola98765 766e5a358d made connected lods configurable (TODO actually add it to config) 2021-12-24 09:29:48 +01:00
cola98765 a19189c2a8 commented the thing to enable colors 2021-12-23 23:43:55 +01:00
cola98765 0627f779d7 connected lods! 2021-12-23 19:19:32 +01:00
James Seibel 01bfb65d9e Add TestDiagram.drawio 2021-12-22 02:14:54 +00:00