DemoPrerender Op
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"
- if the patch/timing changed a log click "clear" to remove all previous recorded events
- select prerender op, activate "record events" and save the patch
- reload the patch and wait for the demo play and finish and save the patch
- "Num Events" should show the number of detected events.
- 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...
- uncheck "record events" and save patch again
Full Name
- Ops.TimeLine.DemoPrerender
- Core Op - visible for everyone
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch DemoPrerender Example
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)