summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2021-02-19doc: Sync classref with current sourceRémi Verschelde
And fix various bogus bindings following previous PRs.
2021-02-18Refactor Process Modereduz
Implements https://github.com/godotengine/godot-proposals/issues/1835#issuecomment-727186192 * PauseMode is now ProcessMode, containing the following states: ``` PROCESS_MODE_INHERIT, // same as parent node PROCESS_MODE_NORMAL, // process only if not paused PROCESS_MODE_PAUSE_ONLY, // process only if paused PROCESS_MODE_ALWAYS, // process always PROCESS_MODE_DISABLED, // never process ``` * NOTIFICATION_PAUSED and NOTIFICATION_UNPAUSED are received effectively when the node is paused and unpaused (not any longer when pause mode is set in SceneTree). * Renamed some nodes that used ProcessMode/process_mode to specify a callback type to ProcessCallback to avoid clashes.
2021-02-18Merge pull request #45617 from RandomShaper/modernize_atomicsRémi Verschelde
Modernize atomics (and fix `volatile`)
2021-02-18Modernize atomicsPedro J. Estébanez
- Based on C++11's `atomic` - Reworked `SafeRefCount` (based on the rewrite by @hpvb) - Replaced free atomic functions by the new `SafeNumeric<T>` - Replaced wrong cases of `volatile bool` by the new `SafeFlag` - Platform-specific implementations no longer needed Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-02-18Reorganize Project Settingsreduz
-Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
2021-02-18add null check in MeshInstance::_mesh_changed()Angad Kambli
2021-02-18Merge pull request #46151 from ellenhp/fix_spatial_player_playRémi Verschelde
Fix a pop on play() in AudioStreamPlayer2D and 3D
2021-02-17Fix pops in play() of both spatial audio playersEllen Poe
2021-02-17Merge pull request #46124 from angad-k/cpu-particles-3d-fixRémi Verschelde
CPUParticles3D crash fix
2021-02-17add null check in _update_particle_data_buffer()Angad Kambli
add check to see if p_order is in range for CPUParticles3D::set_draw_order'
2021-02-17Add animation_finished signal and fix frame_changed signal for AnimatedSprite3DJitesh
Fixes #40301. Fixes #45947.
2021-02-16Use Vector3.UP as a default value for look_at's up vectorAaron Franke
2021-02-16Merge pull request #46040 from ellenhp/fix_seek_playback_posRémi Verschelde
Return setseek position if one exists in get_playback_position.
2021-02-15Merge pull request #45855 from hoontee/fix-45718Rémi Verschelde
Implement CollisionPolygon3D margin
2021-02-14Return setseek position if one exists in get_playback_position.Ellen Poe
2021-02-12Merge pull request #45859 from Kayomn/masterRémi Verschelde
Accomodate blend shape ranges of -1 to +1 for Vulkan
2021-02-11Implement CollisionPolygon3D marginhoontee
2021-02-10Removed _change_notifyreduz
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
2021-02-10Merge pull request #45845 from qarmin/cppcheck_scene_2Rémi Verschelde
Initialize class variables with default values in scene/ [2/2]
2021-02-10Make Servers truly Thread Safereduz
-Rendering server now uses a split RID allocate/initialize internally, this allows generating RIDs immediately but initialization to happen later on the proper thread (as rendering APIs generally requiere to call on the right thread). -RenderingServerWrapMT is no more, multithreading is done in RenderingServerDefault. -Some functions like texture or mesh creation, when renderer supports it, can register and return immediately (so no waiting for server API to flush, and saving staging and command buffer memory). -3D physics server changed to be made multithread friendly. -Added PhysicsServer3DWrapMT to use 3D physics server from multiple threads. -Disablet Bullet (too much effort to make multithread friendly, this needs to be fixed eventually).
2021-02-09Accomodate blend shape ranges of -1 to +1Kayomn
2021-02-09Initialize class variables with default values in scene/ [2/2]Rafał Mikrut
2021-02-08Merge pull request #45774 from revilo/fix-45694Rémi Verschelde
Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED …
2021-02-07Initialize class variables with default values in scene/ [1/2]Rafał Mikrut
2021-02-07Fix nan errors when using VehicleBodyRafał Mikrut
2021-02-06Bugfix: Update transform of collision shape on NOTIFICATION_PARENTED (fixes ↵Oliver Dick
invalid transform of collision shape in cases where the node is not supposed to enter the scene tree)
2021-02-06Simplify Volumetric Fogreduz
-Always use temporal reproject, it just loos way better than any other filter. -By always using termporal reproject, the shadowmap reduction can be done away with, massively improving performance. -Disadvantage of temporal reproject is update latency so.. -Made sure a gaussian filter runs in XY after fog, this allows to keep stability and lower latency.
2021-02-04doc: Don't bind argument names with p_ prefixRémi Verschelde
This prefix is used in the C++ codebase, not in the scripting API.
2021-02-03Merge pull request #45496 from Chaosus/fix_particlesRémi Verschelde
Fix particles not properly updated by their lifetime
2021-02-01Merge pull request #37547 from aaronfranke/tauRémi Verschelde
Use Math_TAU and deg2rad/etc in more places and optimize code
2021-02-01Merge pull request #45564 from aaronfranke/physics-nodes-real_tRémi Verschelde
Use real_t in physics nodes
2021-01-31Merge pull request #45315 from RandomShaper/modernize_threadRémi Verschelde
Modernize Thread
2021-01-29Use real_t in physics nodesAaron Franke
2021-01-29Modernize ThreadPedro J. Estébanez
- Based on C++11's `thread` and `thread_local` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed (except for the few cases of non-portable functions) - Simpler for `NO_THREADS` - Thread ids are now the same across platforms (main is 1; others follow)
2021-01-27Cache world in VisibilityNotifier3D to avoid crashkobewi
2021-01-27Fix particles not properly modified by their lifetimeYuri Roubinsky
2021-01-26Merge pull request #44814 from hoontee/fix-44714Rémi Verschelde
Do not clear materials when setting mesh
2021-01-24Several GI related optimizations and fixesreduz
-SDFGI direct light is done over many frames -SDFGI Changed settings for rays/frame -SDFGI Misc optimizations -SDFGI Bug fix on probe scroll -GIProbe was not working, got it to work again -GIProbe dynamic objects were not working, fixed -Added a half size GI option.
2021-01-20Merge pull request #45267 from HipsterPenguin/BugFixingRémi Verschelde
Fixed 6DOF set/get check for the path starting with joint_constraints
2021-01-19Added GPU based cluster builderreduz
Clustering is now GPU based, uses an implementation based on the Activision algorithm.
2021-01-19Fixed 6DOF set/get check for the path starting with joint_constraintsHipsterPenguin
New code checks whether or not property has joint_constraints as the first part of its path.
2021-01-15Merge pull request #45197 from nekomatata/improved-raycast-node-render-debugRémi Verschelde
Improve Raycast3D render debug
2021-01-15Merge pull request #38562 from Calinou/3d-light-size-property-hintRémi Verschelde
Tweak the 3D light size property to only allow reasonable values
2021-01-15Merge pull request #42713 from madmiraal/fix-42614Rémi Verschelde
Update area-body_shape_entered-exited signal documentation.
2021-01-14Improve Raycast3D render debugPouleyKetchoupp
Fix Raycast3D node render debug not showing in editor camera preview. Use dynamic mesh update to change the ray on-the-fly without too much extra cost when collision debug is enabled. Fixes #43571
2021-01-13Fix not clearing a Joint3D with only a B node when removing the B nodeMarcel Admiraal
2021-01-13Merge pull request #45136 from akien-mga/clang-format-11Rémi Verschelde
CI: Update to clang-format 11 and apply ternary operator changes
2021-01-12CI: Update to clang-format 11 and apply ternary operator changesRémi Verschelde
2021-01-12Fix collision shape update when changing shape propertiesPouleyKetchoupp
This change does two things: 1. Properly update the internal shape data using _update_in_shape_owner when updating a shape (in 2D it was resetting one way collision) 2. Avoid unnecessary updates when calling set_shape with the same shape, which happens each time a shape property is modified (e.g shape.extents.x = ...) Fixes #45090
2021-01-09Rename the final parameter of area_shape_entered-exited local_shape.Marcel Admiraal