beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

DemoPrerender Op

Ops.TimeLine.DemoPrerender


DemoPrerender
Namespace: Ops.TimeLine

Op author: pandur

Prerenderer based on timeline progress


summary (oneliner)

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


doc

issues

example patch id

youtube id

caniuse query

collections

related ops

Inputs

Render (Trigger)

Record Events (boolean /Number)

Reset (Trigger)

Clear (Trigger)

ReRender on Resize (boolean /Number)

Outputs

Next (Trigger)

Prerendered Frame (Trigger)

Progress (Number)

Num Events (Number)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

Patches using DemoPrerender

Changelog


created op
2021-03-20 - pandur

Ops.User.pandur.demoprerender renamed to Ops.Timeline.DemoPrerender
2021-03-21 - pandur

Ops.Timeline.DemoPrerender renamed to Ops.TimeLine.DemoPrerender
2022-06-07 - pandur