Marc Gilleron
87e575e504
Use reinterpret_cast instead of ambiguous C-style cast
2020-12-18 20:46:54 +00:00
Marc Gilleron
a37b3a9c06
Don't show menu by default
2020-12-17 23:01:35 +00:00
Marc Gilleron
2f8687fd12
Added About window and list of donors
2020-12-17 21:45:44 +00:00
Marc Gilleron
e73cdaa707
Exclude editor stuff when building an export template
2020-12-04 22:01:41 +00:00
Marc Gilleron
117802c807
Unused variable
2020-11-21 19:51:41 +00:00
Marc Gilleron
57d09b5b7d
Merge branch 'master' of https://github.com/Zylann/godot_voxel
2020-11-21 19:07:30 +00:00
Marc Gilleron
25445f3f6c
Added debug function to dump a VoxelLodTerrain as nodes in a PackedScene
2020-11-21 18:31:28 +00:00
Marc Gilleron
d52f882ae1
VoxelMap is no longer bound, it had no use in the API
2020-11-21 18:31:11 +00:00
Marc Gilleron
e18b3a55fd
Don't make the editor redraw every frame when gizmos are shown
2020-11-21 18:15:12 +00:00
Marc
507b4c8922
Merge pull request #207 from tdaffin/fix_mono_glue
...
Fix bindings so that generate-mono-glue for C# bindings works
2020-11-08 00:04:49 +00:00
Tom Daffin
17a7674316
Fix bindings so that generate-mono-glue for C# bindings works
2020-11-07 08:02:27 -07:00
Marc
4991b24519
Added funding file
2020-11-06 23:18:22 +00:00
Marc Gilleron
4c1e149aef
Optimized iteration over all blocks of a map (but likely, ECS approach may be better in the future)
2020-11-01 03:25:48 +00:00
Marc Gilleron
10d6e5bd8a
Script-based generators and streams have their own class, should fix C# API
2020-10-31 22:11:25 +00:00
Marc Gilleron
18e7792bd5
Added access to block local transform in custom shaders for VoxelLodTerrain
2020-10-31 01:15:50 +00:00
Marc Gilleron
09b32c9dd8
Allow to change process mode from script on VoxelLodTerrain
2020-10-30 19:02:00 +00:00
Marc Gilleron
23123fc920
GCC warning
2020-10-29 22:59:09 +00:00
Marc Gilleron
a31dcdd3bd
Don't clamp view distance for now, but should be done dynamically
2020-10-29 22:58:49 +00:00
Marc Gilleron
01776d2ee1
Don't load neighboring blocks across fixed boundaries
2020-10-29 22:58:19 +00:00
Marc Gilleron
90cc96d241
Update viewer position on transform changes instead of process
2020-10-29 00:55:04 +00:00
Marc Gilleron
40d299413f
Don't compute matrices if they aren't used when transforming blocks
2020-10-29 00:54:27 +00:00
Marc Gilleron
b5470fab2b
Fix big CPU due to blocks never getting unloaded
...
The unloading logic is supposed to run for all LOD levels except the biggest one,
but instead was running for all LODs except the smallest.
2020-10-29 00:53:04 +00:00
Marc Gilleron
bf8a4229a1
Added debug function to get how many blocks are currently in memory
2020-10-29 00:49:12 +00:00
Marc Gilleron
1200b012bb
Some notes about tracy
2020-10-29 00:47:25 +00:00
Marc Gilleron
510d25e604
Expose find_node_by_name
2020-10-29 00:42:55 +00:00
Marc Gilleron
44a1af2043
Don't crash if graph resources are null
2020-10-26 19:58:54 +00:00
Marc Gilleron
56b4b55b53
Fix missing return
2020-10-25 23:07:53 +00:00
Marc Gilleron
a20a7bda03
Update changelog
2020-10-25 21:21:47 +00:00
Marc Gilleron
f3108de4f9
Removed old viewer API from VoxelLodTerrain, support 1 VoxelViewer at a time for now
2020-10-25 21:21:37 +00:00
Marc Gilleron
61f17ce96d
Formatting
2020-10-25 20:38:23 +00:00
Marc Gilleron
b672013f00
Fix an occurrence of Variant uint64_t ambiguity for Mac builds
2020-10-25 20:27:09 +00:00
Marc Gilleron
0cb8188eb7
Added ability to name graph nodes
2020-10-25 20:26:25 +00:00
Marc Gilleron
bb549198f6
Replaced Voxel.transparent with a transparency_index for more control over face culling
2020-10-25 16:59:19 +00:00
Marc Gilleron
c6572142eb
Typo
2020-10-25 16:56:04 +00:00
Marc Gilleron
85bb3d7b28
VoxelTerrain can be transformed
2020-10-25 00:55:57 +01:00
Marc Gilleron
850874893c
Fix debug renderer not putting back pooled cubes back to visible when used again
2020-10-25 00:55:01 +01:00
Marc Gilleron
e05a53b370
Fix GCC error
2020-10-25 00:54:34 +01:00
Marc Gilleron
361f7d73ed
VoxelLodTerrain handles transform changes (VoxelTool still has to account for that)
2020-10-24 03:22:02 +01:00
Marc Gilleron
d158a92f57
Show bounds and octrees of VoxelLodTerrain with debug drawing
2020-10-24 00:08:14 +01:00
Marc Gilleron
e70f87e4a7
Fixed bounds being snapped too large
2020-10-24 00:06:09 +01:00
Marc Gilleron
4e65c8d937
Added bounds support to VoxelLodTerrain (rounded to octree size)
2020-10-22 22:43:31 +01:00
Marc Gilleron
2dfcc76600
Better fix for VoxelLodTerrain task drop
2020-10-20 23:58:55 +01:00
Marc Gilleron
54eb228444
Fix crash when increasing LOD count in editor while blocks are still loading
2020-10-19 23:22:23 +01:00
Marc Gilleron
30c6d7e436
Disabled task cancellation to make VoxelLodTerrain work, will need better option later.
...
VoxelLodTerrain's block requests were being cancelled constantly.
This commit also contains precision improvement for cancelling
block requests based on distance, which originally was an attempt to
"properly" fix the problem with VoxelLodTerrain, but it didnt fully
worked for that node.
I left it anyways, maybe it will change in the future once a
proper fix is figured out.
2020-10-19 23:21:14 +01:00
Marc Gilleron
25fded048e
Fix some typos
2020-09-28 18:37:49 +01:00
Marc Gilleron
2597e4832a
Bits of API doc
2020-09-28 18:37:34 +01:00
Marc Gilleron
04df05854a
Fix dead link in docs
2020-09-28 18:36:54 +01:00
Marc Gilleron
5dd8475091
Fix GCC warning (4)
2020-09-20 20:28:45 +01:00
Marc Gilleron
e31147b434
Fix one more GCC warning
2020-09-20 17:05:20 +01:00
Marc Gilleron
a462803929
Fix more GCC warnings
2020-09-20 16:33:00 +01:00