[vtkusers] vtkTextActors very fuzzy with CVS version
Mark Wyszomierski
markww at gmail.com
Mon Feb 5 10:49:38 EST 2007
Hi again,
Anyone have any idea about this? Didn't get a response last week:
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