Functions | |
| RwInt8 | RpAnisotGetMaxSupportedMaxAnisotropy (void) |
| RwTexture * | RpAnisotTextureSetMaxAnisotropy (RwTexture *tex, RwInt8 val) |
| RwInt8 | RpAnisotTextureGetMaxAnisotropy (RwTexture *tex) |
| RwBool | RpAnisotPluginAttach (void) |
|
|
RpAnisotGetMaxSupportedMaxAnisotropy is used to determine the maximum anisotropy available on the hardware.
|
|
|
RpAnisotPluginAttach is used to attach the anisot plugin to the RenderWare Graphics system to enable anisotropic texturing values to be stored with textures. These texturing values are set as the D3DTSS_MAXANISOTROPY texture stage state. The plugin must be attached between initializing the system with RwEngineInit and opening it with RwEngineOpen. Note that the include file rpanisot.h is required and must be included by an application wishing to use this facility. The anisot library is contained in the file rpanisot.lib.
|
|
|
RpAnisotTextureGetMaxAnisotropy is used to get the maximum anisotropy value that will be used when a particular texture is drawn. See RpAnisotTextureSetMaxAnisotropy for further information.
|
|
||||||||||||
|
RpAnisotTextureSetMaxAnisotropy is used to set the maximum anisotropy value that will be used when a particular texture is drawn. Higher numbers will produce better quality but slower texture sampling when polygons are viewed edge on, so it should be used in moderation. In D3D9 this is done with the D3DTSS_MAXANISOTROPY texture stage state. If the value is > 1, filter modes with magnification and minification filters of type D3DTEXF_ANISOTROPIC are chosen with the same mip mapping filter D3DTSS_MIPFILTER determined by the filter mode of the texture. See also RwTextureFilterMode and RwTextureGetFilterMode.
|
© 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:47:00 2004.
Send Feedback