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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to