Expand description
The morphed-cube scene: a cube blended by two morph targets across six frames.
Ported from the ecs_morphed_cube_matches_snapshots test. A cube with two
morph targets is drawn over several frames while its target weights
animate: the weights live in a MorphWeights component the CPU updates,
and each frame is stored as its own snapshot.
Re-exportsΒ§
use super::SEQUENCE_STEP;πuse super::SceneControl;πuse super::SceneDef;πuse super::SceneOptions;πuse super::TEST_SIZE;πuse super::default_options;πuse super::morph_deltas;πuse unlit_ecs::Bundle;πuse unlit_ecs::DynamicBundle;πuse unlit_ecs::bundle;πuse unlit3d::prelude::*;π
StructsΒ§
- Morphed
Cube π - The sceneβs one visible object: a cube blended by its own weights.
ConstantsΒ§
- CAMERA_
EYE π - Where the camera sits and what it looks at.
- CAMERA_
TARGET π - The point the camera looks at.
- FRAMES π
- The frames rendered, one snapshot each.
StaticsΒ§
- SCENE
- The scene: a cube changing shape frame by frame, each stored as its own snapshot.