[osg-users] Camera vs Projection

Robert Osfield robert.osfield at gmail.com
Sun Mar 22 04:39:11 PDT 2009


Hi Guy,

I can't easily follow your email, but I think the answer is no.

Robert.

2009/3/22 Guy <guy at dvp.co.il>

>
>
>
>  ------------------------------
>
>
>
>
> An osg::Camera that has it's RenderOrder to NESTED will just set the
> project and view matrices, it want clear any buffers and will nest all
> enclosed sugraph within the current RenderStage.  This makes it pretty close
> to the use of Projection node and MatrixTransform ndoe that used to have to
> be used before.
>
>
>
>  Another question about Camera and near-far plane computation. If a
> camera does calculate near far planes during the culling, but has
> somewhere underneath other cameras or projections, does these affect the
> near-far calculations? Does the near far planes that were calculated
> affect the other cameras/projections?
>
>
> The computation of the near far is optional and controlled via the
> ComputeNearFarMode.  When enabled the near far computation happens in the
> cull traversal for the camera being traversed.
>
> I understand, but suppose the mode of camera A is to calculate near far
> planes and the mode for camera B which is under A is also to calculate near
> far planes, and suppose A has frustum projection and B has orthographic
> projection, does geometry under B will affect A near far calculations?
> (Theoretically they should not). Does A near far planes will affect B
> projection matrix?
>
>
>
> If both answers are 'NO' I'm reassured J
>
>
>
> Thanks Robert,
>
>
>
> Guy.
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090322/0060e8c5/attachment-0003.htm>


More information about the osg-users mailing list