OpenVR problems with VTK 9.2

Thanks for the feedback, this is great news that the issue with the right eye is solved.
From your report, I identify the following issues:

  1. Small spacing required to remove white fog
    The problem here is probably the default value of the vtkVolumeProperty::ScalarOpacityUnitDistance parameter being too big. Can you try calling volumeProperty->SetScalarOpacityUnitDistance(0.001); ?

  2. The bounding box is cut
    This could definitely be related to 1. or to the wrong camera clipping range. Does calling renderer->ResetCameraClippingRange() help?

  3. Volume is wrongly cut by the camera near plane
    I confirm this is an issue. I have experienced this in the past but unfortunately I don’t have a fix for it yet.
    The problem is again related to the camera clipping range. The GPU volume mapper should add a clipping plane just in front of the camera near plane, in order to “close” the hole that appears in your first screenshot (see here).
    I suspect that the plane is wrongly placed because the physical scale or something is not taken into account.

1 Like