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 plans
Gordon 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: [email protected] [mailto:[email protected]] On Behalf Of Martin Sent: Monday, March 09, 2009 8:06 AM To: [email protected] Subject: Re: [osg-users] camera standard frustum Hello, I think it works now. It was my mistake. But the near plane is very small. Is it normal? Thanks Martin 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: http://forum.openscenegraph.org/viewtopic.php?p=8088#8088 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

