[osg-users] Multi Projector edge blend and bend (distortion correction)

John Aughey jha at aughey.com
Wed Mar 11 09:20:01 PDT 2009


I haven't thought through how the interface would look with osgViewer.  In
my external implementation, I do have a class that holds on to the
distortion geometry and allows new meshes to be given to change the pattern
(for dynamic calibration).

One thought is to have an osgViewer::DistortionManager class that could be
retrieved through an osgView::getDistortionmanager() accessor method.  If a
distortion system is created, it would be managed by the
osgViewer::DistortionManager object and manipulated by getting that object
through the osgViewer object.

John

On Wed, Mar 11, 2009 at 10:49 AM, Robert Osfield
<robert.osfield at gmail.com>wrote:

> Hi John,
>
> I'm certainly open to this approach - it's one I've considered for a
> while, so please post what code you have.  Are you adding an extra
> class to manage the distortion correction?
>
> Robert.
>
> On Wed, Mar 11, 2009 at 3:10 PM, John Aughey <jha at aughey.com> wrote:
> > Robert-
> >
> > I'm glad this topic was brought up.  I am doing some work with non-linear
> > distortion correction and have taken the code in osgViewer for doing the
> > spherical distortion and made it more generic to accept a grid of points
> > that represent the distortion mesh.  This is just what the spherical
> > distortion routines are doing in osgViewer, except rather than computing
> the
> > points, it takes a rectangular grid.
> >
> > What I would like to do is integrate this distortion code into osgViewer
> to
> > allow for more generic distortion grids to be used.  The existing
> spherical
> > distortion routines could use this by computing the appropriate
> distortion
> > grid and supplying that grid to this more general distortion generator.
> The
> > result would be that the existing spherical distortion would still work,
> and
> > more general distortion patterns can be given too.
> >
> > If you think this would be useful, let me know and I'll integrate the
> > changes and make a patch.
> >
> > John
> >
> > On Wed, Mar 11, 2009 at 4:06 AM, Robert Osfield <
> robert.osfield at gmail.com>
> > wrote:
> >>
> >> Hi Bino,
> >>
> >> The OSG only currently has distortion correction built in for
> >> spherical displays with a single projector.
> >>
> >> General distortion correction can be implemented on top of osgViewer
> >> in the same way as the I implemented the spherical display distortion
> >> correction - using a series of slave cameras that to a render to
> >> texture then a second distortion correction/edge blending pass for
> >> each of the displays.
> >>
> >> Robert.
> >>
> >> On Wed, Mar 11, 2009 at 7:06 AM, Albino Rodrigues <bino at vrspace.com.au>
> >> wrote:
> >> > Hi,
> >> >
> >> >
> >> >
> >> > I was wondering if OSG has distortion correction built in for multi
> >> > projector displays so that the edges blend nicely.
> >> >
> >> >
> >> >
> >> > I vaguely recall reading that OSG has built in support for this but
> >> > can’t
> >> > seem to find any information on it. (other than the post:
> >> >
> http://www.mail-archive.com/osg-users@openscenegraph.net/msg10361.html)
> >> >
> >> >
> >> >
> >> > Thanks in advance,
> >> >
> >> > Bino
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > osg-users mailing list
> >> > osg-users at lists.openscenegraph.org
> >> >
> >> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >> >
> >> >
> >> _______________________________________________
> >> osg-users mailing list
> >> osg-users at lists.openscenegraph.org
> >>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> >
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090311/28fcba38/attachment-0003.htm>


More information about the osg-users mailing list