DaKenpachi Posted July 9, 2018 Share Posted July 9, 2018 Hi again, I am trying out the SRWorks C API samples. They seem to work, except for one thing: I dont see anything. I´m mainly using the CameraControl sample (because i want to try some settings) and i do get the response that every command is ok. I just dont see anything from the cameras video stream. The HMD Displays shows the standart white room from SteamVR like no Application is active. Before I start the example, I can successfully test the camera stream in the SteamVR settings. After I stop the example, the camera test does not work any more, and I have to restart the link box to get it working again... Note: I ported the projects to VS2017 because I could not get the 2015 version anywhere. I´m thankful to any idea! Link to comment Share on other sites More sharing options...
DaKenpachi Posted July 10, 2018 Author Share Posted July 10, 2018 So, I tried to rebuild the project, but I ran into compilation errors for some reason (see screenshot). I did not change any project settings - maybe the port to Visual Studio 2017 did? Link to comment Share on other sites More sharing options...
thehellbean Posted July 10, 2018 Share Posted July 10, 2018 Are you on the beta version of SteamVR? Is your HMD firmware on the latest version? Do you have the latest Nvidia drivers? Do any of the other examples (Unity/Unreal) work? Link to comment Share on other sites More sharing options...
DaKenpachi Posted July 11, 2018 Author Share Posted July 11, 2018 No, I dont think I use the beta (how do I find out?) HMD, controllers and base stations firmware are up-to-date, as well as the nvidia driver. Unreal example works fine. Link to comment Share on other sites More sharing options...
thehellbean Posted July 11, 2018 Share Posted July 11, 2018 Right click on SteamVR in the steam library and go to Properties->Betas and select the beta in the drop down. Note that (as far as I know) the C examples don't render anything to the HMD, they only output via the OpenCV windows which open when you run certain commands Link to comment Share on other sites More sharing options...
DaKenpachi Posted July 11, 2018 Author Share Posted July 11, 2018 thanks, that solved the issue. Yes, it opens some openCV windows now (first it did just nothing). I noticed that I must have accidently deleted one line of code, so thats the other issue about not compiling in Visual Studio. So now it works perfectly! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.