wjc272008 / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Patch to add support for quad buffer stereo #533

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The attached patch will add support for quad buffer stereo rendering. 

This will fix bug 532.

It does this by
1) creating a stereo PixelFormat if AppSettings.useStereo3D() returns true
2) adding drawBuffer to ViewPort

This patch should not break any existing applications. However there is an 
additional method added to the Renderer interface that will break 3rd party 
renderers. The JOGL renderer has to be updated as well.

I hope you will consider applying this patch. I started a topic on this issue 
on the forum. If there are any questions about the patch, we might discuss it 
there.

http://jmonkeyengine.org/groups/graphics/forum/topic/quad-buffer-stereo

Original issue reported on code.google.com by tombrynt...@gmail.com on 23 Aug 2012 at 9:07

Attachments:

GoogleCodeExporter commented 9 years ago
Most of the core devs workig on the renderer haven't been available lately, I 
marked this issue.

Original comment by normen667 on 5 Sep 2012 at 1:58

GoogleCodeExporter commented 9 years ago
Issue 532 has been merged into this issue.

Original comment by ShadowIs...@gmail.com on 5 Sep 2012 at 8:50

GoogleCodeExporter commented 9 years ago
This issue was partially fixed. Setting stereo3D on app settings will enable it 
on the pixel format, however user will need to make GL calls to change the draw 
buffer instead of jME3 exposing an API for this purpose. There is no reason to 
clutter the API with this feature since it is not supported by any 
consumer-level hardware which is what jME3 is targetting.

Original comment by ShadowIs...@gmail.com on 5 Sep 2012 at 8:53

GoogleCodeExporter commented 9 years ago
To clarify the previous point regarding consumer-level hardware:
http://stackoverflow.com/questions/8918945/how-to-do-stereoscopic-3d-with-opengl
-on-gtx-560-and-later

Original comment by ShadowIs...@gmail.com on 5 Sep 2012 at 8:56