1
0
Fork 0
Commit Graph

2836 Commits

Author SHA1 Message Date
smix8 0ed2cb0439 Make nodes handle their respective navigation source geometry
Makes nodes handle their respective navigation source geometry.
2025-01-12 13:14:46 +01:00
Silc Lizard (Tokage) Renew cb61c6e852 Force update RetargetModifier3D's child skeletons on save 2025-01-12 07:31:05 +09:00
Silc Lizard (Tokage) Renew d5e91eaa42 Change reset timing of the AnimationMixer and Skeleton on save 2025-01-12 07:12:34 +09:00
Silc Lizard (Tokage) Renew 18cc58f6be Add lacked TOOLS_ENABLED block to RetargetModifier3D 2025-01-12 06:44:25 +09:00
QbieShay e9eb0b6082 Implemented tools around particles seed randomization.
The purpose of this code is to expose the necessary
functions for users and engine devs to develop tooling
for properly timing and seeking inside particles.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-11 16:31:24 +01:00
Hilderin 055b418e4d Fix Selection Game View 2025-01-10 09:53:17 -05:00
Hugo Locurcio 13a1391e73
Draw fewer fishbones to improve Path gizmo readability and performance
This affects both Path2D and Path3D.
2025-01-09 16:08:29 +01:00
Rémi Verschelde eb4a9977c3 Merge pull request #101323 from demolke/modenable
LightmapGI: Including `modules_enabled.gen.h` to properly check the configuration warning
2025-01-09 11:17:42 +01:00
demolke 2a3e0d47ea LightmapGI: Including `modules_enabled.gen.h` to properly check the configuration warning 2025-01-09 09:55:28 +01:00
Rémi Verschelde f83919c088 Merge pull request #101311 from TokageItLab/fix-lookat-rest
Fix `LookAtModifier3D` rest space incorrect rotation
2025-01-09 00:42:29 +01:00
Silc Lizard (Tokage) Renew 08a2f0ae39 Fix LookAtModifier rest space rotation 2025-01-09 05:22:47 +09:00
Rémi Verschelde 709f2e1a5d Merge pull request #100765 from Geometror/lightmapgi-add-downsampling
Add a supersampling option to LightmapGI
2025-01-07 23:17:39 +01:00
Hendrik Brucker 054340bb6b Add a supersampling option to LightmapGI
This provides increased lightmap quality with less noise, smoother
shadows and better small-scale shadow detail. The downside is that
this significantly increases bake times and memory usage while baking
lightmaps, so this option is disabled by default.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: landervr <31851431+CpnWaffle@users.noreply.github.com>
2025-01-07 18:44:59 +01:00
Rémi Verschelde 9b6322a6f1
Merge pull request #97478 from bruvzg/emb_obj
[TextServer] Improve embedded objects handling performance.
2025-01-07 10:14:30 +01:00
Rémi Verschelde 7c49ae253e
Merge pull request #96713 from Nazarwadim/thread_local_bones_backup
Use `thread_local` for `bones_backup`
2025-01-07 10:14:15 +01:00
bruvzg cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
Rémi Verschelde 6e826b26d9
Merge pull request #101148 from TokageItLab/skelmod-generic
Move enum BoneAxis to SkeletonModifier from LookAtModifier
2025-01-06 22:49:14 +01:00
Rémi Verschelde bf2548463a
Merge pull request #101012 from zachseiss/master
Preserve emission ring shape properties during conversion from GPUParticles3D to CPUParticles3D and vice versa
2025-01-06 22:48:20 +01:00
Silc Lizard (Tokage) Renew f1f152ea5a Move enum BoneAxis to SkeletonModifier from LookAtModifier 2025-01-05 14:14:36 +09:00
Zach Seiss 86ab88f016 added preservation of emission ring properties during conversion from GPUParticles3D to CPUParticles3D and vice versa 2025-01-03 07:47:06 -05:00
Rémi Verschelde 94f23c342a
Merge pull request #101010 from smix8/navlink_debug_direction
Add NavigationLink debug direction indicator
2025-01-03 00:50:06 +01:00
Rémi Verschelde d47fef15b8
Merge pull request #100991 from TokageItLab/180deg-arc
Fix looking at with 180 degree arc
2025-01-03 00:49:59 +01:00
Rémi Verschelde ff14d86fa3
Merge pull request #100811 from TokageItLab/bitmask-retarget
Make transform elements BitField in RetargetModifier
2025-01-03 00:49:14 +01:00
Rémi Verschelde d484e23bce
Merge pull request #100113 from paddy-exe/particle-emission-shape-visual-separate-pr
Add visualization of 3D particle emission shapes
2025-01-03 00:48:22 +01:00
Silc Lizard (Tokage) Renew d0c421976c Fix looking at with 180 degree arc
Co-authored-by: Fruitsalad <949631+fruitsalad@users.noreply.github.com>
2025-01-02 15:47:01 +09:00
smix8 8dd0579bcd Add NavigationLink debug direction indicator
Adds direction indicator arrows to the NavigationLink debug depending on if a link is onewyay or bidirectional.
2025-01-02 01:07:26 +01:00
Nazarii 482531c4b8 Use thread_local for bones_backup 2024-12-31 16:32:15 +02:00
Thaddeus Crews df2b117ec2
Merge pull request #100317 from TCROC/fix-collision-shape-debug-color-breaks-gdextension
Fix collision shape debug color breaking GDExtension
2024-12-30 08:58:41 -06:00
Patrick Exner e689c122a6 Add visualization of 3D particle emission shapes
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2024-12-28 19:56:50 +01:00
Silc Lizard (Tokage) Renew 24f5361b8a Make transform elements BitField in RetargetModifier 2024-12-28 07:19:48 +09:00
A Thousand Ships a1846b27ea
Improve use of `Ref.is_null/valid`
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Travis Lange f0c077deb8 fix collision shape debug color breaking gdextension 2024-12-23 15:02:54 -05:00
Thaddeus Crews e109ac21fb
Merge pull request #100708 from smix8/navobstacle2d_debug
Improve NavigationObstacle2D debug visuals and performance
2024-12-23 11:15:06 -06:00
Yufeng Ying 73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
smix8 23ea3ab8d1 Improve NavigationObstacle2D debug visuals
Improves NavigationObstacle2D debug visuals by aligning them closer to their aleady improved 3D counterpart.
2024-12-21 19:53:17 +01:00
Alex Threlfo 90a0c06631
Fix crash when duplicating Decal or Light3D nodes
Co-authored-by: Jayden Sipe <jayden.sipe@gmail.com>
2024-12-20 23:51:47 +01:00
Thaddeus Crews b715fabd70
Merge pull request #76371 from ze2j/array_mesh_surface_remove
Add `ArrayMesh::surface_remove`
2024-12-19 19:59:56 -06:00
Thaddeus Crews 2fcd8223e8
Merge pull request #99538 from Geometror/lightmap-gi-transparent-surface
Add transparency support for LightmapGI
2024-12-19 19:59:52 -06:00
Thaddeus Crews 37d1e7fc89
Merge pull request #99268 from Meorge/add-volume-linear
Add `volume_linear` property and getter/setter methods for audio-related classes
2024-12-19 19:59:47 -06:00
Zshandi Krahn 0d40fe46e3 Node2D/3D: Make position follow default float step 2024-12-19 00:11:39 -08:00
Malcolm Anderson 2f5b97c7f9 Add `volume_linear` property and methods for audio-related classes
Remove default value from `volume_linear` property documentation

Remove `volume_linear` internal property from `AudioBusLayout`

Update doc/classes/AudioEffectAmplify.xml [no ci]

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Make documentation more concise [no ci]
2024-12-18 12:41:57 -08:00
Hendrik Brucker a3525bc015 Add transparency support for LightmapGI
Co-authored-by: Guerro323 <kaltobattle@gmail.com>
2024-12-18 19:36:16 +01:00
Rémi Verschelde 46c8f8c5c5
Merge pull request #100093 from dalexeev/fix-collision-shape-2d-3d-debug-color
Fix `CollisionShape{2D,3D}.debug_color` inconsistencies
2024-12-18 18:23:54 +01:00
Rémi Verschelde 90555e6b4d
Merge pull request #100378 from clayjohn/particles-preprocess
Reduce slider range for Particles preprocess to discourage setting a preprocess time of 10 minutes
2024-12-18 00:39:49 +01:00
Hugo Locurcio 7a04d85ec3
Only allow valid types in Decal, Light3D projector, PointLight2D texture and CSGMesh3D mesh
If an invalid type is supplied (which can still be done from a script),
a warning is printed (along with a workaround for ViewportTexture).

This also adds support for "negative" resource hints such as
"Texture2D,-ViewportTexture" to exclude one or more subclasses
from a class hint.

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-12-17 20:41:12 +01:00
Andrew_Shobbrook e42def12d0
Implement per-light Specular property in DirectionalLight3D 2024-12-16 19:18:18 +01:00
Thaddeus Crews 9ecdeb3723
Merge pull request #98747 from tetrapod00/standardize-renderer-strings
Standardize terms for renderers in error strings
2024-12-13 16:19:37 -06:00
clayjohn f2a993aa1d Reduce slider range for Particles preprocess to discourage setting a preprocess time of 10 minutes 2024-12-13 11:36:36 -08:00
Thaddeus Crews 7c015a768f
Merge pull request #99958 from lander-vr/reflection-probe-blend-property
Add Blend Distance property to ReflectionProbe
2024-12-12 16:13:32 -06:00
BlueCube3310 85e4d1b9d3 LightmapGI: Automatically compress new lightmaps 2024-12-12 17:43:47 +01:00
Rémi Verschelde 0e5c337453
Merge pull request #85653 from BlueCube3310/lightmap-gi-shadowmask
Implement LightmapGI shadowmasks
2024-12-12 14:09:30 +01:00
BlueCube3310 189c8eb671 Implement shadowmasks for LightmapGI
Co-authored-by: dearthdev <nathandearthdev@gmail.com>
2024-12-12 11:00:28 +01:00
smix8 476479419b Despaghettify NavigationServer path queries
Despaghettify NavigationServer path queries.
2024-12-11 22:29:48 +01:00
Thaddeus Crews b88fd31687
Merge pull request #99397 from yosoyfreeman/master
Allow `apply_floor_snap` to preserve the horizontal position regardless of `stop_on_slopes`
2024-12-10 14:15:59 -06:00
YoSoyFreeman 72650f9787 Allow apply_floor_snap to preserve the horizontal position after the snapping independently of stop_on_slopes 2024-12-07 23:00:46 +01:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
Danil Alexeev 8bf2afd341
Fix `CollisionShape{2D,3D}.debug_color` inconsistencies 2024-12-06 15:12:20 +03:00
landervr 05010180ce ReflectionProbe add Blend Distance 2024-12-05 23:29:47 +01:00
Rémi Verschelde ca1440fafb
Merge pull request #99759 from Mickeon/audio-stream-player-3d-seek-fix-for-real
Fix AudioStreamPlayer2D/3D's `get_playback_position` returning `0` right after calling `seek`
2024-12-02 15:51:38 +01:00
Rémi Verschelde e6125ef51b
Merge pull request #98763 from AThousandShips/more_sname_uses
Use `SceneStringName` in more places
2024-12-02 15:50:44 +01:00
A Thousand Ships af56d6e8e8
Use `SceneStringName` in more places 2024-12-02 14:39:16 +01:00
rune-scape d58b2e879f Get rid of easily removable uses of const_cast 2024-12-01 17:50:13 -08:00
Rémi Verschelde 82311791db
Merge pull request #99802 from lander-vr/reflection-probe-wireframe
Fix ReflectionProbe AABB
2024-11-29 22:51:24 +01:00
Rémi Verschelde ab08876e5c
Merge pull request #89566 from AThousandShips/range_val_fix
Fix some invalid `int` property ranges
2024-11-29 22:45:35 +01:00
Rémi Verschelde 56a7dba10b
Merge pull request #99799 from akien-mga/fix-typos
Fix various typos and code style issues
2024-11-29 22:02:53 +01:00
Rémi Verschelde 08b931b656
Merge pull request #99734 from Mickeon/audio-stream-player-3d-seek-fix
Fix code consistency between AudioStreamPlayer2D and AudioStreamPlayer3D
2024-11-29 22:02:29 +01:00
Rémi Verschelde 88e81ee730
Fix various typos and code style issues 2024-11-28 17:40:42 +01:00
landervr 11225de197 Fix ReflectionProbe AABB 2024-11-28 17:31:29 +01:00
Thaddeus Crews 3edf8b91e9
Merge pull request #98489 from Flarkk/fix_project_position
Fix Camera3D::project_position() when depth=zfar
2024-11-27 10:47:07 -06:00
Micky 99cbcd250a Fix AudioStreamPlayer2D/3D's `get_playback_position` returning `0` right after calling `seek` 2024-11-27 16:02:46 +01:00
Micky 06bb9944d7 Fix code consistency between AudioStreamPlayer2D and AudioStreamPlayer3D 2024-11-27 15:29:59 +01:00
ze2j 97e0b43faa Add ArrayMesh::surface_remove 2024-11-27 13:46:15 +01:00
Thaddeus Crews 33093c2029
Merge pull request #99619 from TokageItLab/flippable
Make flipping flag consider influence in LookAtModifier3D
2024-11-26 13:04:48 -06:00
Thaddeus Crews 04786f0ee8
Merge pull request #97824 from TokageItLab/retarget-modifier
Add RetargetModifier3D for realtime retarget to keep original rest
2024-11-26 13:04:47 -06:00
Thaddeus Crews d18f8046dd
Merge pull request #99613 from TokageItLab/scl-fw
Fix `forward_vector` scale to handle `safe_margin` correctly in LookAtModifier
2024-11-26 13:04:45 -06:00
Thaddeus Crews dc0fcf9753
Merge pull request #99612 from TokageItLab/lkat-bn
Make LookAtModifier3D adopt the bone name method
2024-11-26 13:04:44 -06:00
Jamie Greunbaum 0fc082e1ee
Add CollisionShape3D custom debug colours
This allows changing the display colour of a CollisionShape3D node on a per-shape basis.
It also adds the ability to display a solid coloured preview of a CollisionShape3D.

Closes https://github.com/godotengine/godot-proposals/issues/906
2024-11-26 16:28:13 +01:00
Silc Lizard (Tokage) Renew 38d274b021 Make flipping flag consider influence in LookAtModifier3D 2024-11-25 15:59:39 +09:00
Silc Lizard (Tokage) Renew b76cdf525b Make LookAtModifier3D adopt to bone name method 2024-11-25 15:47:10 +09:00
Silc Lizard (Tokage) Renew 27bd7b23f6 Fix forward_vector scale to handle safe_margin in LookAtModifier 2024-11-24 13:43:07 +09:00
Bad Sector da191168fe Add VoxelGI bake cancelling and progress UI improvement 2024-11-23 21:12:57 +02:00
A Thousand Ships f6ea6cdb67
Fix some invalid `int` property ranges
* `HeightMapShape3D` had ranges configured for `float` instead of `int`
* Particles had `amount` that used `exp` which is not supported, added
  note
2024-11-23 19:17:29 +01:00
Thaddeus Crews 37305e40bc Merge pull request #95711 from TokageItLab/warn-oneshot-prop
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 -06:00
Bad Sector 5bca028e2b Add lightmap bake cancelling 2024-11-21 21:31:02 +02:00
Thaddeus Crews 1680edb2cd
Merge pull request #99231 from fire/sort-blendshapes-by-id
Sort blend shapes in the inspector by ID instead of alphabetically
2024-11-19 15:20:11 -06:00
Silc Lizard (Tokage) Renew f5b49af99f Add RetargetModifier3D for realtime retarget to keep original rest 2024-11-18 22:44:55 +09:00
Rie 31a3b418f7 Fix obstacle avoidance and 3D editor ignoring transform 2024-11-16 11:30:48 +01:00
Hugo Locurcio 1e5f0a86ca Allow more flexible adjustments of VisualInstance3D Lightmap Scale
Any floating-point value greater than 0.01 can now be used.
Prior to this change, only factors of 1×, 2× and 4× and 8× could be used.
2024-11-14 17:28:05 +01:00
K. S. Ernest (iFire) Lee b0e04c1e7a Sort blend shapes in the inspector by ID instead of alphabetically
Blend shapes (morph targets, shape keys) should be sorted by the physical order of the blend shapes, and that index should be converted to a name string.
2024-11-14 05:54:32 -08:00
Thaddeus Crews cf160747a0
Merge pull request #98536 from TokageItLab/fix-deactivation-modifier
Fix Skeleton doesn't update skin after deactivating modifiers when it has only one modifier
2024-11-12 09:28:07 -06:00
Thaddeus Crews 9995c3eedd
Merge pull request #98446 from TokageItLab/look-at-modifier
Implement LookAtModifier3D
2024-11-12 09:27:35 -06:00
Thaddeus Crews 0ad3181d14
Merge pull request #98951 from AThousandShips/fix_more_super_call
Fix a few more super calls in `get_configuration_warnings` methods
2024-11-12 09:27:33 -06:00
smix8 086bd1d82c Improve NavigationObstacle3D editor tooling
Improves NavigationObstacle3D editing options inside the editor.
2024-11-12 12:44:12 +01:00
Thaddeus Crews 848d90837e
Merge pull request #96730 from tracefree/properly_transforming_obstacles
Make use of NavigationObstacle3D's transform
2024-11-11 14:18:33 -06:00
Silc Lizard (Tokage) Renew 6fc061b4fe Implement LookAtModifier3D 2024-11-12 05:03:35 +09:00
Silc Lizard (Tokage) Renew 5d1a2a4216 Fix Skeleton doesn't update skin after deactivating modifiers 2024-11-12 04:41:08 +09:00
tetrapod00 899f5151c3 Standardize terms for renderers in error strings
Use "Forward+", "Mobile", "Compatibility", and "renderer" or "rendering method".
2024-11-10 13:30:44 -08:00
Thaddeus Crews 925b690c98
Core: Integrate `Ref::instantiate` where possible 2024-11-10 12:41:26 -06:00
Silc Lizard (Tokage) Renew 761a20f7a7 Add hint for oneshot & warning when it will be updated continuously 2024-11-11 01:12:45 +09:00
Rie 44ef3d35eb Make use of NavigationObstacle3D's transform
Co-authored-by: a0kami <dev.aokami@netc.fr>
2024-11-10 17:08:12 +01:00