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
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Caniuse query
Inputs
Render (Trigger)
Manual Timestamps (Array)
Record Events (boolean /Number)
Reset (Trigger)
Clear (Trigger)
ReRender on Resize (boolean /Number)
Outputs
Next (Trigger)
Prerendered Frame (Trigger)
Progress (Number)
Num Events (Number)
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 |