summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2022-07-25Fix missing Distance Fade category in OmniLight3D/SpotLight3D inspectorHugo Locurcio
2022-07-25Remove ThreadWorkPool, replace by WorkerThreadPoolJuan Linietsky
The former needs to be allocated once per usage. The later is shared for all threads, which is more efficient. It can also be better debugged.
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-25Merge pull request #63219 from reduz/implement-vector4-projectionRémi Verschelde
2022-07-23Implement Vector4, Vector4i, Projectionreduz
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-23Implement BPM supportreduz
Based on #62896, only implements the BPM support part. * Implements BPM support in the AudioStreamOGG/MP3 importers. * Can select BPM/Bar Size and total beats in a song file, as well as edit looping points. * Looping is now BPM aware * Added a special importer UI for configuring this. * Added a special preview showing the audio waveform as well as the playback position in the resource picker. * Renamed `AudioStream::instance` to `instantiate` for correctness.
2022-07-18Use integer types in Image and ImageTexture methodsFireForge
- Image.blit_rect() - Image.blit_rect_mask() - Image.blend_rect() - Image.blend_rect_mask() - Image.fill_rect() - Image.get_used_rect() - Image.get_rect() - ImageTexture.set_size_override()
2022-07-18Merge pull request #61590 from Haydoggo/path-follow-fixRémi Verschelde
2022-07-16add rest fixer to importer retargetSilc Renew
2022-07-15Use BitField hint for the TextServer enums. Add missing parts for BitField ↵bruvzg
support to the GDextension API.
2022-07-14prevent crash on NaN offset in path_follower 2d and 3dHayden Leete
2022-07-12Remove unused hintskobewi
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-07-05Clamp VoxelGI extents to reasonable values to avoid breaking bakingHugo Locurcio
This also prevents crashes when resizing a VoxelGI's extents to 0 on any axis.
2022-07-04Use custom key structs, instead of raw hashes for the Label3D and TextMesh, ↵bruvzg
to avoid potential hash collisions.
2022-07-03Merge pull request #62677 from akien-mga/particles-fix-warnings-updateRémi Verschelde
2022-07-03Particles: Fix missing configuration warning updatesRémi Verschelde
Fixes #33488.
2022-07-03Fix no `hint_string` for `frame` property in `AnimatedSprite`skleonc
2022-07-02Merge pull request #61610 from ↵Rémi Verschelde
TokageItLab/importer-retarget-registered-gdhumanoid
2022-07-01Merge pull request #50755 from ↵Rémi Verschelde
foxydevloper/add-global-position-and-global-rotation Add global_position and global_rotation to Node3D
2022-07-01Clamp Decal's upper/lower fade to positive valuesHugo Locurcio
Negative easing values result in broken rendering.
2022-07-01Add global_position and global_rotation to Node3Dfoxydevloper
2022-07-01implement bone renamer in importerSilc Renew
2022-06-30Merge pull request #62527 from smix8/navigation_agent_property_groupsRémi Verschelde
Group NavigationAgent properties
2022-06-29Merge pull request #62084 from smix8/path_debug_options_4.xRémi Verschelde
Add Path2D/3D debug options
2022-06-29Group NavigationAgent propertiessmix8
Groups the ill-defined NavigationAgent properties between pathfinding and avoidance to make it more clear which property affects what.
2022-06-28Merge pull request #60935 from Calinou/geometryinstance3d-gi-mode-default-staticRémi Verschelde
Use the Static global illumination mode in GeometryInstance3D by default
2022-06-27Merge pull request #62396 from reduz/fix-local-vector-transitions-in-node3dRémi Verschelde
Fix VECTOR/LOCAL transitions in Node3D
2022-06-27Fix VECTOR/LOCAL transitions in Node3Dreduz
Fixes #62225, supersedes #62227
2022-06-26Merge pull request #62124 from holgac/bugfix-62096JFonS
Fixes #62096: LightmapGIData::_get_light_textures_data crash on empty image
2022-06-25Merge pull request #62372 from MarcusElg/nosliderrenameRémi Verschelde
Rename @export_range's noslider option to no_slider
2022-06-25Revert "Refactored `rotation_mode` in Node3D"Juan Linietsky
2022-06-25fix set_position()Silc Renew
2022-06-24add support for soft shadows to the lightmapperPriyansh Rathi
2022-06-24Rename export_range's noslider option to no_sliderMarcus Elg
2022-06-24Merge pull request #62227 from TokageItLab/fix-rotation-mode-node3dRémi Verschelde
2022-06-23Use the Static global illumination mode in GeometryInstance3D by defaultHugo Locurcio
This makes VoxelGI and SDFGI work out of the box with primitive meshes, loaded OBJ meshes and CSG nodes.
2022-06-23fix method when rotation_mode changedSilc Renew
2022-06-23Fix editor-only visibility for lightsreduz
* Update visibility again for editor-only lights if owner changes. Fixes #26399, supersedes #52327
2022-06-20Add Path2D/3D debug optionssmix8
Add Path2D/3D debug options.
2022-06-20Merge pull request #62214 from smix8/navigation_layer_bitmask_helpers_4.xRémi Verschelde
2022-06-20Merge pull request #62181 from smix8/navigation_navagent_pathpoint_dist_4.xRémi Verschelde
2022-06-20Clean up Hash Functionsreduz
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better)
2022-06-19Add navigation layer bitmask helper functionssmix8
Adds helper functions to work with the navigation layer bitmask.
2022-06-19Fix physical bone is not animated in running project.baihan
2022-06-18Add NavigationAgent desired path distancesmix8
Add NavigationAgent desired path distance
2022-06-17Fix Light3D `angular_distance` property hint being in radiansHugo Locurcio
The unit is internally stored as degrees and is treated as such, so it should be displayed as-is in the inspector.
2022-06-17Audio: Expose 2D/3D panning strength parametersEllen Poe
2022-06-17Fixes #62096: LightmapGIData::_get_light_textures_data crash on empty imageholgac
The program crashes when trying to determine slice width/height if the light texture is empty. This fix just returns an empty array, as if the light texture does not exist.
2022-06-16Move duplicate AutoWrap, Overrun and VisibleChar behavior enums to the ↵bruvzg
TextServer.