Hi everyone,
Just wanted to share my very basic implementation of ViewCube.
It transforms the view to face the model at a orientation specified by one of the cube faces.
Hi everyone,
Just wanted to share my very basic implementation of ViewCube.
It transforms the view to face the model at a orientation specified by one of the cube faces.
Great, I’ll put it in the collection.
related
see in the Collection of examples from discourse.threejs.org 2019
Looks like 3DS Max’s ViewCube.
Thanks for sharing the source code on github.
React & TypeScript code are really good!!
html overlay is an interesting solution! this was our attempt, an orthographic projection via r3f: https://codesandbox.io/s/react-three-fiber-viewcube-py4db (would still need onClick to react to clicks)
we use it in a slightly more complex form in a web based cad system
Did you oriented on the Unity one too? I join the club
I made one entirely with three.js for my viewer too.
demo: http://glb-viewer.blogspot.com/
source: https://github.com/bytezeroseven/GLB-Viewer