I’m using troika-three-text with Three.js. In Onshape, when you rotate the camera, text is visible from the back exactly the same as from the front. I need the same behavior:
I have never used troika, but if it is a mesh that can be rotated, you may just flip the mesh when needed.
Something like this (but in your case flipping should be around vertical axis and should depend on the camera position):
2 Likes
1 Like
Maybe something like this, but without the hardcoded values:
5 Likes
Here is a CodePen example I created using helvetiker font.
As I recall, creating a two-sided text label was fairly straightforward. Creating animated numbers involved more work.
I used them in a set of tutorials, like this one.
3 Likes