7. GEOMETRY ENGINE
7.1 Geometry Pipeline.............................................................................................................. 72
7.1.1 Processing flow............................................................................................................ 72
7.1.2 Model-view-projection (MVP) transformation (OC
→
CC coordinate transformation)............ 73
7.1.3 3D-2D transformation (CC
→
NDC coordinate transformation)........................................... 73
7.1.4 View port transformation (NDC
→
DC coordinate transformation) ...................................... 74
7.1.5 View volume clipping..................................................................................................... 74
7.1.6 Back face culling........................................................................................................... 76
7.2 Data Format....................................................................................................................... 77
7.2.1 Data format.................................................................................................................. 77
7.3 Setup Engine ..................................................................................................................... 78
7.3.1 Setup processing.......................................................................................................... 78
7.4 Log Output of Device Coordinates....................................................................................... 78
7.4.1 Log output mode........................................................................................................... 78
7.4.2 Log output destination address...................................................................................... 78
8. DRAWING PROCESSING
8.1 Coordinate System............................................................................................................. 79
8.1.1 Drawing coordinates..................................................................................................... 79
8.1.2 Texture coordinates....................................................................................................... 80
8.1.3 Frame buffer................................................................................................................. 80
8.2 Figure Drawing................................................................................................................... 81
8.2.1 Drawing primitives........................................................................................................ 81
8.2.2 Polygon drawing function .............................................................................................. 81
8.2.3 Drawing parameters...................................................................................................... 82
8.2.4 Anti-aliasing function..................................................................................................... 83
8.3 Bit Map Processing............................................................................................................. 84
8.3.1 BLT.............................................................................................................................. 84
8.3.2 Pattern data format....................................................................................................... 84
8.4 Texture Mapping................................................................................................................. 85
8.4.1 Texture size.................................................................................................................. 85
8.4.2 Texture memory............................................................................................................ 85
8.4.3 Texture color................................................................................................................. 85
8.4.4 Texture lapping............................................................................................................. 86
8.4.5 Filtering........................................................................................................................ 87
8.4.6 Perspective correction................................................................................................... 87
8.4.7 Texture blending........................................................................................................... 88
8.4.8 Bi-linear high-speed mode............................................................................................. 88
8.5 Rendering.......................................................................................................................... 90
8.5.1 Tiling............................................................................................................................ 90
8.5.2 Alpha blending.............................................................................................................. 90
8.5.3 Logic operation............................................................................................................. 91
8.5.4 Hidden plane management............................................................................................ 91
8.6 Drawing Attributes.............................................................................................................. 92
8.6.1 Line drawing attributes.................................................................................................. 92
8.6.2 Triangle drawing attributes............................................................................................ 92
8.6.3 Texture attributes.......................................................................................................... 92
8.6.4 BLT attributes............................................................................................................... 93
8.6.5 Character pattern drawing attributes.............................................................................. 93
8.7 Bold Line........................................................................................................................... 94
8.7.1 Starting and ending points............................................................................................. 94
MB86295S<Coral-LP> vi
Specification Manual Rev1.1
72
79