Skip to content

[bugfix + Gizmo] Improve the look of 3d movement gizmos #1194

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

Merged
merged 2 commits into from
Mar 10, 2025

Conversation

Variable-ind
Copy link
Contributor

@Variable-ind Variable-ind commented Mar 9, 2025

  • Fix a bug where axis sometimes got inverted when scaling (fixed by using normalized())
bug-.2.mp4
  • The axis lines have different width depending on their position, this adds a little bit of perspective/depth to the gizmos
  • The axis lines stay visible when rotation is active (this is more pleasing to the eye, plus the user can easily get an intuitive understanding of what's going on for symmetrical shapes like cylinder, sphere, etc)
  • The X, Y, Z text was too large so CHAR_SCALE was decreased from 16 to 10 (This is not shown in the picture)

Screenshot from 2025-03-09 23-10-45

@Variable-ind Variable-ind changed the title Improve the look of 3d movement gizmos [bugfix + Gizmo] Improve the look of 3d movement gizmos Mar 9, 2025
Copy link
Member

@OverloadedOrama OverloadedOrama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@OverloadedOrama OverloadedOrama merged commit 9860f08 into Orama-Interactive:master Mar 10, 2025
4 checks passed
@Variable-ind Variable-ind deleted the 3d-gizmo-depth branch March 10, 2025 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants