concept pyramid in category android

appears as: pyramid
Android in Practice

This is an excerpt from Manning's book Android in Practice.

For example, if we want to present a simple house from a bird’s perspective, we’ll tell OpenGL ES everything about the scene in a geometrical context. A house consists of a cube with a pyramid on top of it. Imagine we want the final scene to appear as if we’re looking down at a house at a 45 degree angle from a distance of 20 feet. The front wall is painted yellow; the other three walls have bricks. OpenGL ES will take all the information we give it and start the process of image creation.

To make some OpenGL concepts more concrete, we’ll build a new project that performs basic steps to draw some content to the screen. We’ll add features from there once we get rolling. Our new project will be called OpenGLDemo. For starters, it’ll only display a solid green screen. Then we’ll create a single triangle, then make that triangle a 3D pyramid, and finally add colors and textures to the pyramid and spin it around. The end result of our work will be several different activities that show the progression, as depicted in figure 12.8.