Commit Graph

359 Commits

Author SHA1 Message Date
b8aaaf499b Implemented add_prop in VoxelWorld. (Some of the transform calculations still need to be fixed.) 2020-07-07 02:22:45 +02:00
6f7c4fbc8a Removed VoxelChunkPropData, the api of VoxelWorld, and VoxelChunk now uses PropDatas directly. 2020-07-07 01:06:46 +02:00
ff48f3738a Update for the prop module's PropDataMesh rename. 2020-07-05 18:49:00 +02:00
96fdd00754 Fix include. 2020-07-05 14:54:37 +02:00
1355c301e8 Update draw_debug_mdr_colliders's logic to use the new api. Also fix error spam when a mesh data doens't have a collider. 2020-06-30 20:28:37 +02:00
3190217284 Moved simple collider storage from VoxelChunkDefault to VoxelChunk and separated it from the mesh data resource api. 2020-06-30 18:55:50 +02:00
138614f743 Update MeshDataResource offsets, as now they are Transforms. 2020-06-30 15:24:11 +02:00
a4b5400a4e Fix debug collider offsets. 2020-06-30 15:10:48 +02:00
7777056af3 Fix collider transform. 2020-06-30 11:59:22 +02:00
bb2f13b075 Small improvements. Also added commented out code for debugging the terrarin meshes (They will need to be converted be lines). 2020-06-29 23:44:54 +02:00
b54a1021d4 Moved away from using ImmediateGeometry for debug meshes. Also implemented debugging mdr colliders. 2020-06-29 23:08:52 +02:00
2e69796d08 Implement collider transforms. 2020-06-28 21:55:00 +02:00
9e2d71169b Add prop uv rect query into the library, and make add_mesh_data_resource use it. 2020-06-28 21:31:26 +02:00
1996f60f0f Fix indexing. 2020-06-28 21:30:26 +02:00
21d135fb0b Now chunk can only have one prop mesher. 2020-06-28 20:04:40 +02:00
70d9cdf6db Removed unused member. 2020-06-28 19:16:11 +02:00
0138c02bf8 Implemented meshing chunk's mesh data resources. 2020-06-28 19:02:49 +02:00
cb6d8f5156 Added mesh data resources to VoxelChunk. 2020-06-28 16:57:53 +02:00
7bd5592d2e Moved PropVoxelmanLight here from the props module, and renamed it VoxelmanLight. 2020-06-27 19:00:46 +02:00
be4876c2f1 Fix compile if the props module isn't present. 2020-06-27 18:25:23 +02:00
02b434a2a2 Remove leftover print. 2020-06-27 17:07:02 +02:00
a991de9d2e Moved PropData to the props modue. 2020-06-27 17:04:40 +02:00
85b7009fc7 Removed PropTool (again). Will be reimplemented as a tool that can convert scenes. Kind of like the meshlibrary converter. 2020-06-27 14:22:41 +02:00
0b717eb5b2 Little work on PropTool. 2020-06-23 20:54:38 +02:00
78be4a6666 A bit more work on props. 2020-06-23 19:32:37 +02:00
7aa0edf98e Work on updating the prop meshing implementation (does not work yet). 2020-06-23 14:30:49 +02:00
718823a1eb The Merger lib now uses a vector to store props. 2020-06-23 01:15:11 +02:00
19a255c4dd Fix typo. 2020-06-23 01:13:04 +02:00
15659929b2 Added a few const qualifiers. 2020-06-23 01:05:41 +02:00
88ab910eb8 Brought back the old Prop implementation, and PropTool, because not only this implementation was already done, it will work better than spawning possibly thousands of nodes with the props module, but I also found a way to eventually make it more user friendly. 2020-06-22 21:49:58 +02:00
014e6919c8 Sync classref with current source. Also add VoxelChunkCubic to config.py. 2020-06-20 23:32:55 +02:00
469ca4cc5e Fix compile on 4.0. 2020-06-20 23:17:32 +02:00
d7a853cc73 Add note about godot versions into Readme.md. 2020-06-20 22:08:07 +02:00
b88e430950 Remove unused import. 2020-06-20 22:07:50 +02:00
cdc918a5b8 Update the Readme.md. 2020-06-12 19:40:18 +02:00
7219d7b2d4 Added a Cubic chunk and World. 2020-06-12 19:34:47 +02:00
7c95171944 Added a MarchingCubes World and Chunk. 2020-06-12 18:36:00 +02:00
61a8b9224f Removed _add_chunk_liquid from VoxelMesher as it's not used anymore. 2020-06-12 18:06:41 +02:00
cc90d3b54b Removed the Transvoxel Mesher. 2020-06-12 18:02:46 +02:00
a83585bd81 Turned the Transvoxel mesher into a MarchingCubes mesher. Removed the parts that weren't used. 2020-06-12 17:59:04 +02:00
aeff73083e Link the demonstration project. 2020-06-11 12:36:24 +02:00
ab65bc13d2 One more tiny improvement. 2020-06-11 12:15:05 +02:00
56ce758375 Fix an another typo. 2020-06-11 12:14:30 +02:00
5ac57800d4 Fix newlines. 2020-06-11 12:13:57 +02:00
1a2f0edc1f A few more improvements to Readme.md. 2020-06-11 12:08:03 +02:00
1d783242b2 Also mention optional dependencies, and fix a few typos. 2020-06-11 12:02:47 +02:00
e55f7a3eaa Rewrote the Readme.md. 2020-06-11 11:54:18 +02:00
7c93cc8f52 VoxelWorldDefault will not update lods automatically for now. 2020-05-23 21:59:58 +02:00
dfa2b527e6 Fix 3.2 compile. 2020-05-23 10:37:14 +02:00
1d51be2f0b Moved 4.0 compatibility code into a new defines.h (like in ESS). 2020-05-23 10:34:47 +02:00