N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential





gDPSetTextureDetail [macro]

Sets detail texture settings. Syntax

#include <ultra64.h> /* gbi.h */
gDPSetTextureDetail(Gfx *gdl, u32 type)
gsDPSetTextureDetail(u32 type)

Arguments

  • gdl is the display list pointer.

  • type is the texture sampling type:
    G_TD_CLAMP (Clamp)
    G_TD_SHARPEN (Sharpen)
    G_TD_DETAIL (Detail)

Explanation
Sets the texture sampling type to use when detail texture is enabled. These texture sampling types are used by the RDP when LOD is less than 1.0 and during enlargement processes.

The different texture sampling types are explained below:

G_TD_CLAMP
Uses and clamps the tile with the highest level of detail from among a number of texture tiles.
G_TD_SHARPEN
Estimates the texture from the two tiles with the highest level of detail. This can also create sharp textures when enlarging.
G_TD_DETAIL
Adds detail when the highest level of detail starts to become blurry as it is enlarged. The value restricting the minimum LOD of the Color Combiner's (CC) primitive color restricts the detail texture being used.

Detail texture is enabled/disabled by gDPSetTextureLOD. For more information, see Section 12.4.6, "Texture-Sampling Modes," anf Section 13.7.5.1, "Detail Texture," in the N64 Online Programming Manual, and gDPSetTextureLOD.

See Also
gDPSetPrimColor
gDPSetTextureLOD
gDPSetTextureLUT
gDPSetTexturePersp

Revision History
2/1/99 Completely rewritten.




Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998-1999
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last Updated April, 1999