write_Alembic
Writes Bifrost points, strands, and meshes to an Alembic file. Make sure that at least one of this nodes' outputs is connected to the output
node at the top level of the graph.
Inputs
meshes
The Bifrost meshes to write.
points
The Bifrost points to write.
strands
The Bifrost strands to write.
enable
If true, enables writing of files. Otherwise, this node simply passes its inputs through to its outputs.
filename
The file name.
directory
The directory.
frame
The frame number.
frame_rate
The desired frame rate.
start_frame
The start frame when the Alembic archive is created.
end_frame
The end frame when the Alembic archive is finalized and written.
overwrite
If true, overwrites existing file.
create_directories
If true, creates output directory hierarchy if it doesn't exist.
properties
A space-delimited list of properties to write.
write_single_file
If enabled, writes animation as a single Alembic archive. Note that frame_rate
, start_frame
and end_frame
are only taken into account if this mode is enabled.
Outputs
out_meshes
Passthrough of the input Bifrost meshes.
out_points
Passthrough of the input Bifrost points.
out_strands
Passthrough of the input Bifrost strands.
success
True, if file was written successfully.
file_path
The full path of the written file.
Limitations
- An invalid Alembic archive (i.e. one which cannot be read again) will be produced if graph evaluation is stopped on a frame between start_frame and end_frame.
- Does not support writing data geo properties that have no specified target (this information can be viewed with a watchpoint).
- Does not support writing and subsequently reading recursively indexed properties.
- Writing the default values of properties is not supported.
- The Bifrost types uchar4 and float4 are written to Alembic as attributes of type color.
- Not all Bifrost types are supported natively by Alembic and properties with these types are currently not written to the Alembic archive. These types are: float3x2, float4x2, float4x3, float2x4, float3x4, double4, double3x2, double4x2, double4x3, double2x4, double3x4, char2, char3, char4, char2x2, char3x2, char4x2, char2x3, char3x3, char4x3, char2x4, char3x4, char4x4, short4, short3x2, short4x2, short3x3, short4x3, short2x4, short3x4, short4x4, int4, int3x2, int4x2, int3x3, int4x3, int2x4, int3x4, int4x4 long2, long3, long4, long2x2, long3x2, long4x2, long2x3, long3x3, long4x3, long2x4, long3x4, long4x4, uchar2, uchar2x2, uchar3x2, uchar4x2, uchar2x3, uchar3x3, uchar4x3, uchar2x4, uchar3x4, uchar4x4, ushort2, ushort3, ushort4, ushort2x2, ushort3x2, ushort4x2, ushort2x3, ushort3x3, ushort4x3, ushort2x4, ushort3x4, ushort4x4, uint2, uint3, uint4, uint2x2, uint3x2, uint4x2, uint2x3, uint3x3, uint4x3, uint2x4, uint3x4, uint4x4, ulong2, ulong3, ulong4, ulong2x2, ulong3x2, ulong4x2, ulong2x3, ulong3x3, ulong4x3, ulong2x4, ulong3x4, ulong4x4, bool2, bool3, bool4, bool2x2, bool3x2, bool4x2 bool2x3, bool3x3, bool4x3, bool2x4, bool3x4, bool4x4.