Summary

Wow! That was a lot of work for just three examples! But I think the results are well worth it. You now have the tools to make some pretty stunning 3D movies. And it goes without saying that there are a lot of variations you can throw in here. For instance, in the last example, the light is stationary and the object moves. Try moving the light around instead. (Its just a matter of altering its x, y, and/or z positions .) In fact, as a bonus, you can check out ch17_04.fla , where I have the light controlled by the mouse. You might want to try to get the light orbiting around a stationary object.

That about wraps up our main discussion of 3D. In the next chapter, youll be looking at matrix math, which is often used as an alternative to some of the scaling and rotation methods youve been using so far, and thus is something youll often see in 3D programming.



Foundation ActionScript. Animation. Making Things Move
Foundation Actionscript 3.0 Animation: Making Things Move!
ISBN: 1590597915
EAN: 2147483647
Year: 2005
Pages: 137
Authors: Keith Peters

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net