|
fd464c042c
|
Work on BlockVoxelStructure.
|
2020-10-30 02:36:34 +01:00 |
|
|
9a151ffc6c
|
Same treatment to methods in VoxelManLibrary.
|
2020-10-27 23:24:24 +01:00 |
|
|
37346845b4
|
Fix indent in readme.md sample code. Also remove trailing ;.
|
2020-10-27 19:20:08 +01:00 |
|
|
f4ba38ecd0
|
Same treatment to the mesh related methods in VoxelChunkDefault.
|
2020-10-27 19:04:20 +01:00 |
|
|
9c5aed85df
|
Did the same to the generation queue related methods in VoxelWorld.
|
2020-10-27 18:36:10 +01:00 |
|
|
1da900a5e8
|
Same treatment to the chunk related methods in VoxelWorld. I kept the virtuals the same.
|
2020-10-27 18:22:18 +01:00 |
|
|
82d1f46e2e
|
Fix typo.
|
2020-10-27 16:42:51 +01:00 |
|
|
be363ca7de
|
Same change to voxel structure related methods in VoxelWorld.
|
2020-10-27 16:40:56 +01:00 |
|
|
494fe18746
|
add_prop -> prop_add in VoxelWorld.
|
2020-10-27 13:26:59 +01:00 |
|
|
0f69a9dce3
|
Same treatment to light related methods in VoxelWorld.
|
2020-10-27 13:24:40 +01:00 |
|
|
7e647cf8ba
|
Same treatment to the area related methods in VoxelWorld.
|
2020-10-27 13:05:20 +01:00 |
|
|
8124f19c5d
|
Same treatment to props related methods in VoxelChunk.
|
2020-10-27 12:56:34 +01:00 |
|
|
2dec05f80f
|
Also renamed the channel-related methods in VoxelChunk.
|
2020-10-27 12:45:15 +01:00 |
|
|
1d1fdf5c56
|
Same treatment to jobs in VoxelChunk.
|
2020-10-26 18:29:05 +01:00 |
|
|
851b4efb52
|
Same change to the collider-related method in VoxelChunk.
|
2020-10-26 17:24:22 +01:00 |
|
|
98155939c2
|
Renamed the mesh data resource getters in VoxelChunk to a new format, where the mesh_data_resource in the name is a prefix and not a postfix. This makes VoxelChunk's in engine documentation much more usable.
|
2020-10-26 16:52:38 +01:00 |
|
|
f14faead25
|
Add voxel structure storage to VoxelChunk aswell.
|
2020-10-25 17:05:15 +01:00 |
|
|
7311297906
|
Chunks that are stored inside worlds in scenes will properly generate their meshes now on load. Had to change _create_chunk a bit, now it will be called for all chunks, and it needs to check whether it has to init jobs or not.
|
2020-10-24 22:18:23 +02:00 |
|
|
4ecc424b84
|
VoxelJob should be a inherited from Reference if ThreadPool is not available.
|
2020-10-24 22:08:39 +02:00 |
|
|
b069d38265
|
Properly break circular reference if a job gets cancelled while working
|
2020-10-24 22:04:57 +02:00 |
|
|
0f5158edeb
|
Better _set_voxel_with_tool for the Marching Cubes world.
|
2020-10-24 17:53:34 +02:00 |
|
|
cd341b9475
|
Fix typo in comment.
|
2020-10-24 17:53:14 +02:00 |
|
|
cf370025fc
|
Moved the position calculation from the world editor to a virtual method inside VoxelWorld.
|
2020-10-24 02:41:32 +02:00 |
|
|
c4eb758d20
|
Added _THREAD_SAFE_CLASS_ declaration to VoxelChunk and also made job-related methods thread safe.
|
2020-10-23 19:47:04 +02:00 |
|
|
9824738095
|
Make sure VoxelPropJob calls next job and sets itself to complete properly on every codepath.
|
2020-10-20 22:04:29 +02:00 |
|
|
50701f1740
|
Also add the new lod generation code to the prop job.
|
2020-10-20 17:10:26 +02:00 |
|
|
6e68267bd0
|
My mesh utils module is now an optional dependency. The terrarin job will use it to simplify meshes over lod level 4.
|
2020-10-20 16:29:39 +02:00 |
|
|
a714e81db3
|
Fix a few issues with the cubic mesher.
|
2020-10-12 22:59:27 +02:00 |
|
|
5a9b99c199
|
Missing guards, and fixed an ERR_FAIL_INDEX_V.
|
2020-10-12 18:53:35 +02:00 |
|
|
e14bc67da8
|
Implement isolevel support for the voxel editor.
|
2020-10-12 16:39:52 +02:00 |
|
|
33030e485a
|
properly call set_complete in VoxelLightJob. This fixes non-threaded chunk builds.
|
2020-10-08 11:23:27 +02:00 |
|
|
9de15f0b0f
|
Uncomment a mesh data resource check. Also handle if phase gets too high in VoxelTerrarinJob.
|
2020-10-07 11:54:30 +02:00 |
|
|
e42931597c
|
Fix compile for 4.0.
|
2020-10-06 23:15:32 +02:00 |
|
|
90fe105b54
|
Update Readme.md.
|
2020-10-06 20:07:47 +02:00 |
|
|
0e4e59e970
|
Remove create_mesher and _create_mesher from chunks. Mesher creating now should be handled by the world itself in _create_chunk. This makes worlds able to use different chunk mesher setups for different parts of a world. Also this cust down the amount of classes that you need to create if you are implementing a new mesher.
|
2020-10-06 19:43:49 +02:00 |
|
|
3add3daef4
|
VoxelPropJob now works.
|
2020-10-06 19:24:58 +02:00 |
|
|
989e82b332
|
Small cleanups.
|
2020-10-06 12:29:16 +02:00 |
|
|
8c06a778f2
|
Now generation works again. Also removed some stray debug prints, and small cleanups.
|
2020-10-06 00:05:06 +02:00 |
|
|
14735b8569
|
Fix running the first job.
|
2020-10-05 22:34:11 +02:00 |
|
|
08c2fc8fc1
|
More work on the logic.
|
2020-10-03 21:58:24 +02:00 |
|
|
eb1d55f05b
|
More work on the logic, and api fixes.
|
2020-10-03 17:18:43 +02:00 |
|
|
235943f7ca
|
Removed the old meshing implementation, and replaced most logic to the new one. The code compiles, but it won't work for now. Also other cleanups.
|
2020-10-02 23:47:39 +02:00 |
|
|
0db9475db1
|
Added get_current_job_index and next_job tp VoxelChunk.
|
2020-10-02 16:49:36 +02:00 |
|
|
46132202b0
|
Added generation specific process and physics process to VoxelChunk and VoxelJob.
|
2020-10-02 16:45:08 +02:00 |
|
|
43bb7dfa66
|
Add back the next_phase call into the new jobs.
|
2020-10-02 14:53:45 +02:00 |
|
|
3f04002453
|
Fix errors with bindings
|
2020-10-02 12:24:00 +02:00 |
|
|
a25862527c
|
More work on VoxelJob's api.
|
2020-10-02 12:19:24 +02:00 |
|
|
643f76f7e8
|
Also add the reset code to VoxelPropJob.
|
2020-10-01 23:51:10 +02:00 |
|
|
8ff53e4299
|
Added VoxelPropJob.
|
2020-10-01 23:43:04 +02:00 |
|
|
9cca71355f
|
Added VoxelLightJob.
|
2020-10-01 21:44:59 +02:00 |
|