O'Reilly logo

ActionScript Graphing Cookbook by Peter Backx, Dominic Gélineau

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

Chapter 9. Creating Three-Dimensional Graphs

In this chapter, we will cover:

  • Drawing in 3D: a 3D starter project
  • Creating a 3D column chart
  • Moving around the chart
  • Beyond the cube, drawing different shapes
  • Graphing tabular data in 3D
  • Styling the graph with different materials
  • Graphing a function in three dimensions

Introduction

If this is your very first time programming 3D, this chapter is going to be a challenge. There's no way around it, but programming 3D involves a lot more than drawing in two dimensions.

Not only do you have an additional coordinate, but you also need to convert the 3D drawing into a 2D image that can be shown on the screen.

There are models, cameras, scenes, views, and much more that you usually don't need to understand for 2D programming. ...

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