I would like to use the libigl viewer to display a 3d model and a point. The 3d model will remain unchanged at all time, but the point will move around. My current approach is basically:
- load the 3d model and point
- viewer.data().clear() to clear the viewer
- go to step 1 again
However, it's slow especially when the 3d model has a lot of vertices because it needs reload everything after each clear. Preferably, I want to either clear only that single point or move that point to a new coordinate. Is there a way to do that?