Kim, Thanks very much for the tips and code snippet!
Robert, nice to know we were thinking along the same lines for a wowvx
stereo option built into OSG ;-)
Chris.

Date: Thu, 3 Apr 2008 12:37:44 +0100
From: "Kim C Bale" <[EMAIL PROTECTED]>
Subject: Re: [osg-users] Philips WOWvx technology and OpenSceneGraph
To: "OpenSceneGraph Users" <[email protected]>
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hi Chris,

I'm afraid the code was written as part of a research project, and we
still haven't decided upon whether or not the code is going into the
public domain or not so I can't really give out my classes. However, I
have included a function that may help you. You'll have to fill in the
rest I'm afraid. The white paper they supply is very good.

If you've ever used multiple camera objects in an OSG program you
shouldn't find it a problem. The trickiest part in my opinion was
creating the class to generate the little header in the top left corner
of the image, but that was only because it was fiddly bit shifting.

I've only worked with the standard 50/50 stereo image, I believe
Phillips support a couple of different formats, one of which splits the
screen into 4 that allows you to compensate for the strange blurring
effect you get on the edge of objects.

As for the blurring in the distance, I get that too, but haven't
attempted to fix it, I would imagine dynamically modifying the depth map
calculation would go some way to solve this and it's easily done if you
use the shader approach that I took.

As Robert says there's no need to use any APIs etc, OSG provides all the
tools to generate and modify the stereo format in the scene graph.

Fire back if you need any further hints or tips.

Kim.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to