KR100230387B1 - Apparatus for controlling graphic transparency - Google Patents

Apparatus for controlling graphic transparency Download PDF

Info

Publication number
KR100230387B1
KR100230387B1 KR1019960056834A KR19960056834A KR100230387B1 KR 100230387 B1 KR100230387 B1 KR 100230387B1 KR 1019960056834 A KR1019960056834 A KR 1019960056834A KR 19960056834 A KR19960056834 A KR 19960056834A KR 100230387 B1 KR100230387 B1 KR 100230387B1
Authority
KR
South Korea
Prior art keywords
data
graphic
transparency
output
dither
Prior art date
Application number
KR1019960056834A
Other languages
Korean (ko)
Other versions
KR19980038009A (en
Inventor
박종화
Original Assignee
윤종용
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자주식회사 filed Critical 윤종용
Priority to KR1019960056834A priority Critical patent/KR100230387B1/en
Publication of KR19980038009A publication Critical patent/KR19980038009A/en
Application granted granted Critical
Publication of KR100230387B1 publication Critical patent/KR100230387B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4007Scaling of whole images or parts thereof, e.g. expanding or contracting based on interpolation, e.g. bilinear interpolation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)
  • Image Processing (AREA)

Abstract

본 발명은 그래픽의 투명도 처리 장치에 관한 것으로서, 투명도 데이터와 칼라 데이터 및 위치 데이터를 포함하는 그래픽 데이터를 저장하는 그래픽 레지스터, 상기 그래픽 레지스터의 출력을 입력하여 상기 그래픽 데이터의 보간을 실행하는 그래픽 보간기, 상기 그래픽 보간기로부터 출력되는 위치 데이터와 투명도 데이터를 입력하고 상기 위치 데이터를 디더링(dithering)한 다음 상기 위치 데이터의 디더링 값이 상기 투명도 데이터보다 작으면 출력을 인에이블(enable)시키고 상기 위치 데이터의 디더링 값이 상기 투명도 데이터보다 크면 출력을 디세이블(disable)시키는 디더 로직(Ddither Logic), 및 상기 디더 로직과 상기 그래픽 보간기의 출력을 입력하고 상기 디더 로직의 출력이 인에이블되면 상기 그래픽 보간기로부터 전달되는 칼라 데이터와 위치 데이터를 출력하고 상기 디더 로직의 출력이 디세이블되면 상기 그래픽 보간기로부터 전달되는 칼라 데이터와 위치 데이터를 출력하지않는 프레임 버퍼 콘트롤러를 구비함으로써 그래픽의 투명도 처리 장치의 하드웨어 구현이 간단해지고 그래픽 데이터의 처리 속도가 빨라진다.The present invention relates to a graphics transparency processing apparatus, and more particularly, to a graphic transparency processing apparatus which includes a graphic register for storing graphic data including transparency data, color data, and position data, a graphic interpolator for inputting an output of the graphic register, The position data and the transparency data output from the graphic interpolator are input and dithered, and if the dither value of the position data is smaller than the transparency data, the output is enabled, A Dither Logic that disables output if the dither value of the dither logic is greater than the transparency data and a Dither logic that inputs the output of the dither logic and the graph interpolator, Color data and location data And a frame buffer controller for outputting color data and position data transmitted from the graphic interpolator when the output of the dither logic is disabled, thereby simplifying the hardware implementation of the graphics transparency processing apparatus, It speeds up.

Description

그래픽의 투명도 처리 장치{Apparatus for controlling graphic transparency}[0001] Apparatus for controlling graphic transparency [

본 발명은 그래픽의 투명도 처리 장치에 관한 것으로서, 특히 컴퓨터에서 스티플 마스킹(Stipple Masking)을 이용한 그래픽의 투명도 처리 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphics transparency processing apparatus, and more particularly, to a graphics transparency processing apparatus using a stipple masking in a computer.

컴퓨터의 발달은 컴퓨터에 그림을 그리는 것을 가능하게 하였다. 컴퓨터는 특수한 하드웨어(Hardware)와 효율이 좋은 프로그램을 이용하여 현실의 물체를 사진으로 찍은 것과 같은 그림을 그리는 것이 가능하게 되었다. 실물과 흡사한 그림을 그리는 작업은 지난 몇 년간의 컴퓨터 그래픽스 기능에 있어서는 일반적인 경향이 되었다. 또한, 지금까지 카메라로는 이미지(image)화할 수 없었던 영상을 컴퓨터를 사용해 표현할 수 있다는 생각에 착안하여 많은 사람들이 컴퓨터로서 다양한 그림을 작도하는 방법에도 몰두해왔다. 그리하여 지금은 그래픽을 3차원적으로 도시할 수 있는 수준에 도달하였다. 컴퓨터의 모니터(monitor)상에 그래픽을 3차원적으로 도시하기 위한 방법 중 하나로서 스티플 마스킹이라는 것이 있다. 스티플 마스킹은 어떤 물체를 모니터에 도시할 경우, 물체의 전체를 다 그리지 않고 특정한 패턴을 사용하여 물체의 일부만을 그리는 것을 말한다. 이 때 사용되는 특정한 패턴은 대개 망사의 형태를 갖는다. 만일 적용할 패턴이 '0101' 형태를 갖는다면 물체와 바탕색이 번갈아 가면서 화면에 출력되게 된다. 이런 경우에는 지금 그리는 물체가 마치 반투명한 물체인 것 같은 착각을 일으킨다.The development of computers made it possible to draw pictures on computers. Computers have been able to draw pictures such as photographs of real objects using special hardware and efficient programs. The work of drawing a life-like picture has become a general trend for computer graphics functions in the last few years. In addition, many people have been concentrating on how to construct various pictures as a computer, considering the idea that a camera could represent images that could not be images with computers until now. So now we have reached a level where graphics can be shown in three dimensions. One of the methods for three-dimensionally displaying graphics on a computer monitor is stipple masking. Stypic masking refers to drawing a part of an object using a specific pattern without drawing the entire object when an object is displayed on a monitor. The specific pattern used at this time is usually in the form of a mesh. If the pattern to be applied is '0101', the object and background color are alternately displayed on the screen. In this case, the object that you are drawing now seems to be a translucent object.

3차원 그래픽스의 기법 중에 투명(또는 반투명)한 물체를 표현하는 것으로 알파 브렌딩(Alpha Blending)이라는 것이 있다. 알파 브렌딩은 물체를 그리기 전에 그곳의 바탕색을 읽어와서 현재의 물체 색깔과 비례적으로 섞어서 다시 화면에 출력하는 방법이다. 이 방법은 화질이 매우 우수한 장점이 있으나, 바탕색을 읽어와야하기 때문에 성능이 그만큼 감소하는 단점이 있다. 따라서 화질보다는 성능을 중요시하는 응용에서는 알파 브렌딩 대신에 앞서 설명한 스티플 마스킹으로 알파 브렌딩과 비슷한 효과를 얻는다.One of the techniques of 3D graphics is to express transparent (or translucent) objects, called alpha blending. Alpha Blending is a way to read the background color of an object before it is drawn, mix it proportionally with the current object color, and output it back to the screen. This method has the advantage of excellent image quality, but it has a disadvantage that its performance is reduced because it has to read the background color. Therefore, in an application that emphasizes performance rather than image quality, alpha blending is used instead of alphablending with the above-mentioned sty- chasing masking.

도 1은 종래의 컴퓨터 그래픽의 투명도 처리 장치의 블록도이다. 도 1에 도시된 블록도는 스티플 마스킹으로 그래픽이 수행되는 것을 나타내고 있다. 도 1을 참조하면, PCI(Peripheral Component Interface) 버스(bus)(11)에 그래픽 레지스터(register)(13)와 그래픽 보간기(interpolator)(15)와 프레임 버퍼 콘트롤러(Frame Buffer Contoller)(17) 및 프레임 버퍼(19)가 순차적으로 연결되어있다. 그리고 상기 PCI 버스(11)와 프레임 버퍼 콘트롤러(17) 사이에 마스크 레지스터(Mask Register)(20)가 별도로 연결되어있다.1 is a block diagram of a conventional computer graphics transparency processing apparatus. The block diagram shown in Fig. 1 shows that graphics are performed with stipple masking. 1, a graphic register 13, a graphic interpolator 15, and a frame buffer controller 17 are connected to a PCI (Peripheral Component Interface) bus 11, And a frame buffer 19 are sequentially connected. A mask register 20 is separately connected between the PCI bus 11 and the frame buffer controller 17.

도 1에서 컴퓨터 그래픽의 스티플 마스킹이 수행되는 과정을 설명하기로 한다. PCI 버스(11)로부터 칼라 데이터인 RGB와 위치 데이터인 xy 데이터가 상기 그래픽 레지스터(13)로 입력되면, 그래픽 레지스터(13)는 상기 RGB와 xy 데이터를 일시적으로 저장한다. 외부 명령에 의하여 상기 그래픽 레지스터(13)에 저장된 RGB와 xy 데이터는 그래픽 보간기(15)로 전송된다. 상기 그래픽 보간기(15)는 상기 RGB와 xy 데이터의 보간을 시행한다. 보간된 상기 RGB와 xy 데이터는 상기 프레임 버퍼 콘트롤러(17)로 전송된다. 이 상태에서 상기 마스크 레지스터(20)는 PCI 버스(11)로부터 입력되어 저장된 마스크 패턴과 비교하고 그 결과에 따라 프레임 버퍼 콘트롤러(17)에 저장된 RGB와 xy 데이터는 프레임 버퍼(19)로 출력될 것인지 말것인지가 결정된다. 만약 마스크 레지스터(20)의 마스크 패턴이 '0101'이라면, 상기 마스크 패턴이 '1'일 때는 상기 프레임 버퍼 콘트롤러(17)에 저장된 RGB와 xy 데이터는 상기 프레임 버퍼 콘트롤러(17)로부터 상기 프레임 버퍼(19)로 출력되고, 상기 마스크 패턴이 '0'일 때는 상기 프레임 버퍼 콘트롤러(17)에 저장된 RGB와 xy 데이터는 프레임 버퍼(19)로 출력되지 않는다.A process of stipple masking of a computer graphic will be described with reference to FIG. When RGB data as color data and xy data as position data are input from the PCI bus 11 to the graphic register 13, the graphic register 13 temporarily stores the RGB and xy data. The RGB and xy data stored in the graphic register 13 are transferred to the graphic interpolator 15 by an external command. The graphic interpolator 15 interpolates the RGB and xy data. The interpolated RGB and xy data are transmitted to the frame buffer controller 17. In this state, the mask register 20 is compared with the mask pattern input from the PCI bus 11, and the RGB and xy data stored in the frame buffer controller 17 are output to the frame buffer 19 It is decided whether or not to say. If the mask pattern of the mask register 20 is '0101', when the mask pattern is '1', the RGB and xy data stored in the frame buffer controller 17 are transferred from the frame buffer controller 17 to the frame buffer When the mask pattern is '0', the RGB and xy data stored in the frame buffer controller 17 are not output to the frame buffer 19.

그런데, 여러 가지 물체를 나타내기 위해서는 상기 마스크 레지스터(20)에 저장된 마스크 패턴은 나타내고자 하는 물체가 변경될 때마다 다른 것으로 변경되어야 한다. 왜냐하면 도 1에 따르면 하나의 물체를 그릴 때에는 하나의 패턴만 적용되기 때문이다. 따라서 여러 가지 물체를 그릴 때에는 많은 종류의 마스크 패턴이 사용되기 때문에 그래픽이 PCI 버스(11)로부터 프레임 버퍼(19)로 전달되는데 걸리는 시간이 길어진다.However, in order to display various objects, the mask pattern stored in the mask register 20 must be changed to be different each time an object to be displayed is changed. This is because, according to FIG. 1, only one pattern is applied when an object is drawn. Therefore, since many types of mask patterns are used when drawing various objects, it takes a long time to transfer graphics from the PCI bus 11 to the frame buffer 19.

상술한 바와 같이 종래의 스티플 마스킹에 따르면, 여러 가지 물체를 그리기 위해서는 많은 시간이 걸리게 된다. 또, 마스크 레지스터(20)의 하드웨어도 그래픽 데이터의 양이 커짐에 따라 더불어 커지게 된다. 그렇게 되면 반도체 칩 제작시 그래픽의 투명도 처리 장치가 차지하는 면적이 커지게 되어 반도체 칩이 커지게 되므로 반도체 칩 제조 비용이 증가한다.As described above, according to the conventional staple masking, it takes a lot of time to draw various objects. Also, the hardware of the mask register 20 becomes larger as the amount of the graphic data increases. As a result, the area occupied by the graphics transparency processing apparatus increases when the semiconductor chip is manufactured, so that the semiconductor chip becomes large, thereby increasing the manufacturing cost of the semiconductor chip.

본 발명이 이루고자 하는 기술적 과제는, 그래픽 수행 시간이 짧고 하드웨어의 구현이 간단한 컴퓨터 그래픽의 투명도 처리 장치를 제공하는데 있다.An object of the present invention is to provide a computer graphics transparency processing apparatus having a short graphic execution time and simple hardware implementation.

도 1은 종래의 컴퓨터 그래픽의 투명도 처리 장치의 블록도.1 is a block diagram of a conventional computer graphics transparency processing apparatus.

도 2는 그래픽의 투명도 처리 장치를 설명하기 위하여 도시한 일반적인 컴퓨터의 개략적인 블록도.2 is a schematic block diagram of a general computer shown to explain a graphics transparency processing apparatus;

도 3은 본 발명에 의한 컴퓨터 그래픽의 투명도 처리 장치의 블록도.3 is a block diagram of a computer graphics transparency processing apparatus according to the present invention;

도 4는 본 발명에 의한 컴퓨터 그래픽의 투명도 처리 방법을 도시한 흐름도.4 is a flowchart illustrating a method of processing transparency of a computer graphic according to the present invention.

상기 과제를 이루기 위하여 본 발명은,According to an aspect of the present invention,

투명도 데이터와 칼라 데이터 및 위치 데이터를 포함하는 그래픽 데이터를 저장하는 그래픽 레지스터, 상기 그래픽 레지스터의 출력을 입력하여 상기 그래픽 데이터의 보간을 실행하는 그래픽 보간기, 상기 그래픽 보간기로부터 출력되는 위치 데이터와 투명도 데이터를 입력하고 상기 위치 데이터를 디더링한 다음 상기 위치 데이터의 디더링 값이 상기 투명도 데이터보다 작으면 출력을 인에이블시키고 상기 위치 데이터의 디더링 값이 상기 투명도 데이터보다 크면 출력을 디세이블시키는 디더 로직, 및 상기 디더 로직과 상기 그래픽 보간기의 출력을 입력하고 상기 디더 로직의 출력이 인에이블되면 상기 그래픽 보간기로부터 전달되는 칼라 데이터와 위치 데이터를 출력하고 상기 디더 로직의 출력이 디세이블되면 상기 그래픽 보간기로부터 전달되는 칼라 데이터와 위치 데이터를 출력하지않는 프레임 버퍼 콘트롤러를 구비하는 것을 특징으로 하는 그래픽의 투명도 처리 장치를 제공한다.A graphics interpolator for inputting an output of the graphic register and executing interpolation of the graphic data, a graphics interpolator for interpolating the position data and transparency output from the graphic interpolator, Dither logic for inputting data, dithering the position data, enabling output if the dithering value of the position data is less than the transparency data, and disabling output if the dithering value of the position data is greater than the transparency data, and And outputs the color data and the position data transmitted from the graphic interpolator when the output of the dither logic and the graphic interpolator are enabled. When the output of the dither logic is disabled, From And a frame buffer controller which does not output the color data and the position data.

바람직하기는, 상기 그래픽의 투명도 처리 장치는 컴퓨터에 이용되며 반도체 칩에 통합된다.Preferably, the graphics transparency processor is used in a computer and integrated into a semiconductor chip.

상기 본 발명에 의하여 그래픽 수행 시간이 단축되고 반도체 칩의 면적이 축소된다.According to the present invention, the graphic execution time is shortened and the area of the semiconductor chip is reduced.

이하, 첨부 도면을 참조하여 본 발명을 상세히 설명하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 2는 그래픽의 투명도 처리 장치를 설명하기 위하여 도시한 일반적인 컴퓨터의 개략적인 블록도이다. 도 2의 구성을 살펴보면, 그래픽의 투명도 처리 장치를 동작시키기 위한 중앙처리장치(CPU)(21)가 있고, 상기 중앙처리장치(21)의 출력단에 PCI 버스(23)와 그래픽의 투명도 처리 장치(25) 및 모니터(27)가 순차적으로 연결되어있다. 상기 그래픽의 투명도 처리 장치(25)를 통해서 그래픽 기능이 수행되기 위해서는 상기 중앙처리장치(21)의 명령에 의하여 상기 PCI 버스(23)로부터 그래픽 데이터가 상기 그래픽의 투명도 처리 장치(25)로 입력되어야한다. 그러면 상기 그래픽의 투명도 처리 장치(25)는 그래픽 데이터를 사용하여 그래픽 기능을 수행한 다음 그 결과를 상기 모니터(27)로 출력하여 모니터(27)상에 그래픽을 나타낸다.2 is a schematic block diagram of a general computer shown to explain a graphics transparency processing apparatus. 2, there is a central processing unit (CPU) 21 for operating a graphics transparency processing apparatus, and a PCI bus 23 and a graphic transparency processing unit (not shown) are connected to the output end of the central processing unit 21 25 and a monitor 27 are sequentially connected. In order to perform a graphics function through the graphic transparency processing unit 25, graphic data is input from the PCI bus 23 to the graphic transparency processing unit 25 by an instruction of the central processing unit 21 do. Then, the transparency processor 25 performs a graphic function using the graphic data, and then outputs the result to the monitor 27 to display the graphic on the monitor 27.

도 3은 본 발명에 의한 컴퓨터 그래픽의 투명도 처리 장치의 블록도로서 스티플 마스킹을 이용하는 그래픽의 투명도 처리 장치이다. 특별히 도 3은 컴퓨터 그래픽의 투명도를 처리하기 위한 장치의 블록도이다. 도 3에 도시된 블록도의 구성을 보면, PCI 버스(23)에 그래픽 레지스터(31)와 그래픽 보간기(33)와 디더 로직(35)과 프레임 버퍼 콘트롤러(37) 및 프레임 버퍼(39)가 순차적으로 연결되어있다.FIG. 3 is a block diagram of a computer graphics transparency processing apparatus according to the present invention, and is a graphics transparency processing apparatus using stipple masking. 3 is a block diagram of an apparatus for processing computer graphics transparency. 3, a graphics register 31, a graphic interpolator 33, a dither logic 35, a frame buffer controller 37, and a frame buffer 39 are connected to the PCI bus 23 Are sequentially connected.

상기 그래픽 레지스터(31)는 PCI 버스(23)로부터 받은 투명도 데이터인 A(Alpha)와 칼라 데이터인 RGB(Red,Green,Blue) 및 위치 데이터인 xy로 구성된 그래픽 데이터 RGBAxy를 일시 저장하는 레지스터이다.The graphic register 31 temporarily stores graphic data RGBAxy composed of transparency data A (Alpha), color data RGB (Red, Green, Blue) and position data xy received from the PCI bus 23.

상기 그래픽 보간기(33)는 상기 그래픽 레지스터(31)로부터 받은 RGBAxy를 각각 보간한 후 보간된 RGBAxy를 출력한다. 상기 보간하는 방법은 칼라뿐만이 아니라 위치 및 투명도에 대해서도 동일하게 적용된다. 보간법의 적절성 여부에 따라 컴퓨터 화면의 화질의 양질이 결정된다.The graphic interpolator 33 interpolates the RGBAxy received from the graphic register 31 and outputs the interpolated RGBAxy. The interpolation method is applied not only to the color but also to the position and transparency. The quality of the picture quality of the computer screen is determined according to the suitability of the interpolation method.

상기 디더 로직(35)은 상기 그래픽 보간기(33)로부터 출력되는 RGBAxy 중 A와 xy를 입력하여 상기 xy의 투명도를 제어한다. 상기 디더 로직(35)에서 사용하는 디더 기능에 대해서 설명하기로 한다. 상기 xy는 4비트로서 구성되며 그 내용이 다음 표 1과 같다고 가정한다.The dither logic 35 receives A and xy of RGBAxy output from the graphic interpolator 33 to control the transparency of xy. The dither function used in the dither logic 35 will be described. It is assumed that xy is configured as 4 bits and its contents are as shown in Table 1 below.

[표 1][Table 1]

상기 표 1에서 각 셀의 디더값의 각 1비트값을 구하는 방식은 다음 수학식 1과 같다.In Table 1, a method of obtaining each 1-bit value of the dither value of each cell is expressed by Equation 1 below.

[수학식 1]d[0]= y[1][Equation 1] d [0] = y [1]

d[1]= x[1]∧y[1]d [1] = x [1] [y] [1]

d[2]= y[0]d [2] = y [0]

d[3]= x[0]∧y[0]d [3] = x [0] y [0]

상기 수학식 1을 이용하여 A의 디더값을 구하면 다음과 같다.The dither value of A can be obtained using Equation (1) as follows.

d[0]=0,d [0] = 0,

d[1]= x[1]∧y[1] = 0∧0 = 0d [1] = x [1]? y [1] = 0? 0 = 0

d[2]= y[0] = 0d [2] = y [0] = 0

d[3]= x[0]∧y[0] = 0∧0 = 0d [3] = x [0]? y [0] = 0? 0 = 0

그러므로 A의 디더값 d[3:0]는 '0000'이다.Therefore, the dither value d [3: 0] of A is '0000'.

상기 수학식 1을 이용하여 B의 디더값을 구하는 방법은 다음과 같다.A method of obtaining the dither value of B using the above Equation 1 is as follows.

d[0]=0,d [0] = 0,

d[1]= x[1]∧y[1] = 1∧0 = 1d [1] = x [1]? y [1] = 1? 0 = 1

d[2]= y[0] = 0d [2] = y [0] = 0

d[3]= x[0]∧y[0] = 0∧0 = 0d [3] = x [0]? y [0] = 0? 0 = 0

그러므로 B의 디더값 d[3:0]는 '0010'이다.Therefore, the dither value d [3: 0] of B is '0010'.

상기 수학식 1을 이용하여 E의 디더값을 구하는 방법은 다음과 같다.A method of obtaining the dither value of E using Equation (1) is as follows.

d[0]= y[1] = 1,d [0] = y [1] = 1,

d[1]= x[1]∧y[1] = 0∧1 = 1d [1] = x [1] y [1] = 0 1 = 1

d[2]= y[0] = 0d [2] = y [0] = 0

d[3]= x[0]∧y[0] = 0∧0 = 0d [3] = x [0]? y [0] = 0? 0 = 0

그러므로 E의 디더값 d[3:0]는 '0011'이다.Therefore, the dither value d [3: 0] of E is '0011'.

동일하게 상기 수학식 1을 이용하여 구한 상기 셀들의 값은 다음 표 2와 같다.The values of the cells obtained using Equation (1) are also shown in Table 2 below.

[표 2][Table 2]

상기 표 1과 표 2는 서로 대응된다. 상기 표 2의 각 셀의 값을 투명도와 비교하기 위해서는 다음 조건문을 이용한다.Table 1 and Table 2 correspond to each other. In order to compare the value of each cell of Table 2 with the transparency, the following conditional statement is used.

'만일 (d[3:0] 〈 A[7:4]) 스티플 마스크=1 이고,If stipple mask = 1 (d [3: 0] < A [7: 4]

그렇지 않으면 스티플 마스크=0 이다'Otherwise, stipple mask = 0 '

여기서, 상기 A[7:4]는 투명도의 값으로서 투명도의 8비트 중 상위 4비트의 값을 나타낸다. 상기 조건문에 의하면, 만일 각 셀의 디더값이 투명도의 상위 4비트의 값보다 작으면 디더 로직(35)의 출력은 인에이블되고 즉, 논리 '1'이 되고, 각 셀의 디더값이 투명도의 상위 4비트의 값보다 크면 디더 로직(35)의 출력은 디세이블된다. 즉, 논리 '0'이 된다. 만일 디더 로직(35)의 출력이 논리 '0'이면 물체의 색은 전달되지 않는다. 따라서 이 부분은 이전에 남아 있는 배경색이 보이게 되어서 물체는 투명해 보인다. 만일 디더 로직(35)의 출력이 논리 '1'이면 물체의 색이 프레임 버퍼(39)로 전달되기 때문에 이 부분의 물체는 불투명해보인다.Here, A [7: 4] represents the value of the upper 4 bits among 8 bits of transparency as the value of transparency. According to the above conditional, if the dither value of each cell is smaller than the value of the upper 4 bits of transparency, the output of the dither logic 35 is enabled, that is, becomes logic '1' If the value of the upper 4 bits is larger than the value of the upper 4 bits, the output of the dither logic 35 is disabled. That is, it becomes logic '0'. If the output of the dither logic 35 is logic '0', the color of the object is not transmitted. So this part shows the background color that was left before, so the object looks transparent. If the output of the dither logic 35 is logical '1', the object of this part appears opaque because the color of the object is transferred to the frame buffer 39.

상기 프레임 버퍼 콘트롤러(37)는 상기 디더 로직(35)의 출력이 인에이블되면 상기 RGBxy를 상기 프레임 버퍼(39)로 출력하고, 상기 디더 로직(35)의 출력이 디세이블되면 상기 RGBxy를 출력하지 않는다.The frame buffer controller 37 outputs the RGBxy to the frame buffer 39 when the output of the dither logic 35 is enabled and outputs the RGBxy when the output of the dither logic 35 is disabled Do not.

상기 프레임 버퍼(39)는 상기 프레임 버퍼 콘트롤러(37)로부터 받은 RGBxy를 저장하고 있으면서 주기적으로 상기 모니터(도2의 27)로 내보낸다.The frame buffer 39 stores RGBxy received from the frame buffer controller 37 and periodically outputs the RGBxy to the monitor (27 in FIG. 2).

상기 도 3에 도시된 블록도는 모두 반도체 칩에 그대로 통합되어 사용된다.The block diagram shown in FIG. 3 is used as it is integrated with the semiconductor chip.

도 4는 본 발명에 의한 컴퓨터 그래픽의 투명도 처리 방법을 도시한 흐름도이다. 그래픽의 투명도 처리 방법은 상기 도 3을 참조하여 설명하기로 한다. 먼저, PCI 버스로부터 전송되는 투명도 데이터인 A와 칼라 데이터인 RGB 및 위치 데이터인 xy로 구성된 그래픽 데이터가 보간기에서 보간된다(51단계). 보간기에서 보간된 그래픽 데이터 중에서 상기 A와 xy는 디더 로직에서 디더링된다(53단계). 즉, 투명도가 결정된다. 상기 디더 로직의 출력이 인에이블되면 상기 칼라 데이터와 위치 데이터가 후단으로 전달되고 상기 디더 로직의 출력이 디세이블되면 상기 칼라 데이터와 위치 데이터는 후단으로 전달되지 않는다(55단계).4 is a flowchart illustrating a method of processing transparency of a computer graphic according to the present invention. The graphic transparency processing method will be described with reference to FIG. First, graphic data composed of transparency data A transmitted from a PCI bus, RGB (color data), and xy (position data) are interpolated in an interpolator (step 51). Among the graphic data interpolated by the interpolator, A and xy are dithered in the dither logic (operation 53). That is, transparency is determined. When the output of the dither logic is enabled, the color data and the position data are transmitted to the rear end, and when the output of the dither logic is disabled, the color data and the position data are not transmitted to the rear end.

도 3과 도 4를 통해서 본 발명의 그래픽의 투명도 처리 장치(25)는 종래의 그래픽의 투명도 처리 장치(10)에 비해 하드웨어가 간단해지고 그래픽 데이터의 처리 속도가 빨라짐을 알 수 있다.3 and 4, the graphic transparency processor 25 of the present invention has a simpler hardware and a higher processing speed of graphics data than the conventional graphics transparency processor 10.

본 발명은 상기 실시예에 한정되지 않으며, 많은 변형이 본 발명의 기술적 사상 내에서 당 분야에서 통상의 지식을 가진 자에 의하여 가능함은 명백하다.It is obvious that the present invention is not limited to the above embodiments and that many modifications are possible within the technical scope of the present invention by those skilled in the art.

상술한 바와 같이 본 발명에 따르면, 그래픽의 투명도 처리 장치의 하드웨어가 간단해지고 그래픽 데이터의 처리 속도가 빨라진다.As described above, according to the present invention, the hardware of the graphics transparency processing apparatus is simplified and the processing speed of the graphic data is increased.

Claims (3)

투명도 데이터와 칼라 데이터 및 위치 데이터를 포함하는 그래픽 데이터를 저장하는 그래픽 레지스터;A graphic register for storing graphic data including transparency data, color data, and position data; 상기 그래픽 레지스터의 출력을 입력하여 상기 그래픽 데이터의 보간을 실행하는 그래픽 보간기;A graphic interpolator for inputting an output of the graphic register and interpolating the graphic data; 상기 그래픽 보간기로부터 출력되는 위치 데이터와 투명도 데이터를 입력하고 상기 위치 데이터를 디더링한 다음 상기 위치 데이터의 디더링 값이 상기 투명도 데이터보다 작으면 출력을 인에이블시키고 상기 위치 데이터의 디더링 값이 상기 투명도 데이터보다 크면 출력을 디세이블시키는 디더 로직; 및Wherein the position data and the transparency data output from the graphic interpolator are input and the position data is dithered. If the dither value of the position data is smaller than the transparency data, the output is enabled, and the dither value of the position data is converted into the transparency data Dither logic to disable output if greater; And 상기 디더 로직과 상기 그래픽 보간기의 출력을 입력하고 상기 디더 로직의 출력이 인에이블되면 상기 그래픽 보간기로부터 전달되는 칼라 데이터와 위치 데이터를 출력하고 상기 디더 로직의 출력이 디세이블되면 상기 그래픽 보간기로부터 전달되는 칼라 데이터와 위치 데이터를 출력하지 않는 프레임 버퍼 콘트롤러를 구비하는 것을 특징으로 하는 그래픽의 투명도 처리 장치.And outputs the color data and the position data transmitted from the graphic interpolator when the output of the dither logic and the graphic interpolator are enabled. When the output of the dither logic is disabled, And a frame buffer controller which does not output color data and position data transmitted from the frame buffer controller. 제1항에 있어서, 상기 그래픽의 투명도 처리 장치는 컴퓨터에 이용되는 것을 특징으로 하는 그래픽의 투명도 처리 장치.The apparatus of claim 1, wherein the graphics transparency processing device is used in a computer. 제1항에 있어서, 상기 그래픽의 투명도 처리 장치는 반도체 칩에 통합되는 것을 특징으로 하는 그래픽의 투명도 처리 장치.The apparatus of claim 1, wherein the graphic transparency processor is incorporated in a semiconductor chip.
KR1019960056834A 1996-11-22 1996-11-22 Apparatus for controlling graphic transparency KR100230387B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960056834A KR100230387B1 (en) 1996-11-22 1996-11-22 Apparatus for controlling graphic transparency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960056834A KR100230387B1 (en) 1996-11-22 1996-11-22 Apparatus for controlling graphic transparency

Publications (2)

Publication Number Publication Date
KR19980038009A KR19980038009A (en) 1998-08-05
KR100230387B1 true KR100230387B1 (en) 1999-11-15

Family

ID=19483297

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960056834A KR100230387B1 (en) 1996-11-22 1996-11-22 Apparatus for controlling graphic transparency

Country Status (1)

Country Link
KR (1) KR100230387B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9502000B2 (en) 2012-10-24 2016-11-22 Samsung Display Co., Ltd. Timing controller with dithering capability dependent on a pattern and display device having the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9502000B2 (en) 2012-10-24 2016-11-22 Samsung Display Co., Ltd. Timing controller with dithering capability dependent on a pattern and display device having the same

Also Published As

Publication number Publication date
KR19980038009A (en) 1998-08-05

Similar Documents

Publication Publication Date Title
JP3286331B2 (en) Block texture complex clip mask processor
JP4234217B2 (en) System, apparatus and method for embedding transparent enable bits as part of resizing bit block transfer processing
KR960006526B1 (en) Image processing apparatus and external storage unit
US6275234B1 (en) Display control system and method for controlling display of three-dimensional graphics data
EP0465250A2 (en) Graphics engine for colour 2D graphics
JPS62288984A (en) Video display unit
BR112019012641B1 (en) METHOD AND DEVICE FOR FOVEATION RENDERING, AND COMPUTER READABLE MEMORY
JPH1153580A (en) Three-dimensional image processor and video synthesis method
JPH04343185A (en) Apparatus and method for generating graphic image
JP3106872B2 (en) Image processing processor and data processing system using the same
US6445386B1 (en) Method and apparatus for stretch blitting using a 3D pipeline
KR20040011525A (en) Drawing method
KR100230387B1 (en) Apparatus for controlling graphic transparency
US6885375B2 (en) Stalling pipelines in large designs
US6731297B1 (en) Multiple texture compositing
JP2005346605A (en) Antialias drawing method and drawing apparatus using the same
JPH11272846A (en) Graphic display
US6847372B2 (en) Magnified texture-mapped pixel performance in a single-pixel pipeline
JPH1063254A (en) Three dimensional graphics accelerator card, and computer system using the card
JP2887122B2 (en) Image data processing apparatus and system using the same
US6489967B1 (en) Image formation apparatus and image formation method
JPH06180566A (en) Drawing controller
US6831645B2 (en) System and method for performing font operations when background color is transparent
KR100252648B1 (en) Graphics system and method of graphics drawing
JP2656754B2 (en) Image data processing apparatus and system using the same

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070801

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee