1. 20 Sep, 2018 3 commits
    • Csaba Pinter's avatar
      ENH: Add functions to set VR physical geometry with matrix · ed74f20d
      Csaba Pinter authored
      - Get/SetPhysicalToWorldMatrix functions added to vtkOpenVRRenderWindow to handle the PhysicalTranslation etc. camera related geometry changes as a matrix
      - Refactored UpdateHMDMatrixPose code so that it is more understandable what happens under the hood when the camera is set. It works the very same way, but it is now better formalized and readable.
      Here's how setting the camera works:
      Scaling is applied through moving the camera closer to the focal point, because scaling of all actors is not feasible, and vtkCamera::ModelTransformMatrix is not supported throughout VTK (clipping issues etc.). To achieve this, a new coordinate system called NonScaledWorld is introduced. The relationship between Physical (in which the HMD pose is given by OpenVR) and NonScaledWorld is described by the PhysicalViewUp etc. member variables. After getting the HMD pose in Physical, those coordinates and axes are converted to the NonScaledWorld coordinate system, on which the PhysicalScaling trick of modifying the camera position is applied, resulting the World coordinate system.
      - Renamed incorrect distance variable to physical scale
      ed74f20d
    • Allison Vacanti's avatar
      Merge topic 'slicer4600_volume_jitter_woes' · b2368075
      Allison Vacanti authored
      70cc8c0a
      
       Fix volume jitter enable/disable.
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: Ken Martin's avatarKen Martin <ken.martin@kitware.com>
      Merge-request: !4688
      b2368075
    • Ken Martin's avatar
      Merge topic 'oculus_support' · a6fc9e52
      Ken Martin authored
      799c638c
      
       fix a few issues with occulus controller support
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: Csaba Pinter's avatarCsaba Pinter <csaba.pinter@queensu.ca>
      Acked-by: Lucas Gandel's avatarLucas Gandel <lucas.gandel@kitware.com>
      Merge-request: !4685
      a6fc9e52
  2. 19 Sep, 2018 15 commits
  3. 18 Sep, 2018 11 commits
  4. 17 Sep, 2018 11 commits