You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2020. It is now read-only.
re-run same sample, capture a gltrace with glinspector.
And see that all the unnecessary calls are removed.
All samples/tutorial runs well without but "multiple viewer" sample
But it shouldn't be enabled in all the other use case, as GL call are very costly (and pollute gl traces)
In case of FOG sample, half the gl call are unnecessary (18/36).
if use case is to "revert webgl state to a neutral state", better just share the "lastapplied" states thing between frame/viewers as it would allows for even fewer states on usecase where states are always the same during and between frames/viewers.)
The text was updated successfully, but these errors were encountered:
repro steps:
run a sample, capture a glTrace with gl inspector, see all call after the last gl.DrawElement to end of frame.
Comment State.apply here:
osgjs/sources/osgViewer/Renderer.js
Line 193 in a4587df
re-run same sample, capture a gltrace with glinspector.
And see that all the unnecessary calls are removed.
All samples/tutorial runs well without but "multiple viewer" sample
But it shouldn't be enabled in all the other use case, as GL call are very costly (and pollute gl traces)
In case of FOG sample, half the gl call are unnecessary (18/36).
if use case is to "revert webgl state to a neutral state", better just share the "lastapplied" states thing between frame/viewers as it would allows for even fewer states on usecase where states are always the same during and between frames/viewers.)
The text was updated successfully, but these errors were encountered: