Commit Graph

145 Commits

Author SHA1 Message Date
7e8cbc1fb5 Compile fix. 2020-01-20 15:10:30 +01:00
531599dd1d Moved everything to a new class. 2020-01-20 11:52:54 +01:00
83806f4bc1 More work on porting. 2020-01-20 11:45:46 +01:00
7a35337367 Started porting/integrating Whinarn's UnityMeshSimplifier into VoxelMesher. (https://github.com/Whinarn/UnityMeshSimplifier). 2020-01-20 03:34:07 +01:00
a95973eeba Replaced Vectors to PoolVectors in VoxelMesher. Also added uv2 methods. 2020-01-19 18:25:03 +01:00
2b9f28e573 Added scaled uv calculation to voxel surface. Think of terrarins, when the texture is bigger than one quad. 2020-01-14 22:26:40 +01:00
4a8ed25544 Moved the transvoxel mesher into a folder. 2020-01-14 02:57:32 +01:00
01bb492760 Merge branch 'meshers' 2020-01-13 00:40:10 +01:00
104a307d55 Now Chunk has a vector of meshers, this simplifies for example liquid meshing, and this allows combining multiple meshers. Also the number of build phases is settable. 2020-01-13 00:39:55 +01:00
c0c0fa403c Fix a typo in Chunk's bindings. 2020-01-12 21:58:23 +01:00
010b20ee55 Fix a few of the issues with the cubic mesher. 2020-01-12 21:58:14 +01:00
a67d0393ca Clang format. 2020-01-09 04:29:05 +01:00
b559329212 Now this module can be built as shared. 2020-01-03 16:44:53 +01:00
9d48a0758d Added sphinx based documentation skeleton from ESS. Started wokring on the structure. 2019-12-30 17:57:11 +01:00
a449a41037 Removed warning about apis, its not that relevant anymore. Also added link to the mentioned main game. 2019-12-25 14:30:20 +01:00
ac18664fae Doc setup. 2019-12-25 14:08:20 +01:00
8e02dcb9e8 Fix build. 2019-12-24 03:22:17 +01:00
ce4020962e Now the mesher will set the material for the generated meshes directly, also it sets the material as surface material instead of an override material. 2019-12-03 19:22:04 +01:00
22bf841298 An experimental unbounded queue implementation. 2019-12-03 14:28:32 +01:00
c386b6850b Added a really simple thread-safe queue. It will still need a lot of work. 2019-12-03 03:39:53 +01:00
2b369f5be8 Made material texture setup scriptable. 2019-11-25 12:03:45 +01:00
6d8ded844c Quick and dirty temporary readme. It contains the most important things about the module. 2019-11-21 22:40:08 +01:00
c7adc77bea MIT license. 2019-11-21 22:07:42 +01:00
edec04cfdc Chunk now supports threaded builds. Also small fixes. 2019-11-19 20:39:45 +01:00
a377c994e9 Fixes. 2019-11-19 19:14:46 +01:00
ffb154a4fe More work. 2019-11-19 16:42:38 +01:00
1003a393e6 More work. 2019-11-19 16:33:06 +01:00
d2566ab82b gdscript->c++ conversions. 2019-11-19 14:42:21 +01:00
0594215929 Seemingly the bindings are done. Also added a new chunk build phase. 2019-11-19 00:54:28 +01:00
7885d49949 Implemented chunks's new functionality, and work on the bindings. 2019-11-18 23:50:06 +01:00
5bfe5e7905 Fixed linker errors aswell. 2019-11-18 22:40:58 +01:00
de103a3fdf Fixed compile. 2019-11-18 22:35:08 +01:00
d5acb28a90 More work on fixing compile. 2019-11-18 22:22:41 +01:00
9103db635f More work on compile. 2019-11-18 21:53:33 +01:00
5e323ce718 Removed a few old unused classes. 2019-11-18 20:17:54 +01:00
b60b8a96d6 More work on the build, and more api breakages. 2019-11-18 20:16:29 +01:00
4a5a903a7a Removed the dmc mesher. 2019-11-18 20:04:28 +01:00
f00933bb71 More work on fixing the build. 2019-11-18 20:03:40 +01:00
decf9a4af2 Work on the interface, and build. 2019-11-18 19:43:15 +01:00
5b275155c5 Removed the classes that I got from the other voxel module. Moved the stuff that I wrote from VoxelBuffer to VoxelChunk. I'll reimplement the needed stuff myself into the chunk. 2019-11-18 19:22:11 +01:00
d8035c86e9 VoxelBuffer now stores it's actual size separately. 2019-11-17 03:25:46 +01:00
5e5d95aac5 Added margin to VoxelBuffer. 2019-11-17 02:17:40 +01:00
b6f49e3f89 Moved back out the world generator. 2019-11-16 23:46:19 +01:00
6a1669d646 More work on the generator interface. 2019-11-11 17:25:17 +01:00
0f00761468 More improvements to the bindings. 2019-11-10 22:32:36 +01:00
7075da44eb Bit more work on the bindings. 2019-11-10 22:18:31 +01:00
c4432b4c2b More work on the generator interface. 2019-11-10 22:03:39 +01:00
ca1740ee04 Improved the World generator's interface. 2019-11-10 21:14:53 +01:00
e0deb2ea66 Added liquid, and clutter mesh allocations into Chunk, also related modifications. 2019-11-10 13:42:59 +01:00
3cf4b3e682 Removed the MIT license for now, while the project is not public. 2019-11-10 12:09:31 +01:00