Book Image

Multimedia Programming with Pure Data

By : Bryan, Wai-ching CHUNG
Book Image

Multimedia Programming with Pure Data

By: Bryan, Wai-ching CHUNG

Overview of this book

Preparing interactive displays, creating computer games, and conducting audio-visual performance are now achievable without typing lines of code. With Pure Data, a graphical programming environment, creating interactive multimedia applications is just visually connecting graphical icons together. It is straightforward, intuitive, and effective. "Multimedia Programming with Pure Data" will show you how to create interactive multimedia applications. You will learn how to author various digital media, such as images, animations, audio, and videos together to form a coherent title. From simple to sophisticated interaction techniques, you will learn to apply these techniques in your practical multimedia projects. You start from making 2D and 3D computer graphics and proceed to animation, multimedia presentation, interface design, and more sophisticated computer vision applications with interactivity. With Pure Data and GEM, you will learn to produce animations with 2D digital imagery, 3D modelling, and particle systems. You can also design graphical interfaces, and use live video for motion tracking applications. Furthermore, you will learn Audio signal processing, which forms the key aspect to multimedia content creation. Last but not least, Network programming using Pure Data extension libraries explores applications to other portable devices.
Table of Contents (17 chapters)
Multimedia Programming with Pure Data
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Understanding the coordinates system


In the last section while working on the size of the graphical shapes, we understood that when a square object with size 4, it will cover the whole GEM window. In the polygon and curve examples, we learned that each point in the GEM window corresponds to a point in three-dimensional space.

The GEM window is a two-dimensional projection plane of a three-dimensional space. The origin (0, 0, 0) is the center of the window. The horizontal axis is the x axis. Toward the right-hand side is the increasing value of x. The vertical axis is the y axis. Moving upward increases the value of y. For the z axis, you have to imagine a line moving from the center of the GEM window toward your eyes:

If we consider all the points with z value equal to zero, it will form a flat surface parallel to the GEM window. On this surface, when we move from the left-hand margin to right-hand margin, the x value changes from -4 to 4. When we move from the bottom margin to the top margin...