Direct3D9的学习历程三:Direct3D9中的纹理贴图

Texture coordinates are used to define a triangle on the texture that gets mapped to the 3D triangle.

纹理坐标常常被定义为纹理上的一个三角形,这个三角形可以被贴图到3D三角形上。

We can create textures from image files stored on disk using the D3DXCreateTextureFromFile function.

我们可以使用D3DXCreateTextureFromFile函数,根据磁盘上的图像文件来创建纹理。

We can filter textures by using the minification, magnification, and mipmap filter sampler states.

我们可以过滤纹理通过使用缩小过滤,扩大过滤和多线性过滤方式。

Address modes define what Direct3D is supposed to do with texture coordinates outside the [0, 1] range. For example, should the texture be tiled, mirrored, clamped, etc.?

纹理的地址模式定义了Direct3D如何处理当纹理坐标超出了0-1范围时。例如:纹理是应该被平铺,反射,压缩,还是其他操作?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值