|
1f23f61b3a
|
Ran clang format, as apparently I had it off.
|
2020-04-10 13:55:27 +02:00 |
|
|
073e1aeb97
|
Fix build for 4.0.
|
2020-04-09 12:34:39 +02:00 |
|
|
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 |
|
|
b4c61ac674
|
Created a default version from world, and the mesher. Also added a BuildFlags enum to VoxelChunkDefault. Converted a few properties to use this.
|
2020-04-06 13:41:45 +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 |
|
|
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 |
|
|
7885d49949
|
Implemented chunks's new functionality, and work on the bindings.
|
2019-11-18 23:50:06 +01:00 |
|
|
de103a3fdf
|
Fixed compile.
|
2019-11-18 22:35:08 +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 |
|
|
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 |
|
|
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 |
|
|
370702cc1e
|
Work on uv mapping.
|
2019-07-16 11:11:47 +02:00 |
|
|
fc27061055
|
Commented out some neighbour checks, that aren't needed.
|
2019-07-16 01:55:18 +02:00 |
|
|
a8a29b4518
|
Fixed mesh generation errors.
|
2019-07-16 01:49:01 +02:00 |
|
|
d35efab890
|
-Implemented neighbour information query.
-Merged the needed things from the subvoxel helper classes into VoxelCubePoints.
-Mesh generation kind of works.
|
2019-07-15 20:07:58 +02:00 |
|
|
79d54238c3
|
Fixed compile, and created the bindings for the new classes.
|
2019-07-15 02:18:51 +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 |
|