Drawing Attributes; Line Drawing Attributes; Triangle Drawing Attributes - 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.10.6

Drawing Attributes

18.10.6.1

Line drawing attributes

In drawing lines, the following attributes apply:
Drawing Attribute
Line width
Broken line
Anti-alias
18.10.6.2

Triangle drawing attributes

In drawing triangles, the following attributes apply (these attributes are disabled in high-speed
2DTriangle). Texture mapping and tiling have separated texture attributes:
Drawing Attribute
Shading
Alpha blending
Alpha blending coefficient
How to set gray scale gouraud shading
1.
Set Frustum bit of GMDR0 register to 0.
2.
Set identity matrix.
3.
Set MDR2 register to the below.
SM bit = 1, ZC bit = 0, ZW bit = 0, BM bit = 00, TT bit = 00
4.
Set GG bit of MDR7 register to 1.
5.
Execute drawing by same method as a direct color gouraud shading object.
Note: - Please don't use G_BeginE command.
6.
Set GG bit of MDR7 register to 0 after rendering
18-162
Line Drawing Attributes
Description
Line width selectable in range of 1 to 32 pixels
Specify broken line pattern in 32-bit data
Line edge smoothed when anti-aliasing enabled
Triangle Drawing Attributes
Description
Gouraud shading or flat shading selectable
In case of indirect color mode, gray scale gouraud shading is
possible.
Set alpha blending enable/disable per polygon
Set color blending ratio of alpha blending
- Please don't use floating data format in G_Vertex command.
- R (red) parameter is used as a color parameter

Advertisement

Table of Contents
loading

Table of Contents