Hi JS,

On Thu, Apr 23, 2009 at 7:27 PM, Jean-Sébastien Guay
<jean-sebastien.g...@cm-labs.com> wrote:
> As an additional data point, on Windows, the NVidia drivers ship with vsync
> enabled by default, but ATI ships with it disabled. This always bugs me when
> setting up a new machine.

Thanks for the info.

> If you want to add a feature for capping the frame rate, then I'd like to
> suggest having a key, a command-line arg and an environment variable to
> enable/disable this, and perhaps a way of setting the target frame rate.
> Personally I prefer letting users have the choice, through the vsync setting
> in their driver, whether they want to cap the frame rate or not.

It's only be the run convenience method that would do the frame rate
management, and perhaps we could expose a viewer method to help the
frame management done in user code.  With the frame rate management my
expectation would be offer a couple of different settings so that
calling code could choose how that want to run the frame management,
be it lazy frame loop, continuous but capped to be at or below a
specified max frame rate, or free running where the frame rate run
just at full pelt only help back by vsynvc (if enabled).

We could possible provide an env var to provide a hint to
DisplaySettings for what the defaults should be.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to