OGRE and Quad Buffer Stereo

What it says on the tin: a place to discuss proposed new features.
User avatar
crefvik
Kobold
Posts: 25
Joined: Sat Jul 13, 2013 1:12 am
Location: Santa Clara, CA
Contact:

Re: OGRE and Quad Buffer Stereo

Post by crefvik » Wed Mar 26, 2014 12:13 am

Hey Ally,

Sorry for the wait, but I fixed the Direct3D 9 implementation as well. You should now be able to specify stereo via the configuration dialog or using the window parameters.

Please let me know if you see any more issues.

Take care,
Christian
0 x

AllyBarrow
Gnoblar
Posts: 9
Joined: Sun Feb 16, 2014 1:00 pm

Re: OGRE and Quad Buffer Stereo

Post by AllyBarrow » Sat Mar 29, 2014 3:18 pm

Hey Christian,

That's great ,thanks! Will check out the latest version.

Best,
Ally
0 x

acorn
Gnoblar
Posts: 2
Joined: Fri Feb 07, 2014 7:21 am

Re: OGRE and Quad Buffer Stereo

Post by acorn » Tue Jul 01, 2014 12:19 am

Hello Christian,

I have been using your patch with great success. It looks like your code has now been merged into the main OGRE development tree (?). Can you comment on which OGRE versions/branches the stereo patch is available in and whether it still requies a build option to enable it?

Thanks again for writing the stereo support!
-Acorn
0 x

malice
Gnoblar
Posts: 9
Joined: Mon Nov 18, 2013 9:03 pm

Re: OGRE and Quad Buffer Stereo

Post by malice » Fri Aug 01, 2014 12:51 pm

Hey everyone,

first of all I'd also like to thank you very much for your work, Christian. Setting it up was straightforward and everything works like a charm with my application.

Some things I could not yet figure out though (note I'm not that experienced with Ogre to begin with):
  • is there a way to determine whether the quad buffer stereo is currently available? If there is, how would one accomplish that? (I'm currently testing this by calling the rendersystems setDrawBuffer() method with CBT_BACK_RIGHT).
  • I have two different background images, one for each eye to be seen (simply drawn to a rectangle in the background as described in the wiki). Is it even possible to achieve something like this, i.e. have the background texture depend on the viewport? Resolved using visibility masks.
In addition to that I'd like to join acorn with his question regarding which stereo version is recommended. I'm currently using Christians branch of Ogre and the dependencies.

Many thanks in advance! ;)
Alex.
0 x

abhisrn
Gnoblar
Posts: 1
Joined: Wed Feb 12, 2014 3:41 pm

Re: OGRE and Quad Buffer Stereo

Post by abhisrn » Thu Aug 28, 2014 2:13 pm

Hello Christian,

Could you please post an Ogre example code for z space (including the tracking).

Thanks in advance,
Abhishek
0 x

venom
Gnoblar
Posts: 1
Joined: Mon Apr 16, 2018 8:32 am

Re: OGRE and Quad Buffer Stereo

Post by venom » Mon Apr 16, 2018 4:36 pm

Hi Christian and everybody,

Thank you for taking time to craft this. I had tries to run your code snippet with latest ogre version, and tho it compiles, I get the following error at runtime:

Code: Select all

GLRenderSystem::setDrawBuffer(Back Right): GL_INVALID_OPERATION
I'm running this using an NVIDIA Quadro K5000 and on Ubuntu 17.04 and the Stereo mode is enabled:

Code: Select all

Stereo Mode: Onboard DIN
Additionally I built OGRE with:

Code: Select all

OGRE_CONFIG_ENABLE_QUAD_BUFFER_STEREO True
is there any configuration OpenGL-side that I might be missing?

Thanks, any help will be much appreciated.
0 x

Post Reply