Model-View-Projection (Mvp) Transformation; 2D Transformation (Cc→Ndc Coordinate Transformation) - Fujitsu MB86R02 Jade-D Hardware Manual

Graphics controller
Hide thumbs Also See for MB86R02 Jade-D:
Table of Contents

Advertisement

MB86R02 'Jade-D' Hardware Manual V1.64
18.9.1.2

Model-view-projection (MVP) transformation

The geometry engine transforms the vertex of the "OC" coordinate system specified by the G_Vertex
packet to the "CC" coordinate system according to the coordinate transformation matrix (OC → CC
Matrix) specified by the G_LoadMatrix packet. The "OC → CC Matrix" is a "4 × 4" matrix consisting of
a ModelView matrix and a Projection matrix.
If "Zoc" is not contained in the input parameter of the G_Vertex packet (Z-bit of GMDR0 is off), (OC →
CC) coordinate transformation is processed as "Zoc = 0".
When GMDR0[0] is 0 (orthogonal projection transformation), OC → CC coordinate transformation is
processed as "Wcc = 1.0". (Work only for C=0,Z=0 and ST=0 (XY only vertex) mode)
OC: Object Coordinates
CC: Clip Coordinates
Xcc
Ma0
Ycc
Mb0
=
Zcc
Mc0
Wcc
Md0
Ma0 to Md3: OC → CC Matrix
Xoc to Zoc: X, Y and Z of OC coordinate system
Xcc to Woc: X, Y, Z and W of CC coordinate system
18.9.1.3
3D-2D transformation (CC→NDC coordinate transformation)
The geometry engine divides "XYZ" of the "CC" coordinate system by "Wcc" (Perspective Division).
NDC: Normalized Device Coordinates
Xndc
=
Yndc
Zndc
Xndc to Zndc: X, Y and Z of "NDC" coordinate system
Ma1
Ma2
Ma3
Xoc
Mb1
Mb2
Mb3
Yoc
Mc1
Mc2
Mc3
Zoc
Md1
Md2
Md3
Xcc
Ycc
1/Wcc
Zcc
1
18-143

Advertisement

Table of Contents
loading

Table of Contents