We're doing computations with the 3D engine, getting images, color
histograms, etc. at different model parameter settings, 1 change for each
frame, so the faster we can render the better.

Can one change vsync dynamically, at any time, just by changing vsync
setting in the traits?

bob

-----Original Message-----
From: Paul Speed [mailto:[email protected]] 
Sent: Saturday, July 11, 2009 9:01 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] frame rate faster than monitor vsync?

I have to be pedantic here... the eye can most _certainly_ detect 
movement beyond 60 hz.  But there is no point in displaying faster than 
that if your display can't render faster than 60 hz.

There are good reasons to do so, though.  For example, to test rendering 
speed to get good benchmarking for seeing how much CPU your rendering 
code is wasting.  Alternately, there are certain situations where one 
may be driving sensing equipment that wants higher refresh.  Of course, 
then the display is expecting that refresh or whatever is receiving the 
output... so we still come back to driving your display at what your 
display expects.  Or benchmarking.

-Paul


Philip Taylor wrote:
> Wyatt,
> 
> Out of very idle curiosity, why would you render at 2KHz when the eye
can't
> really detect movement beyond 60Hz?
> Would it just be for rendering individual frames for a movie?
> 
> PhilT
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]on Behalf Of Wyatt
> Earp
> Sent: 11 July 2009 19:08
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] frame rate faster than monitor vsync?
> 
> 
> I have renderered in excess of 2 KHz on ocassion.
> 
> Wyatt
> 
> On 7/11/09, Ulrich Hertlein <[email protected]> wrote:
>> Hi Bob,
>>
>> On 10/7/09 9:05 PM, Bob Youmans wrote:
>>> Hi, does anyone know if it's possible to run faster than the 60Hz vsync
>>> or 100Hz osg limit, if computational performance is the ultimate goal
>>> even at the expense of "tearing." Can I get 600 fps by turning off vsync
>>> (or something else, it didn't work on my box)? Is the graphics card
>>> driver/model involved? How can you tell which ones will work without
>>> actually buying it?
>> If you turn off vsync then OSG will render as fast as possible, without
> any
>> artificial
>> limitation.  There's no 100 Hz OSG limit that I'm aware of except maybe
in
>> the DB pager.
>>
>> Sure you can get 600 fps if you're willing to accept tearing (or render
>> offscreen), even
>> my GeForce 8600M GT laptop gives me over 1000 fps for moderately complex
>> models.  And yes,
>> the graphics card is obviously involved (the faster the better) and so is
>> the driver.
>>
>> If you're not seeing more than vsync fps then the reason is most likely
> due
>> to setup, e.g.
>> a driver settings forcing vsync on or __GL_SYNC_TO_VBLANK being set on
>> Linux.
>>
>> Cheers,
>> /ulrich
>> _______________________________________________





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

Reply via email to