Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 240
    • Merge requests 240
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTKVTK
  • Issues
  • #15818
Closed
Open
Issue created Nov 03, 2015 by Kitware Robot@kwrobotOwner

Incorrect rendering with multiple vtkRenderer while using jogl window.

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


Starting from java 7 we cannot use anymore the vtkPanel in java application on OSX system (some part of the AWT library are not anymore supported) so we rely exclusively on OpenGL (using JOGL) to support VTK rendering in java application. The problem is that there is a severe issue when we use any JOGL component (vtkJoglPanelComponent or vtkJoglCanvasComponent) for rendering. As soon we have multiple renderer (vtkRenderer) in the render window (vtkOpenGLRenderWindow) the rendering view is limited to the last renderer viewport.

That is a big problem as even using something quite common as the vtkOrientationMarkerWidget to display 3D axis will internally use an extra renderer (with a specific viewport) and make rendering completely clipped. That is something which has been discussed here: http://markmail.org/message/2zozk4jqvlrq6dvv

As simple example to show the problem is to use multiple viewport example from VTK: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/MultipleViewports

Using this example inside a vtkJoglPanelComponent will make only the bottom right sphere visible (other part of the screen is blank).

Assignee
Assign to
Time tracking