Commit Graph

49 Commits

Author SHA1 Message Date
e16524ff9d Chunks should start at lod level 0. 2020-03-30 01:38:14 +02:00
205abe67a7 Fully implemented lod. Lod level 1 just drops the uv2 channel, lod level 2 merges together the meshes, lod level 3 drops the uv channel by sampling the textures into vertex color. Updated HEADS to grab a voxelman change. Also temporarily disabled threaded chunk builds because I introduced (or made manifest) a crash. 2020-03-30 01:22:25 +02:00
066c43b48a Started implementing lod for the world. The current idea is for Lod level 1 to not use uv2. For lod level 2+ the meshes will be combined and the texture mapping will be converted to only vertex colors, and these will be simplified. Also update the modules to get all the new features needed. 2020-03-29 21:30:40 +02:00
0c99bd0d35 Update HEADS, and remove the code that got ported to Voxelman. 2020-03-15 19:36:35 +01:00
16d4c9ae2e Update to the latest Voxelman, to get the VoxelChunk->VoxelChunk,VoxelChunkDefault refactor. 2020-03-12 23:26:19 +01:00
ae0d64a069 Few small fixes/cleanups. Also updated heads to get an uninitialized variable fix from ESS. This fixed player spawning issues. 2020-03-12 13:50:14 +01:00
c00ae9b9bb Implemented mana. Also updated HEADS, as ESS had lots of changes for EntityResources so this can work. 2020-03-11 16:38:01 +01:00
704aa85e93 This is part of the debug code aswell. 2020-03-10 12:16:41 +01:00
2717880233 text code for the mesh simplifier. It is commented out. 2020-03-10 10:59:16 +01:00
ce8290329b Update Voxelman to the latest to grab the improvements. 2020-03-06 21:32:52 +01:00
2bb497f1d9 Grab the latest Voxelman for the VoxelMesher improvements. 2020-03-04 23:38:45 +01:00
afac386180 Only disable build step limit when not in editor. ALso update Voxelman to the latest to grab a fix. 2020-03-04 21:02:02 +01:00
fc46791887 Smaller improvements for the initial world generation. 2020-03-04 19:47:31 +01:00
f2ac08f7bc Now mobs actually won't move/fall when outside of the loaded and meshed area. Fix to mob spawning coordinates in simple biome. Also update Voxelman to grab the is_position_walkable fix. 2020-03-04 18:42:49 +01:00
69666f37c6 Fix editor freeze on loading saved chunks. 2020-02-26 12:19:55 +01:00
84668b4153 Grab the latest Voxelman, and small amounts of test code. 2020-02-26 01:16:19 +01:00
3e68b820b5 Commented out the terrarin mesh build phase for now, the c++ version is ok if I'm not experimenting. 2020-02-26 01:14:42 +01:00
2321f2630e Removed the fast quadratic mesh simplifier module, because as it turns out, it won't work with the kind of meshes this project has. 2020-02-21 17:57:00 +01:00
c34a194c82 Few debug lines for the mesh simplifier. 2020-02-21 14:10:49 +01:00
59003f89f2 Added a few lines to test the mesh simplifier (they are commented out). Also update everything to the latest. 2020-02-20 14:28:00 +01:00
a796c54454 Temporarily ported BUILD_PHASE_TERRARIN_MESH to gdscript, so I can test/develop the mesh simplifier easier. 2020-02-20 14:01:39 +01:00
cf0242ead6 Update to the latest Voxelman to get the api updates. 2020-02-20 13:48:52 +01:00
e826266b7a -CharacterSkeleton now uses _enter_tree() instead of _init() to set itself up, also it will duplicate the character material here, instead of durgin generation. This fixed a threading related crash.
-TVVoxelChunk will now just use the library's prop material instead of creating one.
Also update HEADS for a threading fix in Voxelman, and the deferred spawning requests.
2020-02-16 16:23:45 +01:00
1213360c58 Went back to using the voxel textures I created, but set them to be 256x256. 2020-02-15 15:42:40 +01:00
7c429e21a4 Fixed the remaining errors during generation, and disabled the cubic mesher for now. Also updated voxelman. 2020-02-14 20:26:55 +01:00
d0a0d6ec39 Update HEADS to get the indexing/Cubic Mesher improvements from Voxelman. Updated most of the level generation logic. (A few errors still get printed to the console though.) Right now (temporarily) only the Cubic Mesher's mesh is visible. 2020-02-14 03:25:41 +01:00
c77dfd8350 Removed a few more now unused classes, and reorganized the Voxelman folder. 2020-02-13 14:06:56 +01:00
7de251a0cf Update HEADS to grab Voxelman with the transvoxel mesher port. Also removed a few experimental meshers. 2020-02-13 14:00:19 +01:00
d30e33a122 Now the transvoxel mesher bakes alternative uv coordinates into uv2 so it can inetrpolate between different voxel surfaces near seams (based on COLOR.a). 2020-02-13 03:31:42 +01:00
0610cf0704 Update everything, to grab the multithreading fixes from Voxelman. 2020-02-12 14:20:26 +01:00
87c8c286ce Re-enabled prop mesh building. Also small cleanups to materials. 2020-02-11 01:27:39 +01:00
b41f0a8f00 Update to the latest Voxelman, and improvements to the .vscode files. 2020-02-10 23:42:13 +01:00
3044cb8275 Update the license for 2020. 2020-01-31 20:01:34 +01:00
2cbc037e92 Updated HEADS, changed world scale to 1, and texture scale to 4. 2020-01-31 20:00:27 +01:00
4805bb8e81 Increased the world scale back to 3, also increased the chunk spawn range by one on the y axis. 2020-01-30 16:50:50 +01:00
4ca69552c4 Added my new Procedural Animations as a dependency. Also full HEADS update. And fixed a smaller gdscript error. 2020-01-24 16:30:52 +01:00
4df7af7e8e Small tweaks. 2020-01-17 23:57:00 +01:00
094081c34c Tweaks. 2020-01-15 16:20:43 +01:00
6aa08476e1 Work on the style. Now the transvoxel mesher will scale the textures (like standard terrarin engines). Update to HEADS. 2020-01-14 23:15:46 +01:00
afa9701728 Changed back the way biome handles isolevel, because this helps to hide the banding(?) at the side of the mountains with the transvoxel mesher. 2020-01-14 13:26:15 +01:00
f909042c09 Updated voxelman to the latest. Also experimented with meshing. 2020-01-13 00:43:45 +01:00
7adabed50a Started reworking the graphics to a more usual colorful painterly style, because after lots of experimenting now I think that is the only style that will support the gameplay I want to create. The textures I added are from cc0textures.com. Will add proper attributions when everything settles. 2020-01-12 14:33:17 +01:00
4d02ca12d1 Fix all warnings, and an error. 2019-12-24 10:22:56 +01:00
2f39cde662 Removed the old voxel textures. Also cleaned up voxel libraries. 2019-12-23 22:53:51 +01:00
3587693a99 Turns out my main monitor's color balance was set differently, changed the settings so the style would work with the proper defaults 2019-12-07 17:00:32 +01:00
054bb18cd3 Improved the menu a bit. 2019-12-07 16:12:27 +01:00
633c380f08 ESS update, and gdscript compile fixes. 2019-12-02 00:43:24 +01:00
a9177a92e0 Added the MIT license text to all files, I previously marked as MIT. 2019-12-01 23:21:48 +01:00
602873755b The voxel mesher. 2019-11-20 14:37:34 +01:00