[vtkusers] Rendering fonts crashes OpenGL driver
Mathieu Malaterre
mathieu.malaterre at kitware.com
Thu Jun 17 17:07:09 EDT 2004
Goodwin,
I try on linux and everything is fine...well looks as if. Anyway a few
hints, can you try either:
- Use Mesa on windows
- For my ATI card, I am using
export LIBGL_ALWAYS_INDIRECT=1;
To force software rendering compare to hardware rendering, do know if
that works on windows though.
HTH
Mathieu
Goodwin Lawlor wrote:
> Hi All,
>
> I've narrowed down the crashes with vtkActor2D to rendering fonts. The
> behaviour is strange: 20pt Arial and smaller crashes the OpenGL driver.
> Courier and Times are OK at any size font. Rendering "-" in any font family
> at 20pt and smaller crashes...
>
> Could anyone take a guess at what's going on? Does the vtk text mapper
> depend on system fonts? It doesn't seems so. Could the fonts be corrupted!?
> Or a bad OpenGL driver.
>
> Setup:
> Dell Inspiron 8600
> ATI Mobility Radeon 9600 Pro Turbo
> Windows XP
> Latest CVS of vtk
>
> Thanks,
>
> Goodwin
>
> ps:
>
> This script crashes:
>
> vtkTextProperty tprop
> tprop SetFontSize 17
> tprop SetFontFamilyToArial
>
> vtkTextMapper tmapper
> tmapper SetTextProperty tprop
> tmapper SetInput "example text"
>
> vtkActor2D tactor
> tactor SetMapper tmapper
> [tactor GetPositionCoordinate] SetCoordinateSystemToNormalizedViewport
> [tactor GetPositionCoordinate] SetValue 0.1 0.1
>
>
> vtkRenderer ren
> ren AddActor2D tactor
> vtkRenderWindow renwin
> renwin AddRenderer ren
> vtkRenderWindowInteractor iren
> iren SetRenderWindow renwin
> iren Initialize
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list