Re: [osg-users] stereo mode for part of a scene graph?
Hi Cory, On Tue, Mar 30, 2010 at 7:50 PM, Cory Riddell c...@codeware.com wrote: In my scene graph, I have a static image for the background (a white-blue gradient). When I turn on stereo mode, I get a red stripe on the right and a blue stripe on the left side of the window. I thought I was drawing my background the same way statistics are drawn, but apparently I'm not (btw, stats draw just fine - no red/blue). What controls if something is subject to stereo separation? Depth into the scene, if an object is on the image plane that the left and right image with be co-incident, if the objects is deeper than this then it'll left image will be to the left and right image to the right, if it's at infinity then the left and right images, for a correctly setup stereo display) should be separated by the interocular distance (the distance between the eyes), if the object is in front of the image plane then the two images will be swapped. In the case of the stats these are just drawn on the image plane, controlled by an override of the projection and view matrix so it is in effect not computed in stereo at all. If the stats did not use their own osg::Camera to override the projection and view matrix then you'd need to carefully position the drawables in depth and orientation to match the position of the image plane in scene. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] stereo mode for part of a scene graph?
Robert, On 3/31/2010 3:34 AM, Robert Osfield wrote: In the case of the stats these are just drawn on the image plane, controlled by an override of the projection and view matrix so it is in effect not computed in stereo at all. If the stats did not use their own osg::Camera to override the projection and view matrix then you'd need to carefully position the drawables in depth and orientation to match the position of the image plane in scene. I'll take a look at this code and see if I can do something similar for the background stuff that I draw. Thanks for the hints. Cory ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] stereo mode for part of a scene graph?
In my scene graph, I have a static image for the background (a white-blue gradient). When I turn on stereo mode, I get a red stripe on the right and a blue stripe on the left side of the window. I thought I was drawing my background the same way statistics are drawn, but apparently I'm not (btw, stats draw just fine - no red/blue). What controls if something is subject to stereo separation? Thanks, Cory ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] stereo mode
First thanks for fast answer. What graphic card are you using ? I'm using an old-fashioned GeForce FX 5900 XT. I will try it with the newest Nvidia driver hoping that helps. -- Andreas Richter ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] stereo mode
I'm using an old-fashioned GeForce FX 5900 XT. I will try it with the newest Nvidia driver hoping that helps. It will not help. Stereo (quad buffer mode) works *only* with nVidia Quadro cards. Thanks Jan for this info. I think now I have to get a Quadro card. ;-) -- Andreas Richter ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] stereo mode
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part I'm using an old-fashioned GeForce FX 5900 XT. I will try it with the newest Nvidia driver hoping that helps. It will not help. Stereo (quad buffer mode) works *only* with nVidia Quadro cards. Thanks Jan for this info. I think now I have to get a Quadro card. ;-) Be careful with Quadros too. Quadro NVS series (designed mostly for 2D applications on multiple screens) don't support QUAD_BUFFER either (nor have the connector). Quadro FX series are ok. Luc ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g ** Pensez à l'environnement avant d'imprimer ce message Think Environment before printing Le contenu de ce mél et de ses pièces jointes est destiné à l'usage exclusif du (des) destinataire(s) désigné(s) comme tel(s). En cas de réception par erreur, le signaler à son expéditeur et ne pas en divulguer le contenu. L'absence de virus a été vérifiée à l'émission, il convient néanmoins de s'assurer de l'absence de contamination à sa réception. The contents of this email and any attachments areconfidential. They are intended for the named recipient(s) only. If you have received this email in error please notifythe system manager or the sender immediately and do not disclose the contents to anyone or make copies. eSafe scanned this email for viruses, vandals and malicious content. ** ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] stereo mode
Hi Andreas, -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, July 30, 2007 5:00 PM I wanted to watch my application in stereo mode so I set the two environment variables OSG_STEREO with value ON an OSG_STEREO_MODE with QUAD_BUFFER. In addition to what Frauciel Luc posted and if you own an nvidia quadro card, you also have to check if quadbuffer stereo is enabled in the driver (on a windows box, go to the 'advanced settings' in the nvidia driver console and look for stereo settings - for linux, you can either add Option StereoMode 3 to you x config or use the nvidia-settings utility). On a non-quadro nvidia card, you have to use - as Frauciel pointed out - the 'consumer stereo driver'. This is a bit of a beast at times - however they recently put out a newish version (94.24) of it which seems to work for me. It is vital that both the display driver and the stereo driver are of the same revision! You can't mix'n'match. There also is a website that provides beta drivers for this which are *quite* recent, but apparently they do fail to work for some people: http://mtbs3d.com/ (registration required (but free)) One more thing - currently, there are only experimental drivers for the 8xxx series available. Best regards, -.jan.- ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] stereo mode
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frauciel Luc wrote: Hi Andreas, What graphic card are you using ? QUAD_BUFFER stereo should work on Nvidia Quadro or ATI FireGL cards, but NOT on basic Nvidia or ATI cards. For that you'll need Nvidia stereo drivers, that are loosely maintained. Nope - quad-buffer stereo support is built-in in the basic driver, both for Linux and Windows. However, the option is enabled only for the Quadro cards. The extra drivers are for consumer stereo as nVidia calls it - this enables a kind-of page-sequential stereo on regular GeForce cards which lack the extra sync connector. It will use one of the pins on the VGA connector instead. It works with some cheap VR goggles, such as the eMagin Z800 Visor and some shutter glasses. Good advice: stay away from this junk - these drivers are not maintained, incredibly buggy, they work only with certain (usually very ancient) version of the Forceware suite and there is no Linux support. Moreover, applications written for standard quad-buffer stereo will *not work* with these. It is not worth the trouble. Don't know if there is an equivalent on ATI. There isn't - if your high-end FireGL card has the stereo sync output you should be able to enable stereo in the driver configuration. However, I am not sure whether ATI/AMD actually manufactures any cards with stereo support anymore. E.g. many laptop cards are marked FireGL but they lack any stereo capability. Regards, Jan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org iD8DBQFGrkOcn11XseNj94gRAr4rAKC7y2b4QTFiEFbADrMRyWKoH39JWwCeM1ZP Oq5EMcpIZ0As9DqQQr/lX/s= =6rhN -END PGP SIGNATURE- ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org