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.
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.
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”?