is it possible to use vtkDistanceToCamera to keep an actor size fixed without using vtkGlyph3D

Hi,

First of all, there’s this example : https://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/DistanceToCamera that shows how to keep 2 arrows size fixed, whatever the camera zoom level using vtkDistanceToCamera and vtkGlyph3D.

I took this last example and I successfully replaced the arrows by a PNG image file texture mapped on a plane. I used this example to create the PNG glyphs : https://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/TextureMapPlane

My question is : Is there another way other than using vtkGlyph3D to use vtkDistanceToCamera to keep the PNG image size fixed (or even a vtkArrowSource).

Thanks.

The answer is yes, I have to use a vtkGlyph3DMapper instead of vtkPolyDataMapper.