Commit Graph

56 Commits

Author SHA1 Message Date
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
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
b60b8a96d6 More work on the build, and more api breakages. 2019-11-18 20:16:29 +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
e0deb2ea66 Added liquid, and clutter mesh allocations into Chunk, also related modifications. 2019-11-10 13:42:59 +01:00
c674a8c045 Added chunk states, and dirty flag to Chunk. 2019-11-10 03:10:42 +01:00
f0cd4008fc Added WorldArea. 2019-11-10 01:03:48 +01:00
7ee2017568 Added 2 more build phases. 2019-11-09 23:43:29 +01:00
3b722e24f9 Added binds for liquids. 2019-11-09 23:39:19 +01:00
8bbc6da5d2 Now PropData can add lights into chunks. 2019-11-08 11:52:36 +01:00
2c49d2e8d9 Renamed VoxelmanProp to PropData. 2019-11-07 21:32:31 +01:00
033fe750c0 Updated the color baking algorithm, and restructured build phases. 2019-11-06 17:43:51 +01:00
f23f3122a4 Better snap axis defaults. 2019-11-06 13:44:22 +01:00
3f7b422662 VoxelChunk is s Spatial now (again). 2019-11-06 03:37:22 +01:00
440b4eadfb Added a Texture property to VoxelChunkPropData aswell. 2019-11-05 21:27:31 +01:00
8e4e65371d Typo fixes. 2019-10-16 00:50:30 +02:00
472b077d3f Added a "_prop_added" vmethod to Chunk. 2019-10-14 23:59:42 +02:00
fd3a162126 Reworked the way chung handles props, and made chunk building fully scriptable. 2019-10-10 23:51:05 +02:00
cf9e3e8f19 Added an EnvironmentData class. 2019-10-07 22:22:47 +02:00
0175490bc5 Now VoxelWorld inherits from Navigation. 2019-10-05 22:53:48 +02:00
aa4fb6c088 Implemented the remaining stub methods for voxel structure. 2019-09-25 11:30:07 +02:00
56ce70f025 Work on VoxelStructure. 2019-09-25 01:49:35 +02:00
4d24c13e91 Added VoxelStructure skeleton class. 2019-09-24 02:05:40 +02:00
306dc575d8 Improved the way props work. 2019-09-22 02:46:21 +02:00
916676cfab Renamed VoxelPropData, and cleaned up VoxelProp bit. 2019-09-21 00:02:10 +02:00
5eb5249147 Level generator skeleton class. 2019-09-03 13:52:32 +02:00
34e109a54b Moved more properties. 2019-08-12 20:40:05 +02:00
b0dc290c20 Started moving common things in VoxelWorld to c++. 2019-08-12 13:12:42 +02:00
78581077f7 Added a new random ao channel. 2019-08-08 21:09:55 +02:00
de3f60d3f4 Added a new method to VoxelChunk. 2019-08-03 23:17:19 +02:00
a633808274 Renamed free to free_chunk, as it collided with Object's free(). 2019-08-01 01:05:09 +02:00
9b842c159a -Moved the basic mesh color baking into the base VoxelMesher, as well as the 2 light specific parameters.
-Added a binding from the AO VoxelBuffer enum value.
-Renamed back draw_debug_voxels_colored to draw_debug_voxels.
2019-07-24 02:14:02 +02:00
47f3fa2a7f Now the props use transforms internally, instead of vectors. And improved the design a bit. 2019-07-20 14:48:56 +02:00
c29c74b1d9 More work oncleaning up the interface of the VoxelChunk. I'ts mostly okay, but might need to change a bit more. Also added a few const keywords where I found them missing. 2019-07-19 23:54:56 +02:00
4ad2faca86 Started reworking the mesher, and the cunk's interface. 2019-07-19 20:54:09 +02:00
029f241005 Implemented props. 2019-07-18 18:56:42 +02:00
7e7c07cbd8 VoxelChunk is a Reference now. 2019-07-18 02:05:50 +02:00
9c036f0706 Now VoxelChunk uses the VisualServer, and PhysicsServer directly. 2019-07-18 01:43:58 +02:00
7db42b88a1 Now the base light value is settable in the Cubic Voxel Mesher. 2019-07-17 19:51:09 +02:00
469773a9fd Fixed the voxel mesher, and converted it to c++. Also small bugfixes, and binding improvements. ALso moved a few export variables from GDscript to bindings. 2019-07-17 17:01:12 +02:00
e4e38c0bde Work on lights, and cleanups. 2019-07-17 02:28:16 +02:00
7f0a832677 Implemented Ao generation, and started working on light support. 2019-07-16 16:18:09 +02:00
71de54d9a0 Now voxelman can actually make meshes. 2019-06-08 19:47:17 +02:00