[vtk-developers] Where did my text go?

Bill Lorensen wlorens1 at nycap.rr.com
Sun Jan 19 13:32:09 EST 2003


Yves,
This must be a similar problem. My system (dell laptop running windows 2000, rage agp graphics) fails the test with acceleration off and passes with acceleration on. Once I apply your changes, it also passes with acceleration off.

Bill

At 12:44 PM 1/19/03 -0500, Yves Starreveld wrote:
>Hi,
>
>Indeed, that problem has been present on the mac for a few months. Any vtkActor2D manifests it.
>
>2D actors were getting rendered in the wrong place on the Z buffer, I think.
>
>I was able to work around it with:
>
>>Index: Rendering/vtkOpenGLFreeTypeTextMapper.cxx
>>===================================================================
>>RCS file: /cvsroot/VTK/VTK/Rendering/vtkOpenGLFreeTypeTextMapper.cxx,v
>>retrieving revision 1.27
>>diff -r1.27 vtkOpenGLFreeTypeTextMapper.cxx
>>281a282,283
>>>   glDepthFunc(GL_ALWAYS);
>>>
>>435a438
>>>   glDepthFunc(GL_LEQUAL);
>
>It occurs on all macs, regardless of which graphics card they have.
>
>It causes the failing of ScalarBar-image test (part of the text is clipped by the sphere)
>
>Yves
>On Saturday, January 18, 2003, at 02:47 PM, Sebastien BARRE wrote:
>
>>At 1/18/2003 02:38 PM, Bill Lorensen wrote:
>>>Sebastien,
>>>
>>>I just committed a file in Hybrid/Testing/Tcl/OverlayTextOnImage.tcl
>>>
>>>Once we get it to work, we can make it a regression test. It should display yellow text over the white ellipse.
>>
>>And indeed, this is what I see on my laptop. So as far as I'm concerned, the test is working.
>>This is sort-of a good news, since it probably means that your problem is most likely the same problem as the one we see on the Mac, and Andy is working on it I think.
>>
>>I've slightly modified your test though, a minor change for color-blind people like me, yellow on white was really difficult to see, so I almost "failed" the test myself :)
>>
>>
>>--
>>Sebastien Barre
>>
>>
>>_______________________________________________
>>vtk-developers mailing list
>>vtk-developers at public.kitware.com
>>http://public.kitware.com/mailman/listinfo/vtk-developers





More information about the vtk-developers mailing list