DemoPrerender Op

DemoPrerender

Prerenderer based on timeline progress


This op records "heavy events", 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 "heavy events" already happen in the loading/prerendering state and can be visualized with a progress bar

how to record "heavy events"

  1. if the patch/timing changed a log click "clear" to remove all previous recorded events
  2. select prerender op, activate "record events" and save the patch
  3. reload the patch and wait for the demo play and finish and save the patch
  4. "Num Events" should show the number of detected events.
  5. 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...
  6. uncheck "record events" and save patch again

Edit Documentation

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


 

INPUT PORTS


Render (Trigger)
Manual Timestamps (Array)
Record Events (Number:boolean )
Reset (Trigger)
Clear (Trigger)
ReRender on Resize (Number:boolean )

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