Similarities to Flash 10

In general, the 3Di support provided by Scaleform is very similar to 3D in Flash 10 and is expected to behave the same way. 3Di is implemented using a basic set of AS2 extensions built into Scaleform.

Limitations

Similar to the 3D support in Flash 10, 3Di has the following limitations:

  1. Depth sorting is not performed and therefore objects may not be drawn in the right order. The drawing order is still specified by layering order by default.
  2. Back-face culling is not used. Objects which face away from the viewer are still drawn.

Figure 1: Example of back-facing numbers which are not culled or drawn behind

Implementation

Scaleform 3Di uses hardware accelerated triangles to render shapes, whereas Flash 10 renders the 3D view into a bitmap and then uses a vector rectangle with the bitmap as a fill for display.

When an object has both 2D and 3D properties, the 3D properties are applied before the 2D properties. This detail is important to understand to get the expected results when rotating an object with the free transform tool as well as 3D operations. Flash 10 has the same behavior.