Title |
Function |
Function Name |
No |
format void SPR_3Initial (Spr3WorkArea * workArea) Input workArea: Work area definition table Output None Function value None Function VDP1 3D display is initialized.
Title |
Function |
Function Name |
No |
format void SPR_3SetClipLevel (Uint16 clipLevel, Fixed32 clipZmin, Fixed32 clipZmax) Input clipLevel: Clipping level number 0 = No clipping 1 = clip in Z range of viewpoint coordinate system (after coordinate conversion) . 2 = Delete polygons that do not appear on the screen (after perspective transformation) : 3 = Clip at frame buffer boundary (after perspective transformation) clipZmin: Minimum value of viewpoint coordinate system Z coordinate clip : clipZmax: Maximum value of the viewpoint coordinate system Z coordinate clip Output None Function value None Function Sets the polygon clipping level. Higher level has lower level functions Includes . For level 1, clipping in the viewpoint coordinate system with the maximum Z coordinate value of the polygon Do , but set the range with clipZmin and clipZmax before executing SPR3_DrawModel () needs to be determined.
Title |
Function |
Function Name |
No |
format void SPR_3SetPixelCount (Uint16 pixelCountX, Uint16 pixelCountY) Input pixelCountX: Clean X unit pixel count : pixelCountY: Screen Y unit pixel count Output None Function value None Function Sets the number of screen pixels for each XY of 1.0 during perspective conversion to the screen. . Each is set to 256 at the initial setting.