Recipe 5.5. Vector-Based 3D GraphicsProblemYou want scalable 3D vector graphics and control over individual elements within the Flash authoring environment. SolutionRender and Export vector graphics with the SWFT format and SmartLayer technology. DiscussionAs you no doubt know by now, one of Swift 3D's core features is its ability to render and export to a variety of vector formats, including SWF, AI, EPS, SVG, and SWFT. You most likely have already heard of or used the first four formats. The fifth, SWFT, is a proprietary export format of Swift 3D. Although it is similar in some ways to a standard SWF, it alone can render an object to different layers depending on specific criteria. Objects in motion, static objects, highlights, shadows, and more can all be assigned to their own layers. These layers are respected when imported to Flash via the SWFT importer that installs with the Swift 3D standalone application. As an example of how the SWFT file format works, this example renders the first five frames of the animation used in the previous section. To render to SWFT with SmartLayer technology:
Figure 5-29 shows a sample of SWFT layer structure after imported into the Flash authoring environment. With each element residing on its own layer, greater control can be had over individual elements when working in Flash. For example, you could convert colors in motion to movie clips and set color properties dynamically.
|
Tripod >> 3pod Tips & Learning and manuals for educations