HI Cory,

I have just done a review of your changes against the original code
and I believe the original code is correct and your changes will break
correct code.

If a slave camera has an ABSOLUTE_RF then it by default will have it's
aspect ratio adjusted.  This is correct behavior.

If you don't with a slave camera to have it's aspect ratio adjusted
then you should disable this by setting the slave Camera's
ProjectionResizePolicy.

If you review the code block in question you'll see that you can
disable this resize.

Robert.

On Tue, May 5, 2009 at 12:11 AM, Cory Riddell <[email protected]> wrote:
> Robert,
>
> When you add a slave camera with ABSOLUTE_RF, the aspect ratio change
> code in GraphicsContext.cpp would ignore the slave camera's setting and
> always take the master camera's setting.
>
> The attached GraphicsContext.cpp file is from the trunk and changes only
> 3 lines.
>
> Cory Riddell
>
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to