- Multimedia Programming with Pure Data
- Bryan WC Chung
- 222字
- 2021-08-13 16:53:22
Chapter 2. Computer Graphics with the GEM Library
In this chapter, we will proceed with the Graphics Environment for Multimedia (GEM) library to work with computer graphics. We will start with the basics to create the GEM display window for graphics. Within the window, we will learn to draw 2D and 3D primitive shapes. We will understand the coordinates system in GEM in order to apply geometric transformations to the graphical shapes and also learn to enhance the surfaces of the graphical shapes with color information. Furthermore, we will learn to apply the lighting information to produce more realistic images. By the end, we should be able to produce a simple animation in 3D space.
GEM is an external library for the Pure Data software. It is available at http://gem.iem.at. Nevertheless, the version of Pure Data (pd-extended) we are using already includes the GEM library. We will use the GEM library to create both 2D and 3D graphics from scratch.
The topics that we are going to cover in this chapter are:
- Using the GEM display window
- Drawing basic 2D graphics
- Understanding the coordinates system
- Drawing basic 3D graphics
- Working with digital color
- Applying geometric transformations
- Creating animation in 3D space
To get general help and tutorials for GEM, you can also use Help Browser to check out the material:

- 人工智能超越人類
- 工業(yè)機器人產品應用實戰(zhàn)
- Learning Apache Spark 2
- Docker High Performance(Second Edition)
- Learning C for Arduino
- 大數(shù)據(jù)時代
- 數(shù)據(jù)掘金
- Visual Studio 2010 (C#) Windows數(shù)據(jù)庫項目開發(fā)
- Photoshop CS4數(shù)碼攝影處理50例
- Practical AWS Networking
- 西門子S7-1200/1500 PLC從入門到精通
- 大型機系統(tǒng)應用基礎
- Windows 7來了
- JSP通用范例開發(fā)金典
- 網(wǎng)管員世界2009超值精華本