<DIV>Hi,</DIV>
<DIV>I wish to display some text as overlay on my window to show</DIV>
<DIV>information about the volume it displays. </DIV>
<DIV>I can do it fine, except that some characters looks corrupted</DIV>
<DIV>each time the renderer renders. It is always different characters</DIV>
<DIV>and I've try a few ways to display the text and I always have the</DIV>
<DIV>same problem. Any idea on how to correct that? I am using a </DIV>
<DIV>ATI 9600 Radeon (128 mb) card if it might be the problem. (VTK 4.2.2)</DIV>
<DIV> </DIV>
<DIV>Here is how I add the text, Is it alright? I did exactly the same way</DIV>
<DIV>as VTK user guide 4.2,</DIV>
<DIV> </DIV>
<DIV><FONT size=2>
<P>m_Text = vtkTextMapper::New();</P><FONT size=2>
<P>m_Text->SetFontSize(14);</P>
<P>m_Text->SetFontFamilyToArial();</P>
<P>m_Text->SetVerticalJustificationToBottom();</P>
<P>m_Text->SetJustificationToLeft();</P>
<P>m_Text->BoldOn();</P>
<P>m_Text->ItalicOn();</P>
<P>m_Text->ShadowOn(); <FONT size=2></P>
<P>m_TextActor = vtkScaledTextActor::New();</FONT><FONT size=2></P>
<P>m_TextActor->SetMapper(m_Text);</P>
<P>m_TextActor->SetDisplayPosition(10, 10);</P>
<P>m_TextActor->GetProperty()->SetColor(0, 1, 0);</P>
<P>m_renderer->AddActor2D(m_TextActor);</P>
<P>Thank you!</P>
<P>----</P>
<P>Mathieu</P></FONT></FONT></FONT></DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>