+

KR100834938B1 - A light source parameter storage circuit of a three-dimensional graphic and a lighting processing calculation method using the light source parameter - Google Patents

A light source parameter storage circuit of a three-dimensional graphic and a lighting processing calculation method using the light source parameter Download PDF

Info

Publication number
KR100834938B1
KR100834938B1 KR1020060064907A KR20060064907A KR100834938B1 KR 100834938 B1 KR100834938 B1 KR 100834938B1 KR 1020060064907 A KR1020060064907 A KR 1020060064907A KR 20060064907 A KR20060064907 A KR 20060064907A KR 100834938 B1 KR100834938 B1 KR 100834938B1
Authority
KR
South Korea
Prior art keywords
light source
source parameter
circuit
parameter
initial value
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
KR1020060064907A
Other languages
Korean (ko)
Other versions
KR20080006135A (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 KR1020060064907A priority Critical patent/KR100834938B1/en
Publication of KR20080006135A publication Critical patent/KR20080006135A/en
Application granted granted Critical
Publication of KR100834938B1 publication Critical patent/KR100834938B1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/506Illumination models
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/28Indexing scheme for image data processing or generation, in general involving image processing hardware

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Image Generation (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

본 발명은 3차원 그래픽의 조명 처리 연산에 관한 것으로서, 보다 구체적으로 복수의 광원에 대응하는 광원 파라미터를 저장하는 메모리 회로에 관한 것이다. 본 발명에 따른 광원 파라미터 저장 회로는 복수의 광원에 대응하는 복수의 광원 파라미터의 값을 저장하는 메모리 회로를 포함하는 메모리부, 광원 파라미터의 초기값을 출력하는 초기값 회로, 메모리부로부터 복수의 광원 중에서 어느 하나에 대응하는 광원 파라미터의 값을 독출하고, 독출된 광원 파라미터 값과 초기값 중에서 어느 하나를 선택하여 광원 파라미터로 출력하는 광원 파라미터 선택부를 포함하는 것을 특징으로 한다. 본 발명에 따르면, 레지스터 회로를 메모리 회로로 대체함으로써 사용되는 회로 면적을 절감함으로써 조명 처리 회로의 소형화, 공정 비용 및 공정 불량률 저감에 기여할 수 있다.

Figure R1020060064907

3차원 그래픽, 조명 처리, 스태틱 램, SRAM, 레지스터, 회로 면적.

FIELD OF THE INVENTION The present invention relates to illumination processing operations of three-dimensional graphics, and more particularly to a memory circuit for storing light source parameters corresponding to a plurality of light sources. A light source parameter storage circuit according to the present invention includes a memory section including a memory circuit for storing values of a plurality of light source parameters corresponding to a plurality of light sources, an initial value circuit for outputting initial values of the light source parameters, And a light source parameter selecting unit for selecting one of the read light source parameter values and the initial values and outputting the selected light source parameter values as the light source parameters. According to the present invention, by replacing the register circuit with a memory circuit, it is possible to reduce the circuit area used thereby contributing to miniaturization of the illumination processing circuit, process cost, and reduction of the process defect rate.

Figure R1020060064907

3D graphics, lighting processing, static RAM, SRAM, registers, circuit area.

Description

3차원 그래픽의 광원 파라미터 저장 회로 및 상기 광원 파라미터를 이용한 조명 처리 연산 방법{LIGHTING PARAMETER STORAGE CIRCUIT FOR 3-DIMENSIONAL GRAPHICS AND COMPUTATION METHOD FOR LIGHTING PROCESSING USING THE LIGHTING PARAMETER}TECHNICAL FIELD [0001] The present invention relates to a light source parameter storage circuit for a three-dimensional graphic, and a lighting processing method using the light source parameter. [0002]

도 1은 OpenGL 표준이 지원하는 광원 파라미터들을 표시하는 표이다.Figure 1 is a table showing the light source parameters supported by the OpenGL standard.

도 2는 레지스터를 이용한 종래의 광원 파라미터 저장 회로의 구조를 도시한 도면이다.2 is a diagram showing the structure of a conventional light source parameter storage circuit using a register.

도 3은 레지스터에 저장된 광원 파라미터들 중에서 특정한 광원과 연관된 광원 파라미터를 선택하는 종래의 회로를 도시한 도면이다.3 is a diagram illustrating a conventional circuit for selecting a light source parameter associated with a particular light source among light source parameters stored in a register.

도 4는 스태틱 램을 이용한 본 발명에 따른 광원 파라미터 저장 회로의 구조를 도시한 도면이다.4 is a diagram showing the structure of a light source parameter storage circuit according to the present invention using a static RAM.

도 5는 도 4의 광원 파라미터 저장 회로의 구성을 더욱 상세하게 도시한 도면이다.5 is a diagram showing the configuration of the light source parameter storage circuit of FIG. 4 in more detail.

도 6은 본 발명에 따른 광원 파라미터 저장 회로의 동작 타이밍을 도시한 타이밍도이다.6 is a timing chart showing the operation timing of the light source parameter storage circuit according to the present invention.

도 7은 본 발명에 따른 조명 처리 연산 방법을 단계별로 도시한 흐름도이다.FIG. 7 is a flowchart showing steps of an illumination processing operation method according to the present invention.

<도면의 주요 부분에 대한 부호의 설명>Description of the Related Art

410, 510: 스태틱 램 메모리부410, 510: Static RAM memory unit

420: 조명 파라미터 레지스터420: illumination parameter register

421, 540: 광원 파라미터 레지스터421, 540: Light source parameter register

430: 조명 처리 연산 장치430: Lighting processing unit

520: 초기값 회로520: initial value circuit

530: 멀티플렉서530: Multiplexer

본 발명은 3차원 그래픽의 조명 처리 연산에 관한 것으로서, 보다 구체적으로 메모리 회로를 이용하여 광원 파라미터들을 저장함으로써 조명 처리 회로의 면적을 절약하는 방법 및 상기 방법이 적용된 조명 처리 회로의 구성에 관한 것이다.More particularly, the present invention relates to a method of saving the area of an illumination processing circuit by storing light source parameters using a memory circuit and a configuration of an illumination processing circuit to which the method is applied.

3차원 그래픽 기술은 디지털 컴퓨터와 3차원 소프트웨어를 이용하여 3차원 공간에 위치한 물체의 모양, 색상, 움직임 등을 시각화하는 기술을 의미한다. 3차원 그래픽 기술은 최근 3차원 게임 시장의 성장에 힘입어 크게 발전하였고, 사실상 교육, 의료, 군사, 예술 등의 분야에서 이미 널리 이용되고 있는 핵심 기반 기술이기도 하다.3D graphics technology refers to a technique of visualizing the shape, color, and movement of an object located in a three-dimensional space using a digital computer and three-dimensional software. 3D graphics technology has greatly developed thanks to the recent growth of the 3D game market, and it is also a key infrastructure technology already widely used in education, medical, military, and art fields.

이처럼 3차원 그래픽 기술이 널리 이용되는 것은, 이 기술이 물체를 사실감 있게 보여 줌으로써 사용자에게 직관적으로 정보를 전달할 수 있기 때문이다. 3차원 그래픽 연산은 크게 좌표 변환 연산과 조명 처리 연산으로 구분된다. 이 중에 서 특히 조명 처리 연산은 광원에 의한 조명 효과를 계산함으로써 물체를 더욱 현실감 있게 보이게 한다.3D graphics technology is widely used because it allows users to intuitively convey information by realistically displaying the object. 3D graphics operations are classified into coordinate transformation operations and illumination processing operations. In particular, lighting processing calculations make objects look more realistic by calculating lighting effects by the light source.

3차원 그래픽 조명 처리 연산은 특정 위치의 광원에 의해 3차원 공간상의 각 정점(vertex)에 나타나는 조명 효과를 계산하기 위해 많은 수의 파라미터들을 이용한다. 도 1은 널리 사용되는 그래픽 라이브러리인 OpenGL(Open Graphics Library)에서 조명 처리 연산에 사용되는 파라미터들을 보여준다.A three-dimensional graphic illumination processing operation uses a large number of parameters to calculate a lighting effect appearing at each vertex in a three-dimensional space by a light source at a specific location. FIG. 1 shows parameters used in an illumination processing operation in a widely used graphic library OpenGL (Open Graphics Library).

도 1에 나타나 있는 바와 같이, OpenGL은 8개까지의 광원을 지원한다. 따라서 위와 같은 파라미터들에 기초한 조명 처리 연산을 지원하기 위한 파라미터 저장 공간은, 재질 파라미터들(material parameters)을 위해 408 비트, 광원 파라미터들(light source parameters)을 위해 4608 비트, 조명 모델 파라미터(lighting model parameter)를 위해 96 비트의 크기를 가진다.As shown in Figure 1, OpenGL supports up to eight light sources. Therefore, the parameter storage space for supporting illumination processing operations based on the above parameters is 408 bits for material parameters, 4608 bits for light source parameters, parameter, which has a size of 96 bits.

도 2는 이와 같은 조명 파라미터들(lighting parameters)을 저장하는 종래의 회로를 도시한 도면이다. 도 2를 참조하면, 종래의 조명 파라미터 저장 회로는 레지스터를 이용하여 조명 파라미터들을 저장한다. 조명 파라미터를 저장하는 조명 파라미터 레지스터(210)는 저장되는 파라미터의 종류에 따라 재질 파라미터 레지스터(211), 광원 파라미터 레지스터(212), 및 조명 모델 파라미터 레지스터(213)로 구분된다.Figure 2 is a diagram illustrating a conventional circuit for storing such lighting parameters. Referring to FIG. 2, a conventional illumination parameter storage circuit stores a lighting parameter using a register. The illumination parameter register 210 for storing illumination parameters is divided into a material parameter register 211, a light source parameter register 212, and an illumination model parameter register 213 according to the type of a parameter to be stored.

조명 처리 연산 장치(220)는 조명 파라미터 레지스터(210)로부터 조명 파라미터(214)를 독출하여 이를 기초로 조명 처리 연산을 수행하여 연산 결과(221)를 출력한다. 조명 처리 연산을 위해 조명 파라미터 레지스터(210)로부터 독출되는 조명 파라미터(214)는 재질 파라미터 레지스터(211)에서 독출된 재질 파라미터, 광원 파라미터 레지스터(212)에서 독출된 특정 광원에 대한 광원 파라미터, 및 조명 모델 파라미터 레지스터(213)에서 독출된 조명 모델 파라미터 중에서 적어도 하나를 포함할 수 있다.The illumination processing arithmetic unit 220 reads the illumination parameters 214 from the illumination parameter register 210, performs an illumination processing operation on the basis of the illumination parameters 214, and outputs the arithmetic operation result 221. The illumination parameters 214 read from the illumination parameter register 210 for the illumination processing operation include the material parameters read from the material parameter register 211, the light source parameters for the specific light source read from the light source parameter register 212, And at least one of the illumination model parameters read out from the model parameter register 213.

도 3은 도 2에 도시된 회로 중에서 광원 파라미터 레지스터(212)의 내부 구성을 보다 상세히 도시한 도면이다. 도 3은 주변광 강도(ambient color intensity)를 나타내는 파라미터 acli 를 저장하는 레지스터 회로를 예시하지만, 도 3에 도시된 구조는 다른 광원 파라미터를 저장하는 레지스터 회로에도 동일하게 적용된다.3 is a diagram showing in more detail the internal configuration of the light source parameter register 212 among the circuits shown in FIG. 3 illustrates a register circuit for storing a cli indicative of ambient light intensity, but the structure shown in Fig. 3 is equally applicable to a register circuit for storing other light source parameters.

도 3을 참조하면, 주변광 강도 파라미터 레지스터(310)는 8 개의 광원과 각각 관련된 주변광 강도 파라미터를 저장하는 8 개의 96 비트 레지스터를 포함한다. 도 3에 도시된 주변광 강도 파라미터 레지스터 회로는 이들 8 개의 레지스터 중에서 특정 광원과 관련된 파라미터를 선택하여 출력하기 위해, 소정의 선택 신호(301)에 따라 8 개의 레지스터 출력 중에서 어느 하나를 선택하여 출력하는 멀티플렉서(320)를 포함한다. 따라서 멀티플렉서(320)에 의해 출력되는 광원 파라미터(321)는 8 개의 광원 가운데 하나의 광원에 의한 효과를 계산하기 위해 이용된다.Referring to FIG. 3, the ambient light intensity parameter register 310 includes eight 96-bit registers that store eight light sources and associated ambient light intensity parameters, respectively. The ambient light intensity parameter register circuit shown in FIG. 3 selects one of eight register outputs according to a predetermined selection signal 301 in order to select and output a parameter related to a specific light source among the eight registers And a multiplexer 320. Thus, the light source parameter 321 output by the multiplexer 320 is used to calculate the effect of one of the eight light sources.

도 2 및 도 3을 통해 설명한 종래의 광원 파라미터 저장 회로는, 각각의 조명 처리 연산이 하나의 광원에 의한 효과를 계산하는 것임에도 불구하고, 복수의 광원과 연관된 복수의 광원 파라미터를 저장하기 위하여 복수 개의 광원 파라미터 레지스터를 필요로 한다. 이에 따라, 앞서 예시한 바와 같이 8 개의 광원을 지원하는 경우에 광원 파라미터 레지스터가 전체 조명 파라미터 레지스터 중에서 약 90%의 비율을 차지하게 되고, 다시 이 가운데 1/8 에 해당하는 광원 레지스터는 특정 광원에 대한 조명 처리 연산을 수행할 때에는 이용되지 않아 레지스터 공간을 효율적으로 이용하지 못한다는 문제점이 있다.The conventional light source parameter storage circuit described with reference to FIG. 2 and FIG. 3 is a circuit in which a plurality of light source parameters associated with a plurality of light sources are stored Lt; / RTI &gt; source parameter registers. Accordingly, in the case where eight light sources are supported as described above, the light source parameter register occupies about 90% of the total illumination parameter registers, and the light source register corresponding to 1/8 of the total light parameter registers occupies a specific light source There is a problem in that the register space can not be used efficiently because it is not used in performing the illumination processing operation on the memory space.

주지하는 바와 같이, 레지스터는 메모리 회로에 비해 상대적으로 큰 회로 면적을 가진다. 따라서, 이처럼 많은 수의 조명 파라미터를 저장하기 위해 오로지 레지스터에만 의존한다면 조명 파라미터 저장 회로의 면적, 나아가 전체 조명 처리기(lighting processor)의 회로 면적을 축소시키기 어렵게 만든다.As will be appreciated, the resistors have a relatively large circuit area compared to memory circuits. Thus, relying solely on registers to store such a large number of illumination parameters makes it difficult to reduce the area of the illumination parameter storage circuitry, and thus the overall circuitry of the lighting processor.

이에 본 발명에서는 상술한 문제점을 해결하기 위하여 조명 파라미터 저장 회로의 대부분을 차지하는 광원 파라미터 저장 회로의 면적을 축소시킬 수 있는 새로운 기술을 제안하고자 한다.In order to solve the above problems, the present invention proposes a new technique for reducing the area of the light source parameter storage circuit occupying most of the illumination parameter storage circuit.

본 발명은 상기와 같은 종래 기술을 개선하기 위해 안출된 것으로서, 조명 파라미터 저장 회로의 면적을 축소하는 것을 그 목적으로 한다.SUMMARY OF THE INVENTION It is an object of the present invention to reduce the area of an illumination parameter storage circuit.

구체적으로, 본 발명은 조명 파라미터의 대부분을 차지하는 광원 파라미터를 저장하는 회로를 메모리 회로를 이용하여 구성함으로써 광원 파라미터 저장 회로가 차지하는 회로 공간을 절약하는 것을 그 목적으로 한다.Specifically, the present invention aims at saving circuit space occupied by a light source parameter storage circuit by using a memory circuit for storing a light source parameter occupying most of illumination parameters.

또한, 본 발명은 광원 파라미터 저장 회로의 면적을 축소함으로써 조명 파라 미터 저장 회로, 나아가 전체 조명 처리기의 소형화 및 고집적화를 이루는 것을 그 목적으로 한다.It is another object of the present invention to reduce the area of the light source parameter storage circuit, thereby achieving miniaturization and high integration of the illumination parameter storage circuit and further the entire illumination processor.

또한, 본 발명은 광원 파라미터 저장 회로의 면적을 축소함으로써 공정 비용과 공정 불량률을 저감하는 것을 그 목적으로 한다.It is another object of the present invention to reduce the process cost and the process defect rate by reducing the area of the light source parameter storage circuit.

또한, 본 발명은 메모리 회로를 이용하여 광원 파라미터 저장 회로를 구성함에 따라 광원 파라미터의 초기값을 출력하는 초기값 회로를 포함함으로써 초기값이 정의된 3차원 그래픽 표준 라이브러리를 효과적으로 지원하는 것을 그 목적으로 한다.In addition, the present invention includes an initial value circuit for outputting an initial value of a light source parameter by constructing a light source parameter storage circuit using a memory circuit, thereby effectively supporting a three-dimensional graphic standard library having an initial value defined do.

상기의 목적을 달성하고, 상술한 종래기술의 문제점을 해결하기 위하여, 본 발명에 따른 광원 파라미터 저장 회로는 복수의 광원에 대응하는 복수의 광원 파라미터의 값을 저장하는 메모리 회로를 포함하는 메모리부, 광원 파라미터의 초기값을 출력하는 초기값 회로, 및 메모리부로부터 복수의 광원 중에서 어느 하나에 대응하는 광원 파라미터의 값을 독출하고, 독출된 광원 파라미터 값과 초기값 중에서 어느 하나를 선택하여 광원 파라미터로 출력하는 광원 파라미터 선택부를 포함하는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a light source parameter storage circuit including a memory unit including a memory circuit for storing values of a plurality of light source parameters corresponding to a plurality of light sources, An initial value circuit for outputting an initial value of the light source parameter and a light source parameter value corresponding to any one of the plurality of light sources from the memory unit and selecting any one of the read light source parameter value and the initial value, And a light source parameter selection unit for outputting the light source parameter.

또한, 본 발명에 따른 조명 처리 연산 방법은 메모리 회로에 복수의 광원에 대응하는 복수의 광원 파라미터를 저장하는 단계, 메모리 회로로부터 복수의 광원 중에서 어느 하나에 대응하는 광원 파라미터의 값을 독출하는 단계, 초기값 회로에 의하여 출력되는 소정의 초기값과 독출된 광원 파라미터 값 중에서 어느 하나를 선 택하는 단계, 및 선택된 광원 파라미터 값을 이용하여 조명 처리 연산 결과를 생성하는 단계를 포함하는 것을 특징으로 한다.According to another aspect of the present invention, there is provided an illumination processing method including storing a plurality of light source parameters corresponding to a plurality of light sources in a memory circuit, reading a value of a light source parameter corresponding to one of the plurality of light sources from a memory circuit Selecting one of a predetermined initial value and a readout light source parameter value output by the initial value circuit and generating an illumination processing operation result using the selected light source parameter value .

이하 첨부된 도면들을 참조하여 본 발명에 따른 광원 파라미터 저장 회로의 구성 및 상기 광원 파라미터에 기초한 조명 처리 연산 방법에 대해 상세히 설명한다.Hereinafter, a configuration of a light source parameter storage circuit and an illumination processing calculation method based on the light source parameters according to the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 발명에 따른 광원 파라미터 저장 회로를 포함하는 조명 처리기의 구조를 도시하는 도면이다. 도 4는 OpenGL이 지원하는 바와 같이 8 개의 광원을 위한 광원 파라미터를 저장하는 회로를 예시한다. 그러나 본 기술 분야의 당업자에게 자명한 바와 같이, 본 발명의 범위는 8 개의 광원을 지원하는 회로에 한정되지 않고 복수의 광원을 지원하는 일반적인 광원 파라미터 저장 회로에 적용된다.4 is a diagram showing a structure of an illumination processor including a light source parameter storage circuit according to the present invention. Figure 4 illustrates a circuit for storing light source parameters for eight light sources as supported by OpenGL. However, as will be apparent to those skilled in the art, the scope of the present invention is not limited to a circuit that supports eight light sources, but is applied to a general light source parameter storage circuit that supports a plurality of light sources.

도 4를 참조하면, 조명 파라미터들은 조명 파라미터 레지스터(420)에 저장되어 조명 처리 연산 장치(430)로 입력된다. 조명 파라미터 레지스터(420)는 재질 파라미터 레지스터, 광원 파라미터 레지스터(421), 및 조명 모델 파라미터 레지스터를 포함한다. 그러나, 광원 파라미터 레지스터(421)는 종래 기술과 같이 8 개의 광원 모두를 지원하기 위한 전체 광원 파라미터들을 저장하기 위한 것이 아니라, 특정 광원과 연관된 조명 처리 연산에 사용되는 광원 파라미터만을 임시로 저장하기 위한 용도로 사용된다.Referring to FIG. 4, the illumination parameters are stored in the illumination parameter register 420 and input to the illumination processing unit 430. The illumination parameter register 420 includes a material parameter register, a light source parameter register 421, and an illumination model parameter register. However, the light source parameter register 421 is not for storing all the light source parameters for supporting all the eight light sources as in the prior art, but for temporarily storing only the light source parameters used in the illumination processing operation associated with the specific light source .

한편, 8 개의 광원과 연관된 전체 광원 파라미터들은 스태틱 램(static random access memory, SRAM)(410)에 저장된다. 이처럼 8 개의 광원 모두를 지원하기 위한 전체 광원 파라미터들은 SRAM에 저장하고, 이 중에서 특정 광원과 연관 된 조명 처리 연산을 수행하기 위해 필요한 일부 광원 파라미터만을 레지스터(421)에 임시로 저장하여 조명 처리 연산 장치(430)에 공급함으로써, 광원 파라미터 레지스터(421)의 수를 종래에 비해 1/8 로 감소시킬 수 있다. 또한, 이는 전체 조명 파라미터 레지스터의 수를 종래에 비해 80% 정도 줄이는 것을 의미한다. 확인한 바에 의하면, 이와 같은 저장 회로 구성에 의해 전체 조명 처리기 면적의 10~20% 가량을 절감하는 효과를 거둘 수 있다.On the other hand, the total light source parameters associated with the eight light sources are stored in a static random access memory (SRAM) As described above, the total light source parameters for supporting all the eight light sources are stored in the SRAM, and only a part of the light source parameters necessary for performing the illumination processing operation associated with the specific light source is temporarily stored in the register 421, The number of the light source parameter registers 421 can be reduced to one eighth as compared with the conventional one. This also means that the total number of illumination parameter registers is reduced by 80% compared to the conventional one. It has been confirmed that such a storage circuit configuration can reduce the total illumination processor area by about 10 to 20%.

그러나 이와 같이 종래의 광원 파라미터 레지스터의 상당 부분을 SRAM으로 대체함에 따라 OpenGL 등의 표준에 명시된 광원 파라미터 초기값을 지원하기 위한 추가의 회로가 필요하다. 예컨대, OpenGL은 광원 파라미터 중에서 디퓨즈 강도(diffuse intensity)와 스페큘러 강도(specular intensity)의 초기값을 0번째 광원과 그 외의 광원에 대해 다르게 정의하고 있기 때문에 단일한 광원 파라미터 레지스터(421)를 이용하여 이들 서로 다른 초기값을 지원할 수 없다. 따라서, 이처럼 서로 다른 초기값들을 지원하는 초기값 회로가 필요하다.However, by replacing a large part of the conventional light source parameter register with the SRAM, additional circuitry is required to support the light source parameter initial value specified in the standard such as OpenGL. For example, since OpenGL defines different initial values of diffuse intensity and specular intensity among the light source parameters for the 0th light source and the other light sources, OpenGL uses a single light source parameter register 421 These different initial values can not be supported. Thus, an initial value circuit that supports these different initial values is needed.

도 5는 도 4에 도시된 광원 파라미터 저장 회로의 구성을 더욱 상세하게 도시한 도면이다. 도 5 및 이하의 설명은 이해를 돕기 위하여 주변광 강도 파라미터 acli 를 저장하는 레지스터 회로에 한정하여 설명하지만, 도 5에 도시된 구조는 다른 광원 파라미터를 저장하는 레지스터 회로에도 동일하게 적용된다. 이와 같은 구조의 레지스터 회로는 예를 들어, 디퓨즈 강도(diffuse intensity), 스페큘러 강도(specular intensity), 광원의 위치, 광원의 스포트라이트 방향, 및 다양한 감쇠 계수들을 저장하는 회로에 적용된다.5 is a diagram showing the configuration of the light source parameter storage circuit shown in FIG. 4 in more detail. 5 and the following description are limited to a register circuit for storing the ambient light intensity parameter a cli for the sake of clarity, but the structure shown in Fig. 5 is equally applicable to a register circuit for storing other light source parameters. A resistor circuit having such a structure is applied to a circuit for storing, for example, diffuse intensity, specular intensity, position of a light source, spot light direction of a light source, and various attenuation coefficients.

도 5의 광원 파라미터 저장 회로는 8 개의 광원에 대한 주변광 파라미터를 모두 저장하는 SRAM 메모리부(510)를 포함한다. SRAM 메모리부(510)는 각각 96 비트의 길이를 갖는 0번에서 7번까지의 8 개의 주변광 파라미터를 저장하기 위한 총 768 비트의 SRAM으로 구성된다.The light source parameter storage circuit of FIG. 5 includes an SRAM memory unit 510 that stores all the ambient light parameters for the eight light sources. The SRAM memory unit 510 includes a total of 768 bits of SRAM for storing eight ambient light parameters ranging from 0 to 7 having a length of 96 bits.

또한, 광원 파라미터 저장 회로는 초기값 회로(520)를 포함한다. 초기값 회로(520)는 주변광 파라미터의 초기값을 출력하는 고정 로직(fixed logic)으로 구성된다. 일실시예에 따르면, 초기값 회로(520)는 풀업(pull-up) 또는 풀다운(pull-down) 저항으로 주변광 파라미터의 각 비트의 초기값을 결정하여 출력하는 회로를 포함한다.In addition, the light source parameter storage circuit includes an initial value circuit 520. [ The initial value circuit 520 consists of fixed logic that outputs an initial value of the ambient light parameters. According to one embodiment, the initial value circuit 520 includes circuitry for determining and outputting an initial value of each bit of the ambient light parameter with a pull-up or pull-down resistor.

멀티플렉서(530)는 SRAM 메모리부(510) 출력과 초기값 회로(520) 출력을 각각 입력 신호로 하여, 이들 중에서 하나의 신호를 선택하여 출력한다. SRAM 메모리부(510)에 저장된 사용자 입력 파라미터 값과 회로상에 고정되어 있는 초기값 중에서 하나를 선택하는 선택 신호(501)는 사용되는 광원의 번호 및 수를 표시하는 상태 레지스터의 값 등을 참조하여 생성될 수 있다.The multiplexer 530 receives the output of the SRAM memory unit 510 and the output of the initial value circuit 520 as input signals, and selects one of the signals as an input signal. The selection signal 501 for selecting one of the user input parameter value stored in the SRAM memory unit 510 and the initial value fixed on the circuit is referred to the value of the status register indicating the number and the number of the used light source Lt; / RTI &gt;

멀티플렉서(530)에 의해 선택되어 출력되는 광원 파라미터 값은 광원 파라미터 레지스터(540)에 저장되고, 조명 처리 연산 장치(430)에 의해 광원 파라미터 레지스터(540)로부터 독출된다.The light source parameter values selected and outputted by the multiplexer 530 are stored in the light source parameter register 540 and read out from the light source parameter register 540 by the illumination processing arithmetic unit 430. [

도 5를 통해 예시된 주변광 강도 파라미터의 경우에는 OpenGL 표준상에 하나의 초기값만이 명시되어 있으므로, 초기값 회로(520)는 단일 로직으로 구성된다. 그러나 디퓨즈 강도 파라미터 또는 스페큘러 강도 파라미터의 경우에는 0번째 광원과 그 외의 광원이 서로 다른 초기값을 가지도록 OpenGL 표준에 명시되어 있으므로, 초기값 회로(520)는 2 가지 서로 다른 로직으로 구성된다. 이에 따라 멀티플렉서(530)는 SRAM 메모리부(510) 출력 신호 및 2 개의 초기값 회로(520) 출력 신호를 포함하는 3 개의 입력 신호 가운데서 하나를 선택하도록 구성되고, 선택 신호(501)가 0번째 광원의 초기값을 선택하는 경우와 그 외의 광원의 초기값을 선택하는 경우에 따라 서로 다른 값을 갖도록 하는 선택 신호 생성 로직을 포함할 수 있다.In the case of the ambient light intensity parameter illustrated in FIG. 5, only one initial value is specified on the OpenGL standard, so that the initial value circuit 520 consists of a single logic. However, in the case of the diffuse intensity parameter or the specular intensity parameter, the initial value circuit 520 is composed of two different logic because the 0th light source and the other light sources are specified in the OpenGL standard so that they have different initial values. Accordingly, the multiplexer 530 is configured to select one of three input signals including the output signal of the SRAM memory unit 510 and the output signal of the two initial value circuits 520, The selection signal generation logic may have different values depending on the case of selecting the initial value of the light source and the case of selecting the initial values of the other light sources.

본 발명에 따른 광원 파라미터 저장 회로는 이처럼 초기값 회로를 포함함으로써 광원 파라미터 레지스터의 상당 부분을 SRAM으로 대체하면서도 OpenGL 과 같이 광원 파라미터의 초기값을 정의하는 그래픽 라이브러리 표준을 효과적으로 지원할 수 있다.The light source parameter storage circuit according to the present invention can effectively support a graphic library standard that defines initial values of light source parameters such as OpenGL while replacing a substantial portion of the light source parameter registers with SRAM by including the initial value circuit.

또한, 레지스터를 SRAM으로 대체하게 되면 정상적인 광원 파라미터의 독출을 위하여 동작 사이클에도 변화가 생길 수 있다. 참고로, 본 명세서에서 사용되는 "사이클(cycle)"이라는 용어는, 회로의 기능 블록의 동작 주기를 의미하는 용어로서, 하나 또는 둘 이상의 내부 동작 클럭으로 정의될 수 있다. 또 달리, 상승 에지(rising edge)와 하강 에지(falling edge)에 모두 반응하도록 회로가 구성될 경우에 상기 사이클은 1/2 클럭으로 정의될 수도 있다.In addition, if the register is replaced with the SRAM, the operation cycle may also be changed for reading the normal light source parameter. For reference, the term "cycle" as used herein means a period of operation of a functional block of a circuit, and may be defined as one or more internal operation clocks. Alternatively, if the circuit is configured to respond to both the rising edge and the falling edge, the cycle may be defined as a half clock.

도 6은 본 발명에 따른 광원 파라미터 저장 회로의 동작 타이밍을 도시한 타이밍도이다. 도 6에서는 SRAM 메모리부(510)와 광원 파라미터 레지스터(540)의 동 작 사이클이 1 클럭인 경우를 예시한다.6 is a timing chart showing the operation timing of the light source parameter storage circuit according to the present invention. 6 illustrates a case where the operation cycle of the SRAM memory unit 510 and the light source parameter register 540 is one clock.

종래와 같이 레지스터에 직접 8 개 광원 전체의 광원 파라미터를 저장하는 경우에는, 조명 처리 연산을 수행하기 1 사이클 이전에 광원 파라미터 레지스터에 출력 이네이블(output enable, OEN) 신호를 인가하여, 사용될 광원 파라미터 값이 조명 처리 연산 개시 전에 레지스터 출력 포트에 출력될 수 있었다.In the case of storing the light source parameters of all the eight light sources directly in the register as in the prior art, an output enable (OEN) signal is applied to the light source parameter register one cycle before the illumination processing operation, Value could be output to the register output port before the start of the lighting processing operation.

그러나, 도 5와 같은 구조에서는 이와 같은 타이밍을 그대로 적용할 수 없다. 도 6은 도 5와 같은 구조에서 광원 파라미터를 안정적으로 독출하기 위한 이네이블 신호의 타이밍을 도시한 타이밍도이다.However, such a timing can not be applied as it is in the structure as shown in Fig. 6 is a timing chart showing the timing of the enable signal for stably reading the light source parameters in the structure shown in FIG.

도 6의 타이밍도에 따르면, SRAM 메모리부(510)에 인가되는 SRAM 출력 이네이블 신호(602)와 광원 파라미터 레지스터(540)에 인가되는 레지스터 출력 이네이블 신호(603)는 클럭 신호(601)에 동기화되어 있다. 그러나 본 발명은 성능 최적화 등의 이유로 상기 출력 이네이블 신호들(602, 503) 중에서 적어도 하나의 신호가 클럭 신호(601)에 동기화되어 있지 않은 경우에도 적용될 수 있다.The SRAM output enable signal 602 applied to the SRAM memory unit 510 and the register output enable signal 603 applied to the light source parameter register 540 are input to the clock signal 601 Synchronized. However, the present invention can also be applied to a case where at least one of the output enable signals 602 and 503 is not synchronized with the clock signal 601 because of performance optimization or the like.

도 6을 참조하면, 레지스터 출력 이네이블 신호(603)는 첫번째 조명 처리 연산(604)의 수행 사이클보다 적어도 1 사이클 이전에 인가되어 광원 파라미터 레지스터(540)에 임시로 저장된 광원 파라미터 값을 독출할 수 있도록 한다. 또한, 광원 파라미터 레지스터(540)에 저장되어 레지스터 출력 이네이블 신호(603)에 의해 독출되는 광원 파라미터 값이 SRAM 메모리부(510)로부터 독출된 유효한 값이 되도록 보장하기 위하여 SRAM 출력 이네이블 신호(602)는 레지스터 출력 이네이블 신호(603)보다 적어도 1 사이클 이전에, 즉 조명 처리 연산(604)의 수행 사이클보다 적어도 2 사이클 이전에 인가된다. 초기값 회로(520) 및 멀티플렉서(530)의 동작은 클럭 신호(601)에 동기화되어 있지 않기 때문에 타이밍을 고려하지 않는다. 단, 멀티플렉서(530)의 출력 신호 셋업 및 홀드 시간은 클럭 신호(601)의 주기보다 훨씬 짧다고 가정한다.6, the register output enable signal 603 may be applied at least one cycle before the execution cycle of the first illumination processing operation 604 to read the light source parameter value temporarily stored in the light source parameter register 540 . In order to ensure that the light source parameter value stored in the light source parameter register 540 and read by the register output enable signal 603 is a valid value read out from the SRAM memory unit 510, the SRAM output enable signal 602 Is applied at least one cycle before the register output enable signal 603, that is, at least two cycles before the execution cycle of the illumination processing operation 604. [ The operation of the initial value circuit 520 and the multiplexer 530 is not synchronized with the clock signal 601, so that the timing is not taken into consideration. Assume, however, that the output signal setup and hold time of the multiplexer 530 is much shorter than the period of the clock signal 601.

본 발명에 따른 광원 파라미터 저장 회로는 다양한 형태의 디지털 회로 및 아날로그 회로의 조합으로 구현될 수 있으며, 테스트 공정 또는 양산 공정에 의해 생산된 IC(integrated circuit) 칩, 공정 전의 합성 결과, 합성 전단계의 IP(Intellectual Property) 코어 등의 형태로 제공될 수 있다. 따라서 본 발명은 위와 같은 형태, 유사한 형태, 또는 그 중간 단계의 형태로서 제공되는 모든 결과물에 대하여 적용된다.The light source parameter storage circuit according to the present invention may be realized by a combination of various types of digital circuits and analog circuits, and may be implemented by an integrated circuit (IC) chip produced by a test process or a mass production process, (Intellectual Property) core or the like. Accordingly, the present invention is applied to all the products provided in the above-mentioned form, similar form, or intermediate form thereof.

한편, 도 7은 본 발명에 따른 조명 처리 연산 방법을 단계별로 도시한 흐름도이다.Meanwhile, FIG. 7 is a flowchart showing the lighting processing operation method according to the present invention step by step.

도 7의 단계(S710)는 SRAM에 복수의 광원에 대응하는 복수의 광원 파라미터를 저장하는 단계이다. 본 단계는 사용자가 API 함수들을 사용하여 입력할 수 있으며, 사용자는 사용할 광원을 지정함으로써 복수의 광원을 위해 제공되는 저장 공간 중에서 일부 또는 상기 저장 공간 전체를 사용할 수 있다. 따라서, 본 단계는 반드시 복수의 광원이 적용되는 조명 처리 연산에만 적용되는 것이 아니고, 복수의 광원을 위한 광원 파라미터를 저장하는 SRAM 메모리 공간의 전부 또는 일부에 원하는 광원의 광원 파라미터를 저장하는 경우에 일반적으로 적용된다. 따라서 본 단계가 하나의 광원을 사용하는 경우에도 적용될 수 있음은 명백하다.Step S710 of FIG. 7 is a step of storing a plurality of light source parameters corresponding to a plurality of light sources in the SRAM. This step can be entered by the user using the API functions, and the user can use a part of the storage space provided for a plurality of light sources or the entire storage space by designating the light source to be used. Therefore, this step is not necessarily applied to an illumination processing operation in which a plurality of light sources are applied, and it is common in the case of storing light source parameters of a desired light source in all or a part of an SRAM memory space storing light source parameters for a plurality of light sources . It is therefore clear that this step can also be applied to the case of using one light source.

단계(S720)에서는 특정 광원에 대응하는 광원 파라미터 값을 SRAM으로부터 독출한다. 광원 파라미터의 독출을 위해 SRAM의 어드레스 라인에 상기 광원 파라미터가 저장된 SRAM 메모리의 주소값이 실린 상태에서 SRAM의 출력 이네이블 신호가 인가된다.In step S720, the light source parameter value corresponding to the specific light source is read out from the SRAM. The output enable signal of the SRAM is applied while the address value of the SRAM memory storing the light source parameter is stored in the address line of the SRAM in order to read the light source parameter.

이어서, 단계(S730)에서는 초기값 회로에 의해 출력되는 초기값 신호와 단계(S720)에 의해 독출된 광원 파라미터 값 중에서 어느 하나를 선택하여 출력한다. 이와 같은 선택은 멀티플렉서 등으로 구성된 선택 회로에 의해 수행될 수 있으며, 초기값 회로는 고정된 신호값을 출력하는 고정 로직으로 구성될 수 있다.Subsequently, in step S730, an initial value signal output by the initial value circuit and a light source parameter value read by the step S720 are selected and output. Such a selection may be performed by a selection circuit composed of a multiplexer or the like, and the initial value circuit may consist of fixed logic outputting a fixed signal value.

마지막으로 단계(S740)에서는 단계(S730)에 의해 선택되어 출력된 광원 파라미터 값을 이용하여 조명 처리 연산을 수행한다. 조명 처리 연산은 OpenGL 등의 그래픽 라이브러리가 제공하는 소정의 조명 처리 수식에 상기 광원 파라미터 값들을 대입함으로써 수행될 수 있다. 이와 같은 연산의 결과로서 조명 처리 연산 결과가 생성된다.Finally, in step S740, the illumination processing operation is performed using the light source parameter values selected and output in step S730. The illumination processing operation can be performed by substituting the light source parameter values into a predetermined illumination processing expression provided by a graphics library such as OpenGL. As a result of such an operation, an illumination processing operation result is generated.

일실시예에 따르면, 단계(S730)에 의한 출력 신호값이 단계(S740)에 의해 사용되기 위해, 단계(S730)는 단계(S740)보다 적어도 1 사이클 이전에 수행된다. 또한, 단계(S720)에 의한 출력 신호값이 단계(S730)에 의해 사용되기 위해, 단계(S720)는 단계(S730)보다 적어도 1 사이클 이전에 수행된다. 즉, 단계(S720)는 단계(S740)보다 적어도 2 사이클 이전에 수행된다.According to one embodiment, step S730 is performed at least one cycle before step S740, so that the output signal value by step S730 is used by step S740. Also, step S720 is performed at least one cycle before step S730, so that the output signal value by step S720 is used by step S730. That is, step S720 is performed at least two cycles before step S740.

상기 단계(S720) 내지 단계(S740)는 복수의 광원 중에서 특정한 하나의 광원과 관련된 조명 처리 연산을 수행하는 단계이다. 따라서, 본 발명의 또 다른 실시 예에 따르면 복수의 광원 파라미터 각각에 대하여 단계(S720) 내지 단계(S740)를 반복하여 수행함으로써 복수의 광원에 의해 종합적으로 나타나는 조명 효과를 계산할 수 있다.The steps S720 to S740 are the steps of performing illumination processing operations related to a specific one of the plurality of light sources. Therefore, according to another embodiment of the present invention, the steps S720 to S740 may be repeatedly performed for each of the plurality of light source parameters, so that a lighting effect collectively represented by a plurality of light sources can be calculated.

지금까지 도 7을 참조하여 본 발명에 따른 조명 처리 연산 방법에 대하여 설명하였다. 본 발명에 따른 조명 처리 연산 방법에는 도 2 내지 도 6과 관련하여 상술한 실시예들의 세부 내용이 그대로 적용될 수 있으므로 이하 본 방법과 관련된 세부 내용의 설명은 생략하도록 한다.The illumination processing calculation method according to the present invention has been described with reference to FIG. Since details of the embodiments described above with reference to FIGS. 2 to 6 can be directly applied to the illumination processing operation method according to the present invention, detailed description related to the present method will be omitted.

또한, 본 명세서에서는 본 발명에 포함되는 광원 파라미터 저장용 메모리를 스태틱 램에 국한하여 설명하였으나, 본 발명은 일정한 독출 사이클을 갖는 모든 형태의 메모리, 예컨대 DRAM(Dynamic Random Access Memory), NVRAM(Non-Volatile Random Access Memory), 및 플래시 메모리 등의 메모리 회로에 적용될 수 있음을 밝혀 둔다.In the present invention, the memory for storing the light source parameters included in the present invention is limited to the static RAM. However, the present invention can be applied to all kinds of memories having a constant read cycle, for example, a dynamic random access memory (DRAM) Volatile Random Access Memory), and flash memory.

본 발명에 따른 조명 처리 연산 방법 및 앞서 설명한 광원 파라미터 저장 회로의 생성 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(Magnetic Media), CD-ROM, DVD와 같은 광기록 매체(Optical Media), 플롭티컬 디스크(Floptical Disk)와 같은 자기-광 매체(Magneto-Optical Media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다.The illumination processing calculation method and the light source parameter storage circuit generation method according to the present invention may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions recorded on the medium may be those specially designed and constructed for the present invention or may be available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic recording media such as magnetic media such as hard disks, floppy disks and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magnetic recording media such as floppy disks, Optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like.

상기 매체는 프로그램 명령, 데이터 구조 등을 지정하는 신호를 전송하는 반송파를 포함하는 광 또는 금속선, 도파관 등의 전송 매체일 수도 있다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The medium may be a transmission medium such as an optical or metal line, a wave guide, or the like, including a carrier wave for transmitting a signal designating a program command, a data structure, or the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, the present invention has been described with reference to particular embodiments, such as specific elements, and specific embodiments and drawings. However, it should be understood that the present invention is not limited to the above- And various modifications and changes may be made thereto by those skilled in the art to which the present invention pertains.

따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.Accordingly, the spirit of the present invention should not be construed as being limited to the embodiments described, and all of the equivalents or equivalents of the claims, as well as the following claims, belong to the scope of the present invention .

본 발명에 따른 광원 파라미터 저장 회로는 조명 파라미터의 대부분을 차지하는 광원 파라미터를 저장하는 회로의 레지스터 회로를 메모리 회로로 대체함으로 써 광원 파라미터 저장 회로가 차지하는 회로 면적을 절약할 수 있다.The light source parameter storage circuit according to the present invention can save the circuit area occupied by the light source parameter storage circuit by replacing the register circuit of the circuit that stores the light source parameter occupying most of the illumination parameters with the memory circuit.

또한, 본 발명에 따르면 광원 파라미터 저장 회로의 면적 축소에 따라 조명 파라미터 저장 회로, 나아가 전체 조명 처리기의 소형화 및 고집적화를 이룰 수 있다. 또한, 회로 면적이 축소되면 공정 비용과 공정 불량률이 저감되는 효과도 거둘 수 있다.Further, according to the present invention, it is possible to achieve miniaturization and high integration of the illumination parameter storage circuit and further the entire illumination processor according to the area reduction of the light source parameter storage circuit. Also, if the circuit area is reduced, the process cost and the process defect rate can be reduced.

또한, 본 발명에 따르면 광원 파라미터의 초기값을 출력하는 초기값 회로를 포함함으로써 초기값을 정의하고 있는 3차원 그래픽 표준 라이브러리를 효과적으로 지원할 수 있다.In addition, according to the present invention, it is possible to effectively support a three-dimensional graphic standard library that defines an initial value by including an initial value circuit that outputs an initial value of a light source parameter.

Claims (14)

3차원 그래픽 조명 처리 연산에 이용되는 광원 파라미터를 저장하는 회로에 있어서,1. A circuit for storing a light source parameter used in a three-dimensional graphic illumination processing operation, 복수의 광원에 대응하는 복수의 광원 파라미터의 값을 저장하는 메모리 회로를 포함하는 메모리부;A memory unit including a memory circuit for storing values of a plurality of light source parameters corresponding to a plurality of light sources; 상기 복수의 광원 파라미터 각각의 초기값을 출력하는 초기값 회로; 및An initial value circuit for outputting an initial value of each of the plurality of light source parameters; And 상기 메모리부로부터 상기 복수의 광원 중에서 어느 하나에 대응하는 제1 광원 파라미터의 값을 독출하고, 상기 독출된 제1 광원 파라미터 값과 상기 초기값 중에서 어느 하나를 선택하여 제2 광원 파라미터로 출력하는 광원 파라미터 선택부A memory for storing a first light source parameter value corresponding to one of the plurality of light sources and a second light source parameter for selecting one of the first light source parameter value and the initial value, The parameter selector 를 포함하는 것을 특징으로 하는 광원 파라미터 저장 회로.And a light source parameter storage circuit for storing the light source parameter. 제1항에 있어서,The method according to claim 1, 상기 광원 파라미터 선택부는,Wherein the light source parameter selector comprises: 상기 메모리부의 출력 신호와 상기 초기값 회로의 출력 신호 중에서 어느 하나를 선택하여 출력하는 멀티플렉서; 및A multiplexer for selecting one of an output signal of the memory unit and an output signal of the initial value circuit and outputting the selected signal; And 상기 멀티플렉서에 의해 선택된 신호를 입력받아 저장하는 레지스터A register for receiving and storing a signal selected by the multiplexer, 를 포함하는 것을 특징으로 하는 광원 파라미터 저장 회로.And a light source parameter storage circuit for storing the light source parameter. 제1항에 있어서,The method according to claim 1, 상기 광원 파라미터 선택부는 상기 3차원 그래픽 조명 처리 연산이 수행되기 적어도 2 사이클 이전에 상기 메모리부로부터 상기 제1 광원 파라미터의 값을 독출하고, 상기 3차원 조명 처리 연산이 수행되기 적어도 1 사이클 이전에 상기 독출된 상기 제1 광원 파라미터 값과 상기 초기값 중에서 어느 하나를 선택하는 것을 특징으로 하는 광원 파라미터 저장 회로.Wherein the light source parameter selection unit reads the value of the first light source parameter from the memory unit at least two cycles before the three-dimensional graphic illumination processing operation is performed, Wherein the controller selects one of the read first light source parameter value and the initial value. 제1항에 있어서,The method according to claim 1, 상기 초기값 회로는 풀업 저항 또는 풀다운 저항을 이용하여 상기 초기값을 출력하는 것을 특징으로 하는 광원 파라미터 저장 회로.Wherein the initial value circuit outputs the initial value using a pull-up resistor or a pull-down resistor. 청구항 5은(는) 설정등록료 납부시 포기되었습니다.Claim 5 has been abandoned due to the setting registration fee. 제1항에 있어서,The method according to claim 1, 상기 복수의 광원 파라미터는 주변광 강도, 디퓨즈 강도, 스페큘러 강도, 광원의 위치, 광원의 스포트라이트 방향, 감쇠 계수들 중에서 적어도 하나를 포함하는 것을 특징으로 하는 광원 파라미터 저장 회로.Wherein the plurality of light source parameters include at least one of an ambient light intensity, a diffuse intensity, a specular intensity, a position of a light source, a spot light direction of a light source, and attenuation coefficients. 청구항 6은(는) 설정등록료 납부시 포기되었습니다.Claim 6 has been abandoned due to the setting registration fee. 제1항에 있어서,The method according to claim 1, 상기 복수의 광원 파라미터는 3차원 공간상의 정점에서의 조명 효과를 계산하기 위해 이용되는 것을 특징으로 하는 광원 파라미터 저장 회로.Wherein the plurality of light source parameters are used to calculate a lighting effect at a vertex in three-dimensional space. 청구항 7은(는) 설정등록료 납부시 포기되었습니다.Claim 7 has been abandoned due to the setting registration fee. 제1항에 있어서,The method according to claim 1, 광원 파라미터를 이용한 조명 처리 연산 방법에 있어서,In an illumination processing operation method using a light source parameter, 메모리 회로에 복수의 광원에 대응하는 복수의 광원 파라미터를 저장하는 제1 단계;A first step of storing a plurality of light source parameters corresponding to a plurality of light sources in a memory circuit; 상기 메모리 회로로부터 상기 복수의 광원 중에서 어느 하나에 대응하는 제1 광원 파라미터의 값을 독출하는 제2 단계;A second step of reading a value of a first light source parameter corresponding to one of the plurality of light sources from the memory circuit; 초기값 회로에 의하여 출력되는 소정의 초기값과 상기 독출된 상기 제1 광원 파라미터 값 중에서 어느 하나를 제2 광원 파라미터로 선택하는 제3 단계; 및A third step of selecting any one of the predetermined initial value outputted by the initial value circuit and the read-out first light source parameter value as the second light source parameter; And 상기 선택된 상기 제2 광원 파라미터 값을 이용하여 조명 처리 연산 결과를 생성하는 제4 단계And a fourth step of generating an illumination processing operation result using the selected second light source parameter value 를 포함하는 것을 특징으로 하는 조명 처리 연산 방법.Wherein the illumination processing method comprises the steps of: 제8항에 있어서,9. The method of claim 8, 상기 제3 단계는 상기 제4 단계보다 적어도 1 사이클 이전에 수행되는 것을 특징으로 하는 조명 처리 연산 방법.Wherein the third step is performed at least one cycle before the fourth step. 제8항에 있어서,9. The method of claim 8, 상기 제2 단계는 상기 제3 단계보다 적어도 1 사이클 이전에 수행되는 것을 특징으로 하는 조명 처리 연산 방법.Wherein the second step is performed at least one cycle before the third step. 제8항에 있어서,9. The method of claim 8, 상기 복수의 광원 파라미터 각각에 대하여 상기 제2 내지 제4 단계를 반복하여 수행하는 것을 특징으로 하는 조명 처리 연산 방법.And the second to fourth steps are repeatedly performed for each of the plurality of light source parameters. 청구항 12은(는) 설정등록료 납부시 포기되었습니다.Claim 12 is abandoned in setting registration fee. 제8항에 있어서,9. The method of claim 8, 상기 복수의 광원 파라미터는 주변광 강도, 디퓨즈 강도, 스페큘러 강도, 광원의 위치, 광원의 스포트라이트 방향, 감쇠 계수들 중에서 적어도 하나를 포함하는 것을 특징으로 하는 조명 처리 연산 방법.Wherein the plurality of light source parameters include at least one of an ambient light intensity, a diffuse intensity, a specular intensity, a position of a light source, a spot light direction of a light source, and attenuation coefficients. 청구항 13은(는) 설정등록료 납부시 포기되었습니다.Claim 13 has been abandoned due to the set registration fee. 제8항에 있어서,9. The method of claim 8, 상기 메모리 회로는 스태틱 램 메모리 회로인 것을 특징으로 하는 조명 처리 연산 방법.Wherein the memory circuit is a static ram memory circuit. 제8항 내지 제13항 중 어느 하나의 항에 따른 방법을 실행시키기 위한 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체.A computer-readable recording medium recording a program for executing the method according to any one of claims 8 to 13.
KR1020060064907A 2006-07-11 2006-07-11 A light source parameter storage circuit of a three-dimensional graphic and a lighting processing calculation method using the light source parameter Expired - Fee Related KR100834938B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060064907A KR100834938B1 (en) 2006-07-11 2006-07-11 A light source parameter storage circuit of a three-dimensional graphic and a lighting processing calculation method using the light source parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060064907A KR100834938B1 (en) 2006-07-11 2006-07-11 A light source parameter storage circuit of a three-dimensional graphic and a lighting processing calculation method using the light source parameter

Publications (2)

Publication Number Publication Date
KR20080006135A KR20080006135A (en) 2008-01-16
KR100834938B1 true KR100834938B1 (en) 2008-06-03

Family

ID=39220005

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060064907A Expired - Fee Related KR100834938B1 (en) 2006-07-11 2006-07-11 A light source parameter storage circuit of a three-dimensional graphic and a lighting processing calculation method using the light source parameter

Country Status (1)

Country Link
KR (1) KR100834938B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09198525A (en) * 1996-01-16 1997-07-31 Hitachi Ltd Graphic processor and system
US6016149A (en) 1997-06-30 2000-01-18 Sun Microsystems, Inc. Lighting unit for a three-dimensional graphics accelerator with improved processing of multiple light sources
KR20030083962A (en) * 2002-04-24 2003-11-01 주식회사 알오지 Method For Applying Shading Effect To 3D Rendering Images And Information Storage Medium Storing A Program Implementing The Same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09198525A (en) * 1996-01-16 1997-07-31 Hitachi Ltd Graphic processor and system
US6016149A (en) 1997-06-30 2000-01-18 Sun Microsystems, Inc. Lighting unit for a three-dimensional graphics accelerator with improved processing of multiple light sources
KR20030083962A (en) * 2002-04-24 2003-11-01 주식회사 알오지 Method For Applying Shading Effect To 3D Rendering Images And Information Storage Medium Storing A Program Implementing The Same

Also Published As

Publication number Publication date
KR20080006135A (en) 2008-01-16

Similar Documents

Publication Publication Date Title
CN101091203B (en) Graphics processing system and method
CN102439862B (en) Ray tracing device and method
US8706453B2 (en) Techniques for processor/memory co-exploration at multiple abstraction levels
Du et al. Full-speed field-programmable memory BIST architecture
US20130145107A1 (en) Idle power control in multi-display systems
US20140310453A1 (en) Shiftable memory supporting atomic operation
US20110072412A1 (en) Flow and Methodology to Find TDP Power Efficiency
CN110036375A (en) Unordered cache returns
CN1954338A (en) Cancel bit graphics processing system and method
JP2008047124A (en) Method and apparatus for processing computer graphics data
Viitanen et al. MergeTree: A fast hardware HLBVH constructor for animated ray tracing
KR100648293B1 (en) Graphics system and its graphics processing method
KR100834938B1 (en) A light source parameter storage circuit of a three-dimensional graphic and a lighting processing calculation method using the light source parameter
TW201411389A (en) A method or apparatus to perform footprint-based optimization simultaneously with other steps
KR0147706B1 (en) Fast synchronous mask rom
US8705259B2 (en) Resettable memory apparatuses and design
CN104850391A (en) Apparatus and method for processing multiple data sets
JPWO2008032603A1 (en) Image processing apparatus, integrated circuit for image processing, image processing system, input assembler apparatus, integrated circuit for input assembly
JP5467512B2 (en) Behavioral synthesis apparatus, behavioral synthesis method, and behavioral synthesis program
Yang et al. An optimized soft 3D mobile graphics library based on JIT backend compiler
JP2002366944A (en) Image processor
KR20240124399A (en) Cache blocking for dispatch
JPH11162158A (en) Memory device and image generating device
Wilhelmsen Efficient Ray Tracing of Sparse Voxel Octrees on an FPGA
KR20250026143A (en) Reduced pipeline latency for coarse visibility compression

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

D13-X000 Search requested

St.27 status event code: A-1-2-D10-D13-srh-X000

D14-X000 Search report completed

St.27 status event code: A-1-2-D10-D14-srh-X000

E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

St.27 status event code: A-1-2-D10-D21-exm-PE0902

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

R17-X000 Change to representative recorded

St.27 status event code: A-3-3-R10-R17-oth-X000

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

FPAY Annual fee payment

Payment date: 20130422

Year of fee payment: 6

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 6

FPAY Annual fee payment

Payment date: 20140428

Year of fee payment: 7

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 7

FPAY Annual fee payment

Payment date: 20150428

Year of fee payment: 8

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 8

L13-X000 Limitation or reissue of ip right requested

St.27 status event code: A-2-3-L10-L13-lim-X000

U15-X000 Partial renewal or maintenance fee paid modifying the ip right scope

St.27 status event code: A-4-4-U10-U15-oth-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 9

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 10

FPAY Annual fee payment

Payment date: 20180425

Year of fee payment: 11

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 11

FPAY Annual fee payment

Payment date: 20190425

Year of fee payment: 12

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 12

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PC1903 Unpaid annual fee

St.27 status event code: A-4-4-U10-U13-oth-PC1903

Not in force date: 20200529

Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

PC1903 Unpaid annual fee

St.27 status event code: N-4-6-H10-H13-oth-PC1903

Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

Not in force date: 20200529

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载