About Advanced Paths

The R2025x FD03 release introduces a new type of paths called advanced paths.

Advanced paths do not replace the existing version of paths now referred to as legacy paths. Advanced and legacy paths can coexist in your experience.

This page discusses:

See Also
About Paths and Points
Creating Legacy and Advanced Paths
Editing Paths or Points Properties
Editing Legacy Paths and Points
Working with Points (Advanced Paths)
Advanced Path Properties
Points (Advanced Path) Properties

Introduction

Similar to legacy paths, advanced paths produce a sequence of contiguous interpolated curves between control points.

Advanced paths help you to produce sophisticated trajectories for your experience objects. For example, camera paths and camera tracking, roads, fly trajectories, etc.

Advanced paths provide you with the same features as legacy paths:

  • Creation of paths and control points.
  • Edition of paths and control points.
  • Publication of paths on the web (no visual representation on the web).
  • Reverting path orientation.
  • Etc.

In addition, advanced paths provide you with exclusive features to extensively configure the modalities of your paths and control points. The following section summarizes these features.

Summary of Advanced Paths Features

Feature Related Link
You can close advanced paths to form a loop. Closing Advanced Paths

You can control tangency at every control point of an advanced path, including the production of discontinuities (non-collinear left and right tangents).

You can modify the tangency manually or using a predefined computation mode.

You can manipulate control points like any other 3D actor using the Robot and other positioning or projection tools such as the Project , Mimic , or Distribute commands.
Every control point has an additional up direction smoothly interpolated along the advanced path. Up Direction
You can add a specific width to each advanced path. Modifying the Width of Advanced Paths
You can add a roll value to each control point of an advanced path. Defining a Roll for Control Points
You can modify the properties of control points, tangents, and the up direction, while in the Play mode. Modifying Advanced Paths in Play Mode

Advanced Paths and Tangency

Legacy and advanced paths are based on the cubic Hermite spline interpolation of control points.

The positions of two successive control points and their associated tangent vectors define the curve section between these two points.

However, there are some differences in the treatment of tangency between legacy and advanced paths.

In the case of legacy paths: the sequence of the positions of control points in the 3D scene defines the curve. The positions of adjacent control points fully and automatically determine the tangent vectors at those control points.

In the case of advanced paths: for each control point, you can manually define tangent vectors at each control point or use one of the predefined computation modes for tangency.

For more information, see Manipulating Control Point Tangency and Assigning a Tangency Mode to Control Points.

You can define tangents and a tangency mode for each control point and curve section independently:

  • For any given control point of an advanced path, you can choose between five tangency modes.
  • Each tangency mode produces constraints on the left and right tangents associated with a control point.
  • Based on the selected tangency mode, you have varying degrees of freedom regarding the modulation of tangency.

The following table summarizes the modalities of each tangency mode:

Tangency Mode Constraints on Tangents Degree of Freedom (User Action) Effect
Free Tangents cannot be null.

You can define an independent direction for each left and right tangent. You can also control the left and right tangent amplitudes independently.

You can define tangent discontinuities. This results in sharp angles.
Auto-smooth

The tangents are determined based on the relative positions of the previous and next control points.

The left and right tangents have the same direction but different magnitudes.

None. You can produce curves with a natural-looking smoothness, while preventing high local curvatures.
Smooth

The left and right tangents are collinear. There are no additional constraints on the lengths or directions of the tangents.

You can define a single direction for both the left and right tangents. You can also control the left and right tangent amplitudes independently.

You can easily control the local aspect of each curve.
Symmetrical

The left and right tangents are collinear and have the same length. There are no constraints on the directions of the tangents.

You can define a single direction for both the left and right tangents. The left and right tangents must have the same amplitude.

You can easily control the local aspect of each curve.
Linear

The left tangent points toward the previous control point. The right tangent points toward the next control point.

If the tangents at the extremities of a path section are collinear, this section is subsequently rectilinear.

None. You can easily obtain straight segments within a path by applying the Linear mode to a string of points.

Using the Edit Mode for Advanced Paths and Control Points

The Edit mode lets you extensively configure your advanced paths and more particularly their control points. After you open the Edit mode, many actions relating to the manipulation of control points become available.

For more information, see Opening the Edit Mode for Advanced Paths and Working with Points (Advanced Paths).

Depending on whether the Edit mode is open or closed, the actions that you can perform with your paths and points vary.

The following table summarizes the actions that you can perform based on the state of the Edit mode.

Action Edit Mode Open Edit Mode Closed
Modifying the global path position and orientation.
Modifying the path width and closing state (Width and Close properties).
Modifying the path direction.
Selecting control points.
Manipulating and modifying the properties of control points (position, orientation, tangency, roll, etc.)

Up Direction

Advanced paths have an additional up direction.

You can modify the up direction on a control point, regardless of the tangency computation mode. Altering the up direction has no impact on tangents.

The up direction is smoothly interpolated along the path between its definition at each control point.

There can be two tangents at a control point (left and right tangents), but the up direction is unique for the control point.

Therefore, the up direction, unlike the tangent, is always continuous along the path, regardless of the tangent continuity.

The up direction is always perpendicular to the tangent and for every control point of the path.

The following image exemplifies a tangent discontinuity at a control point with the up direction remaining continuous across this control point:



Modifying Advanced Paths in Play Mode

You can modify advanced paths during the Play mode of your experience. You can modify:

  • The positions of control points
  • Tangents
  • The roll value
  • Up direction
  • Path width
  • The open or close state of the path

In addition, behaviors can use the width and orientation of advanced paths dynamically.

After you stop playing the experience, the advanced path reverts to its original state without the modifications performed in the Play mode.

Legacy Path Equivalency

You can replicate any legacy path with an identical, corresponding advanced path using the Convert to advanced path conversion command. This means that you can replace any legacy path from any source (behavior, scenario, script, Natural Language) with an equivalent advanced path.

For more information, see Converting Legacy Paths to Advanced Paths.

The tangency mode for the control points of the resulting advanced path is necessarily the Free mode. This mode applies to all the control points of the path.

If you try to use the sequence of points of a legacy path to manually create an equivalent advanced path, the resulting advanced path is not identical to the original path. This is because the default tangency mode of the control points in advanced paths (Auto-smooth) is not similar to the tangency computation of points in legacy paths.

Note: The Import Publications command produces legacy paths and not advanced paths. The imported curves do not have any associated width or up direction, yet these elements are inherent to the advanced path structure.

To produce an advanced path from an imported curve publication, use the path conversion command on this imported publication.

JavaScript APIs

You can use all the existing JavaScript APIs of legacy paths with advanced paths.

In addition, advanced paths and control points belonging to advanced paths have specific, dedicated APIs.

The APIs of advanced paths also provide you with the following benefits:

  • Advanced paths handle constant speed parameterization.
  • You can quickly retrieve positions, tangents, and curvatures along the paths.
  • You can quickly access the data of control points and work with smart discretization steps.

For more information, see the JavaScript API Guide of Creative Experience.

Limitations

  • You cannot have branching paths.

    Branching Path

  • Your paths can have discontinuities (for example, through an angle modification on a control point) but cannot split.

    Split Path

  • You cannot have materials on paths.
  • The up direction and the tangents are not independent.