[vtkusers] Point Smoothing

meakcey meakcey at gmail.com
Thu Nov 1 20:22:18 EDT 2018


Somehow any of PointSmoothing related functions did not work.
Finally that has resolved by adding glEnable(GL_POINT_SMOOTH) before
renderVTK();

Much better like below

...
actor->SetMapper(mapper)
renderer->AddActor(actor);

glEnable( GL_POINT_SMOOTH );
glEnable( GL_BLEND );
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
glPointSize( 2.0 );

renderVTK();



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list