Re: [osg-users] osgmovie and stereo

2011-01-19 Thread Sergey Polischuk
Hi,

AFAIK osgmovie dont work with stereo video. In my experience most difficulty 
with video in stereo mode is syncronization left and right frames if video 
streams for each eye is separated. Dont know if it will be problem with your 
live video streams. Other stuff is same as with any osg based stereo 
application, except that you use different scenes for each eye which is 
basically screen aligned quad with texture that contains current video frame 
for current eye.

Cheers,
Sergey

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





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


Re: [osg-users] osgmovie and stereo

2011-01-19 Thread Robert Osfield
Hi Sergey,

In my experience the best way to do stereo movies is to render the two
eyes into side by side to single video frame, this way you don't have
any sync issues.

Robert.

On Wed, Jan 19, 2011 at 2:41 PM, Sergey Polischuk osgfo...@tevs.eu wrote:
 Hi,

 AFAIK osgmovie dont work with stereo video. In my experience most difficulty 
 with video in stereo mode is syncronization left and right frames if video 
 streams for each eye is separated. Dont know if it will be problem with your 
 live video streams. Other stuff is same as with any osg based stereo 
 application, except that you use different scenes for each eye which is 
 basically screen aligned quad with texture that contains current video frame 
 for current eye.

 Cheers,
 Sergey

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





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

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


Re: [osg-users] osgmovie and stereo

2011-01-19 Thread Sergey Polischuk
Hi Robert,

In case you have like 3d movie - ofc its best do as you said, but if you using 
something like video streams from two webcams for live stereo video you just 
cant do it that way. Anyway its not that much related to osg, it's about how 
would you sync your video streams in case streams for each eye separated, or 
fetch frames from your cameras if you getting live picture.

Cheers,
Sergey

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





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


Re: [osg-users] osgmovie and stereo

2011-01-18 Thread Vijay Kalivarapu
Hi,

Thanks Robert. I also saw a 'osgmovie' sample along with other examples built 
on OSG 2.9.10. When I hit a 'osgmovie --help', I found an option '--stereo'. 
Will this be any simpler than using 'osgstereoimage' ?

Thank you!

Cheers,
Vijay

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





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


Re: [osg-users] osgmovie and stereo

2011-01-12 Thread Kim Bale
Hi Robert,

I've wondered about this for a while - why does osgstereoimage map all the
images to a curved plane?

Have I missed something obvious about stereo images?

Cheers.

Kim.



On 11 January 2011 17:14, Robert Osfield robert.osfi...@gmail.com wrote:

 Hi Vijay,

 You can play videos in stereo just fine, see the osgstereoimage for an
 example that use side by side images for the left and right images,
 and then uses cull masks to rendered alternate subgraphs that pick out
 the appropriate portion of the image for left and right eyes.  Video's
 are just images that are updated by a background thread so all this
 code will work just fine.

 Present3D also has support for doing stereo image and videos.

 Robert.

 On Tue, Jan 11, 2011 at 4:52 PM, Vijay Kalivarapu vijayki...@gmail.com
 wrote:
  Hi,
 
  I have two live video streams that are set apart for left and right eye.
 Does anyone know if osgmovie can play them in active/passive stereo?
 
  If not, what is the best way to play two video streams in stereo?
 
  Thank you!
 
  Cheers,
  Vijay
 
  --
  Read this topic online here:
  http://forum.openscenegraph.org/viewtopic.php?p=35543#35543
 
 
 
 
 
  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

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


Re: [osg-users] osgmovie and stereo

2011-01-12 Thread Robert Osfield
Hi Kim,

On Wed, Jan 12, 2011 at 12:02 PM, Kim Bale kcb...@googlemail.com wrote:
 I've wondered about this for a while - why does osgstereoimage map all the
 images to a curved plane?

Oh a looong way back I wrote the example for a Reality Center that had
a cylindrical screen, I've hardly touched the example since.

 Have I missed something obvious about stereo images?

You didn't missing anything obvious ;-)

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


[osg-users] osgmovie and stereo

2011-01-11 Thread Vijay Kalivarapu
Hi,

I have two live video streams that are set apart for left and right eye. Does 
anyone know if osgmovie can play them in active/passive stereo?

If not, what is the best way to play two video streams in stereo?

Thank you!

Cheers,
Vijay

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





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


Re: [osg-users] osgmovie and stereo

2011-01-11 Thread Robert Osfield
Hi Vijay,

You can play videos in stereo just fine, see the osgstereoimage for an
example that use side by side images for the left and right images,
and then uses cull masks to rendered alternate subgraphs that pick out
the appropriate portion of the image for left and right eyes.  Video's
are just images that are updated by a background thread so all this
code will work just fine.

Present3D also has support for doing stereo image and videos.

Robert.

On Tue, Jan 11, 2011 at 4:52 PM, Vijay Kalivarapu vijayki...@gmail.com wrote:
 Hi,

 I have two live video streams that are set apart for left and right eye. Does 
 anyone know if osgmovie can play them in active/passive stereo?

 If not, what is the best way to play two video streams in stereo?

 Thank you!

 Cheers,
 Vijay

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





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

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