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

   

gspLine3D Microcode
gspLine3D.dram Microcode

This is optimized, high-quality, completely functional, and 3D line RSP microcode. It supports 3D clipping, matrix stack, and gouraud shading. The .dram version controls output transfer of the RDP display list to the memory buffer (RDRAM) instead of the RDP. All processing is accurate enough to create high quality images.

The gspLine3D microcode contains many of the features contained in gspFast3D, except that instead of rendering triangles, it draws 3D lines. This is useful for producing wireframe effects. If a gSP1Triangle command is encountered, it will render the three edges of the triangle, but not the center portion of the triangle.

All gSP1Triangle commands create the three edges of the triangles to be drawn. Please note, when drawing two triangles next to each other, both shared edges are drawn. So, this takes additional time for processing. The command (gSP1Triangle) is not efficient, so line microcode should be used only for debugging.

The calculation for line attributes is dealt with by using vectors efficiently so that the load when using gouraud shading attributes can be ignored when generating other attributes. The default RDP state is same as the default state written in gspFast3D.

See Also
gspFast3D
gspTurbo3D
osSpTaskStart
gSPLine3D



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
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998