Strange rendering artifacts

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Strange rendering artifacts

graphicsmonkey
Hi,

Trying to work out what could be causing these strange rendering artifacts.
The screen shot here shows the same model rendered on the left with custom
OpenGL and on the right using Vtk 8.1. As you can see there are what look
like small pin holes in the polygon rendering on the Vtk view.

Any thoughts on what to try to remedy this issue appreciated. Thanks.

<http://vtk.1045678.n5.nabble.com/file/t342720/artifacts.png>



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Strange rendering artifacts

graphicsmonkey
Interestly if i remove the vtkCleanPolyData (which i'm setting up with the
code below) i don't see the issue with the dots anymore, but the shading now
looks flat shaded so i lost the smooth shading effect.

    vtkSmartPointer<vtkCleanPolyData> cleanPolyData =
        vtkSmartPointer<vtkCleanPolyData>::New();
    cleanPolyData->SetInputData ( polyData );
    cleanPolyData->Update();





--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers