summaryrefslogtreecommitdiff
path: root/scene/3d
AgeCommit message (Collapse)Author
2020-02-11Fixed 2D and 3D CPU ParticlesJuan Linietsky
2020-02-11More GIProbe work and fixesJuan Linietsky
2020-02-11GIProbes working.Juan Linietsky
2020-02-11Untested support for compute shadersJuan Linietsky
2020-02-11Modernized default 3D material, fixes material bugs.Juan Linietsky
2020-02-11Several fixes to 3D rendering, and multimesh implementation.Juan Linietsky
2020-02-11Directional lights and shadow mapping are functional.Juan Linietsky
2020-02-11Rewrote large part of rendering, omni and spot shadows now work.Juan Linietsky
2020-02-11Base 3D engine done, still untested, though.Juan Linietsky
2020-02-11Changes to material required to add custom shaders in RD rendererJuan Linietsky
2020-02-11A lot of progress with canvas rendering, still far from working.Juan Linietsky
2020-02-11Texture refactorJuan Linietsky
-Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
2020-02-10Documented the new NavigationServer and all its associated nodes (2D and 3D)Duroxxigar
2020-02-10- Integrated NavigationServer and Navigation2DServer.Andrea Catania
- Added Navigation Agents and Obstacles. - Integrated Collision Avoidance. This work has been kindly sponsored by IMVU.
2020-02-09Merge pull request #36048 from AndreaCatania/SoftBodyStiffRémi Verschelde
Make softbody completelly stiff to attachment point
2020-02-09Make softbody completelly stiff to attachment pointAndrea Catania
2020-02-08Added feature to move physical bones with skeleton when not simulating physicsAndrea Catania
2020-02-05Remove duplicate ERR_PRINT macro.Marcel Admiraal
2020-01-25Fixes crash in Spatial::notificationHaoyu Qiu
2020-01-24Allow greater values in unit_offsetTomasz Chabora
2020-01-22Merge pull request #35406 from lawnjelly/ortho-shadowRémi Verschelde
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
2020-01-22Change CameraMatrix::get_viewport_size to get_viewport_half_extentslawnjelly
Fixes #26637. Fixes #19900. The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2. Code which called this function has also been modified accordingly. This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width. It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
2020-01-22Incorrect joystick id was returned on an inactive ARVR controllerBastiaan Olij
2020-01-21Remove unused #if 0'ed codeRémi Verschelde
2020-01-16Validate input in (CPU)Particles set_emission_shape()Rémi Verschelde
Fixes #29777. Co-authored-by: Cameron Reikes <cameronreikes@gmail.com>
2020-01-15Fixes get_floor_normal() returning the user defined floor_normal.Marcel Admiraal
When there is no collision with a floor the get_floor_normal() function should return the zero vector to be consistent with get_floor_velocity(). Renames floor_normal to up_direction in all bindings. Updates the documentation of get_floor_normal() and get_floor_velocity() to make it clear when the values are valid. Updates the documentation for move_and_slide() and move_and_slide_with_snap() to use the new up_direction parameter name.
2020-01-10Added function to expose floor normal, useful to correctly calculate player ↵Andrea Catania
velocity. This work has been kindly sponsored by IMVU.
2020-01-09fixed camera project_position function that was still using the near ↵Ben Hickling
parameter in a few calculations
2020-01-05Don't update the floor_velocity with the current linear_velocity.Marcel Admiraal
Updating the floor velocity with the body's current linear velocity discards the velocity component provided by the body's angular rotation. Without the current contact point there is no way to calculate the current velocity component provided by the body's angular rotation therefore we need to use the velocity calculated at the time of the collision. Fixes #34807.
2020-01-02Update Camera.project_position to not return get_global_transform().origin ↵SIYU FU
if projection mode is orthogonal
2020-01-02Fix wrong disconnect in callback in VisibilityNotifier 3DАлександр Растриженков
2020-01-02Merge pull request #34720 from Calinou/light-gizmo-color-by-lightRémi Verschelde
Tint 3D light gizmos using the light's color
2020-01-01Merge pull request #34665 from timothyqiu/camera-fovRémi Verschelde
Clamps fov/size for Camera gizmo
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2020-01-01Tint 3D light gizmos using the light's colorHugo Locurcio
This makes navigation more convenient in the 3D viewport, especially when using the unshaded display mode.
2019-12-29Clamps fov/size for Camera gizmoHaoyu Qiu
2019-12-22i18n: Sync translations with Weblate + update templateRémi Verschelde
Also fix a few stray clang-format formatting errors that passed through CI unnoticed.
2019-12-21Add a range property hint for the number of contacts reportedHugo Locurcio
This closes #34505.
2019-12-16Use an internal skin unless one is supplied by user, fixes #32766Juan Linietsky
Even though this fixes the issue, the broken Skin resource in the inherited scene mesh will remain, it needs to be erased manually.
2019-12-14Merge pull request #34300 from Acvarium/ragdoll-impulsRémi Verschelde
Added apply_impulse methods to PhysicalBone for ragdolls
2019-12-12Added apply_central_impulse to PhysicalBone classVitalii Shmorhun
2019-12-12Fix for collision polygon not working at all on exported builds.jitspoe
(cherry picked from commit a169e1406de77c3abfe670217f18bcf2c1468bae)
2019-12-10Merge pull request #34040 from qarmin/unused_variable_more_precise_numbersRémi Verschelde
Removed unused variables, add some constants numbers
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-12-02Ensure move_and_slide() is consistent between the 2D and 3D versions.Marcel Admiraal
In the 3D version: - Partially revert #20908 that was reverted in the 2D version as part of #21653. This ensures that the Vector returned is always perpendicular to the surface collided with; and not the floor_normal Vector passed to the function when on a floor. - Include an update of the floor velocity before multiplying by the time delta, which was added to the 2D version as part of commit 13a8014. In the 2D version: - Use the Vector2.slide() function instead of Vector2.tangent() to adjust the amount of motion the stop_on_slope undoes to ensure that it is in the right direction. This is a implementation of the 3D approach from #30588. - Combine the !found_collision and motion == Vector2() checks for break. - Other minor formating changes to make the functions look identical. Also renamed some variables to align with their use.
2019-12-01Properly remove joint when a physical bone is removed from the scenePouleyKetchoupp
It was triggering a warning in bullet followed with a crash in some cases. WARNING: assert_no_constraints: A body with a joints is destroyed. Please check the implementation in order to destroy the joint before the body. At: modules/bullet/rigid_body_bullet.cpp:465
2019-12-01Merge pull request #34019 from nekomatata/inspector-transform-updateRémi Verschelde
Update transform property in the inspector when changing translation/rotation/scale
2019-11-30Update transform property in the inspector when changing ↵PouleyKetchoupp
translation/rotation/scale
2019-11-30Port Path2D changes to 3DTomasz Chabora
2019-11-21GIProbe::bake: Remove check for ownershipPtrMan
Fixes #28508.