|
2d5b9ed029
|
Removed build_deferred, and build_prioritized methods from the default chunk.
|
2020-04-17 20:24:50 +02:00 |
|
|
bee499d951
|
The library now has an initialized bool. Also the world editor will refresh rects in the library if needed.
|
2020-04-17 19:21:46 +02:00 |
|
|
c382dac3ff
|
Added a new tool to the world editor, it adds a block to the location of the spatial editor's camera.
|
2020-04-17 18:36:14 +02:00 |
|
|
ba0c1bc820
|
Added a flat level generator.
|
2020-04-17 15:29:36 +02:00 |
|
|
59b5086113
|
Fix potential crash in the blocky mesher.
|
2020-04-17 14:32:52 +02:00 |
|
|
5c0ab27715
|
Added 3 more helper functions to voxel world.
|
2020-04-17 10:15:50 +02:00 |
|
|
9cdd107565
|
Added the surface lists into scroll containers. Also text is now aligned to the left on the buttons.
|
2020-04-17 02:39:23 +02:00 |
|
|
35863196d7
|
Now the world editor will use the channel reported by world's get_channel_index_info. Also it now has support for liquid channels (based on the currently selected tab).
|
2020-04-17 02:09:24 +02:00 |
|
|
f43e4a2cc4
|
Implemented add and remove tool mode selectors in world editor. Also added shortcuts (a, s).
|
2020-04-17 01:52:16 +02:00 |
|
|
7c0390de74
|
The air block is not required anymore. Also Implemented the sidebar for world editor. And fixed a naming error for a virtual method in the merger library.
|
2020-04-17 00:37:22 +02:00 |
|
|
76f9011c24
|
Added an overrideable fonction to VoxelWorld, so the editor plugin will be able to query the correct channel ids, for any particular world. returning -1 will mean not supported.
|
2020-04-16 21:59:30 +02:00 |
|
|
b21030ae89
|
More const qualifiers.
|
2020-04-16 17:54:32 +02:00 |
|
|
367c203cc6
|
Added lots of const qualifiers to world and chunk.
|
2020-04-16 17:10:04 +02:00 |
|
|
135b34c8a8
|
Moved the chunk position calculations from the world editor into VoxelWorld.
|
2020-04-16 14:44:22 +02:00 |
|
|
06d3b0ae32
|
Add property for voxel structures.
|
2020-04-16 14:07:10 +02:00 |
|
|
d985610574
|
Cleaned up VoxelStructure, and added an api for them into VoxelWorld.
|
2020-04-16 13:40:39 +02:00 |
|
|
dd0fa1d7ea
|
Cleaned up the prop spawning api in chunk and world.
|
2020-04-15 13:06:45 +02:00 |
|
|
a63ae2183a
|
Removed _THREAD_SAFE_CLASS_ from VoxelChunk as its not used aywhere right now.
|
2020-04-15 12:44:16 +02:00 |
|
|
7a3e4ecbe3
|
Cleaned up the light baking api.
|
2020-04-15 12:41:52 +02:00 |
|
|
17b033e707
|
Sync classref with the current source.
|
2020-04-14 16:59:01 +02:00 |
|
|
c752086bdd
|
A bit more work on the world editor.
|
2020-04-10 16:28:33 +02:00 |
|
|
fd24639e26
|
The world editor now won't use right click, as it makes navigation awful.
|
2020-04-10 16:13:04 +02:00 |
|
|
463e32868b
|
Removed the sphinx based docs, as a better readme.md should be enough (soon).
|
2020-04-10 15:55:13 +02:00 |
|
|
acf2d2d701
|
Fix 2 multithreading related crashes.
|
2020-04-10 15:50:53 +02:00 |
|
|
1f23f61b3a
|
Ran clang format, as apparently I had it off.
|
2020-04-10 13:55:27 +02:00 |
|
|
01c57c30e6
|
Fix error when the data margins are 0.
|
2020-04-10 13:43:49 +02:00 |
|
|
17dfbb4cab
|
Fix voxel index calculations in the world editor.
|
2020-04-10 13:40:07 +02:00 |
|
|
03f9041eb8
|
Added get_or_create_chunk to VoxelWorld.
|
2020-04-10 13:39:11 +02:00 |
|
|
f6ed4505e7
|
Fixed indexing in the blocky voxel mesher.
|
2020-04-10 13:38:34 +02:00 |
|
|
69cc6e0b77
|
Better block positions for the blocky mesher.
|
2020-04-09 22:06:02 +02:00 |
|
|
a722f807fe
|
Fix building for 3.2.
|
2020-04-09 15:45:51 +02:00 |
|
|
073e1aeb97
|
Fix build for 4.0.
|
2020-04-09 12:34:39 +02:00 |
|
|
9fe51572f4
|
Didi the same optimization to the transvoxel uv mesher.
|
2020-04-07 14:40:35 +02:00 |
|
|
f7842e1ab2
|
The blocky mesher is a lot faster now.
|
2020-04-07 14:23:20 +02:00 |
|
|
40535bfb59
|
Fix normal compile.
|
2020-04-06 23:08:35 +02:00 |
|
|
a4fc573f85
|
Optional module dependencies are actually optional now.
|
2020-04-06 22:47:03 +02:00 |
|
|
8b78f8e91d
|
Library should update it's rects even in the editor now.
|
2020-04-06 20:10:57 +02:00 |
|
|
4a535207e0
|
Now chunks will generate the collider in the spawned thread. Also a few smaller tweaks.
|
2020-04-06 20:05:19 +02:00 |
|
|
f63a8910dc
|
Fix coord calculation for the editor plugin.
|
2020-04-06 19:46:17 +02:00 |
|
|
28ce072e51
|
Renamed VoxelMesherTransvoxel to VoxelMesherUVTransvoxel.
|
2020-04-06 14:52:18 +02:00 |
|
|
81dc8bcb36
|
Don't bake colors, if lighting is disabled.
|
2020-04-06 14:23:49 +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 |
|
|
c691c13277
|
Added a _chunk_added virtual method to voxel world.
|
2020-04-06 13:55:22 +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 |
|
|
d717c9886b
|
Fix set_chunks, and enter_tree.
|
2020-04-06 00:51:25 +02:00 |
|
|
b046db78ed
|
Removed leftover print.
|
2020-04-05 22:56:40 +02:00 |
|
|
25da88da19
|
Add the ability to get or set a channel compressed.
|
2020-04-05 22:07:52 +02:00 |
|
|
98707674a4
|
Initial implementation for the voxel world editor.
|
2020-04-05 21:02:51 +02:00 |
|
|
37517c2e18
|
Implemented blocky meshing.
|
2020-04-05 17:15:08 +02:00 |
|
|
d36eff4ed3
|
Fix potential crash.
|
2020-04-05 02:08:08 +02:00 |
|