Thu, 04/21/2022 - 02:25
Forums:
Hello,
I'm attempting to use the OpenVR support (using SteamVR and an Oculus Quest 2) in OCCT 7.6.1. I'm using AIS_ViewController
and the code below to activate VR rendering:
m_view->ChangeRenderingParams().StereoMode = Graphic3d_StereoMode_OpenVR;
m_view->Camera()->SetProjectionType(Graphic3d_Camera::Projection_Stereo);
When I launch the application it registers on the VR headset but nothing is rendered, and I get the following error on the console:
compositor Error: Texture uses unsupported format
Does anyone have any clues to address this?
Thu, 04/21/2022 - 06:12
I think I have solved this - I was running this on a laptop with two GPUs, and I needed to set the application to use the high-performance GPU.