[vtkusers] Re: vtkTextActors very fuzzy with CVS version

Mark Wyszomierski markww at gmail.com
Wed Feb 7 16:45:47 EST 2007


Well just as an update I used the pretty painless work around proposed by Dean:

    vtkActor2D/vtkTextMapper pair

and I have readable text again now.

Thanks,
Mark

On 2/6/07, Mark Wyszomierski <markww at gmail.com> wrote:
> Hmm I wonder why it was fixed when it was not broke. I will try the
> work around for now. Thanks for your suggestions, I appreciate them,
>
> Mark
>
> On 2/5/07, Goodwin Lawlor <goodwin.lawlor at ucd.ie> wrote:
> > Dean Inglis wrote:
> > > Hi Mark,
> > >
> > > I have the same problem  (Borland
> > > builds running on Win2k, WinXP running NVIDIA
> > > cards).  I think this started happening with the switch to
> > > using vtkImageMapper instead of vtkTextMapper within
> > > vkTextActor (.h revision 1.8, .cxx rev 1.23).
> > > A workaround is to use a vtkActor2D/vtkTextMapper pair,
> > > but this cannot be done for certain vtk classes
> > > that maintain a vkTextActor ivar (e.g., vtkAxesActor).
> > > I don't know the nuts & bolts of vtk text actors/mappers,
> > > so can't offer any insight on how to fix this.
> > >
> > > Dean
> >
> > Hi Dean and Mark,
> >
> > I notice this with vtkAxesActor too.
> >
> > I looked back over the CVS logs for vtkTextActor since 5.0 and it looks
> > like its that change alright (r1.30). vtkImageMapper isn't used though-
> > the font is rendered into a vtkImageData buffer which is used to texture
> > a rectangle... this allows text to be rotated.
> >
> > The font size isn't always working either...
> >
> > Goodwin
> >
> > _______________________________________________
> > This is the private VTK discussion list.
> > Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>



More information about the vtkusers mailing list