Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (710)
Games in Android Showcase (212)
games submitted by our members
Games in WIP (784)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  How to enable quad-buffered stereo rendering?  (Read 3851 times)
0 Members and 1 Guest are viewing this topic.
Offline zero

Junior Devvie

« Posted 2010-07-02 14:54:18 »

Hi there,

I have an 120Hz screen and the nvidia 3D vision kit plugged into my computer running Ubuntu (Linux-amd64) with a GeForce Quadro FX 4800 and want to use quad-buffered stereo rendering in jogl2. Unfortunately, I don't see how to enable it.

I set GLCapabilties.setStereo(true), but the flag is false in the chosen caps of the GLDrawable - a GLCanvas in my case. Actually, using a GLCapabiltiyChooser, none of the available modes has the stereo flag set to true. Accordringly a later query to glGetBooleanv(GL_STEREO, ..) returns GL_FALSE.

However, my system configuration is perfectly capable of it. For example these programs written in PyOpenGL work perfectly fine:
I added the glGetBooleanv(GL_STEREO, ..) to these scripts and the returned value is GL_TRUE.

Can anyone help my enable stereo with JOGL2?

Thanks and Best,

Offline Momoko_Fan

Junior Devvie

Medals: 2

« Reply #1 - Posted 2010-07-03 04:04:25 »

I am guessing that you need to run in fullscreen mode? Usually stereo is only supported for specific display modes.
Offline zero

Junior Devvie

« Reply #2 - Posted 2010-07-04 19:27:08 »

thanks for answering.

Unfortunately the solution is not that simple.

I tried in fullscreen mode and it didnt work. Also the python works in window mode and AFAIK the technique is supposed to work in window mode (as opposed the nvidia Direct3D "automatic stereo).

Anyhow, I wil try with the LWJGL tomorrow or on Tuesday and let you guys know if it works there..
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline zero

Junior Devvie

« Reply #3 - Posted 2010-07-06 06:23:34 »

Just to confirm: quad-buffered rendering for stereoscopic 3D works well with the OpenGL Bindings of the LWJGL - even embedded inside awt using the AWTGLCanvas. So it has to be a Jogl/Jogamp specific bug.

A fix would be very much appreciated, but I'm glad that I can continue to use Java with the LWJGL in the meantime (and possible in the future as I like LWJGL's simplistic approach).

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

theagentd (73 views)
2017-02-18 13:42:33

theagentd (78 views)
2017-02-18 13:35:16

h.pernpeintner (1244 views)
2017-01-24 22:39:11

h.pernpeintner (1232 views)
2017-01-24 22:38:32

Galdo (1783 views)
2017-01-12 13:44:09

Archive (1898 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2434 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2286 views)
2016-12-15 21:50:57

Lunch (2365 views)
2016-12-06 16:01:40

ral0r2 (2154 views)
2016-11-23 16:08:26
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!