[vtkusers] vtkTextActor coming out really fuzzy when linking with VTK CVS build!
Mark Wyszomierski
markww at gmail.com
Thu Feb 1 16:13:09 EST 2007
Hi,
Using the CVS version of VTK, my vtkTextActors are rendered very
fuzzy. The same code compiled with VTK 5.0 renders them crisply. Here
are two links to show the difference:
with v5.0:
http://i87.photobucket.com/albums/k153/bnf_intro/WithV5.jpg
with CVS:
http://i87.photobucket.com/albums/k153/bnf_intro/WithCVS.jpg
Any idea why this is happening? Here is all my code:
vtkTextActor *TextActor = vtkTextActor::New();
TextActor->ScaledTextOff();
TextActor->SetDisplayPosition(5,5);
TextActor->SetInput("Hello there.");
vtkTextProperty *pTextProperty = TextActor->GetTextProperty();
pTextProperty->SetFontSize(14);
pTextProperty->SetColor(1,1,1);
pTextProperty->BoldOn();
pTextProperty->ShadowOn();
pTextProperty->SetFontFamily(VTK_ARIAL);
Thanks,
Mark
More information about the vtkusers
mailing list