Re: [osg-users] Using anaglyph on two screens?

2009-02-19 Thread Yinpeng Li
Patrice, I tried your method, and it doesn't work. BTW, that environment variable seems to be designated to SPLIT_STEREO in one window, not stereo displaying in two windows. But thank you anyway Yinpeng Li ___ osg-users mailing list osg-users

[osg-users] Using anaglyph on two screens?

2009-02-18 Thread Yinpeng Li
Hi everyone, I am now trying to display a scene with two screens, namely on two windows, and the images on two windows can join at the center, as is shown below, an 'A' is displayed - | /|\ | | / | \ | |

[osg-users] Porting code from OSG1.2 Producer to OSG2.x

2009-01-30 Thread Yinpeng Li
Hi everyone, I am currently porting code from OSG1.2 Producer to OSG2.x, intending to use them with osgViewer library. Notwithstanding, there are several places where it is hard to find a replacement for the old code or classes... For example, what is the replacement of SceneView? And, what is

Re: [osg-users] Porting code from OSG1.2 Producer to OSG2.x

2009-01-30 Thread Yinpeng Li
OK, Thank for your advice ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] Problem with event capture by the cameras sharing the same graphics context

2009-01-06 Thread Yinpeng Li
Hi everyone, I have 2 cameras owned by two different views associated with the same graphics context. I want to capture the same keyboard event with both the cameras. Would somebody tell me how I can achieve this? Thanks! Yinpeng Li ___ osg-users

[osg-users] Help! A simple problem~~ Driving me crazy

2009-01-05 Thread Yinpeng Li
#include osg/DisplaySettings #include osg/Geode #include osg/ShapeDrawable #include osgViewer/Viewer #include iostream #include osgText/Text #include osg/Matrix #include osg/Geometry #include osg/Projection void main(){ osgViewer::Viewer viewer ; osg::Camera *cam = viewer.getCamera() ;