Setting GraphicsAPI to OpenGl gives errors
CompletedHi,
So I've got some code up and running. I can get the hmd and the compositor and read off values. The values from the hmd update when I move it around and seem to work. Here's an example of printout:
------------------------------------------
hmd->IsHardwareConnected() = 1
hmd->IsHardwareReady() = 1
comp->IsReady() = 1 //With openGl this is 0
comp->GetSingleEyeResolution().x = 1792 //With openGl this is 0
comp->GetSingleEyeResolution().y = 2016 //With openGl this is 0
hmd->GetLastError() = 0
------------------------------------------
hmd->GetHMDPose()
acc.x 0.000141947
acc.x -0.0330456
acc.x -0.0330456
or.w 0.162455
or.x -0.0113688
or.y 0.986563
or.z 0.0131979
------------------------------------------
But if i switch EFVR_GraphicsAPI from DirectX (default?) to OpenGl like the following:
// Code -------------------------------------------------------------------
Fove::SFVR_ClientInfo clientinfo;
clientinfo.api = Fove::EFVR_GraphicsAPI::OpenGL; //Comment this line for default (DirectX)
comp = Fove::GetFVRCompositor(clientinfo);
// End Code -------------------------------------------------------------
...I start seing an error like this:
"Trying to connect to service as 079e33b7-a58a-41c5-aef3-4940297fed0d
InitiateConnection: Service refused connection
Trying to connect to service as 0ab0fffe-1bb2-4fb8-bd23-7aefba8fc085
InitiateConnection: Service refused connection
Trying to connect to service as 0419d3e1-2032-4ad3-807d-be0576642c42
InitiateConnection: Service refused connection
Trying to connect to service as fc016493-d073-4c08-9f4d-65cd1e184fbc
InitiateConnection: Service refused connection..."
The error is just repeated over and over again. I guess it's got to do with the compositor.
What does it mean and what am I doing wrong or can be done to fix it?
-
Official comment
Hi David,
You are correct in your findings. At the moment we don't support OpenGL, yet. OpenGL support is still on our roadmap, but I can't provide you with an estimated release date, as of yet.
Remco
Comment actions -
Just a small update. Checking the log it says:
"Trying to connect to service as ...
InitiateConnection: Service refused connection
REPORT: Denied incoming connection client using invalid API GraphicsAPI::OpenGL, ..."Does this just mean OpenGL isn't supported at all at this moment? And if so when will it be?
Has anyone got OpenGL to work?Thanks,
David -
Thanks Remco,
In hindsight it's so obvious. Sorry I just assumed it OpenGL would work from the get go but I understand that DirectX is prioritized.
Can we get a hint as to how it's going, is it weeks or months?
Just trying to figure out if I should go for DirectX or just wait a while.
-
It will definitely not be in our next release. So I don't expect it to be done within the coming weeks. I would suggest you use DirectX for the time being.
Interesting to note is that if there is a lot of request from the community for a specific feature, its priority on our backlog can be increased. So please do give us feedback on what you guys want!
Please sign in to leave a comment.
Comments
4 comments