Forum Discussion
Epoxian
10 years agoExplorer
OpenGL and layered rendering for stereoscopic 3D
Hi
I just tried to change the 'OculusRoomTiny (GL)' to use layered rendering.
For this I would need to have GL_TEXTURE_2D_ARRAY or GL_TEXTURE_3D with the left and right texture in it.
Unfortunately the textures are created inside ovr_CreateSwapTextureSetGL so that I can not influence creation.
I thought this is how 'multiview sets' would be implemented in OpenGL as mentioned here:
http://on-demand.gputechconf.com/gtc/2015/presentation/S5668-Nathan-Reed.pdf
Has anyone done this successfully?
Moreover I tried to blit the texture for the right or left eye to the screen (instead of the mirror texture) without success. Is this the way to go or should the scene be rendered a third time for the screen?
I just tried to change the 'OculusRoomTiny (GL)' to use layered rendering.
For this I would need to have GL_TEXTURE_2D_ARRAY or GL_TEXTURE_3D with the left and right texture in it.
Unfortunately the textures are created inside ovr_CreateSwapTextureSetGL so that I can not influence creation.
I thought this is how 'multiview sets' would be implemented in OpenGL as mentioned here:
http://on-demand.gputechconf.com/gtc/2015/presentation/S5668-Nathan-Reed.pdf
Has anyone done this successfully?
Moreover I tried to blit the texture for the right or left eye to the screen (instead of the mirror texture) without success. Is this the way to go or should the scene be rendered a third time for the screen?
No RepliesBe the first to reply
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
- 28 days ago
- 1 year ago
- 2 years ago