[osg-users] fish eye projection

Robert Osfield robert.osfield at gmail.com
Thu Sep 11 05:58:09 PDT 2008


Hi Filip,

If you system is a relatively common configuration then we might be
able to add  a View::setView*() and associated support into .view
format, this way others will benefit and will be able to test the
functionality.

The way I developed the spherical display support was by creating
experimental code in the osgdisortion example, then when it was ready
I moved the code into osgViewer::View, then further evolve the code
from there.  Perhaps the same approach might work for you.

Robert.

On Thu, Sep 11, 2008 at 1:07 PM, Filip Wänström <filip.wanstrom at tii.se> wrote:
> Robert,
> thanks for clearing that out. I'll experiment and see what I come up with.
> I would also prefer not to use/integrate 3rd party libs.
> /Filip
>
> On Thu, Sep 11, 2008 at 2:02 PM, Robert Osfield <robert.osfield at gmail.com>
> wrote:
>>
>> 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.
>>
>> Robert.
>>
>> 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
>> >
>> >
>> _______________________________________________
>> 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
>
>



More information about the osg-users mailing list