DemoPrerender Op

DemoPrerender

Prerenderer based on timeline progress


<p>This op records &quot;heavy events&quot;, that cause frame drops at runtime (uploading data to gpu/resizing of textures/compiling shaders). The process prerendering jumps to the timeline-time of those events and renders the state of the patch at that time, so those &quot;heavy events&quot; already happen in the loading/prerendering state and can be visualized with a progress bar</p> <h3>how to record &quot;heavy events&quot;</h3> <ol start="0"> <li>if the patch/timing changed a log click &quot;clear&quot; to remove all previous recorded events</li> <li>select prerender op, activate &quot;record events&quot; and save the patch</li> <li>reload the patch and wait for the demo play and finish and save the patch</li> <li>&quot;Num Events&quot; should show the number of detected events.</li> <li>it may be necessary to repeat step 2 a few times, until all huge spikes at scene changes in the performance op graph are gone...</li> <li>uncheck &quot;record events&quot; and save patch again</li> </ol>


Full Name
  • Ops.TimeLine.DemoPrerender
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


INPUT PORTS


Render (Trigger)
Manual Timestamps (Array)
Record Events (Number:

<i>boolean</i>

)

Reset (Trigger)
Clear (Trigger)
ReRender on Resize (Number:

<i>boolean</i>

)

OUTPUT PORTS


Next (Trigger)
Prerendered Frame (Trigger)
Progress (Number)
Num Events (Number)

Patches using DemoPrerender

  • Examples
  • Public
  • My Patches

Changelog


created opuser avatarpandur - 2021-03-20 22:11
Ops.User.pandur.demoprerender renamed to Ops.Timeline.DemoPrerenderuser avatarpandur - 2021-03-21 11:24
Ops.Timeline.DemoPrerender renamed to Ops.TimeLine.DemoPrerenderuser avatarpandur - 2022-06-07 08:52