summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2022-09-18Merge pull request #44143 from KoBeWi/callable_multiplayerRémi Verschelde
2022-09-18Port remaining connections to callable_mpTomasz Chabora
2022-09-18Merge pull request #65931 from ↵Rémi Verschelde
fabriceci/add-recovery-as-collision-in-low-level-methods Add recovery_as_collision in move_and_collide/test_move
2022-09-17Add recovery_as_collision in move_and_collide/test_movefabriceci
2022-09-16Tweak LightmapGI defaults to be closer to the CPU lightmapperHugo Locurcio
- Use 3 bounces by default. - Enable environment lighting from the scene by default. - This is not done in `3.x` for compatibility with existing projects, but it makes sense to do this by default since pretty much all outdoor scenes benefit from this. - Set the custom environment color to white (like ReflectionProbe). - Its default energy is still 0, so it's invisible by default. - Enable the generation of dynamic object probes by default. - Tweak the `max_texture_size` property hint for better usability. - Improve error messages when passing invalid sizes to `LightmapGI.set_max_texture_size()`.
2022-09-16Merge pull request #65148 from Mickeon/animated-sprite-negative-speed-scaleRémi Verschelde
Allow negative `speed_scale` in AnimatedSprite2D & 3D
2022-09-13Allow negative `speed_scale` in AnimatedSprite2D & 3DMicky
If the `speed_scale` is set to a negative value, the animation plays in reverse. The second parameter of `play()` still reverses as before. if `speed_scale` and the second parameter of `play()` is true, the animation plays forward. Also updates the documentation to better describe the pausing and playing behaviour.
2022-09-13Merge pull request #65591 from MewPurPur/area-overlapping-functionRémi Verschelde
Implement `Area[2D/3D].has_overlapping_[bodies/areas]`
2022-09-12Don't store frame of playing AnimatedSpritekobewi
2022-09-12Merge pull request #64155 from Mickeon/sprite-3d-backwards-speed-scaleRémi Verschelde
2022-09-10Implement Area.has_overlapping_*VolTer
2022-09-09Harmonise AnimatedSprite3D and its 2D counterpartMicky
Add the following properties to AnimatedSprite3D: - `backwards` parameter in `play()`; - `speed_scale`. Both classes' internals are more similar, down to the line spacings. They've also been updated to be clearer and less inconsistent (e.g. `!frames.is_valid()` -> `frames.is_null()`, use SceneStringNames instead of CoreStringNames, rename the internal _queue_update to _queue_redraw)
2022-09-09Merge pull request #64394 from smix8/navigation_obstacles_reparent_4.xRémi Verschelde
Fix NavigationObstacle 2D/3D (re)parent issues
2022-09-07Remove / Replace old Navigation Debug Visualizationsmix8
- removes / replaces leftovers from old navigation debug code - cleanes SceneTree and ProjectSettings from old navigation debug
2022-09-05Fix AudioStreamPlayer not resuming after returning to SceneTreeMicky
2022-09-05Merge pull request #65292 from ↵Rémi Verschelde
AlmightyLaxz/prevent-shapecast3d-debug-without-debugcollisions
2022-09-04Fix crash when executing `LightmapGIData._set_light_textures_data`Haoyu Qiu
2022-09-04Stop ShapeCast3D drawing when debug collisions offAlmighty Laxz
2022-09-02Rename `or_lesser` range property hint to `or_less`Hugo Locurcio
"less" should be used for quantity, rather than "lesser". Existing scripts that use `or_lesser` in `_get_property_list()` will need to be updated to account for this change.
2022-09-02Merge pull request #65170 from KoBeWi/your_argument_is_TypedArrayRémi Verschelde
2022-09-02Merge pull request #65218 from xX-Void-Xx/area2d/3d-optimizationRémi Verschelde
2022-09-02Merge pull request #64952 from Chaosus/vs_rename_uniform_to_paramRémi Verschelde
2022-09-02fixed and optimized Area2/3D get_overlapping_bodies/areasVoid
fixed a type and made it so area3d get_overlapping_x is similar to its counterpart func in area2d so that it uses TypedArray instead of Array and ERR_FAIL_COND_V_MSG instead of no message, also minimized array resize calls
2022-09-02Add `is_zero_approx` methods to `Vector2`, `3`, and `4`Jonathan Nicholl
2022-09-01Merge pull request #65187 from JohanAR/vector_to_sizeRémi Verschelde
2022-09-01Merge pull request #63479 from DarkKilauea/nav-linkRémi Verschelde
2022-09-01Replace Vector2(i) with Size2(i) for methods returning a sizeJohan Aires Rastén
2022-09-01Merge pull request #64157 from Mickeon/remove-mysterious-is-playingRémi Verschelde
2022-09-01Change Array arguments to TypedArraykobewi
2022-09-01Rename `uniform` to `parameter` across the engineYuri Rubinsky
2022-09-01Merge pull request #65073 from bruvzg/trim_spacesRémi Verschelde
[TextServer] Add support for trimming edge spaces on line break.
2022-09-01[TextServer] Add support for trimming edge spaces on line break.bruvzg
2022-08-31Implement Physical Light Units as an optional setting.clayjohn
This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value. In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
2022-08-31Merge pull request #63413 from Calinou/volumetric-fog-add-per-light-energy-2Rémi Verschelde
Add a per-light volumetric fog energy property
2022-08-31Merge pull request #63394 from Calinou/curve-gradient-rename-interpolateRémi Verschelde
Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`
2022-08-30Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio
"sampling" is a more accurate term than "interpolating" for what's happening when using that function.
2022-08-30Merge pull request #65087 from TokageItLab/change-skeleton-3d-apiRémi Verschelde
Clean-up/change some Skeleton3D API
2022-08-30Add a per-light volumetric fog energy propertyHugo Locurcio
Per-light energy gives more control to the user on the final result of volumetric fog. Specific lights can be fully excluded from volumetric fog by setting their volumetric fog energy to 0, which improves performance slightly. This can also be used to prevent short-lived dynamic effects from poorly interacting with volumetric fog, as it's updated over several frames by default unless temporal reprojection is disabled. Volumetric fog shadows now obey Light3D's Shadow Opacity property as well. The shadow fog fade property was removed as it had little visible impact on the final scene's rendering.
2022-08-30Clean-up/change some Skeleton3D APISilc Renew
2022-08-30Fixed surface material overrides are not applied when the new mesh is setNong Van Tinh
2022-08-29Expose input interaction virtual functions in CollisionObjectrafallus
2022-08-29Merge pull request #64119 from YuriSizov/theme-init-databaseRémi Verschelde
2022-08-26Added node for Navigation linksJosh Jones
2022-08-26Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde
Rename `str2var` to `str_to_var` and similar
2022-08-26Add ThemeDB, expose previously static Theme methodsYuri Sizov
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-26Restore RigidBody2/3D, SoftBody names in physicsfabriceci
2022-08-26Merge pull request #63528 from bruvzg/fix_lbl3d_oversamplingRémi Verschelde
2022-08-26Merge pull request #54646 from jmb462/fix-animatedsprite-animation-listRémi Verschelde
Fix AnimatedSprite2D & 3D animation list in inspector
2022-08-26Rename ParticlesMaterial to ParticleProcessMaterialMicky
Also affects their file names, related classes and documentation.