[osg-users] Oculus+OSG

Björn Blissing bjorn.blissing at vti.se
Fri Sep 25 02:09:12 PDT 2015


Hi Ricky,

We have recently added support for MSAA in the OsgOculus integration (credits to Chris Denham). Rendering with MSAA enabled will require some extra GPU horse power and is probably the reason you see the stuttering in the rendering. If you look at the performance HUD (by pressing '2' on the keyboard), you will see what frame rate the compositor is working with. Anything under 75fps will cause stutter (on the DK2) and the performance HUD will report by incrementing the value: "Compositor Missed V-Sync Count".

To disable the MSAA change this line to a zero (or you could try to lower the amount to 2 and see if that helps):
https://github.com/bjornblissing/osgoculusviewer/blob/d0c425d3eda01b8134518ef524906e736a6aed9b/src/viewerexample.cpp#L50

This is probably also related to the flickering you are seeing. 

Best regards
Björn

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65210#65210








More information about the osg-users mailing list