The extrusion and modifier classes in Away3D can be used to quickly create complex 3D objects to represent objects like terrain, walls, flags, ribbons, and more. The PathExtrusion
, LinearExtrusion
, and LatheExtrusion
classes will extend a base profile along a path or around an axis, while the SkinExtrusion
class can be used in conjunction with the Elevation
class to create a 3D object from a height map.
We also looked at the ElevationReader
class, which provides a convenient way to determine the height of a SkinExtrusion
3D object. A sample application was shown that used the ElevationReader
class to move a sphere over the surface or a SkinExtrusion
3D object.
Finally, we covered the HightMapModifier
class, which will use a height map to apply a deformation to any 3D object.
In the next chapter, we will take a look at how to add visual effects to an Away3D application, using both the Flash filter classes, and those that are included as part of Away3D.