Baked Reference
This is the simplest type of baking.
In the above diagram, the Geo File contains data of its own, plus a reference to Animation Data. The Output Geo File simply contains both sets of data.
We represent the data with squares to indicate geo data in geo format, and animation data in animation format.
Example
Here is a simple example to make this concrete, and to set up the next section. We have a unit cube with one corner at the origin. It is being animated along a linear path.
Prior to baking the reference:
# animation file
# filename = OtherFile
tx = linear(frame=0, tx=10, frame=5,tx=20)
# i.e. tx will take on values 10, 12, 14, 16, 18, 20
The geometry file brings this data in by reference. From a pipeline perspective, this allows the animation to change independently of the geometry.
# geometry file with reference
# filename = InputFile
include animation.data # this is the reference
cube_points = [
(0,0,0),
(1,0,0),
(0,1,0),
(0,0,1),
(1,1,0),
(0,1,1),
(1,0,1),
(1,1,1),
]
After baking the reference:
# geometry file with no reference
# filename = OutputFile
tx = linear(frame=0, tx=10, frame=5,tx=20)
# i.e. tx will take on values 10, 12, 14, 16, 18, 20
cube_points = [
(0,0,0),
(1,0,0),
(0,1,0),
(0,0,1),
(1,1,0),
(0,1,1),
(1,0,1),
(1,1,1),
]
Again, this is the diagram: