Hi John,

I just ran an old code. In the older version, the model was centered on the
screen. with the new manipulators it is not. I use the default behavior

-Nick


On Sat, Jun 12, 2010 at 2:28 PM, PCJohn <[email protected]> wrote:

>  Hi Nick,
>
> there are two major changes to CameraManipulator::computeHomePosition():
> - the computation uses bounding box by default (the model center is located
> more precisely)
> - the computation considers the camera fov to make sure that the model
> nicely fits to the screen (small fov may make the model larger than screen
> while big fov too small).
>
> If there is a bug, you see some problems with the approach, or you would
> like some adjustments, we can discuss them further.
> John
>
>
> Trajce (Nick) Nikolov wrote:
>
> Hi community,
>
>  I updated osg from the trunk today (after a month) and I am seeing
> different behavior on the trackball manipulator - the scene starts far away
> from my model. I was following the thread of the reengineering of this piece
> of the code which happened lately. Anyone experiencing the same/similar ?
>
> -Nick
>
> ------------------------------
>
> _______________________________________________
> osg-users mailing 
> [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

Reply via email to