You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or limitation you are having in your project
In Godot 4.0, VoxelGIData is fully editable at run-time. However, there are still 2 operations that require a rebake: changing the extents and changing the number of subdivisions. No warning is currently provided for this.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Emit a node configuration warning when VoxelGI's extents or subdivision size is changed, but the VoxelGIData is outdated.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Store 2 properties in VoxelGIData that includes the value of the VoxelGI's ExtentsSubdiv properties at the time of baking. These properties wouldn't be displayed in the editor, but they would be used within the editor to compare this value with the VoxelGI's current Extents and Subdiv properties whenever they're changed. If there's a mismatch, emit a node configuration warning.
In the master branch, this work depends on godotengine/godot#55178 being finished first. This work could also be carried over separately on the 3.x branch, so that the same warning can be provided with GIProbe.
If this enhancement will not be used often, can it be worked around with a few lines of script?
No, as VoxelGIData currently does not store the extents and subdivision level (although it could be guessed using the cell size and extents).
Is there a reason why this should be core and not an add-on in the asset library?
This is about improving 3D editor usability.
The text was updated successfully, but these errors were encountered:
Calinou
changed the title
Emit a node configuration warning when VoxelGI subdivision size is changed, but it wasn't re-baked yet
Emit a node configuration warning when VoxelGI extents or subdivision size is changed, but it wasn't re-baked yet
Dec 8, 2021
Describe the project you are working on
The Godot editor 🙂
Describe the problem or limitation you are having in your project
In Godot 4.0, VoxelGIData is fully editable at run-time. However, there are still 2 operations that require a rebake: changing the extents and changing the number of subdivisions. No warning is currently provided for this.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Emit a node configuration warning when VoxelGI's extents or subdivision size is changed, but the VoxelGIData is outdated.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Store 2 properties in VoxelGIData that includes the value of the VoxelGI's Extents Subdiv properties at the time of baking. These properties wouldn't be displayed in the editor, but they would be used within the editor to compare this value with the VoxelGI's current Extents and Subdiv properties whenever they're changed. If there's a mismatch, emit a node configuration warning.
In the
master
branch, this work depends on godotengine/godot#55178 being finished first. This work could also be carried over separately on the3.x
branch, so that the same warning can be provided with GIProbe.If this enhancement will not be used often, can it be worked around with a few lines of script?
No, as VoxelGIData currently does not store the extents and subdivision level (although it could be guessed using the cell size and extents).
Is there a reason why this should be core and not an add-on in the asset library?
This is about improving 3D editor usability.
The text was updated successfully, but these errors were encountered: