[vtkusers] Swing Integration

quadprob gustav.lundin at saabgroup.com
Thu Jul 2 03:44:04 EDT 2015

I'm trying to integrate vtk into my swing application. However, the method
shown in the  examples
renders very slowly and also renders the faces as see through regardless of
opacity settings. The effect is easier to observe when rendering a  cube
<http://pastebin.com/iKCWVkwi>   instead of a sphere.

I have been able to workaround this by  starting the renderWindowInteractor
<http://pastebin.com/jXsph2xF>  . Starting the interactor makes it render
much quicker and removes the see-through effect, however, it also causes a
second window to be created. It's hidden behind the main window and closes
when it closes but becomes visible if you move the main window.

I'd like the positive effects of the interactor without having to suffer the
second window. How would I accomplish this?

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

More information about the vtkusers mailing list