[vtkusers] How to enable vtkRenderingOculus compling in VTK 7 and 8

Andras Lasso lasso at queensu.ca
Sat Nov 3 12:57:03 EDT 2018


You can use OpenVR module with all OpenVR-compatible headsets, including HTC Vive, Oculus Rift, and all Windows Mixed Reality headsets.

The old Oculus-only interface has been removed from VTK in April (https://github.com/Kitware/VTK/commit/97f76e8bbb547ee0a6cc07664048e6cf97f7c694).

Andras

-----Original Message-----
From: vtkusers <vtkusers-bounces at public.kitware.com> On Behalf Of Fujiang Yu
Sent: Saturday, November 3, 2018 11:50 AM
To: vtkusers at vtk.org
Subject: [vtkusers] How to enable vtkRenderingOculus compling in VTK 7 and 8

Dear guys,

Got one simple problem which troubling me for twodays.
In VTK 7 and 8, Oculus and OpenVR are supported and becomes a module vtkRendering.
However, it seems like by the default setting of CmakeList, the Oculus module will not be enabled.
Everytime I'm configuring the packing in Cmake, it will show:

/...
Backend OpenGL2 modules:
vtkDomainsChemistryOpenGL2;vtkIOExportOpenGL2;vtkImagingOpenGL2;vtkRenderingContextOpenGL2;vtkRenderingGL2PSOpenGL2;vtkRenderingLICOpenGL2;vtkRenderingOculus;vtkRenderingOpenGL2;vtkRenderingOpenVR;vtkRenderingVolumeOpenGL2
Enabling modules for OpenGL2.
Backend OpenGL modules:
vtkIOExportOpenGL;vtkRenderingContextOpenGL;vtkRenderingGL2PS;vtkRenderingLIC;vtkRenderingOpenGL;vtkRenderingVolumeOpenGL
.../
which means vtkRenderingOculus is not enabled

Wish to know how can I enable the Oculus module in VTKRending?
Thanks



--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Classo%40queensu.ca%7C7f72cf188c7e48b17bda08d641a3f8a9%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636768569845769738&sdata=RczvemxevZysbcTV9cuQcyyP7nFJSbn7HuzRTv%2B4s1k%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Classo%40queensu.ca%7C7f72cf188c7e48b17bda08d641a3f8a9%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636768569845769738&sdata=9tFVfWwQ7er%2BbXya96b4PpGrpBGossdbxifmFsagGVA%3D&reserved=0

Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7C7f72cf188c7e48b17bda08d641a3f8a9%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636768569845769738&sdata=mJQ%2FLb4oc2u5zc%2BjjHnQvvHt%2FgFMxzweFpSbkBoyUPc%3D&reserved=0

Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7C7f72cf188c7e48b17bda08d641a3f8a9%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636768569845769738&sdata=vzJkhUlqtoeiPGpaP76htY6GtK%2BCtfBwGaW7Zayjgo4%3D&reserved=0

Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7C7f72cf188c7e48b17bda08d641a3f8a9%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636768569845769738&sdata=Lmbdj6JdI495UtwDC4cBSHolxzFgEsWUXPjWRwRghK8%3D&reserved=0

Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7C7f72cf188c7e48b17bda08d641a3f8a9%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636768569845769738&sdata=wxUkFfNFyPxxVFZ3cSAIsLiIXA%2FiuJ7Z7BdgH1jdy14%3D&reserved=0


More information about the vtkusers mailing list