PDA

View Full Version : Render synchronization


thales
09-18-2013, 06:51 PM
Hi everyone!

I'm running an application which requires a tight sychronization with the actual monitor displayed frames. Is there a way to get into the script a start of monitor frame event or a vertical sync flag from the graphic card?

Thank you all,

Thales

farshizzo
09-19-2013, 08:51 AM
The viz.POST_SWAP_EVENT is probably the closest you will get to a vertical sync event, without diving into low-level code. The event is triggered after the frame buffer swap, so it should be essentially right after the monitor vertical sync trigger.

thales
09-19-2013, 11:18 AM
Hi Farshizzo!

Thank you for you fast reply! :)

I'll try this and be back to tell you how it worked out.

Best,

Thales