I’m using a vtkLabeledDataMapper to display multiple strings at 3D positions.
Mapper is filled in with a vtkPolyData containing points (for positions) and data arrays (one for strings and one for types = text properties).
Works great, except that if the very last point of the PolyData goes out of the viewport (user pans the camera), then the whole Actor disappears (all texts become invisible).
Initial scene => 4 texts visibles
The upper-left-most text is the last text of the Mapper / PolyData.
I’ve dug a little into vtkLabeledDataMapper’s code, and can’t see an obvious element that could explain the above behavior.
I guess the problem comes from a more general treatment in the rendering pipe, something that thinks the Mapper is out of sight, and discard it totally.
I’ve searched for it in VTK source (Actor2D, Mapper, etc …) but it’s not that easy.
Do you have any idea Timothee that could narrow down my search ?