## C-3: draw a colored pyramid and add a lighting effect

Operation requirements:
a. The side length of the pyramid is 2;
b. The color of each vertex of a pyramid is different;
c. The center of the pyramid is (1,2,3);
d. It is required to use a variety of lights, including ambient light, specular light and scattered light, which can be reflected by controlling the object
Material factors and ...

Posted by **jase01** on *Wed, 17 Nov 2021 08:12:54 -0800*

## Basic graphics algorithms in computer graphics

Computer graphics -- basic graphics algorithms
Representation of points in raster graphics
The screen coordinate system is in the upper left corner
Address = (xmax xmin) [number of pixels per line] * (Y-Ymin) [number of lines] + (X-Xmin) [position in line] + base address
Linear scan conversion algorithm
Assumptions: uniform grid between pi ...

Posted by **montana111** on *Thu, 04 Nov 2021 08:44:00 -0700*

## Computer graphics learning notes two dimensional geometric transformation

The operation applied to the geometric description of an object and changing its position, direction or size is called geometric transformation.
Geometric transformations are sometimes referred to as modeling transformations. Modeling transformation is generally used to construct scenes or give hierarchical descriptions of complex objects comp ...

Posted by **spiceydog** on *Fri, 01 Oct 2021 19:30:41 -0700*