Книга: DirectX 8 Programming Tutorial

What is a Texture?

What is a Texture?

A texture in 3D graphics is a 2D bitmap that can be applied to a polygon (or a number of polygons) to increase realism. For example, lets say that you want to have a brick wall in your scene. You could create a square object in front of the camera and colour it red. Hmm… that looks more like a red square than a brick wall, what you really want to see are the bricks and maybe a window. You can do this using textures. All you need is an object (your square) and a wall texture. You can create your texture in any art package that will save .bmp files, I use Adobe Photoshop but you can use any software you like, even Microsoft Paint that comes with Windows.

Оглавление книги


Генерация: 0.894. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз