The V2
Is Here!
(Apologies for the delay, and thanks for your patience!)
The new Version 2 now available, featuring significant updates, new functionality, and key fixes based on community feedback. Here’s what’s new:
New Features & Improvements
-
New Cube Support: The gizmo now includes a CAD like cube representation.
-
More Configuration Options: Customize the gizmo’s look and feel with greater control over its appearance.
-
Corners and Edges Support: Added support for selecting and highlighting corners and edges for both
sphere
andcube
types. -
Improved Orientation Handling: Switched to spherical coordinates, its more accurate, and resolve prior issues with the old
euler
based computation. -
New
placement
Property: Dynamically update the gizmo placement at runtime. -
New
set
Method: Regenerate the gizmo entirely during runtime. (Use sparingly—it’s not performance-friendly!)
Fixes
- Three.js Versioning: Fixed compatibility issues across Three.js versions.
- Orientation Handling: Fixed some inaccuracies with the mouse orientation handling.
- Axis options: Added an
enabled
option for better axis control. - Dependencies Cleanup: Adjusted dependencies, moving relevant ones to
peerDependencies
anddevDependencies
.
Acknowledgments
- @wenrenqiang : Thank you for initiating the need for this tool in the first place.
- @drcmda : Thank you for suggesting the cube option.
- @crystalfp : Thank you for your thorough reviews and outside perspective—it was incredibly helpful!
- @agargaro : I appreciate your assistance in cleaning up dependencies.
- @GitHubDragonFly : Thanks for suggesting the
placement
property and inspiring the newset
method. - @dubois: Thanks for sharing your inspiring viewcube version.
- @hofk : Thanks for all the gems you’re sharing on this forum.
- @prisoner849 : I can’t make an “Acknowledgments” section without acknowledging the G.O.A.T
Future Plans
- Add arrow controls for even more interactivity.
- Explore automated Git and npm deployments to streamline releases.
As always, your feedback, suggestions, and constructive criticism are greatly appreciated. Let me know if you’d like to tweak anything further!