Summary

In this chapter, we looked at the various methods by which a developer can add effects to an Away3D application. We saw how the Flash filter classes from the flash.filter package can be applied to an individual 3D object, or the entire view. Example applications were presented that demonstrated the BlurFilter, DisplacementMapFilter, and GlowFilter classes, as well as a sample Pixel Bender shader, applied using the ShaderFilter class.

In addition, we saw how the FogFilter class could be used to apply a fog-like effect to the scene.

Finally, we looked at how the bitmap data exposed by the BitmapSession class can be used to create some interesting custom effects, like the smoky effect shown in the sample application.

We touched briefly on the performance benefits that can be achieved using the FogFilter class. In the next chapter, we will take a deeper look at the techniques that are available to get the maximum performance out of an Away3D application.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.134.108.197