[vtkusers] glyph positioning problem

joseph mccoy j.mccoy at gmx.de
Fri Jul 9 07:01:59 EDT 2004


Hi,

here is my situation:
i have a bundle of streamlines and a plane. i calculate the intersection point of the lines with the plane, store these coordinates in a vtkPointArray and generate a vtkPolyData- DataSet. then i use this DataSet as input for some glyphs and render the scene. 
my problem is the following:
when the scene is rendered the first time the glyphs lay on wrong coordinates. x, z are correct, but the y- coor is wrong ( the glyphs lay above or below the real intersection point). now when i recalculate the streamlines and render the scene a second time, everything is fine. all glyphs lay on the right places. therefore i'm sure that it is not a calculation but a rendering/positioning problem. 
anybody an idea where my failure might be? many thanks in advance...

oh, i'm working on win2k with vc6.0 and vtk4.2. the application is sdi with the doc/view model.

McCoy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040709/cbb0f1b1/attachment.htm>


More information about the vtkusers mailing list