trying to add a text geometry, stuck in JavaScript
See original GitHub issueHi Robin, I’m trying to add a text geometry where I can put short description of the scene like ‘new initialization’, so it’d be easier for audience to interpret my animation.
I added a TextGeometry
in the geometry.py
file, similar to all the box/sphere. By reading this https://threejs.org/docs/#api/en/geometries/TextGeometry documentation, not much is needed other than passing in params, and I’m almost sure I’ve done this part correctly.
But when declaring a new TextGeomotry
, python throws error saying ‘uuid’ not defined. Looking into some threejs documentation, this seems to be potentially caused by missing of Three.FontLoader()
dependency, but then I’m stuck. I have a vague sense the JS files under the viewer folder is what I should modify but I don’t know exactly how?
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
+1
Would also love a text geometry feature in MeshCat - would be great to display text alongside animations for self contained demonstrations
Hello, is there any update on the TextGeometry in the latest meshcat version? Is there specific commit supporting it? Thanks.Matthias