OpenVR problems with VTK 9.2

Just tested, the last problems with wrong clipping seem to be fixed in VTK 9.3 (latest release candidate rc2)!

The above example program runs nicely, except for a few errors in the console:

vtkOpenGLFramebufferObj:356    ERR| vtkOpenGLFramebufferObject (000001419E3E3D40): failed at glDeleteFramebuffers 16 OpenGL errors detected

Edit - Correction: The near plane clipping problem is not yet fully fixed, but it has improved somewhat - the volume in the example code above is shown correct until the HMD gets close to the volume borders. When very close or in the volume, the clipping plane is quite far away from the eyes (nearly on the opposite side of the volume, but at least not in the wrong direction anymore).

@codeling Thanks a lot for the feedback. I think this is the corresponding VTK issue : https://gitlab.kitware.com/vtk/vtk/-/issues/19123.
There I proposed a fix, but did not open any MR as I thought something cleaner could be done. However, this might be better than the current bug for now if you want to open a MR for it, I’ll be happy to review.

Just tested with git master (specifically, ff92d0720f), and the near clipping plane issues that I described above are gone (probably due to https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10783 having been merged?).

1 Like

I confirm the camera near plane clipping issue was fixed in VTK!10783. It might also help with the RemoveCuller workaround, I would be curious to see if the “right eye” issue is also fixed by this MR.

Your intuition is right - the workaround is not required anymore!

1 Like

This is an awesome news! Thank you so much for testing, this is very helpful!

Does anybody know whether the merge mentioned above has any chance of making it into the next VTK release (probably 9.3.1, right?)? I tried to check in git but am not sure how to determine this… is there an easy way to determine the commit with which the request was merged? and what is the branch that will turn into version 9.3.1 - probably “release”?

Yes: https://gitlab.kitware.com/vtk/vtk/-/merge_requests/10854

and what is the branch that will turn into version 9.3.1 - probably “release”?

Yes, if a 9.3.1 is released.

1 Like