Ok, with the Mesa thing out of the way I'm back to the other question.. how do I get vtkTextActor's to work?<br><br>I'm using code like the following:<br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
vtkTextActor *textActor = vtkTextActor::New();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> textActor->SetInput(scene->title);</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> textActor->ScaledTextOn();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> textActor->SetMinimumSize(15,15);
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> textActor->SetMaximumLineHeight(0.1);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
textActor->SetDisplayPosition((scene->output_width * 0.25),</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> (scene->output_height *
0.5));</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> textActor->GetPosition2Coordinate()</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
->SetCoordinateSystemToNormalizedViewport();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> textActor->GetPosition2Coordinate()->SetValue(
0.1, 0.6);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> textActor->GetTextProperty()->SetFontFamilyToArial();</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> textActor->GetTextProperty()->ShadowOn();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> textActor->GetTextProperty()->BoldOn();
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> textActor->GetTextProperty()->SetJustificationToCentered();</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> textActor->GetTextProperty()->SetVerticalJustificationToTop();</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
textActor->GetTextProperty()->SetColor(scene->fontColor);</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
ren1->AddActor2D(textActor);</span><br><br clear="all">And while I've verified that the code does in fact run just fine, I see no text on my display. I've tried adjusting colors and adjusting the DisplayPosition & Position2Coordinate to no avail. This code used to work back in the
4.4 days, with the addition of the vtkTextMapper which used to be required, but I haven't had any luck with the 5.0 versions of it.<br>-- <br>----------------------------------------<br>Randall Hand<br>Visualization Scientist
<br>ERDC MSRC-ITL