Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Epoxian's avatar
Epoxian
Explorer
10 years ago

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?
No RepliesBe the first to reply