官术网_书友最值得收藏!

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:

主站蜘蛛池模板: 茂名市| 霸州市| 平邑县| 花莲市| 专栏| 垦利县| 蓬溪县| 奉化市| 通化县| 左贡县| 筠连县| 荆州市| 平定县| 海晏县| 龙川县| 福鼎市| 五台县| 仪陇县| 霍林郭勒市| 德化县| 南川市| 锡林浩特市| 永城市| 丁青县| 台江县| 无锡市| 大竹县| 丰都县| 盐池县| 墨竹工卡县| 陈巴尔虎旗| 丹东市| 扶沟县| 阳西县| 枣庄市| 海原县| 江口县| 拉孜县| 北辰区| 琼中| 教育|