summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2021-06-14Merge pull request #49572 from azagaya/fix_grabber_areaRémi Verschelde
Fix vertical slider grabber_area height calculation
2021-06-14Merge pull request #49586 from timothyqiu/iter-invalidateRémi Verschelde
Fix crash when using TileMap::fix_invalid_tiles
2021-06-14Merge pull request #48287 from aaronfranke/camera-is-frustumRémi Verschelde
2021-06-14Merge pull request #49458 from JFonS/fix_unwrap_xformRémi Verschelde
Rename get_parent_spatial() to get_parent_node_3d()
2021-06-14Add is_position_in_frustum to Camera3DAaron Franke
2021-06-14Merge pull request #48847 from JFonS/vis_depsRémi Verschelde
Implement visibility range and dependencies
2021-06-14Rename get_parent_spatial() to get_parent_node3d()jfons
Renames get_parent_spatial() to get_parent_node3d() and changes its implementation. Before it was not returning a correct pointer if the node wasn't added to a SceneTree. Now it uses the same implementation as CanvasItem, which will be correct even for nodes outside a SceneTree.
2021-06-14Implement visibility range and dependencies.jfons
This commit adds the following properties to GeometryInstance3D: `visibility_range_begin`, `visibility_range_begin_margin`, `visibility_range_end`, `visibility_range_end_margin`. Together they define a range in which the GeometryInstance3D will be visible from the camera, taking hysteresis into account for state changes. A begin or end value of 0 will be ignored, so the visibility range can be open-ended in both directions. This commit also adds the `visibility_parent` property to 'Node3D'. Which defines the visibility parents of the node and its subtree (until another parent is defined). Visual instances with a visibility parent will only be visible when the parent, and all of its ancestors recursively, are hidden because they are closer to the camera than their respective `visibility_range_begin` thresholds. Combining visibility ranges and visibility parents users can set-up a quick HLOD system that shows high detail meshes when close (i.e buildings, trees) and merged low detail meshes for far away groups (i.e. cities, woods).
2021-06-14Fix crash when using TileMap::fix_invalid_tilesHaoyu Qiu
2021-06-14Fixed error spam when XR mode is not enabled and a missed setting renameBastiaan Olij
2021-06-13Fix vertical slider grabber_area height calculationazagaya
2021-06-13Merge pull request #49227 from pycbouh/editor-theme-freeze-changesRémi Verschelde
Prevent `Theme` resource from emitting changes during bulk operations
2021-06-13Merge pull request #48207 from BastiaanOlij/multiview_stereoscopicRémi Verschelde
Add stereoscopic rendering through multiview
2021-06-13Add stereoscopic rendering through multiviewBastiaan Olij
2021-06-13Merge pull request #49526 from Chaosus/fix_textureregion_errorsRémi Verschelde
2021-06-13Merge pull request #49543 from greatmomo/SkeletonModification_bugfixRémi Verschelde
2021-06-13Merge pull request #49558 from timothyqiu/invalid-refRémi Verschelde
2021-06-13Merge pull request #49555 from timothyqiu/tileset-rangeRémi Verschelde
Add range check for TileSet::CellNeighbor parameter
2021-06-13Merge pull request #49553 from timothyqiu/viewport-outside-treeRémi Verschelde
Fix Viewport crashes when not in tree
2021-06-13Validate parameter of SkeletonModificationStack2D::add_modificationHaoyu Qiu
2021-06-13Add range check for TileSet::CellNeighbor parameterHaoyu Qiu
2021-06-13Fix Viewport crashes when not in treeHaoyu Qiu
2021-06-13Initialize PhysicalBone2D::parent_skeletonHaoyu Qiu
2021-06-12Merge pull request #48746 from KoBeWi/bane_of_all_virtual_compatibilityRémi Verschelde
Consistently prefix bound virtual methods with _
2021-06-12Fixed crash on calling set_editor_draw without properly setupMoritz Kaltenbrunner
SkeletonModification
2021-06-12Fixed a bunch of connection errors in TextureEditorPluginYuri Roubinsky
2021-06-12Consistently prefix bound virtual methods with _kobewi
2021-06-12Fix tangents array in SurfaceTooljfons
2021-06-11Merge pull request #49312 from RandomShaper/reference_to_ref_countRémi Verschelde
Rename `Reference` to `RefCounted`
2021-06-11Merge pull request #47835 from mortarroad/master-lossless-webpRémi Verschelde
Implement lossless WebP encoding
2021-06-11Rename Reference to RefCountedPedro J. Estébanez
2021-06-11Implement lossless WebP encodingMorris Tabor
2021-06-11Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
2021-06-10Move default values from definition to declaration in GraphEditMarcel Admiraal
2021-06-09Merge pull request #49155 from ↵Rémi Verschelde
winterpixelgames/button-pressed-during-button-up-signal Emit button_up signal after setting pressed to false.
2021-06-09Merge pull request #42248 from Chaosus/vs_particles_shaderRémi Verschelde
Continuation of work on visual particles system
2021-06-09Merge pull request #47280 from winterpixelgames/focus_doesnt_change_hoverRémi Verschelde
Dont Change Hovering during Control Focus Events
2021-06-09Merge pull request #49395 from nekomatata/floor-max-angle-degreesRémi Verschelde
Use degrees instead of rad for floor_max_angle property in CharacterBody
2021-06-08Use degrees instead of rad for floor_max_angle property in CharacterBodyPouleyKetchoupp
2021-06-08Removes deleted OrenNayar mode from shaders and materialsYuri Roubinsky
2021-06-08Merge pull request #49378 from BastiaanOlij/fix_execute_modifications_bindRémi Verschelde
Fixed mistake in binding of Skeleton2D::execute_modifications
2021-06-08Fixed mistake in binding of Skeleton2D::execute_modificationsBastiaan Olij
2021-06-07Continuation of work on visual particles systemYuri Roubinsky
2021-06-07Merge pull request #49128 from Calinou/improve-position-node-axis-visibilityRémi Verschelde
Improve axis awareness and visibility for Position2D and Position3D
2021-06-07Merge pull request #49221 from Faless/mp/4.x_rpc_refactorRémi Verschelde
[Net] Refactor RPCs, remove RSETs
2021-06-07Merge pull request #49307 from pycbouh/tabs-update-on-theme-changesRémi Verschelde
Make sure `Tabs` reflect theme changes
2021-06-07Merge pull request #49308 from pycbouh/theme-prevent-type-overrideRémi Verschelde
Fix `Theme` overriding existing theme types with empty
2021-06-07Merge pull request #49382 from akien-mga/misc-cleanupRémi Verschelde
Style: Cleanup uses of double spaces between words
2021-06-07Merge pull request #49384 from madmiraal/rename-collisionobject3d-input_eventRémi Verschelde
Rename CollisionObject3D input_event signal position and normal parameters
2021-06-07Style: Cleanup uses of double spaces between wordsRémi Verschelde
Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.