[vtkusers] Mesh Opacity

Max smapersmaper at gmail.com
Wed May 22 04:13:27 EDT 2013


Hi JB,
I did what you suggested, but the triangles at the edges are still shown.
The added code is:
 
vtkDepthSortPolyData depthSort = new vtkDepthSortPolyData();
depthSort.SetInputConnection(boneNormals.GetOutputPort());
depthSort.SetDirectionToBackToFront();
depthSort.SetVector(0, 0, 0);

depthSort.SetCamera(renderWindow.GetRenderers().GetFirstRenderer().GetActiveCamera());
depthSort.SortScalarsOn();
depthSort.Update();

Maybe some property is not correct?

Thank you,
Max



--
View this message in context: http://vtk.1045678.n5.nabble.com/Mesh-Opacity-tp5720848p5720852.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list