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
|
osViFadeSyntax#include <ultra64.h> /* os.h */ void osViFade(u8 active, u16 factor); Arguments
Return Value
Explanation
To show this in a concrete equation, where the RGB value of the first line is (r1,g1,b1), that of the second line is (r2,g2,b2), and the coefficient f=(factor/0x3ff), (R,G,B) = ((r1*(1-f)+r2*f),(g1*(1-f)+g2*f),(b1*(1-f)+ b2*f)) becomes the fill color. osViFade can be used low resolution, point sampling, and noninterlaced modes (LPN1, LPN2, etc.).
Cautions
See Also
Revision History
|