I'm revisiting my old message here. I have in place a version that uses the view offset parameter of addSlave in viewer, but I'm getting some strange results (it appears like a three-point perspective, one per camera ). It's worked enough to get the system running, but the results are somewhat distracting. So rather than listing my code, could someone modify osgcamera to show the proper way to have 3 cameras with a FOV greater than 180 degrees?
Mark Mark A. Bolstad Scientific Computing Janelia Farm Research Campus Howard Hughes Medical Institute 19700 Helix Drive, Ashburn, VA 20147 email: [email protected] office: +1.571.209.4623 web: http://www.hhmi.org/janelia/ On Nov 15, 2010, at 8:04 PM, Bolstad, Mark wrote: > I've dug around in the lists and various other areas and have yet to come up > with a solution. > > We have a cylindrical display using 3 projectors with a viewing angle of 225 > degrees. Most of the code is based off of osgdistortion, but I can't seem to > get a very large FOV. I've tried several approaches: > 1. Setting the viewing angle of the master camera to perspective with the > large FOV. Works up to 140 degrees but after that the perspective is to > distorted (as would be expected). Interestingly, at FOV > 180, the up vector > flips and the FOV gets smaller (somewhat expected if you think about the > math). > 2. Setting the offset parameters in addSlave (strange results) > > What I think I need is to set each one of the three views to have a viewing > angle of 75 degrees, and to rotate two of the views +/- 75 degrees from the > center. > > Any help/hints on setting this up would be appreciated. > > Mark > > Mark A. Bolstad > Scientific Computing > Janelia Farm Research Campus > Howard Hughes Medical Institute > 19700 Helix Drive, Ashburn, VA 20147 > email: [email protected] > office: +1.571.209.4623 > web: http://www.hhmi.org/janelia/ > > > > > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

