|
MB86293 Datasheet, PDF (68/285 Pages) Fujitsu Component Limited. – Grraphiics Conttrrollllerr Speciiffiicattiions | |||
|
◁ |
FUJITSU LIMITED
PRELIMINARY and CONFIDENTIAL
7.1.2 Model-view-projection (MVP) transformation (OCâCC coordinate
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â.
OC: Object Coordinates
CC: Clip Coordinates
Xcc
Ma0 Ma1 Ma2 Ma3 Xoc
Ycc =
Mb0 Mb1 Mb2 Mb3
Yoc
Zcc
Mc0 Mc1 Mc2 Mc3 Zoc
Wcc
Md0 Md1 Md2 Md3
1
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
7.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
Xcc
Yndc
= 1/Wcc
Ycc
Zndc
Zcc
Xndc to Zndc: X, Y, and Z of âNDCâ coordinate system
MB86293 CORAL_LQ
Graphics Controller
68
Specifications Rev. 1.1
|
▷ |