Forum Discussion
Mixpicles
10 years agoHonored Guest
Direct Mode Ogre GL HowTo?
Hi,
I am currently working with SDK .5 because of reasons :)
I will update of course but please do not recommend anything along those lines.
I try to use direct mode using GL.
I create a Window using SDL or Ogre.
Extended mode works as expected but with severe refresh rate problems (also as expected).
Now I (want to) use direct mode and the window is shown on my primary window (not the Rift). Sensors and stuff keeps working fine.
What am I missing?
What is the way to go,
Is there a post I have missed that explains just that ?
Update:
I have compiled a minimal example that uses SDL and GL in direct mode.
The problem appears to be the window created by Ogre.
And maybe the rendering done by Ogre.
Best Regards.
I am currently working with SDK .5 because of reasons :)
I will update of course but please do not recommend anything along those lines.
I try to use direct mode using GL.
I create a Window using SDL or Ogre.
Extended mode works as expected but with severe refresh rate problems (also as expected).
Now I (want to) use direct mode and the window is shown on my primary window (not the Rift). Sensors and stuff keeps working fine.
What am I missing?
What is the way to go,
Is there a post I have missed that explains just that ?
Update:
I have compiled a minimal example that uses SDL and GL in direct mode.
The problem appears to be the window created by Ogre.
And maybe the rendering done by Ogre.
Best Regards.
1 Reply
- AllRiftHonored GuestHello,
In the SDK there are samples. In particular "OculusRoomTiny (GL)" demonstrates how to render a scene in opengl.
I am a beginner and I used it to do a small viewer.
And it is working in direct mode.
Looking at its simple code may help ?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 2 years ago
- 7 months ago
- 10 months ago