Commit Graph

39 Commits

Author SHA1 Message Date
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
ecfcf79f07 Added in a few of my old classes. 2019-07-13 22:03:23 +02:00
115750a66f Added 2 voxel meshers from godot_voxel. 2019-06-10 01:41:57 +02:00
d7b949e8b8 Work on uv mapping. 2019-06-09 20:59:54 +02:00
71de54d9a0 Now voxelman can actually make meshes. 2019-06-08 19:47:17 +02:00
b50c9be4e7 More cleanup, and fixed a misunderstanding. 2019-06-08 01:28:39 +02:00
ba05f93aa2 -Removed Voxel, not needed.
-Huge cleanup.
-Moved the voxel query to a new folder, also it's not in the build anymore. Will be removed shortly.
2019-06-07 19:13:07 +02:00
9fb6a4e1c1 Progress on getting voxelman to work again, also cleanups. 2019-06-07 01:33:41 +02:00
7b99cff1dd Cleaned up VoxelSurface a bit. 2019-06-01 00:11:59 +02:00
b5bdecf95a Added VoxelBuffer to the build. 2019-05-31 23:57:56 +02:00
e2c8c5c2ca Added in 2 more classes and the updated vector3i from https://github.com/Zylann/godot_voxel. Also added their license to the top of these files. 2019-05-31 23:28:33 +02:00
4d73c7e9c6 Added in gridmap from godot, I currently think it is a nice place to start from with the voxel world, as it pretty much already works like it, and it has a nice editor plugin as well. Also I haven't yet used godot's servers too much. 2019-05-31 23:03:38 +02:00
bc9896b695 Added in the classes which I want to salvage from my test voxel engine. Some of the classes contain horrible code because I learned godot engine development with these, the will be cleaned up. The Vector3i is from Zylann's godot_voxel module, I'll properly credit him a bit later. 2019-05-31 22:54:31 +02:00
9106cae56c Added a .gitignore, and the basic module setup stuff. 2019-05-31 18:26:36 +02:00
c89fe9d7f0
Initial commit 2019-05-31 18:12:27 +02:00