|
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 |
|
|
080e8f2437
|
Broke up VoxelChunk into VoxelChunk and VoxelChunkDefault.
|
2020-03-12 23:23:38 +01:00 |
|
|
45976ca387
|
Reworked VoxelMesher's api a bit, now it works like SurfaceTool. Also it now stores data the same way i.e. 1 container, with a Vertex struct (I took the Vertex struct, and it's hasher from Surface Tool (because the hasher was private)). This will make mesh post processing a lot easier.
|
2020-03-08 22:36:58 +01:00 |
|
|
07afd06c2a
|
Now chunks can properly use multiple meshers at the same time.
|
2020-02-14 19:02:31 +01:00 |
|
|
a457ed400c
|
Added data margin start, and end property to VoxelWorld for easy access. Improved set_voxel, and get_voxel in VoxelChunk to accomodate for margins as originally intended (e.g. if start_margin is 1, indexes go from -1 to size + end margin). Fixed/updated indexing in VoxelMesherCubic.
|
2020-02-14 03:19:15 +01: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 |
|