Graphics Utility Functions
in Alphabetical Order

Nintendo® Confidential
       
To search the list, choose Find from the Edit menu in your browser.
guAlignAligns the modeling matrix vector to the negative z-axis
guAlignFAligns the modeling matrix vector to the negative z-axis
guDPLoadTextureTileShould not be used with hardware version 2.0 or later. Old function that does what the gDPLoadTextureTile macro now does.
guDumpGbiDLRSP task dump for execution with an RSP simulator.
guFrustumCalculates the perspective projection matrix.
guFrustumFCalculates the perspective projection matrix.
guGetDPLoadTextureTileSzShould not be used with hardware for Version 2.0 or later. Old function that indicates how many words will be added to the display list by the guDPLoadTextureTile function
guLoadTextureBlockMipMapComputes a mipmap pyramid from a source texture array and returns a display list for loading and rendering the mipmapped texture
guLookAtCalculate the 'lookat' viewing matrix
guLookAtFComputes and returns a floating-point 4x4 'lookat' viewing matrix
guLookAtHiliteSets up the LookAt structure for calculation of the LookAt viewing matrix and specular highlighting.
guLookAtHiliteFSets up the LookAt structure for calculation of the LookAt viewing matrix and specular highlighting.
guLookAtReflectSets up the LookAt structure for calculation of the LookAt viewing matrix and reflection mapping.
guLookAtReflectFSets up the LookAt structure for calculation of the LookAt viewing matrix and reflection mapping.
guLookAtStereoCalculates the 'lookat' view matrix for stereographics display.
guLookAtStereoFCalculates the 'lookat' view matrix for stereographics display.
guMtxCatFConcatenates two 4x4 floating-point matrices
guMtxCatLConcatenates two 4x4 fixed-point matrices
guMtxF2LConverts a 4x4 floating-point matrix to a fixed-point matrix
guMtxIdentReturns a fixed-point 4x4 identity matrix
guMtxIdentFReturns a floating-point 4x4 identity matrix
guMtxL2FConverts a 4x4 fixed-point matrix to a floating-point matrix
guMtxXFMFTransforms a single point by a 4x4 floating-point matrix
guMtxXFMLTransforms a single point by a 4x4 fixed-point matrix
guNormalizeNormalizes a 3D vector
guOrthoComputes and returns an orthographic 4x4 fixed-point projection matrix for an orthographic parallel viewing volume
guOrthoFComputes and returns an orthographic 4x4 floating-point projection matrix for an orthographic parallel viewing volume
guParseGbiDLPrints a GBI display list in human readable format
guParseRdpDLPrints low-level display lists in human readable format
guPerspectiveCalculates the perspective projection matrix.
guPerspectiveFCalculates the perspective projection matrix.
guPositionComputes and returns a 4x4 fixed-point modeling matrix that locates an object at a specified position with a specified orientation
guPositionFComputes and returns a 4x4 floating-point modeling matrix that locates an object at a specified position with a specified orientation
guPosLightSimulates a positional light source by calculating a light structure for a single positional light without calculating specular hilite related values
guPosLightHiliteSimulates a positional light source by calculating a light structure for two positional lights and their hilite and lookat value for rendering specular highlights
guRandomGenerates a 32-bit integral random number.
guRotatePerforms modeling matrix rotation operations.
guRotateFPerforms modeling matrix rotation operations.
guRotateRPYPerforms modeling matrix rotation operations.
guRotateRPYFPerforms modeling matrix rotation operations.
guS2DEmuGBgRect1CycEmulates the operation of the S2DEX microcode macro gSPBgRect1Cyc with a CPU, by combining other GBIs.
guS2DEmuSetScissorSets the dithering parameters and texture filter referenced by the guS2DEmuBgRect1Cyc function.
guS2DInitBgInitializes the S2DEX microcode's uObjBg structure (uObjBg_t)
guScaleComputes and returns a fixed-point, scaling modeling, 4x4 matrix
guScaleFComputes and returns a floating-point, scaling modeling, 4x4 matrix
guSprite2DInitUses passed arguments to initialize the Sprite structure used by the Sprite microcode.
guTranslateComputes and returns a translation modeling fixed-point 4x4 matrix
guTranslateFComputes and returns a translation modeling floating-point 4x4 matrix
RANDGenerates a 32-bit random integer (a macro that calls guRandom)
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
Nintendo of America Inc.
All rights reserved.
Last updated March 1998