[osg-users] camera standard frustum

Tomlinson, Gordon GTOMLINSON at overwatch.textron.com
Mon Mar 9 06:52:21 PDT 2009

Typically it can be yes,

Search the archives/FAQs/ on small feature culling as well, as by
default OSG automatically adjust the near and far plans , you may want
to turn this off , that is if you want to controll the near and far

Product Manager 3d
Gordon Tomlinson
Email  : gtomlinson @ overwatch.textron.com
(C): (+1) 571-265-2612
(W): (+1) 703-437-7651

"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura

-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Martin
Sent: Monday, March 09, 2009 8:06 AM
To: osg-users at lists.openscenegraph.org
Subject: Re: [osg-users] camera standard frustum


I think it works now. It was my mistake. But the near plane is very
small. Is it normal?



LittleG wrote:
> Hello,
> when i create a camera:
> osg::ref_ptr< osg::Camera> cam = new osg::Camera();
> and I want to get the frustum parameters:
> cam->getProjectionMatrixAsFrustum(left,right,bottom,top,znear,zfar);
> I dont't get the parameters. It seems that the camera hasn't a
projection matrix. Where is the projection matrix define in this
situation? When I set my own projection matrix with setProjectionMatrix(
... ) it works fine.
> Cheers,
> Martin

Read this topic online here:

osg-users mailing list
osg-users at lists.openscenegraph.org

More information about the osg-users mailing list