XMLWordPrintable

    • Icon: Technical task Technical task
    • Resolution: Out of scope
    • Icon: P1: Critical P1: Critical
    • None
    • Runtime 2.x
    • 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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes