Initial release.
jpeg
settings are under jpeg
, etc..).DeckScene
initialKeyframes
parameter on DeckScene
. Initializes keyframes prior to first render.DeckAdapter.render({getCameraKeyframes, getKeyframes})
accessors.DeckScene.setKeyframes
may also be used to register new keyframes.DeckAdapter
DeckAdapter.seek
added to enable previewing any specific frame while paused.DeckAdapter.getProps({extraProps})
added to inject additional deck props without interfering with Hubble.DeckAdapter.getProps({getLayers})
added for when it’s necessary to access keyframes for animated layers.(scene) => layers[]
CameraKeyframes
now supports flyTo
interpolation.new CameraKeyframes({interpolators: 'flyTo'})
GifEncoder
defaults tuned to increase quality and reduce size.DeckScene
construcor parameters:data
removed. Instead users should manage their data loading on their own.lengthMs
removed. Instead provide timecode parameter to DeckAdapter.render
.currentCamera
removed. Instead manage viewState
externally and set camera keyframes with DeckScene.setCameraKeyframes
.animationLoop
removed. Instead provide a luma.gl timeline
.renderLayers
removed. Instead either directly supply deckgl with layers, or provide a getLayers accessor, DeckAdapter.getProps({getLayers})
, when it’s necessary to access keyframes for animated layers.keyframes
removed. Instead they can be initialized with initialKeyframes
parameter and updated with setKeyframes
, and setCameraKeyframes
methods.Encoder
base class removed. Use FrameEncoder
instead.DeckAdapter.preview
removed. Use DeckAdapter.render({Encoder: PreviewEncoder})
instead.DeckAdapter.render
, DeckAdapter.getProps
, and DeckScene
constructor expect object wrapped parameters now.DeckAdapter.render({encoderSettings})
is now split up into three objects:formatConfigs
, to config settings for specific formats (I.e. jpeg quality)timecode
, to specify render start and end times as well as framerate.filename
, to specify the file name when rendering to a downloaded file.Keyframes.setActiveKeyframes
is now private Keyframes._setActiveKeyframes
, and should not be used.This release introduces a new decoupled animation manager, and refactors Please review API reference and examples before upgrading.
seek
method to DeckAdapter.Keyframes.set
to update keyframe values without reconstructing and re-attaching to timeline.DeckLayerKeyframes
KeplerLayerKeyframes
KeplerFilterKeyframes
KeplerTripKeyframes
Animation
to manage keyframes and drawing a frame.DeckAnimation
KeplerAnimation
AnimationManager
to replace DeckScene
Timeline
and attaching animations.useDeckAdapter
hook for better react integration.DeckAdapter
now waits for async deck.gl layers to finish loading before rendering a frame.DeckAdapter
has breaking changes for existing applications.encoderSettings
to formatConfigs
dimension
to resolution
DeskScene
(replaced by AnimationManager
and Animation
classes).LayerKeyframes
(replaced by DeckLayerKeyframes
)FilterValueKeyframes
GridLayerKeyframes
ScatterPlotLayerKeyframes