format voidSPR_3SetZSortMinMaxl (Uint16 zSortMode, Fixed32 zSortMin, Fixed32 zSortMax)
Input zSortMode: Z sort Z coordinate value adoption mode
ZSORT_FLOAT_MODE = floating mode
ZSORT_FIXED_MODE = Fixed mode
: zSortMin: Viewpoint coordinate system Z sort Z coordinate minimum value
zBrtMax: Viewpoint coordinate system Z sort Z coordinate maximum value
Output None
Function value None
Function zSortMin and zSortMax are parameters that specify the Z range for dividing the drawing order into blocks.
: Set before executing the SPR3_DrawModel () routine.
: When the floating mode is specified as the Z coordinate value adoption mode, the specified zSortMin and zSortMax are the first
: The initial value, and the Z coordinate maximum value and minimum value at the time of the previous drawing are used for the subsequent Z range.
: In fixed mode, the specified zSortMin and zSortMax are used as fixed values.
. When initializing the SPR_3Initial () routine, -10.0 is set as zSortMin and 0.0 is set as zSortMax.
. Set and the Z coordinate value adoption mode is floating mode.
In the viewpoint coordinate system, the viewpoint position coordinate is 0.0 and the Z direction is negative.
: Since the block used for Z sort uses the drawing priority block of VDP1 extended processing,
: If you want to perform detailed Z sorting, increase the number of drawing priority blocks in the 2D work area definition.
Must be picked up.
: Also, when performing Z sort, drawPrtyFlag = SPR_2DRAW_PR in the SPR_2OpenCommand () routine
must be TY_ON.