bundle.gs3d.temporal¶
4D Gaussian sequence generation via keyframed rigid motions.
A TemporalGenerator reads a static PLY, applies a per-frame
rigid transform derived from a MotionConfig, and writes one
output PLY per frame into output_dir.
Supported motions¶
rigid – no motion (identity); useful as a baseline / loop test oscillate – sinusoidal translation along one axis explode – positions scale outward from the origin over time orbit – rotation about a fixed axis (e.g. a 360° turntable)
The output contract is bundle.gs3d.data.GaussianSequence; the
on-disk layout is <output_dir>/<frame_index:04d>.ply.
All transforms operate on positions only. Rotations (quaternions) and
scales are copied unchanged — downstream stages (Blender, USD) that need
animated orientations can extend MotionConfig with additional
fields.
Attributes¶
Classes¶
Parameters describing a single 4D motion. |
|
Apply a |
Module Contents¶
- bundle.gs3d.temporal.log¶
- class bundle.gs3d.temporal.MotionConfig(/, **data: Any)[source]¶
Bases:
bundle.core.entity.EntityParameters describing a single 4D motion.
- motion_type¶
One of
rigid,oscillate,explode,orbit.
- amplitude¶
Scale of the motion (metres for translation, radians for orbit).
- frequency¶
Cycles per second; combined with
frame_countandfpsto compute the per-frame angle/displacement.
- axis¶
Primary axis letter (
x,y, orz).
- motion_type: Literal['rigid', 'oscillate', 'explode', 'orbit'] = 'orbit'¶
- axis: Literal['x', 'y', 'z'] = 'y'¶
- class bundle.gs3d.temporal.TemporalGenerator(/, **data: Any)[source]¶
Bases:
bundle.core.entity.EntityApply a
MotionConfigto a static PLY and emit a frame sequence.- ply_path¶
Source static Gaussian cloud.
- motion¶
Motion configuration.
- frame_count¶
Number of output frames.
- fps¶
Playback rate (written into
GaussianSequencemetadata).
- output_dir¶
Directory to write per-frame PLY files.
- ply_path: pathlib.Path¶
- motion: MotionConfig¶
- output_dir: pathlib.Path¶
- async generate() bundle.gs3d.data.GaussianSequence[source]¶