Commit Graph

31 Commits

Author SHA1 Message Date
6ef502ecb2 Work on fixing compile. 2023-01-09 14:09:49 +01:00
c72d8fc032 Now the library merger pcm will create different materials for liquids. Also noticed and fixed a few race conditions / deadlocks. 2022-03-08 15:50:31 +01:00
3ccfb05b5c Removed the old liquid mesher, and reused the normal blocky mesher as liquid mesher. It should work as is. 2022-02-18 22:45:22 +01:00
aaeca66f80 Renamed voxel_surface methods / properties to terra_surface. 2022-02-18 21:29:43 +01:00
098afa23e2 Changed the Terra and Terraman class prefixes to Terrain. 2022-02-08 13:59:00 +01:00
f256229139 Work on fixing compile for 4.0. 2022-02-08 11:52:29 +01:00
654e8872de Updated copyright headers. 2022-01-12 22:19:46 +01:00
ecf09d1245 Actually use the vector write proxies in TerraMesher's build_mesh. 2021-08-10 12:36:48 +02:00
31a5ac8764 Moved the lod_index property from TerraMesherBlocky to TerraMesher. 2021-08-07 12:31:52 +02:00
3da5fead10 Add support to the cache in TerraMesherBlocky. 2021-08-02 23:49:16 +02:00
2a731480d0 Improved the cache api again. Now the chunks can store the assigned key, so it does not have to be re-hashed again only if actually needed. 2021-08-02 20:02:48 +02:00
45d8dca50c Added a new phase to the terrain job, if the library supports per chunk materials, it will query the key from it (which can create materials / textures hence the new phase). 2021-08-01 19:38:45 +02:00
660ea8bf74 Use the new lod variant of the library's material getters wherever possible. 2021-08-01 16:33:17 +02:00
890aadb941 Stretch out the margins to the lod level's main mesh (if applicable). 2021-04-21 10:40:45 +02:00
f71e77b7e3 Lod margin corners. 2021-04-21 09:51:00 +02:00
5889ad3e9b zmax lod seam. 2021-04-21 09:18:02 +02:00
c8a690e8a3 xmin lod seam. 2021-04-21 09:15:00 +02:00
478dcd864d Work on lod seams. 2021-04-20 20:10:26 +02:00
4df44788d3 Fixed UV tiling. 2021-04-19 22:51:29 +02:00
fed3d10107 Optimized _bake_colors, and _bake_liquid_colors. Also fixed a bug with it. 2021-04-18 19:29:45 +02:00
13b396abc1 Get the valid channel in terra mesher blocky. 2021-04-18 19:16:52 +02:00
95df18c027 Added a lod index parameter to the terrarin mesher. 2021-04-17 12:25:38 +02:00
1497344339 Implemented a new meshing algorithm into terra mesher blocky. (Will be renamed later.) 2021-04-17 00:40:43 +02:00
e44caf50ea Fix indexing. 2021-04-16 21:34:39 +02:00
025c902b44 Now chunks are only laid out on a 2d grid. Removed the y coordinate from everywhere. The meshers doesn't work properly yet. 2021-04-16 17:13:54 +02:00
603581f6e0 Renamed every file prefix from voxelman to terra. 2021-04-16 12:56:21 +02:00
9bbb56d728 Removed the marching cubes mesher. 2021-04-15 22:04:24 +02:00
77e5f9e1e4 Removed the cubic mesher. 2021-04-15 22:01:17 +02:00
126bb7c712 Changed every Voxel prefix to Terra. Also added back everything to the build. It will also build with voxelman installed. 2021-04-15 21:28:45 +02:00
5b99d7cfd8 Update copyright headers. 2021-04-15 18:30:20 +02:00
40a4beffb9 Added voxelman, and removed everything form compile, and initial setup. 2021-04-15 11:47:28 +02:00