viser
viser copied to clipboard
how to draw an arrow in the scene
Thanks for your great work, I have a question here is how can I draw an arrow on the scene defined by me?
Hello!
If you can create the arrow as a mesh, we do support adding meshes:
- https://viser.studio/latest/scene_api/#viser.SceneApi.add_mesh_simple
- https://viser.studio/latest/scene_api/#viser.SceneApi.add_mesh_trimesh
You can also add a spline, although the head of the arrow will require some manual effort on your end:
- https://viser.studio/latest/scene_api/#viser.SceneApi.add_spline_catmull_rom