XMLWordPrintable

Details

    • Technical task
    • Resolution: Out of scope
    • P1: Critical
    • None
    • Runtime 2.x
    • None

    Description

      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.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              stromme Christian
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes