Creating Clips

Any directory in your workspace that contains supported mesh or texture files can be used to create a clip at any time by pressing the Make Clip button in the Project panel. Clips can contain mesh data, texture data, animation data, audio data, and data having to do with segments and compression.

HoloEdit indexes all supported files as they’re added to the workspace, and if any suitable files are located within a non-clip directory (or any nested directories inside) the Make clip button will be available for that folder.

Some data types can be made into clips as individual files, rather than as contents as a folder. MP4, OMS, and audio files will display the ‘Make Clip’ button as individual files. Some of these formats can still be imported in folders as part of a larger clip.

For clips with subfolders, every sample is evaluated equally, regardless of folder structure. So for example, a folder with per-frame textures located in the directory root, and meshes located in individual subdirectories for each mesh, would produce the same clip as a folder with the same files in root.

Warning

A clip cannot contain another clip. As soon as you create a clip, you can no longer create a new clip from any of that clip’s parent directories.

When a clip is created the samples that make up the clip are associated with the timing of the clip, so that frames play in order, gaps are preserved, and so on. By default this happens automatically based on frame numbers detected in the input filenames. Alternatively, you can specify specific patterns via the Import Pattern Settings. See Import Pattern Settings for details on alternate import behaviors.

Note

It’s not recommended to create a clip out of a complex tree of directories. If multiple files with the exact same filenames are present in a clip, only the last file imported by HoloEdit will be used.

The Import Clip Window

../_images/import-clip.png

Clip settings are configured via the Import Clip window.

You can open the Import Clip window by pressing the “Make Clip” next to a folder in the Project panel, or right clicking on an existing clip and choosing “Reimport Clip”, or by pressing the “Reimport” button if files have been added or removed to the clip folder.

The Import Clip window is used to specify clip parameters before creation, or change those settings for re-import. The Import Clip window is made up of several parts:

The “Clip Name” Field

This field previews the name of the clip. By default, it will be the same as the name of the directory in your workspace. To rename the clip, enter a name of your choosing before importing the clip. The folder in your workspace and clip inside of HoloEdit will both be updated to reflect the new name.

The “Clip Information”

This text directly below the clip name. This has details on the streams and files selected for the clip.

The “Stream Inspector”

This large field has one or more tabs of list views. One tab is present for each stream, and details on the contents of the stream.

If mesh data is present, the Mesh Stream settings will be displayed directly below the Stream Inspector. See “Mesh Stream Settings” below for more detail on configuring the import settings.

At the bottom of the window, the Import Pattern Settings determine how files correspond to frames in the clip. By default, HoloEdit will sort frames by alphabetical order. See “Import Pattern Settings” below for more detail on configuring import patterns.

Note

Textures with resolution 2880x2880 and greater will have a 1440x1440 proxy texture generated that can be applied in the viewport to improve performance in HoloEdit. Proxy textures can be toggled in the Shading drop-down menu.

Updating Clips

When HoloEdit detects new supported files are added to an existing clip directory, an “Update” button will appear to the right of the clip. Pressing this button is the same as choosing Reimport from the right-click menu.

Data Streams

Clips are made up of Data streams, sequences of data that make up volumetric video. Streams come in several types, and contain various kinds of data used by HoloEdit in stages and export. The two main types of data streams in HoloEdit are Mesh streams, which represent 3D geometry and related data such as skinning and colors, and Texture streams, which represent surface textures or Multi View Environments.

Note

There are also streams for Skeletal Animations, called Animation streams, streams for segment data, and so on for other data you might find in a HoloEdit composition.

Mesh Stream Settings

When configuring a clip containing mesh streams, the following options are available.

  • Z is Up: Toggle the orientation of the clip to use “Z up” rather than “Y up” coordinates. This is necessary for clips exported from certain 3D packages and capture technologies

  • Flip X-Axis: Toggle the orientation of the X Axis. This is necessary for clips exported from certain 3D packages and capture technologies

  • Reverse Winding Order: Reverse the winding order of the mesh samples, turning the mesh “inside out”. Use this setting if your clip appears to have flipped geometry, allowing you to see textures on the inside of the mesh. This is necessary for clips exported from certain 3D packages and capture technologies

  • Detect Stabilized Sequences: This option detects existing stabilization (sometimes called ‘Registration’, or ‘Filtering’) present in the mesh stream. Enable this if your mesh stream was exported from HoloEdit after processing in a Stabilize Mesh stage, or comes from another source with stabilization added

  • Calculate Normals: This option automatically calculates surface normals for shading your mesh. If your mesh streams come with existing normals pre-defined, leave this off. Note that normals slightly increase the file size of your output clip. With a clip selected, this option also appears in the Inspector panel

  • Bake Transform: This option is only present if your clip contains Alembic (.abc) files. When enabled, the alembic file’s world transform is sampled and applied to the mesh each frame

Import Pattern Settings

The Import Pattern settings specify the order and timing for the data in your clip.

The default settings sort the imported frames by number, and should be appropriate for most clips. The following controls are provided if special import rules are necessary:

Number Frames

The Number Frames drop-down controls whether file names should be interpreted using part of the filename, or sorted by name. When sorted by name, files are ordered in what is often referred to as a “natural” order, which is alphabetically except for strings of digits, which are compared using their numerical value so that e.g. “101” comes after “11” even though “0” comes before “1.” Each file type is sorted separately. By default, this is set to “Using Part of the File name”, with a default Frame Number Pattern to consider only numbers.

Frame Number Pattern

When Number Frames is set to “Using Part of the File Name”, you can specify a pattern using the Frame Number Pattern field. The pattern text is matched exactly, except for a few special wildcard characters:

# : matches the frame number or frame range (see below)

* : matches zero or more non-digit characters, including spaces

- : matches one or more digits, but excludes them from the pattern

The “#” character matches either a string of digits, or two strings of digits separated by one “-“ and any amount of spaces. For example, “2”, “018”, “1-10”, or “0008 - 0012”. The result is used as the frame number (or frame range, if it’s a range). The pattern must include exactly one # wildcard.

The wildcard characters can be escaped (treated as a non-wildcard character) by adding a backslash (\) before them.

Additionally, using the drop-down to the right of the Frame Number Pattern you can set whether the pattern occurs at the start or end of the filename, anywhere in the filename, or must match the whole filename.

Frame Number Pattern Examples:

  • Sort by the last number in the filename: #*, at end of filename. This captures filenames like “myframe_100” or “myframe100” (default)

  • Sort by the second number in the filename: -*#, at start of filename. This captures filenames like “take_1_myframe100” or “take_1_myframe_100_scene_2”

  • Sort by the number that appears after “frame”: frame#, anywhere in filename. This captures filenames like “02_04_2021_frame100” or “take_2_clip_6_frame100_02_04_2021” but excludes filenames like “frame_50”

  • Sort by the number that appears after the “#” character: \##, anywhere in the filename. The escaped # at the start captures filenames like “frame#100” or “02_04_2021_#100”

Note

A summary of this information can be seen by hovering over the “?” icon next to the Frame Number Pattern box.

Import Scaling Factor

Import Scaling Factor will alow you to resize your mesh at import. A number of Holoedit processing parameters are scale dependent and expect real world scale at default settings. Use this feature to apply scale to your mesh, where the default setting of ‘1’ uses the current scale. Decrease this value to reduce the size of your mesh, increase it to scale your mesh up. The most common scale issues come from unit conversion between different applications, so scaling by factors of 10 (0.01, 0.001, etc) will be your most productive action.

Import File Types

HoloEdit supports industry standard formats for clip import. Each format will be converted into appropriate data streams inside of HoloEdit based on the file type and it’s contents. See the Import Formats section for per format details.

Adding Clips to the Composition

Clips are added into HoloEdit compositions using the Load Asset Stage. For more information on stages, see Composition Contents to learn about compositions.