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 <[email protected]> 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 <[email protected]> > 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 <[email protected]> >> 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/[email protected]/msg10361.html) >> > >> > >> > >> > Thanks in advance, >> > >> > Bino >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > _______________________________________________ >> > osg-users mailing list >> > [email protected] >> > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > >> > >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

