CC BY 4.0 (除特别声明或转载文章外)
如果这篇博客帮助到你,可以请我喝一杯咖啡~
什么是计算机图形学
计算机图形学 (简称 CG) 是一种使用数学算法将二维或三维图形转化为计算机显示器的栅格形式的科学。简单地说,计算机图形学的主要研究内容就是研究如何在计算机中表示图形、以及利用计算机进行图形的计算、处理和显示的相关原理与算法。
The Basic Content of Computer Graphics
Modeling (Shape,建模)
creating and representing the geometry of objects in the 3D world.
How do we represent objects/environments
- Shape: the geometry of the object.
- Appearance: emission, reflection, and transmission of light.
How do we construct these models
- Formula description
- Interactive manipulation
- Procedurally generating
- Scan a real object
Rendering (Displaying)
is a term inherited from art and deals with the creation of 2D shaded images from 3D computer models.
Generation of 2D images from a 3D Models
- Input: graphics: object (shape, material, …)
- Output: image: array of pixels (RGB)
Photorealistic rendering
- Physically-based simulation of light, camera
- Shadows, realistic illumination
- Special effects, movies
Non-Photorealistic Rendering
- Stylized
- Artwork, illustrations
Interactive rendering
- Produce images within milliseconds
- Using specialized hardware, graphics processing units (GPUs)
- Standardized APIs (OpenGL, DirectX)
- Often 「as photorealistic as possible」
- Hard shadows, fake soft shadows, only single bounce of light
- Games
Animation (Simulating)
describing how objects change in time.
Making geometric models move and deform
How do we represent the motion of objects
Positions, angles, etc.
How do we control/specify this motion
- Generate poses by hand
- Behavioral simulation
- Physical simulation
- Motion capture
Summary
简单地说,计算机图形学的主要研究内容就是研究如何在计算机中表示图形、以及利用 计算机进行图形的计算、处理和显示的相关原理与算法。
- The Basic Content of Computer Graphics.
- Modeling (shape): creating and representing the geometry of objects in the 3D world.
- Rendering (displaying): is a term inherited from art and deals with the creation of 2D shaded images from 3D computer models.
- Animation (simulating): describing how objects change in time.