[vtkusers] vtkTextWidget and backface culling

Panagiotis Mavrogiorgos pmav99 at gmail.com
Sun Aug 21 10:21:38 EDT 2011


Hi,

I am using a vtkTextWidget to annotate a vtk image. The image renders ok,
but if I turn backface culling on, the text is not displayed. Is this the
expected behavior or is this considered a bug?

Any ideas about how I can get the annotations displayed with backface
culling?

An example demonstrating the problem can be found
here<http://www.vtk.org/Wiki/VTK/Examples/Python/Widgets/TextWidget>.
Simply adding the following line after the text_widget.On() should do it.

actor.GetProperty().BackfaceCullingOn()

with regards,
Panos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110821/e7e7b5d7/attachment.htm>


More information about the vtkusers mailing list