Hi guys, for me it was very useful to render the surface with edges. For that I basically followed this simple example: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ColorActorEdges, making changes to vtk surface mapper 3d (added two properties - edge visibility & edge color and set the vtkProperty accordingly in the mapper). But it didn't work at first. It turned out that the problem is the use of vtkOpenGLPolyDataMapper. But according to VTK docs, vtkOpenGLPolyDataMapper is deprecated and replaced by vtkPainterPolyDataMapper. When changing the vtkOpenGLPolyDataMapper to vtkPainterPolyDataMapper in surface mapper, the edges were rendered correctly. Is there any reason to hold on to the deprecated vtkOpenGLPolyDataMapper? If not - I can easily give you the changes.
Rostislav. ------------------------------------------------------------------------------ Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
