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

Materials and textures

We can add color to our 3D models with a mixture of materials and textures. Materials are used to determine how light behaves when it interacts with the surface of the object. Does it look like glass? Metal? Skin? Textures are 2D images that are wrapped onto a 3D model, sort of like a candy wrapper. To make our textures line up with the model, we have to unwrap the model first. Unwrapping gives us a 2D representation of the model called a UV map (or UVs). An example of this can be seen in the following image:

The 3D model on the left has been unwrapped to create the UVs on the right.

Once we have UVs, we can paint a texture that will be wrapped back onto the model, as shown here:

The 3D model on the left has been given a texture from the 2D image on the right

They are called UVs because all of the pieces have a U coordinate and a V coordinate, which are used to determine their positions in 2D space (very similar to graphing data on a 2D graph). Since we already used X, Y, and Z for our three-dimensional axes, our two-dimensional axes are labeled U and V. We will cover UVs, materials, and textures in detail in later chapters.

主站蜘蛛池模板: 盐津县| 从化市| 阳春市| 宁城县| 孝昌县| 玉环县| 南岸区| 基隆市| 舞阳县| 新和县| 邯郸市| 盈江县| 博湖县| 黔西县| 布尔津县| 吴川市| 新泰市| 徐汇区| 怀仁县| 江陵县| 化德县| 沂南县| 永州市| 葫芦岛市| 张家口市| 濮阳市| 兰州市| 台东县| 拜泉县| 安福县| 合水县| 龙胜| 灌南县| 翁源县| 淄博市| 饶平县| 民县| 武乡县| 宿州市| 靖宇县| 平原县|