I need to make the text face the camera, so I tried two methods
vtkVectorText + vtkFollower
This method cannot have a fixed font size like vtkTextActor
vtkTextActor
It is a vtkActor2D object, this method can not set the z-axis coordinates, can not fix the font at a certain position (x, y, z)
So how can I display fixed-size text at a certain point (x, y, z)? When I zoom the camera, its size will not change, and it always faces the camera