Thanks for posting this info.

Ha! I was searching with the "whole word only" option and including the
leading under bar, thus this comment block did not show up in my search.

As far as my environment variable reference documentation goes, I'll
indicate that OSG_MINIMUM_COMPILE_TIME_PER_FRAME is reserved for future use.
   -Paul


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Michael Henheffer
> Sent: Wednesday, November 07, 2007 12:29 PM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] DatabasePager -- dead code?
> 
> The comments for DatabasePager::setTargetFrameRate explain 
> that this variable is not used directly and how it should be 
> used.  As seen below it appears it is intentionally not used.
> 
> "Typically one would set this to the value refresh rate of 
> your display system i.e. 60Hz. Default value is 100. Usage 
> notes. The TargetFrameRate and the 
> MinimumTimeAvailableForGLCompileAndDeletePerFrame parameters 
> are not directly used by DatabasePager 
> <http://www.openscenegraph.org/documentation/OpenSceneGraphRef
> erenceDocs/a01126.html>,
> but are should be used as a guide for how long to set aside 
> per frame for compiling and deleting OpenGL objects - ie. the 
> value to use when calling 
> DatabasePager::compileGLObjectgs(state,availableTime,). The 
> longer amount of time to set aside cthe faster databases will 
> be paged in but with increased chance of frame drops, the 
> lower the amount of time the set aside the slower databases 
> will paged it but with better chance of avoid any frame 
> drops. The default values are chosen to achieve the later 
> when running on a modern mid to high end PC. The way to 
> compute the amount of available time use a scheme such as : 
> availableTime = maximum(1.0/targetFrameRate - 
> timeTakenDuringUpdateCullAndDraw, 
> minimumTimeAvailableForGLCompileAndDeletePerFrame)."
> 
> Mike
> 
> 
> 
> Robert Osfield wrote:
> > On Nov 7, 2007 2:42 PM, Paul Martz <[EMAIL PROTECTED]> wrote:
> >   
> >> Can you point me to code that actually uses this variable?
> >>     
> >
> > Just did a search and couldn't spot anything :-)
> >
> > Perhaps osgProducer used it.
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.
> > org
> >   
> 
> --
> Michael Henheffer - Software Developer
> Core3D/Easy View
> CARIS
> 115 Waggoners Lane, Fredericton, New Brunswick, Canada, E3B 2L4
> Tel: +1-506-458-8533  Fax: +1-506-459-3849 
> ______________________________________________________________
> ___________
> New Viewer for 2D and 3D Data
> Download your free copy of CARIS Easy View today!
> www.caris.com/easyview
> ______________________________________________________________
> ___________
> 
> This email and any files transmitted with it are confidential 
> and intended only for the addressee(s). If you are not the intended
> recipient(s) please notify us by email reply. You should not 
> use, disclose, distribute or copy this communication if 
> received in error.
> 
> Any views or opinions expressed in this email are solely 
> those of the author and do not necessarily represent those of 
> the company. No binding contract will result from this email 
> until such time as a written document is signed on behalf of 
> the company.
> 
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-opensce
negraph.org

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

Reply via email to