Fundamental Concepts in Computer Graphics

Explore the fundamental concepts of computer graphics and learn about camera and projection.

In this chapter, we will expand on our knowledge of the GAN world by looking at the 3D domain. By the end of this chapter, we will have learned how to create our own 3D objects with GANs.

Representation of 3D objects

It is essential to understand how 3D objects are represented in a computer before we dive into the details of the GAN model for 3D data synthesis. The creation and rendering of 3D objects, environments, and animations is called computer graphics (CG), which two of the major entertainment industries, that is video games and movies, heavily rely on.

The most important task in CG is figuring out how to efficiently render the most convincing images on the screen. Thanks to the hard work of people in the CG field, we are now getting better visual effects in video games and movies.

Attributes of a 3D object

The most basic attributes a 3D object has are its shape and color. The color of each pixel we can see on a screen is affected by many factors, such as the color of its own texture, the light source, and even the other objects in the scene. This is also affected by the relative directions of the light source and our viewpoint of the pixel’s own surface, which are determined by the shape, position, and orientation of the object and the position of the camera. When it comes to shape, a 3D model basically consists of points, lines, and surfaces. An example of the creation of the shape and color of a 3D sports car can be seen in the following image:

Get hands-on with 1200+ tech skills courses.