-
Notifications
You must be signed in to change notification settings - Fork 43
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
Displaying billboarded text #29
Comments
Yeah, I agree that would be nice. It's not currently supported in the underlying meshcat javascript library, though, so there'd have to be some work done. I can see a couple of options:
The second option likely requires fewer changes (once #28 comes in), but might be less flexible. Can you tell me more about what you'd want to do with billboarded text? |
Sure, I'm not sure about the differences between the two options, but I think it's between rendering in the 3D world or on a separate canvas? Ideally the text would exist in the 3D world (not an overlaid canvas), so that we don't have to worry about culling etc. I'd like to annotate objects in the 3D world, show their names and some brief information that would always face the camera. My PoC: https://github.com/GearsAD/SynchronySDK.jl/blob/MeshCat_PoC/examples/MeshCat_VisPoC.jl In this scenario I'd like to draw the node label+ID and details. I see there's a lot of talk about this at threejs :mrdoob/three.js#1321, but not sure if it ended in consensus (I'm new to three.js). |
Ah, ok. Yes, if you want the text to live in the 3D world (but be rendered facing the camera), then that's definitely option (1). I'm not sure how to do that in threejs either, but I think the link you posted is the right place to start. |
Any chance adding some sort of text display will be easier now that #28 is merged? I'd love to be able to add some text tags to parts of my scenes but haven't found a good way to do it yet. |
Any chance for supporting billboarded text (2D text that always faces the camera)?
Great library by the way! Similar to Drake without all the deps, nice.
The text was updated successfully, but these errors were encountered: