Commit Graph

15 Commits

Author SHA1 Message Date
b9ba0c0bf9 Moved _bake_colors and _bake_liquid_colors into VoxelMesherDefault. Also made the other meshers inherit it. 2020-04-06 14:21:46 +02:00
9da5d2e2d0 VoxelChunk now inherits from Resource instead of from Spatial. This is to make the scene cleaner (especially after I implement the world editor plugin). As a small bonus this should also make multithreading-related crashes harder to create, as manipulating the Scenetree from a thread by accident is now a lot harder. 2020-04-02 21:28:19 +02:00
db77530ec1 Updated the license for 2020, and added it to the top of my cpp files. 2020-01-31 19:52:37 +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
de103a3fdf Fixed compile. 2019-11-18 22:35:08 +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
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
029f241005 Implemented props. 2019-07-18 18:56:42 +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
9a84ab8500 Work on cleaning up up VoxelCubePoints, and Voxel Side Points, and started work on the sub voxel point helper. 2019-07-14 17:33:46 +02:00
3d550a0772 Moved the VoxelNeighbours enum from the old voxel, to the new mesher, also bound it. 2019-07-14 02:18:18 +02:00
ecfcf79f07 Added in a few of my old classes. 2019-07-13 22:03:23 +02:00