Книга: DirectX 8 Programming Tutorial
Flexible Vertex Format (FVF)
Flexible Vertex Format (FVF)
A Flexible Vertex Format or FVF is a format for describing attributes of a vertex. We've already seen three attributes: x value, y value and z value. There are other attributes that we can specify for a vertex, such as, colour and shininess. Using FVFs we can configure which attributes we want specify for a vertex. When you specify a polygon in Direct3D, the polygon can be filled based on attributes of the vertices. The fill of the polygon is interpolated (blended) between vertices. In our example below, you will see that the three vertices of our polygon are all different colours: red, green and blue. These colours are blended together across the polygon.
Похожие страницы
- Information request
- SCTP Generic header format
- 2.3 Executable and Linking Format
- На всех дисках моего компьютера есть папка System Volume Information. Для чего она нужна?
- fdformat
- Convection Currents of Information
- Working with Graphics Formats
- Sound Formats
- Video Formats
- Common Configuration Information
- Configure User Information
- Display Information About Connected Users