Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the 3D editor selection box appearance (3.2) #43424

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Nov 9, 2020

Backport of #40106 for the 3.2 branch.

  • Draw two boxes slightly offset from each other to give the illustion of a thicker outline.
  • Decrease the offset compared to the 3D node's AABB to give a more accurate representation of its size.
  • Make the box fully visible instead of only displaying the corners.
  • Draw a x-ray version of the box that's more translucent, but visible through walls. This helps make the box more visible while still having a sense of depth.
  • Use an orange color similar to the 2D editor.

Preview

3D selection box

- Draw two boxes slightly offset from each other to give the illustion
  of a thicker outline.
- Decrease the offset compared to the 3D node's AABB to give a more
  accurate representation of its size.
- Make the box fully visible instead of only displaying the corners.
- Draw a x-ray version of the box that's more translucent, but visible
  through walls. This helps make the box more visible while still
  having a sense of depth.
- Use an orange color similar to the 2D editor.
@akien-mga akien-mga merged commit 07ee556 into godotengine:3.2 Nov 9, 2020
@akien-mga
Copy link
Member

Thanks!

@Calinou Calinou deleted the improve-3d-selection-box-3.2 branch March 31, 2021 09:45
@akien-mga akien-mga modified the milestones: 3.2, 3.3 Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants