summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2022-05-05Add autocompletion for AnimatedSprite.play()Haoyu Qiu
2022-05-04Add ability to `bake_navigation_mesh` off thread.Pawel Lampe
This feature makes it possible to workaround problems such as: - long baking time due to heavy synchronization when parsing geometry from mesh instances - crash when freeing `NavigationMeshInstance` while baking - errors when actively baking node tree is being detached from the scene tree
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-05-01Merge pull request #60655 from smix8/navigation_region_rid_4.xRémi Verschelde
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-30Expose Label3D and Sprite*3D material render priority properties.bruvzg
2022-04-30Add get_region_rid() NavigationRegion2D and NavigationRegion3Dsmix8
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-29Merge pull request #59297 from fabriceci/fix-jitter-2D-slight-slopeRémi Verschelde
2022-04-29Rename Basis "elements" to "rows"Aaron Franke
2022-04-28[Label3D] Add offset property.bruvzg
2022-04-28Merge pull request #59438 from ↵Rémi Verschelde
fabriceci/fix-move-and-collide-reported-collisions Fix wrong collision reported on move_and_collide
2022-04-28Fix cppcheck const parametersMarkus Sauermann
Convert method signature parameters to const where it is possible # Conflicts: # drivers/gles3/rasterizer_canvas_gles3.cpp # drivers/gles3/rasterizer_canvas_gles3.h # editor/plugins/animation_state_machine_editor.cpp # editor/plugins/animation_state_machine_editor.h
2022-04-27Merge pull request #60321 from rburing/pathfollow_offset_yes_a_numberRémi Verschelde
2022-04-27Merge pull request #60319 from TokageItLab/implement-global-restRémi Verschelde
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-23Rename theme properties to include underscoresFireForge
- check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
2022-04-22Implement Label3D node.bruvzg
Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector.
2022-04-20Fix more issues found by cppcheck.bruvzg
2022-04-18Implement global restSilc 'Tokage' Renew
2022-04-17PathFollow2D and PathFollow3D: don't set offset to NaNRicardo Buring
2022-04-13Merge pull request #60199 from akien-mga/color-clarify-srgb-linear-conversionsRémi Verschelde
2022-04-13Merge pull request #60034 from Calinou/camera-allow-lower-sizeRémi Verschelde
2022-04-13Color: Rename `to_srgb`/`to_linear` to include base color spaceRémi Verschelde
This helps reduce confusion around sRGB <> Linear conversions by making both input and output color spaces explicit.
2022-04-13Ensure gizmos are added to newly created Node3D-derivatives and silence ↵SaracenOne
error for attempting to create gizmos twice
2022-04-11Make FileAccess and DirAccess classes reference counted.bruvzg
2022-04-08Allow `size` values as low as `0.001` in Camera3D's orthogonal/frustum modeHugo Locurcio
This allows for lower field of view (or higher zoom) in orthogonal and frustum camera modes. The property hint also allows setting the size with greater precision.
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-04-01Merge pull request #59331 from bartekd97/navigation-agent-layersRémi Verschelde
2022-03-28Merge pull request #59644 from akien-mga/template-no-editor-depRémi Verschelde
2022-03-28Merge pull request #59525 from fire-forge/fix-group-namesRémi Verschelde
2022-03-28Remove last editor code dependencies in template buildRémi Verschelde
SConstruct change also makes it possible to outright delete the `editor` folder in a `tools=no` build, which we use in CI to ensure no invalid cross-dependencies are added.
2022-03-28Fix inspector group name capitalizationFireForge
2022-03-28String: Remove TTR and DTR defines in non-tools buildRémi Verschelde
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
2022-03-26Object: Remove unused category boilerplateRémi Verschelde
We might want to re-add something like this if/when we find a good use case for it and do the effort to categorize all objects in the API properly. Until then, it's better to remove that boilerplate since it's not needed. Closes #18711.
2022-03-23When only a recovery occurs, don't report a collision on move_and_collidefabriceci
2022-03-21Fix 2D jitter on slight slopefabriceci
2022-03-20Expose navigable layers for NavigationAgent2D/3DBARTEK-PC\Bartek
2022-03-18Merge pull request #55399 from RPicster/particlesmaterial-sphere-emittershapeRémi Verschelde
ParticleMaterial: Sphere emission shape emitting from the volume.
2022-03-17Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enumHugo Locurcio
3 options are available: - Light and Sky (default) - Light Only (new) - Sky Only (equivalent to `use_in_sky_only = true`) Co-authored by: clayjohn <claynjohn@gmail.com>
2022-03-15Create GDExtension clases for PhysicsServer3Dreduz
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support) * Some changes on native struct binding for PhysicsServer This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
2022-03-15Merge pull request #45263 from KoBeWi/😕Rémi Verschelde
2022-03-10Discern between virtual and abstract class bindingsreduz
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
2022-03-09Change some math macros to constexprkobewi
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
2022-03-09Avoid directional correction when the motion is downwardfabriceci
2022-03-08Merge pull request #49447 from Calinou/remove-shadow-color-propertyRémi Verschelde
Remove unused `shadow_color` property from Light3D
2022-03-05Rename StreamTexture* to CompressedTexture*reduz
* Its not and will not be used for streaming. * Streaming will be implemented in 4.1 and it will work different. * It makes more sense to be called CompressedTexture since it imports and compresses texture files.
2022-03-04Remove unused `shadow_color` property from Light3DHugo Locurcio
This shadow color property was no longer effective since the shaders were optimized to improve occupancy.