Forum Discussion
Mars3D
10 years agoHonored Guest
Converting PC Opengl project to use 0.8
Hi,
I'm trying to convert my project to use the latest SDK, I've had it working with an older version(0.5). I have attached what I am getting on screen if I just try to show a clear white background, does anyone know what could be causing this?
I've tried to extract the right code from the 'OcculusRoomTiny ' example project, but the inter-dependencies make it difficult to work with. Has anyone got a more minimal opengl example for 0.7 or 0.8?
The OcculusRoomTiny project works fine so there is nothing wrong with the hardware/configuration.
Thanks for any help.
I'm trying to convert my project to use the latest SDK, I've had it working with an older version(0.5). I have attached what I am getting on screen if I just try to show a clear white background, does anyone know what could be causing this?
I've tried to extract the right code from the 'OcculusRoomTiny ' example project, but the inter-dependencies make it difficult to work with. Has anyone got a more minimal opengl example for 0.7 or 0.8?
The OcculusRoomTiny project works fine so there is nothing wrong with the hardware/configuration.
Thanks for any help.
5 Replies
- Mars3DHonored GuestOk, I've solved the problem.
I wasn't setting the layer viewport positions to zero, They were defaulting to a random number. - PippoplutoHonored GuestHi I'm also looking for a 0.7 minimal example. I'm new at oculus programming and I'm trying to do the same program you do. Is possible to have a look on your code? Here or in pm, or i can give you my email
- jhericoAdventurer
"Pippopluto" wrote:
Hi I'm also looking for a 0.7 minimal example.
Here is a self-contained example using the 0.7 SDK.
https://github.com/jherico/OculusRiftIn ... tained.cpp - MecrofExplorerHi,
Here is a very-simple example using the Oculus like a simple 3D screen (no tracking). But it uses the 0.8 SDK. It also uses a 3D camera (ZED) however it's easy to remove this part.
https://github.com/stereolabs/zed-oculus
I used it for my own project but I don't know if their example is a good implementation of the Rift SDK. - MecrofExplorerSee this thread for simple 0.8 SDK application's source: https://forums.oculus.com/viewtopic.php?f=20&t=29613
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
- 15 days ago
- 4 months agoAnonymous