O'Reilly logo

Away3D 3.6 Cookbook by Michael Ivanov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Beginning Molehill API

In this appendix we will create a rotating sphere from scratch.

The following recipe is dedicated to the next generation Flash Player version 11 code named Molehill which contains a set of GPU-accelerated 3D APIs exposed via ActionScript3.0. The API allows us developers to create high-end 3D content that would be pretty close to what is done in today's video consoles and PC desktop games.

Practically speaking with the Molehill, you are able to render hundreds of thousands of triangles at each frame with not even the slightest performance drop!

Molehill API pipeline overview

First you may ask—how is GPU acceleration different from CPU-based graphics processing? The secret lies in the fact that modern GPUs contain ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required