Drops a View into a cheap
render mode while the camera is moving, restoring quality once it
settles.
The mechanism is one line of state: view.renderMode. Each renderer
effect (SAO, shadows, bloom, FXAA, ACES tonemap, edges, IBL, section
caps) declares its own renderModes list and gates its activation on
view.renderMode being in that list. Flipping the View's mode
therefore toggles every effect whose list doesn't include the new mode
— no per-effect setup needed here.
AdaptiveQuality listens for camera changes and drives that flip:
the first change in a burst switches the View into a low-cost mode
(default NavigationRender),
and a trailing timer flips it back to a high-quality mode (default
RealisticRender) once the
camera has been still long enough.
xeokit Adaptive Quality
Drops a View into a cheap render mode while the camera is moving, restoring quality once it settles.
The mechanism is one line of state:
view.renderMode. Each renderer effect (SAO, shadows, bloom, FXAA, ACES tonemap, edges, IBL, section caps) declares its ownrenderModeslist and gates its activation onview.renderModebeing in that list. Flipping the View's mode therefore toggles every effect whose list doesn't include the new mode — no per-effect setup needed here.AdaptiveQualitylistens for camera changes and drives that flip: the first change in a burst switches the View into a low-cost mode (default NavigationRender), and a trailing timer flips it back to a high-quality mode (default RealisticRender) once the camera has been still long enough.Quick Start