Commit Graph

722 Commits (418cf0e6308d19397191d03fef595ed26dde6b74)

Author SHA1 Message Date
Marc Gilleron 418cf0e630 Streaming/LOD can be set to follow the editor camera instead of being centered on world origin 2020-12-19 23:16:10 +00:00
Marc Gilleron 659e45fe32 Fix hyperlinks not working in about window. Also made license text selectable 2020-12-18 23:12:32 +00:00
Marc Gilleron 6d9fd2f8a0 Voxel terrain nodes now have a common abstract base class. Also explicitely made a few other classes abstract 2020-12-18 22:58:41 +00:00
Marc Gilleron 71b4139fb3 Fix another warning about precedence clarity 2020-12-18 21:29:56 +00:00
Marc Gilleron 4ca7a708d5 Fix warning about precedence clarity 2020-12-18 21:24:41 +00:00
Marc Gilleron d92adc4d94 Give a different name to release CI builds, they could not be told apart 2020-12-18 21:22:57 +00:00
Marc Gilleron 03f2900f6a Fix error when a region file gets created, it was wrongly trying to migrate because the version wasn't set 2020-12-18 21:20:00 +00:00
Marc Gilleron 2018625b34 Moved simple generators under a simple/ folder 2020-12-18 21:19:02 +00:00
Marc Gilleron 791bdafff1 Meshers are now resources assigned on terrain nodes 2020-12-18 21:01:50 +00:00
Marc Gilleron 89abb37e0f consts 2020-12-18 20:52:09 +00:00
Marc Gilleron dec9b31801 Rename index() to get_index() to make it less like a variable name 2020-12-18 20:48:08 +00:00
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