[osg-users] fish eye projection

Robert Osfield robert.osfield at gmail.com
Thu Sep 11 05:02:34 PDT 2008

Hi Flilip,

The .view format is still in a very early stage of development, so
only supports a select range of convenience methods that are provided
in the osgViewer::View::setUpView*() methods.  The OSG also has
Producer .cfg plugin which allows you to use Producer configuration
files, these are more feature rich that the present .view in terms of
controlling windows, viewports, projections and view matrices and
their offsets, but doesn't support any distortion correction so won't
be of use to you.

The dome distortion correction that is provided .view and
VIew::setUpView*() methods are just for full spherical projection.  If
you need another type of dome correction then you'll need to roll you
own setup.  The View::setUp*() methods and the distortion examples
should provide a useful guide.

Diving into 3rd party libs for setting up the rendering I'd personally
avoid as they'll just complicate your application, and will limit the
threading options you have in your viewer.


On Thu, Sep 11, 2008 at 12:46 PM, Filip Wänström
<filip.wanstrom at gmail.com> wrote:
> Hi, I need to output to a single channel fish eye projection lens .
> (Elumenati system) Is there a simple way to achieve this?
> Basically I believe there are 3 paths to chose from:
> 1. doing the fisheye projection yourself (similar to osgdistortion)
> 2. using the elumentai api, omnimap (only windows so I'm not to keen on
> this)
> 3. configuring osgViewer in some way?
> 1 and 2 is obvious but requires some work. I am hoping for 3 since I found
> files called *.view in the {$OSG_FILE_PATH}/Configuration folder. I have not
> found documentation on how to create or use those files so if someone has a
> pointer for me to start reading it would be great :)
> /Filip
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list