-
Technical task
-
Resolution: Out of scope
-
P1: Critical
-
None
-
None
3DS1 allows controlling the global time via an API to help offscreen rendering. In the surfaceviewer_offscreen example for instance:
for (int frame = 1; frame <= 20; ++frame) {
// Advance animations manually. By default animations would advance
// based on whatever time the rendering, readback and PNG generation
// throttle this thread to. That is not ideal so maintain our own
// "global time".
viewer.presentation()->setGlobalAnimationTime(t);
t += 16; // 60 fps
// Render the next frame.
...
// Write it to a file.
...
}
Qt 3D has no such thing so it is impossible to get a steady 60 (or other) FPS image sequence.
- is required for
-
QT3DS-1671 Viewer improvements in 2.x
-
- Closed
-