[vtk-developers] Where did my text go?

Bill Lorensen wlorens1 at nycap.rr.com
Sat Jan 18 12:42:32 EST 2003


Folks,
I have an app that displays text on top of an image. I'm using a vtkRenderer with two vtkActor2D's, one for the image and one for the text. I use AddActor2D to add the actors.

The image is mapped with vtkImageMapper and the text with a vtkTextMapper. I use vtkTextProperty to set the font and size of text.

This (or a compatible earlier version) has been working for a couple of years.

Recently, (I'm not sure when because I don't think we have a test that renders text over an image), my text disappeared. If I don't  add the image to the renderer, the text appears.

Has anyone else seen this problem?

Bill




More information about the vtk-developers mailing list