| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
Small subdivisions aren't useful that often and make it difficult for
people to get a sense of scale in 3D.
|
| |
|
|
|
| |
ALT key modifier was hardcoded is node_3d_editor_plugin.cpp and didn't take editor settings into account.
Fix #46973
|
| |
|
|
|
|
| |
Commit 5ef62e546f485e5f2798230dcfbea2b4ddecbe6e renamed EditorNode3DGizmoPlugin "get_name" to "get_gizmo_name", but it wasn't done everywhere. Because EditorNode3DGizmoPlugin inherits from Resource, it was then using Resource::get_name() which resulted in null names.
Fixes godotengine/godot#46349
|
| |\
| |
| | |
Prevent crash when clicking Mesh in MeshInstance when is scene root
|
| | | |
|
| | |
| |
| |
| |
| | |
Add an editor gizmo to CollisionObject3D.
CollisionShape3D no longer shows collision shapes directly.
|
| | | |
|
| |/
|
|
|
|
|
|
|
| |
* Adds both a preview sun and preview environment to the 3D editor.
* They are valid as long as a DirectionalLight3D and WorldEnvironment are not in the scene.
* If any is added to the scene, the respective preview is disabled.
* Changed WorldEnvironment to better handle multiple node versions.
* Added a function in SceneTree to get the first node in a group.
* Fixed button minimum size to also consider font height if no text is there, this broke with the TextSever PR.
|
| | |
|
| |
|
|
|
|
|
| |
-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.
|
| |
|
|
|
|
| |
-Only update rendering settings when project settings change
-Fixes the update spinner (and editor rendering) updating all the time.
-Added a "project_settings_changed" signal to EditorNode and EditorPlugin
|
| | |
|
| |\
| |
| | |
3D editor grid improvements
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit adds a view-dependant fade to the 3D viewport grid. It fades out
at steep view angles to hide the solid regions that appear far from the camera.
I also included a fade to hide the grid borders.
I added some improvements to the dynamic grid when the camera is in orthogonal mode.
It properly handles zoom now, and the grid center is now set to the intersection point
between the grid plane and the camera forward ray, keeping the grid
always visible.
|
| |\ \
| | |
| | | |
Use Math_TAU and deg2rad/etc in more places and optimize code
|
| | | | |
|
| | |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
- fixes scale values of 0.0013 (det == 0.00004) not rendering, they should render even at small values, but not at zero like the editor grid plugin supplies zero exactly.
- fixes node_3d_editor_plugin visibility bug when scale is zero
- fix culling with small scaling values - which are still valid to be rendered like 0.00004
note: grid is still not fixed, it has det == 0 issues but this fixes one of them.
|
| | |
| |
| |
| |
| |
| |
| | |
-All shadow rendering is done with raster now (no compute)
-All shadow rendering is done by rendering directly to the shadow atlas
-Improved how buffer clearing is done to optimize the above.
-Ability to set shadows as 16 bits.
|
| | |
| |
| |
| | |
Clustering is now GPU based, uses an implementation based on the Activision algorithm.
|
| |/
|
|
|
|
|
| |
Cinematic preview enables the Camera3D preview automatically.
When previewing a Camera3D, the rotation gizmo isn't displayed as
it can't be used.
|
| |\
| |
| | |
Fixed incorrect offset of snap to floor
|
| | |
| |
| |
| |
| |
| |
| | |
fix for issue #44282
AABB for collision geometry was being calculated based on parent nodes transform without consideration for collision geometries translation.
Also hopefully clarified logic for selecting starting point for ray cast
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
|
| |\ \
| | |
| | | |
Color 3D editor frame time labels depending on the performance level
|
| | | |
| | |
| | |
| | |
| | | |
This provides easier visual grepping for each value
(CPU time, GPU time, FPS).
|
| | | |
| | |
| | |
| | | |
A restart is required to apply the setting change.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
EditorNode::get_viewport()
Fixes #44761, was a regression from #44524.
The PR passed CI because EditorNode::get_viewport() used to shadow Node::get_viewport()
(which was a bug in itself, fixed by #44524), so once it was renamed the existing code
relying on it fell back to the now available Node::get_viewport().
This might bite some thirdparty modules too.
|
| |\ \ \
| | | |
| | | | |
Rename Camera3D near and far getters and setters
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Renames:
- get_znear() -> get_near()
- set_znear() -> set_near()
- get_zfar() -> get_far()
- set_zfar() -> set_far()
|
| | | | | |
|
| |\ \ \ \
| |_|/ /
|/| | | |
Move the brightness factor for highlighted 3D gizmos to a variable
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
See
https://github.com/godotengine/godot/commit/8522ac77113c3d5239ff4c6cd74ab7b92e1ee663#r45230326.
|
| | |/ /
|/| | |
|
| |\ \ \
| | | |
| | | | |
Rename Rect2 and Rect2i clip() to intersection()
|
| | | | | |
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes it possible to view far away objects without
having to tweak any settings. This results in a more usable
editor when working on large-scale levels.
This change should have no impact on performance, but note that
Z-fighting will be visible at a distance. This can be made less
visible by increasing the Znear value (however, doing so will cause
nearby surfaces to disappear).
This change was also applied to the editor, but it will only
apply to newly created scenes.
This also changes the default camera settings in the glTF importer
to match the Camera node's defaults.
|
| |/ /
| |
| |
| |
| |
| |
| | |
-Happens on import by default for all models
-Just works (tm)
-Biasing can be later adjusted per node or per viewport (as well as globally)
-Disabled AABB.get_support test because its broken
|
| | | |
|
| |\ \
| | |
| | | |
Increase the default 3D manipulator gizmo opacity for better visibility
|
| | |/
| |
| |
| |
| |
| | |
- Brighten gizmos when highlighted to make the difference between a
non-highlighted and a highlighted gizmo more visible.
- Tweak the manipulator gizmo size property hint.
|
| |/
|
|
|
|
| |
Also renames:
- AcceptDialog add_cancel() to add_cancel_button()
- ConfirmationDiaglog get_cancel() to get_cancel_button()
|
| |\
| |
| | |
fix for snap to floor editor crash bug
|
| | |
| |
| |
| |
| | |
fix for issue #44231: snap_selected_nodes_to_floor() results in an editor
crash when a child collisionshape has invalid shape object
|
| | | |
|
| |/
|
|
|
|
| |
Removes unused code in OS.
Fixes return types.
Fixes few typos.
|
| | |
|
| | |
|