[x] HijackedScrollbar: fix history scroll position
[ ] BUG: config override scrollLerp on GlobalCanvas not working when using scrollbar
LOW prio improvements
[ ] configure camera orth - overide x,y,z
[ ] configure camera persp - override fov
[ ] ViewportScrollScene - make camera fov configurable
[ ] Remove {bind} requirement from HijackedScrollbar?
[ ] Perf: should global render be clever and skip render if children are empty?
High level Goals:
quick to get started
render always
no need to call requestRender or invalidate
minimize "clever" code - use basic R3F for most
Scroll rig is mainly synching WebGL and Scrollbar - that's it! Other things should be optional
By default frameloop="always"
Always render global loop
Add a viewport -> will cause double render
Adding a global child -> always renders even if hidden
= OK for most scenarios. Most projects will not need otpimizing
By settings frameloop="demand"
Only render global loop if requested
Adding a viewport -> won't cause a global render unless needed
Adding a global child > will need to call both invalidate() and requestRender() to be visible
= VERY advanced - only useful if sometimes only viewports/scissors are visible
Advanced:
possible to render several passes
possible to disable global render loop if you want your own
v7
Refactor
requestRender
requirement for basic "demand" frameloopBUGS
LOW prio improvements
High level Goals:
By default frameloop="always"
By settings frameloop="demand"
Advanced: