Wednesday 9.30am – Flash on the Beach
Unbelievably, December has hit us with all the force of a runaway train, and Flash on the Beach is upon us!
And even more unbelievably, I’ve actually got my whole presentation planned and ready to go!
BRING YOUR LAPTOPS! we’ll be working through the exercises there and then, and you’ll all have the chance to play with the examples.
It’ll be a much more hands on session than the 3D presentation for FlashForward and I’ll be taking you through, in small, easily digestible chunks, everything you need to know to render 3D objects in Flash Actionscript.
First up, how to store a point in 3D space, and more important, how to render it, and rotate it:
Then we'll move on to applying an image to each point to make 3D sprites :
And we'll use exactly this technique to make a photo carousel :
And then, break up a photo and turn it into 3D :
Enough messing around with flats, let's actually start making shapes! Set up the points :
And now make a plane for each side :
Fill the planes with a colour, and only render the planes that are facing us (back-face culling) :
And finally, let me explain how to do texture mapping! (It's not that scary 🙂 )
As, you can see, I'll be breaking up bit by bit, and showing you, in the simplest terms, how to program the basics of 3D. Full source code will be provided (I'll upload it tomorrow).
And I'll see you on Wednesday!