Re: [osg-users] 3D Frame Packing with OSG

2012-03-06 Thread Christian Buchner
I don't think 3DVision relies on the depth buffer. As far as I
remember the driver will render the left and right eye perspective
separately, thus cutting performance in half. This has some
similarities to enabling stereo modes in OSG.

Christian
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-06 Thread Jan Ciger
On Mon, Mar 5, 2012 at 8:48 PM, Jason Daly jd...@ist.ucf.edu wrote:

 On 03/03/2012 10:38 AM, Christian Buchner wrote:

 Geforce cards support stereoscopic 3D through HDMI as part of the
 3DVision support for DirectX gaming only.
 It is called 3DTV Play and it isn't free (there's a 14 day trial
 version available). And this does not include OpenGL.


 Sure, but that's a different animal than what Erin is after.  3DTV play
 assumes the game wasn't written for 3D output and synthesizes the left and
 right channels based on the depth buffer.  It also provides a Blu-ray 3D
 player (and I'm sure the fee is at least partly to cover Nvidia's licensing
 costs for this).

 From what I've read in several forums.  If you create the 1280x1470 format
 (or 1920x2205 format) directly, you can get a GeForce card to render 3D
 content on a 3D monitor.


Jason, could you post links to this info, please? I am interested in that
as well. I am afraid that the OpenGL driver on a GeForce will refuse to
generate the correct HDMI signal tags for the monitor to recognize,
because you aren't running Quadro. If it was possible, it would be quite
trivial to bypass the no stereo on GeForce crippling by Nvidia.

Regards,

Jan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-06 Thread Jason Daly

On 03/06/2012 10:56 AM, Jan Ciger wrote:


From what I've read in several forums.  If you create the
1280x1470 format (or 1920x2205 format) directly, you can get a
GeForce card to render 3D content on a 3D monitor.


Jason, could you post links to this info, please? I am interested in 
that as well. I am afraid that the OpenGL driver on a GeForce will 
refuse to generate the correct HDMI signal tags for the monitor to 
recognize, because you aren't running Quadro. If it was possible, it 
would be quite trivial to bypass the no stereo on GeForce crippling 
by Nvidia.


Hi, Jan,

I don't have links, nor do I have personal experience.  I haven't 
actually read the HDMI 1.4a spec either, so I very well may be wrong.


That said, most of the information I Googled came from the bino 
project.  There were several reports in their forums of folks using 
custom ModeLines in the xorg.conf that allowed them to generate 
packed-frame 3d from their video cards.  The precise contents of the 
xorg.conf were given in at least one post, so you should be able to try 
it yourself.


--J

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-06 Thread Jan Ciger
Hello,

On Tue, Mar 6, 2012 at 6:03 PM, Jason Daly jd...@ist.ucf.edu wrote:

 Hi, Jan,

 I don't have links, nor do I have personal experience.  I haven't actually
 read the HDMI 1.4a spec either, so I very well may be wrong.

 That said, most of the information I Googled came from the bino project.
 There were several reports in their forums of folks using custom ModeLines
 in the xorg.conf that allowed them to generate packed-frame 3d from their
 video cards.  The precise contents of the xorg.conf were given in at least
 one post, so you should be able to try it yourself.


OK, I will search for it.

Jan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-06 Thread Jan Ciger
On Tue, Mar 6, 2012 at 6:03 PM, Jason Daly jd...@ist.ucf.edu wrote:

  Hi, Jan,

 I don't have links, nor do I have personal experience.  I haven't actually
 read the HDMI 1.4a spec either, so I very well may be wrong.

 That said, most of the information I Googled came from the bino project.
 There were several reports in their forums of folks using custom ModeLines
 in the xorg.conf that allowed them to generate packed-frame 3d from their
 video cards.  The precise contents of the xorg.conf were given in at least
 one post, so you should be able to try it yourself.


OK, it is this thread:

http://lists.nongnu.org/archive/html/bino-list/2011-03/msg00058.html

Interesting stuff, if this works, a 3D projector or TV could be an
interesting option these days.

Regards,

Jan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-06 Thread Jason Daly

On 03/06/2012 01:42 PM, Jan Ciger wrote:


OK, it is this thread:

http://lists.nongnu.org/archive/html/bino-list/2011-03/msg00058.html

Interesting stuff, if this works, a 3D projector or TV could be an 
interesting option these days.


Here's another one with specific ModeLine values:

http://lists.gnu.org/archive/html/bino-list/2011-06/msg0.html


The poster claims to be using these with a GeForce GT240 and a Samsung TV.

--J

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-05 Thread Jason Daly

On 03/03/2012 10:38 AM, Christian Buchner wrote:

Geforce cards support stereoscopic 3D through HDMI as part of the
3DVision support for DirectX gaming only.
It is called 3DTV Play and it isn't free (there's a 14 day trial
version available). And this does not include OpenGL.


Sure, but that's a different animal than what Erin is after.  3DTV play 
assumes the game wasn't written for 3D output and synthesizes the left 
and right channels based on the depth buffer.  It also provides a 
Blu-ray 3D player (and I'm sure the fee is at least partly to cover 
Nvidia's licensing costs for this).


From what I've read in several forums.  If you create the 1280x1470 
format (or 1920x2205 format) directly, you can get a GeForce card to 
render 3D content on a 3D monitor.


--J

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-03 Thread Christian Buchner
Geforce cards support stereoscopic 3D through HDMI as part of the
3DVision support for DirectX gaming only.
It is called 3DTV Play and it isn't free (there's a 14 day trial
version available). And this does not include OpenGL.

Christian
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-02 Thread Erin Morrow
Hi,

I've found a solution to using the Sony HMZT1 with OSG and a Quadro FX 3800. It 
basically comes down to setting the following as per the Quad Buffered 3D 
Stereo instructions in C:\NVIDIA\DisplayDriver\driver version\your 
OS\International\NV3DVision\nvst3.chm which say:

To enable quad-buffered professional stereo:

From the NVIDIA Control Panel navigation tree pane, under 3D Settings, select 
Manage 3D Settings to open the associated page.

Click the Global Settings tab.

From the Settings box, click Stereo-Display mode and then select the 
appropriate option, depending on your stereo hardware.

From the Settings box, click Stereo-Enable and then select On.

Click Apply.

From the NVIDIA Control Panel navigation tree pane, under Stereoscopic 3D, 
select Set up stereoscopic 3D to open the associated page.

Make sure the Enable stereoscopic 3D check box is cleared, then click Apply.

Sterescopic diplay type: should indicate Quadro professional stereo. It may 
be necessary to make the HMZT1 the primary display.

Then use: 

Code:
osg::GraphicsContext::WindowingSystemInterface* wsi = 
osg::GraphicsContext::getWindowingSystemInterface();
wsi-setScreenResolution(osg::GraphicsContext::ScreenIdentifier(screenNum), 
1280, 720); 


or similar to setup the correct resolution. Try testing with the osgViewer 
using the QUAD_BUFFER command line option and cow.osg and...

...Hello 3D Daisy!

Now on to integrating with our actual software. I would be curious if anyone 
figures out a way to make the HMZ T1 work with GeForce cards and OSG as my 
laptop doesn't have a Quadro.

Cheers,
Erin

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46000#46000





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] 3D Frame Packing with OSG

2012-03-01 Thread Erin Morrow
Hi,

I am trying to get OSG to output in 720p 3D frame packed format. My 
understanding is that this requires a screen resolution of 1280x1470 ( 
2x(1280x720) + 30 buffer) but I must be missing something as the Sony HMD I am 
sending the output to is not recognizing it as a 3D format although it is 
displaying a down-sampled 1280x1420 desktop. I have been using the OSGViewer 
with command line arguments to specify a stereo mode of vertical split and am 
setting the screen resolution with:


Code:
osg::GraphicsContext::WindowingSystemInterface* wsi = 
osg::GraphicsContext::getWindowingSystemInterface();
wsi-setScreenResolution(osg::GraphicsContext::ScreenIdentifier(screenNum), 
1280, 1470);



If anyone has some experience with this I would be grateful for some pointers.

Thank you!

Cheers,
Erin[/code]

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45943#45943





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-01 Thread Jason Daly

On 03/01/2012 05:01 PM, Erin Morrow wrote:

Hi,

I am trying to get OSG to output in 720p 3D frame packed format. My 
understanding is that this requires a screen resolution of 1280x1470 ( 
2x(1280x720) + 30 buffer) but I must be missing something as the Sony HMD I am 
sending the output to is not recognizing it as a 3D format although it is 
displaying a down-sampled 1280x1420 desktop. I have been using the OSGViewer 
with command line arguments to specify a stereo mode of vertical split and am 
setting the screen resolution with:


Code:
osg::GraphicsContext::WindowingSystemInterface* wsi = 
osg::GraphicsContext::getWindowingSystemInterface();
wsi-setScreenResolution(osg::GraphicsContext::ScreenIdentifier(screenNum), 
1280, 1470);



If anyone has some experience with this I would be grateful for some pointers.


I don't have any direct experience with that particular HMD, but here 
are some thoughts...


Your code sounds like it's about right, although the vertical split mode 
won't give you the 30-pixel gap that you need by default.  You might 
have better luck by setting up two slave cameras with the needed 
parallax for stereo, and adjusting the viewports to provide the 30-pixel 
gap ( 0,0-1279,719 and 0,750-1279,1469).


I'd guess that the bigger issue, though, is that your video card 
probably isn't able to support a resolution of 1280x1470 (at least not 
without some low-level timing adjustments).  If you're on Linux, there 
are a few hits on Google if you search for 720p frame packing 3d.


Here's one promising link:

http://forums.nvidia.com/index.php?showtopic=213574

--J


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-01 Thread Erin Morrow
Jason,

Thanks for the response. That link is helpful and i have done some research on 
the anatomy of modelines but no success yet.  I am running my code on windows 
and while we occasionally build for Linux I'm hoping I don't NEED to go that 
route to crack this problem. It appears that my graphics card (qaudro something 
or other, not in front of it right now) can output 1280x1470 as I can see a 
desktop with that resolution in the HMD when testing it as a custom resolution. 
The osg viewer is launching without complaint at that resolution as well. 
Unfortuntely the HMDis not recognizing it as a 3D source. I will try your 
suggestion of forcing the black band between viewports. I wonder if the HMZT1 
processing box is actually looking for black pixels in the middle of the source 
when it is determining if it should consider it a 3D format? I am having 
trouble finding this type of information for both the format and the device 
itself. 

Cheers,
Erin

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45950#45950





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] 3D Frame Packing with OSG

2012-03-01 Thread Jason Daly

On 03/01/2012 07:58 PM, Erin Morrow wrote:

Jason,

Thanks for the response. That link is helpful and i have done some research on 
the anatomy of modelines but no success yet.  I am running my code on windows 
and while we occasionally build for Linux I'm hoping I don't NEED to go that 
route to crack this problem. It appears that my graphics card (qaudro something 
or other, not in front of it right now) can output 1280x1470 as I can see a 
desktop with that resolution in the HMD when testing it as a custom resolution.


Yeah, if you're on Windows, the link I gave you isn't going to be much 
help (not directly at lease).  It's good that you can configure that 
resolution on your card.  One hurdle out of the way.




  The osg viewer is launching without complaint at that resolution as well. 
Unfortuntely the HMDis not recognizing it as a 3D source. I will try your 
suggestion of forcing the black band between viewports. I wonder if the HMZT1 
processing box is actually looking for black pixels in the middle of the source 
when it is determining if it should consider it a 3D format? I am having 
trouble finding this type of information for both the format and the device 
itself.


You might want to look up the HDMI 1.4a specifications on the packed 
stereo format to see what exactly is required to meet them.  It may be 
more than just having the right resolution and the 30 pixel gap.


Good luck!

--J

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org