Hi Andy,

On Wed, May 21, 2008 at 1:11 PM, Andy Skinner
<[EMAIL PROTECTED]> wrote:
> I found a dusty part of our code where we have a Projection and a Camera.
> I've found an old email (2006) from this list about how the Projection is
> deprecated in favor of the Camera.  I just wanted to check—is this correct?
> If we've got a Camera, we don't need a Projection?

osg::Projection existed before the days of osg::Camera, with the
arrival of the later two summers ago the former became a bit obsolete,
but is kept around for backwards compatibility.   osg::Camera is
effectively an osg::Projection + an osg::MatrixTransform all round
into one class, plus a buck load of other Camera related features.

So it's likely you won't be removing an osg::Projection node, but a
osg::Projection node and a Transform placed above or below this
osg::Projection node as Projection node on its own it's really that
useful.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to