Marc Gilleron
8a9825847e
Added live update option to auto-regenerate when the graph is modified
2022-06-30 22:01:17 +01:00
Marc Gilleron
a7934b9e2c
Exposed debug drawing options on VoxelLodTerrain
2022-06-26 14:04:12 +01:00
Marc Gilleron
0e12e6dbf1
Initial WIP for SDF non-destructive voxel modifiers. Support is incomplete.
...
Some voxel queries and operations will not take modifiers into account.
It needs to be worked on, might involve some refactoring.
2022-06-09 20:35:29 +01:00
Marc Gilleron
177d7a99c9
Added basic stack tracking for memory pool allocations
2022-06-06 21:54:20 +01:00
Marc Gilleron
2098ca36d9
Added debug gizmos to see mesh updates
2022-06-05 23:26:17 +01:00
Marc Gilleron
aced77fa39
Update supporters
2022-06-04 23:11:38 +01:00
Marc Gilleron
6ed48654f4
Fix nodes deletion in graph editor
2022-05-23 20:47:01 +01:00
Marc Gilleron
dbd07f3b6c
Update supporters
2022-05-23 00:38:23 +01:00
Marc Gilleron
b64532c0ea
Update supporters
2022-05-22 20:08:28 +01:00
Marc Gilleron
f899ae8fbb
Added option to show octree grid in editor, now off by default
2022-05-21 22:00:01 +01:00
Marc Gilleron
fa027cbe4e
Allow to specify which surfaces have collision
2022-05-17 22:12:54 +01:00
Marc Gilleron
4f862722ae
Removed usages of Map
2022-05-17 19:44:58 +01:00
Marc Gilleron
12862a46d0
Changes to blocky materials
...
- They are now defined in each model
- VoxelTerrain no longer has material slots, except for a global override
- Models can have up to 2 materials instead of only one
2022-05-16 22:55:06 +01:00
Marc Gilleron
34b9b3c321
Updated supporters
2022-05-15 21:01:38 +01:00
Marc Gilleron
3e4230ec9e
Added a spinbox to the SDF viewer to scan through the whole result
2022-05-10 20:54:11 +01:00
Marc Gilleron
35ddc51f18
Fix Basis::get_axis() was renamed to get_column()
2022-05-07 21:27:41 +01:00
Marc Gilleron
dff7386186
Moved conversions to conv.h
2022-05-07 20:34:06 +01:00
Marc Gilleron
f993796ca1
Added inspector plugin to edit VoxelMeshSDF
2022-05-05 20:57:59 +01:00
Marc Gilleron
d145a30816
Fix checkmark not updating when selecting Show Octree Nodes
2022-05-02 14:52:42 +01:00
Marc Gilleron
adbfd3b584
floor_to_int
to emphasize the return value converts to int
2022-05-02 14:49:40 +01:00
Marc Gilleron
a5e429de6f
Moved some Vector3i function specializations to math:: namespace
2022-04-29 23:25:37 +01:00
Marc Gilleron
190bd1b466
Try to use explicit Packed*Array in helper functions as Vector<T> likely won't be available in GDExtension
2022-04-29 23:20:41 +01:00
Marc Gilleron
8cf52b8967
Fix voxel graph test
2022-04-22 22:06:35 +01:00
Marc Gilleron
5a2624735e
Added experimental shader generation from voxel graph
2022-04-13 00:06:20 +01:00
Marc Gilleron
87d98e9162
Engine-agnostic error macros
2022-04-11 02:10:44 +01:00
Marc Gilleron
0cc3801655
Define smart pointers default allocator in a single place
2022-04-10 20:10:33 +01:00
Marc Gilleron
118563d545
Fix missing header (2)
2022-04-10 17:17:18 +01:00
Marc Gilleron
18584f4e87
Added per-node profiling info
2022-04-10 14:42:40 +01:00
Marc Gilleron
219c7bfda3
Changed prefix of profiling macros
2022-04-09 15:33:08 +01:00
Marc Gilleron
adb2cd2fe9
Return a ref, pointer must not be null
2022-04-09 15:15:22 +01:00
Marc Gilleron
259a914cbf
Return a ref instead of pointer, it must not be null
2022-04-09 15:05:04 +01:00
Marc Gilleron
ab5d3a22d3
Abstract logging for verbose print
2022-04-09 15:00:34 +01:00
Marc Gilleron
ca83c720ff
Return reference, pointer must not be null
2022-04-08 23:54:04 +01:00
Marc Gilleron
2fece1d892
VoxelGraphNodeDB::get_singleton() must not return null, changed to reference
2022-04-07 20:44:43 +01:00
Marc Gilleron
e43f939f3c
Span doesnt depend on Godot Vector
2022-04-06 23:37:57 +01:00
Marc Gilleron
5519054c01
Unify macro prefixes
2022-04-06 23:26:54 +01:00
Marc Gilleron
0629566330
Show expression code in the node's title
2022-04-05 22:26:26 +01:00
Marc Gilleron
4634cfac0e
Merge branch 'master' into expression_node
2022-04-04 22:43:05 +01:00
Marc Gilleron
e0008d3335
Fix compilation now Godot comes with its own FastNoiseLite.
...
The version shipped with the module is now prefixed.
Removed usages of OpenSimplexNoise.
2022-04-03 20:07:17 +01:00
Marc Gilleron
646cbacd64
Added Expression node to VoxelGeneratorGraph. Needs polishing.
...
Some things to do:
- Support function calls
- Show expression in the node GUI, eventually edit it there
- Optimize power function
2022-04-03 16:43:04 +01:00
Marc Gilleron
8d8d8b336d
Moved VoxelLodTerrain and VoxelTerrain stuff to their own folders
2022-03-20 22:57:53 +00:00
Marc Gilleron
cda68657b0
Don't crash when connecting a debug preview to an input
2022-03-20 16:50:18 +00:00
Marc Gilleron
47b8ca4e76
Fix GCC finding the conversion ambiguous
2022-03-19 21:10:40 +00:00
Marc Gilleron
7dca31c444
Unnecessary forward-declaration
2022-02-20 21:35:14 +00:00
Marc Gilleron
0e54920afb
Replace existing connection if dragging from/to an input port having one already
2022-02-20 16:57:29 +00:00
Marc Gilleron
0137ca3036
Namespaced VoxelBuffer in gd::
because it is actually a wrapper
2022-02-15 21:49:20 +00:00
Marc Gilleron
3884ddecc6
Remove EditorNode* argument from editor plugin constructors
2022-02-14 21:32:27 +00:00
Marc Gilleron
31b4d0bc68
Make it compile with float=64
2022-02-14 21:06:31 +00:00
Marc Gilleron
83e4454789
Fix comparison signedness warning (8)
2022-02-13 19:28:33 +00:00
Marc Gilleron
907351dd1a
Fix compilation with latest Godot
2022-02-13 16:56:27 +00:00