Commit Graph

264 Commits

Author SHA1 Message Date
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
c1b0be11bd Fixed the new property's hint. 2019-09-06 18:40:28 +02:00
249e4e5f81 Crash fix. 2019-09-06 04:37:08 +02:00
34e0252066 Ran into an example of binding variant arrays with a specific type, so now the voxel surface array is bound like that. 2019-09-06 04:31:57 +02:00
b32a028209 Fixed a few errors I found. 2019-09-05 22:30:20 +02:00
a39b8ae0ad Equiv class 4. 2019-09-05 21:39:32 +02:00
593cb66c88 Fixed equiv class 7. 2019-09-05 18:59:09 +02:00
e93a8f820b Equiv class 15. 2019-09-05 17:21:48 +02:00
5af8477bc6 Equivalence class 14. 2019-09-05 14:16:54 +02:00
5ff408758b Fixed equivalence class 13's uvs. 2019-09-05 13:01:27 +02:00
a51e7ab22f Just a tiny bit more work. 2019-09-05 02:57:59 +02:00
a1df5fb2f7 Fixed equiv class 12 too. 2019-09-05 02:37:48 +02:00
a8a1e6b23d Revert "Commit before revert just in case."
This reverts commit b0ffa79567.
2019-09-05 02:27:13 +02:00
b0ffa79567 Commit before revert just in case. 2019-09-05 02:26:35 +02:00
23480a8bee Added back the const to regularVertexData. 2019-09-05 01:15:04 +02:00
c47c74aea3 Equiv class 11 fix. 2019-09-05 00:54:33 +02:00
8cf78ef519 Fixed thee 10th equivalence class's uv artifacts. 2019-09-05 00:41:40 +02:00
a806aa7eea More uv fixes. 2019-09-04 23:34:23 +02:00
fde13cb4cf More work on the uv glitches. 2019-09-04 23:13:58 +02:00
05781891b3 Work on fixing the uv issues. 2019-09-04 18:33:19 +02:00
5eb5249147 Level generator skeleton class. 2019-09-03 13:52:32 +02:00
63c7c0536c Fixed a memleak. 2019-08-14 00:29:28 +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
2ed334dade Now Voxel Surfaces work again. 2019-08-11 22:28:26 +02:00
9ae53b157c Started cleaning up VoxelSurface. 2019-08-11 15:29:32 +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
6b4de4cf80 Added in prop related data classes. 2019-07-19 18:39:46 +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
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