KR102488073B1 - Graphic processing method generating object by using index table and graphic processing device performing the same - Google Patents

Graphic processing method generating object by using index table and graphic processing device performing the same Download PDF

Info

Publication number
KR102488073B1
KR102488073B1 KR1020220071752A KR20220071752A KR102488073B1 KR 102488073 B1 KR102488073 B1 KR 102488073B1 KR 1020220071752 A KR1020220071752 A KR 1020220071752A KR 20220071752 A KR20220071752 A KR 20220071752A KR 102488073 B1 KR102488073 B1 KR 102488073B1
Authority
KR
South Korea
Prior art keywords
index
face
processor
mesh
graphic processing
Prior art date
Application number
KR1020220071752A
Other languages
Korean (ko)
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 KR1020220071752A priority Critical patent/KR102488073B1/en
Application granted granted Critical
Publication of KR102488073B1 publication Critical patent/KR102488073B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/20Processor architectures; Processor configuration, e.g. pipelining
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/20Finite element generation, e.g. wire-frame surface description, tesselation
    • G06T17/205Re-meshing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Image Generation (AREA)

Abstract

The present invention relates to a graphic processing method for creating an object using an index table and a graphic processing device performing the same. The graphic processing method according to an embodiment of the present invention comprises the steps of: obtaining a first index number to a third index number for the vertices constituting a first face by sequentially checking a first index table containing index numbers for a plurality of vertices and corresponding information on face numbers corresponding to the indexes based on the face numbers; determining first index pairs, which become determination targets among the index pairs on the first index number to the third index number based on a flag binary; generating a second index table by arranging the first index table based on the index numbers; determining first mesh index pairs by examining faces corresponding to the index numbers on the first index pairs which become the determination targets based on the second index table; and generating a mesh object for the first face by drawing a connection line corresponding to the first mesh index pairs. Surfaces can be correctly expressed.

Description

인덱스 테이블을 활용하여 오브젝트를 생성하는 그래픽 처리 방법 및 이를 수행하는 그래픽 처리 장치{GRAPHIC PROCESSING METHOD GENERATING OBJECT BY USING INDEX TABLE AND GRAPHIC PROCESSING DEVICE PERFORMING THE SAME}A graphic processing method for generating an object using an index table and a graphic processing device performing the same

본 발명은 3D 오브젝트를 생성하는 그래픽 처리 방법 및 이를 수행하는 그래픽 처리 장치에 관한 것이다.The present invention relates to a graphic processing method for generating a 3D object and a graphic processing device for performing the same.

디지털 트윈이란 컴퓨터 상에 현실의 사물의 쌍둥이를 만들고, 현실에서 발생할 수 있는 상황을 컴퓨터로 시뮬레이션 함으로써 결과를 미리 예측하는 기술을 말한다. 이러한 디지털 트윈은 제조업뿐 아니라 다양한 산업, 사회 등의 문제를 해결할 수 있는 기술로 주목 받고 있다. 기본적으로 다양한 물리적 시스템의 구조, 맥락, 작동을 나타내는 데이터와 정보의 조합으로, 과거와 현재의 운용 상태를 이해하고 미래를 예측할 수 있는 인터페이스라고 할 수 있다.Digital twin refers to a technology that predicts the result in advance by creating a twin of a real object on a computer and simulating a situation that may occur in reality with a computer. These digital twins are attracting attention as a technology that can solve problems not only in manufacturing but also in various industries and societies. Basically, it is a combination of data and information representing the structure, context, and operation of various physical systems. It is an interface that allows us to understand past and current operating conditions and predict the future.

한편, 실내 건축 디자인이란 실내 공간 디자인을 의미하는 것으로서, 실내 디자인, 인테리어 디자인 또는 인테리어라는 단어로 통용되고 있으며, 건축물의 내부를 각각의 목적과 용도에 맞게 계획하고 형태화하는 작업을 뜻한다. 이러한 실내 건축 디자인의 문제점은 실제 구조에 가장 적합한 디자인을 선택하고, 적합한 실내 배치를 수행해야 하지만, 실제로 지어지지 않거나 확인하지 않은 실내에 대해서 디자인을 수행하는 경우가 대부분이라서, 오브젝트(객체)에 대한 정확한 질감 표현이 어렵다.On the other hand, interior architectural design refers to interior space design, and is commonly used as the word interior design, interior design, or interior, and refers to the work of planning and shaping the interior of a building to suit each purpose and use. The problem with such interior architectural design is that the design most suitable for the actual structure must be selected and suitable interior arrangement must be performed, but in most cases the design is performed for an interior that has not been actually built or confirmed, It is difficult to express the exact texture.

또한, 기술의 발전에 따라서 그래픽이 고화질로 개선됨에 따라서 처리되어야 하는 연산량이 높아졌고, 그래픽 처리에 오랜 시간이 소요되게 되었다. 이에 따라서 그래픽 처리에 필요한 연산량을 줄임으로써 처리 속도를 개선하고자 하는 니즈가 높아졌다.In addition, as graphics have improved to a higher quality with the development of technology, the amount of calculations to be processed has increased, and it takes a long time to process graphics. Accordingly, the need to improve the processing speed by reducing the amount of calculation required for graphic processing has increased.

본 발명의 목적은, 메쉬 오브젝트 생성에 필요한 연산량을 줄이고, 정확한 질감 표현을 수행하는 그래픽 처리 방법을 제공하는 것이다.An object of the present invention is to provide a graphic processing method that reduces the amount of computation required to generate a mesh object and performs accurate texture expression.

본 발명의 기술적 사상에 따른 그래픽 처리 방법은 복수의 정점들에 대한 인덱스 넘버 및 상기 인덱스에 대응하는 페이스 넘버에 대한 대응 정보를 포함하는 제1 인덱스 테이블을 상기 페이스 넘버를 기준으로 순차적으로 확인함으로써 제1 페이스를 구성하는 정점들에 대한 제1 인덱스 넘버 내지 제3 인덱스 넘버를 획득하는 단계, 플래그 바이너리를 기초로 상기 제1 인덱스 넘버 내지 제3 인덱스 넘버에 대한 인덱스 쌍들 중 판단 대상이 되는 제1 인덱스 쌍들을 결정하는 단계, 상기 제1 인덱스 테이블을 상기 인덱스 넘버를 기준으로 정리함으로써 제2 인덱스 테이블을 생성하는 단계, 상기 제2 인덱스 테이블을 기초로 상기 판단 대상이 되는 제1 인덱스 쌍들에 대한 인덱스 넘버들에 대응하는 페이스들을 조사함으로써 제1 메쉬 인덱스 쌍을 결정하는 단계 및 상기 제1 메쉬 인덱스 쌍에 대응하는 연결선을 그림으로써 상기 제1 페이스에 대한 메쉬 오브젝트를 생성하는 단계를 포함할 수 있다.A graphic processing method according to a technical concept of the present invention sequentially checks a first index table including index numbers of a plurality of vertices and corresponding information on face numbers corresponding to the indexes based on the face numbers. Obtaining first to third index numbers for vertices constituting one face, a first index to be determined among index pairs for the first to third index numbers based on a flag binary Determining pairs, generating a second index table by arranging the first index table based on the index number, index numbers for the first index pairs to be determined based on the second index table Determining a first mesh index pair by examining faces corresponding to the first mesh index pair and generating a mesh object for the first face by drawing a connection line corresponding to the first mesh index pair.

일 실시예에서, 상기 판단 대상이 되는 인덱스 쌍들을 결정하는 단계는, 상기 제1 페이스에 대한 플래그 바이너리를 획득하는 단계, 상기 플래그 바이너리 중 상기 인덱스 쌍들에 대응하는 바이너리를 확인하는 단계, 상기 바이너리의 값을 기초로 상기 인덱스 쌍들 중 판단 대상이 되는 제1 인덱스 쌍을 결정하는 단계를 포함할 수 있다.In one embodiment, the determining of the index pairs to be determined may include obtaining a flag binary for the first face, identifying a binary corresponding to the index pairs among the flag binaries, The method may include determining a first index pair to be determined among the index pairs based on the value.

일 실시예에서, 상기 제1 인덱스 쌍은 상기 제1 인덱스 넘버 및 제2 인덱스 넘버를 포함하는 인덱스 쌍을 포함하고, 상기 메쉬 인덱스 쌍을 결정하는 단계는, 상기 제2 인덱스 테이블을 순차적으로 확인함으로써 상기 제1 인덱스 넘버에 대응하는 제2 페이스를 결정하는 단계 및 상기 제1 인덱스 넘버 및 상기 제2 인덱스 넘버로 구성되는 인덱스 쌍이 상기 제2 페이스에 포함되는지 판단하는 단계, 상기 판단 결과에 기초하여, 상기 제1 인덱스 넘버 및 상기 제2 인덱스 넘버로 구성되는 인덱스 쌍을 상기 메쉬 인덱스 쌍으로 결정하는 단계를 포함할 수 있다.In one embodiment, the first index pair includes an index pair including the first index number and the second index number, and the determining of the mesh index pair is performed by sequentially checking the second index table. Determining a second face corresponding to the first index number and determining whether an index pair consisting of the first index number and the second index number is included in the second face, Based on the determination result, The method may include determining an index pair composed of the first index number and the second index number as the mesh index pair.

일 실시예에서, 상기 제1 인덱스 넘버 및 상기 제2 인덱스 넘버로 구성되는 인덱스 쌍을 상기 제1 메쉬 인덱스 쌍으로 결정하는 단계는, 상기 제1 인덱스 넘버 및 상기 제2 인덱스 넘버로 구성되는 인덱스 쌍이 상기 제2 페이스에 포함되지 않는 경우에만 상기 제1 인덱스 넘버 및 상기 제2 인덱스 넘버로 구성되는 인덱스 쌍을 상기 메쉬 인덱스 쌍으로 결정하는 단계를 포함할 수 있다.In one embodiment, the step of determining an index pair consisting of the first index number and the second index number as the first mesh index pair, the index pair consisting of the first index number and the second index number and determining an index pair consisting of the first index number and the second index number as the mesh index pair only when the second face is not included.

일 실시예에서, 제3 페이스를 구성하는 정점들에 대한 제4 인덱스 넘버 내지 제6 인덱스 넘버를 획득하는 단계, 상기 플래그 바이너리를 기초로 상기 제4 인덱스 넘버 내지 제6 인덱스 넘버에 대한 판단 대상이 되는 제2 인덱스 쌍들을 결정하는 단계, 상기 제2 인덱스 테이블을 기초로 상기 판단 대상이 되는 제2 인덱스 쌍들에 대한 인덱스 넘버들에 대응하는 페이스들을 조사함으로써 제2 메쉬 인덱스 쌍을 결정하는 단계 및 상기 제2 메쉬 인덱스 쌍들에 대응하는 연결선을 그림으로써 상기 제2 페이스에 대한 메쉬 오브젝트를 생성하는 단계를 더 포함할 수 있다.In one embodiment, obtaining fourth to sixth index numbers for vertices constituting a third face, a determination target for the fourth to sixth index numbers based on the flag binary Determining second index pairs, determining a second mesh index pair by examining faces corresponding to index numbers of the second index pairs to be determined based on the second index table; and The method may further include generating a mesh object for the second face by drawing connection lines corresponding to second mesh index pairs.

일 실시예에서, 상기 제2 페이스에 대한 메쉬 오브젝트를 생성하는 단계는, 정점의 좌표를 고려하여, 상기 제2 메쉬 인덱스 쌍에 대응하는 연결선이 이미 그려진 연결선인지 여부를 확인하는 단계, 상기 제2 메쉬 인덱스 쌍에 대응하는 연결선이 이미 그려진 연결선이 아닌 경우에만, 상기 제2 메쉬 인덱스 쌍들에 대응하는 연결선을 그림으로써 상기 제2 페이스에 대한 메쉬 오브젝트를 생성하는 단계를 포함할 수 있다. In one embodiment, the generating of the mesh object for the second face may include determining whether a connection line corresponding to the second mesh index pair is an already drawn connection line in consideration of coordinates of vertices; Creating a mesh object for the second face by drawing connection lines corresponding to the second mesh index pairs only when connection lines corresponding to mesh index pairs are not already drawn connection lines.

일 실시예에서, 상기 제1 페이스에 대한 재질 정보를 획득하는 단계 및 상기 재질 정보 및 재질 치환 테이블을 기초로 상기 제1 페이스에 대한 표면 데이터를 결정하는 단계, 결정한 표면 데이터를 상기 메쉬 오브젝트에 대응시킴으로써 오브젝트를 생성하는 단계를 더 포함할 수 있다.In an embodiment, the step of acquiring material information about the first face, determining surface data of the first face based on the material information and a material substitution table, and corresponding the determined surface data to the mesh object. By doing so, a step of generating an object may be further included.

일 실시예에서, 상기 제1 페이스에 대한 위치 정보를 획득하는 단계, 상기 위치 정보를 기초로 상기 제1 페이스에 조사되는 광량 정보를 획득하는 단계 및 상기 재질 정보 및 상기 광량 정보를 기초로 상기 제1 페이스에 대한 표면 데이터를 변경하는 단계를 더 포함할 수 있다. In an embodiment, the step of obtaining location information on the first face, obtaining information on the amount of light irradiated on the first face based on the location information, and obtaining information on the amount of light irradiated on the first face based on the material information and the amount of light information. A step of changing surface data for one face may be further included.

일 실시예에서, 상기 제1 인덱스 테이블은 상기 페이스 넘버를 기준으로 오름차순 정렬된 인덱스 테이블이고, 상기 제2 인덱스 테이블은 상기 인덱스 넘버를 기준으로 오름차순 정렬된 인덱스 테이블인 것을 특징으로 할 수 있다. In one embodiment, the first index table may be an index table sorted in ascending order based on the face number, and the second index table may be an index table sorted in ascending order based on the index number.

본 발명의 기술적 사상에 따르면, 인덱스 넘버 기준으로 정렬된 인덱스 테이블을 페이스 넘버 기준으로 정렬하고, 정렬된 인덱스 테이블을 활용하여 메쉬 오브젝트를 생성함으로써 메쉬 오브젝트를 생성하는데 필요한 연산량을 감소시킬 수 있고, 이에 따라서 빠른 연산을 통해 메쉬 오브젝트를 생성할 수 있다. According to the technical idea of the present invention, the amount of calculation required to create a mesh object can be reduced by sorting the index table sorted based on the index number based on the face number and generating the mesh object using the sorted index table. Therefore, mesh objects can be created through fast calculations.

또한, 본 발명의 일 실시예에 따르면, 재질 정보를 기초로 메쉬 오브젝트를 렌더링함으로써 정확한 표면 표현이 가능하다.In addition, according to an embodiment of the present invention, accurate surface representation is possible by rendering a mesh object based on material information.

도 1은 본 발명의 예시적 실시예에 따른 그래픽 처리 장치를 나타낸 블록도이다.
도 2는 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다.
도 3은 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다.
도 4는 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다.
도 5는 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다.
도 6은 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다.
도 7은 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 도면이다.
도 8은 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 도면이다.
도 9는 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다.
도 10은 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 도면이다.
도 11은 본 발명의 예시적 실시예에 따른 컴퓨팅 시스템을 나타낸 블록도이다.
1 is a block diagram illustrating a graphics processing device according to an exemplary embodiment of the present invention.
2 is a flowchart illustrating a graphics processing method according to an exemplary embodiment of the present invention.
3 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention.
4 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention.
5 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention.
6 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention.
7 is a diagram illustrating a graphic processing method according to an exemplary embodiment of the present invention.
8 is a diagram illustrating a graphic processing method according to an exemplary embodiment of the present invention.
9 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention.
10 is a diagram illustrating a graphic processing method according to an exemplary embodiment of the present invention.
11 is a block diagram illustrating a computing system according to an exemplary embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예들을 상세히 설명한다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명의 기술적 사상은 이하의 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 이하의 실시예들은 본 발명의 기술적 사상을 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 본 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명의 기술적 사상은 청구항의 범주에 의해 정의될 뿐이다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Advantages and features of the present invention, and methods of achieving them, will become clear with reference to the detailed description of the following embodiments taken in conjunction with the accompanying drawings. However, the technical idea of the present invention is not limited to the following embodiments and can be implemented in various different forms, only the following embodiments complete the technical idea of the present invention, and in the technical field to which the present invention belongs It is provided to fully inform those skilled in the art of the scope of the present invention, and the technical spirit of the present invention is only defined by the scope of the claims.

각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다.In adding reference numerals to components of each drawing, it should be noted that the same components have the same numerals as much as possible even if they are displayed on different drawings. In addition, in describing the present invention, if it is determined that a detailed description of a related known configuration or function may obscure the gist of the present invention, the detailed description will be omitted.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다. 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다.Unless otherwise defined, all terms (including technical and scientific terms) used in this specification may be used in a meaning commonly understood by those of ordinary skill in the art to which the present invention belongs. In addition, terms defined in commonly used dictionaries are not interpreted ideally or excessively unless explicitly specifically defined. Terminology used herein is for describing the embodiments and is not intended to limit the present invention. In this specification, singular forms also include plural forms unless specifically stated otherwise in a phrase.

또한, 본 발명의 구성 요소를 설명하는 데 있어서, 제1, 제2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 또는 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.In addition, in describing the components of the present invention, terms such as first, second, A, B, (a), and (b) may be used. These terms are only used to distinguish the component from other components, and the nature, order, or order of the corresponding component is not limited by the term. When an element is described as being “connected,” “coupled to,” or “connected” to another element, that element is directly connected or connectable to the other element, but there is another element between the elements. It will be understood that elements may be “connected”, “coupled” or “connected”.

본 발명에서 사용되는 "포함한다 (comprises)" 및/또는 "포함하는 (comprising)"은 언급된 구성 요소, 단계, 동작 및/또는 소자는 하나 이상의 다른 구성 요소, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다.As used herein, "comprises" and/or "comprising" means that a stated component, step, operation, and/or element is one or more other components, steps, operations, and/or elements. Existence or additions are not excluded.

어느 하나의 실시예에 포함된 구성요소와, 공통적인 기능을 포함하는 구성 요소는, 다른 실시예에서 동일한 명칭을 사용하여 설명될 수 있다. 반대되는 기재가 없는 이상, 어느 하나의 실시예에 기재된 설명은 다른 실시예에도 적용될 수 있으며, 중복되는 범위 또는 당해 기술 분야에 속한 통상의 기술자가 자명하게 이해할 수 있는 범위 내에서 구체적인 설명은 생략될 수 있다.Components included in one embodiment and components including common functions may be described using the same names in other embodiments. Unless stated to the contrary, descriptions described in one embodiment may be applied to other embodiments, and detailed descriptions will be omitted to the extent of overlapping or to the extent that those skilled in the art can clearly understand. can

이하, 본 발명의 몇몇 실시예들에 대하여 첨부된 도면에 따라 상세하게 설명한다.Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings.

이하, 본 발명의 바람직한 실시예 및 첨부한 도면을 참조하여 본 발명에 대해 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to preferred embodiments and accompanying drawings of the present invention.

도 1은 본 발명의 예시적 실시예에 따른 그래픽 처리 장치를 나타낸 블록도이다.1 is a block diagram illustrating a graphics processing device according to an exemplary embodiment of the present invention.

도 1을 참조하면, 그래픽 처리 장치(10)는 그래픽 처리 방법을 수행하는 서버(Server) 및 상기 서버를 운용하는 운용 컴퓨터 등을 통칭할 수 있다. 일 실시예에서, 그래픽 처리 장치(10)는 웹사이트, 어플리케이션(Application) 등의 응용 프로그램을 이용하여 그래픽 처리 방법을 수행 할 수 있고, 본 명세서에서 그래픽 처리 장치(10) 또는 그래픽 처리 장치(10)에 포함되는 구성이 하는 동작은 실제로 그래픽 처리 장치(10)의 저장 장치에 내장된 응용 프로그램을 이용하여 그래픽 처리 장치(10)의 프로세서가 수행하는 동작일 수 있다. Referring to FIG. 1 , the graphic processing device 10 may collectively refer to a server that performs a graphic processing method and an operating computer that operates the server. In one embodiment, the graphic processing unit 10 may perform a graphic processing method using an application program such as a website or an application. In this specification, the graphic processing unit 10 or the graphic processing unit 10 An operation performed by a component included in ) may actually be an operation performed by a processor of the graphic processing unit 10 using an application program stored in a storage unit of the graphic processing unit 10 .

상기 저장 장치는 비휘발성 메모리, 휘발성 메모리, 플래시메모리(flash-memory), 하드디스크 드라이브(HDD) 또는 솔리드 스테이트 드라이브(SSD) 등을 포함할 수 있다. 또한, 상기 프로세서는 CPU(Central Processing Unit), GPU(Graphic Processing Unit), NPU(Neural Processing Unit), 램(RAM), 롬(ROM), 시스템 버스 및 애플리케이션 프로세서 중 적어도 하나를 포함할 수 있다. The storage device may include a non-volatile memory, a volatile memory, a flash-memory, a hard disk drive (HDD), or a solid state drive (SSD). Also, the processor may include at least one of a Central Processing Unit (CPU), a Graphic Processing Unit (GPU), a Neural Processing Unit (NPU), a RAM, a ROM, a system bus, and an application processor.

그래픽 처리 장치(10)은 각종 장치(예를 들면, 사용자의 단말)과 유무선 통신망을 통해 연결될 수 있고, 랩탑(Laptop), PC(Personal Computer), 네비게이션, PCS(Personal Communication System), GSM(Global System for Mobile communications), PDC(Personal Digital Cellular), PHS(Personal Handyphone System), PDA(Personal Digital Assistant), IMT(International Mobile Telecommunication)-2000, CDMA(Code Division Multiple Access)-2000, W-CDMA(W-Code Division Multiple Access), Wibro(Wireless Broadband Internet) 단말, 스마트 패드(Smartpad), 타블렛 PC(Tablet PC), 셀룰러 폰(Cellular Phone), 스마트 폰(Smart phone) 중 어느 하나로 구성될 수 있다. The graphic processing unit 10 may be connected to various devices (eg, a user's terminal) through a wired or wireless communication network, and may be connected to a laptop, a personal computer (PC), a navigation system, a personal communication system (PCS), a global System for Mobile communications), Personal Digital Cellular (PDC), Personal Handyphone System (PHS), Personal Digital Assistant (PDA), International Mobile Telecommunication (IMT)-2000, Code Division Multiple Access (CDMA)-2000, W-CDMA ( W-Code Division Multiple Access), Wibro (Wireless Broadband Internet) terminal, smart pad (Smartpad), tablet PC (Tablet PC), cellular phone (Cellular Phone), smart phone (Smart phone).

그래픽 처리 장치(10)는 메쉬 오브젝트 생성부(100) 및 렌더링부(200)를 포함할 수 있고, 메쉬 오브젝트 생성부(100)는 오브젝트의 외면을 구성하는 페이스들에 대한 정보(예를 들면, 정점들)를 기초로 메쉬 형태로 구성된 메쉬 오브젝트를 생성할 수 있다. 또한, 렌더링부(200)는 메쉬 오브젝트에 표면 이미지를 렌더링함으로써 오브젝트를 생성할 수 있다. 본 명세서에서, 오브젝트는 디스플레이 대상이 되는 객체를 의미하고, 페이스는 오브젝트를 구성하는 3개의 정점(vertex)로 구성된 삼각형을 의미할 수 있고, 인덱스 또는 인덱스 넘버는 페이스를 구성하는 정점을 구분하기 위해 차례로 매긴 색인 값을 의미할 수 있고, 메쉬 오브젝트는 외곽선 만으로 구성된 오브젝트를 의미할 수 있다. The graphic processing device 10 may include a mesh object generator 100 and a renderer 200, and the mesh object generator 100 may include information about faces constituting an outer surface of an object (eg, Vertices) may be used to create a mesh object configured in a mesh form. Also, the rendering unit 200 may generate an object by rendering a surface image on a mesh object. In this specification, an object means an object to be displayed, a face may mean a triangle composed of three vertices constituting the object, and an index or index number is used to distinguish vertices constituting the face. It may mean an index value numbered sequentially, and a mesh object may mean an object composed of only outlines.

메쉬 오브젝트 생성부(100)는 메쉬 인덱스 쌍 결정부(110), 인덱스 테이블 정렬부(120) 및 메쉬 오브젝트 생성부(130)를 포함할 수 있다. 메쉬 인덱스 쌍 결정부(110)는 메쉬 오브젝트에 표현되는 외곽선을 결정할 수 있다. 본 명세서에서 인덱스 쌍은 페이스를 구성하는 어느 두개의 인덱스를 의미할 수 있고, 메쉬 인덱스 쌍은 메쉬 오브젝트에 외곽선으로 표현되는 인덱스 쌍을 의미할 수 있다.The mesh object generator 100 may include a mesh index pair determiner 110 , an index table sorter 120 and a mesh object generator 130 . The mesh index pair determiner 110 may determine an outline expressed in a mesh object. In this specification, an index pair may mean any two indexes constituting a face, and a mesh index pair may mean an index pair expressed as an outline of a mesh object.

메쉬 오브젝트(110)는 인덱스 테이블을 기초로 메쉬 인덱스 쌍을 결정할 수 있다. 일 실시예에서, 인덱스 테이블 정렬부(120)는 인덱스 별 페이스 넘버에 대해서, 인덱스 넘버를 기준으로 정렬된 제1 인덱스 테이블과, 페이스 넘버를 기준으로 정렬된 제2 인덱스 테이블을 생성할 수 있고, 메쉬 오브젝트(110)는 제1 인덱스 테이블을 기초로 페이스를 구성하는 인덱스 넘버를 색인하고, 제2 인덱스 테이블을 기초로 인덱스 넘버 별 페이스를 색인하여, 중복되는 외곽선을 검출할 수 있다. 메쉬 오브젝트 생성부(130)는 메쉬 인덱스 쌍으로 결정된 인덱스 쌍에 대해서 외곽선을 그림으로써 메쉬 오브젝트를 생성할 수 있다. The mesh object 110 may determine a mesh index pair based on the index table. In one embodiment, the index table sorting unit 120 may create a first index table sorted based on the index number and a second index table sorted based on the face number, with respect to face numbers for each index, The mesh object 110 may detect overlapping outlines by indexing index numbers constituting faces based on the first index table and indexing faces for each index number based on the second index table. The mesh object creation unit 130 may generate a mesh object by drawing an outline for an index pair determined as a mesh index pair.

본 개시의 기술적 사상에 따르면, 서로 다른 기준으로 정렬된 두 개의 인덱스 테이블을 활용하여 메쉬 인덱스 쌍을 결정함으로써 색인 속도가 빠르게 수행될 수 있고, 결과적으로 오브젝트 렌더링 속도가 개선될 수 있다. According to the technical idea of the present disclosure, by determining a mesh index pair by utilizing two index tables aligned with different criteria, indexing speed can be quickly performed, and as a result, object rendering speed can be improved.

렌더링부(200)는 표면 이미지 결정부(210) 및 오브젝트 생성부(220)를 포함할 수 있다. 본 명세서에서 렌더링은 수치와 방정식으로 서술된 2차원 혹은 3차원 데이터를 사람이 인지 가능한 영상으로 변환하는 과정을 의미하고, 그 중에서 렌더링부(200)는 메쉬 오브젝트에 대해 표면 이미지를 입힘으로써 사실적인 오브젝트를 생성하는 역할을 수행할 수 있다.The rendering unit 200 may include a surface image determining unit 210 and an object generating unit 220 . In this specification, rendering refers to a process of converting two-dimensional or three-dimensional data described in numbers and equations into human-perceivable images. It can play a role in creating objects.

표면 이미지 결정부(210)는 페이스의 재질 정보 및 위치 정보를 기초로 사실적인 재질과 위치에 맞는 광량을 입힌 표면 이미지를 결정하고, 페이스에 대응시킬 수 있다. 오브젝트 생성부(220)는 표면 이미지를 대응하는 페이스에 입힘으로써 렌더링된 이미지를 생성할 수 있다.The surface image determination unit 210 may determine a surface image coated with a realistic material and a light amount suitable for a position based on material information and location information of the face, and may correspond to the face. The object generator 220 may generate a rendered image by applying a surface image to a corresponding face.

본 개시의 일 실시예에 따르면, 재질 정보와 위치 정보에 기반하여 렌더링을 수행함으로써 사실적인 이미지의 렌더링이 수행될 수 있다.According to an embodiment of the present disclosure, rendering of a realistic image may be performed by performing rendering based on material information and location information.

도 2는 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다.2 is a flowchart illustrating a graphics processing method according to an exemplary embodiment of the present invention.

도 1 및 도 2를 참조하면, 그래픽 처리 장치(10)는 복수의 인덱스 테이블들을 기초로 메쉬 오브젝트를 생성할 수 있다(S10). 일 실시예에서, 그래픽 처리 장치(10)는 페이스 순으로 정렬된 제1 인덱스 테이블을 기초로 페이스에 대응하는 인덱스 넘버들을 색인하고, 정점에 대한 인덱스 넘버 순으로 정렬된 제2 인덱스 테이블을 기초로 색인된 인덱스 넘버들 각각에 대응하는 페이스들을 색인함으로써 중복된 외곽선을 빠르게 검출할 수 있다.Referring to FIGS. 1 and 2 , the graphic processing device 10 may generate a mesh object based on a plurality of index tables (S10). In one embodiment, the graphic processing unit 10 indexes index numbers corresponding to faces based on a first index table arranged in face order, and indexes index numbers corresponding to vertices based on a second index table arranged in order of index numbers for vertices. Duplicate outlines can be quickly detected by indexing faces corresponding to each indexed index number.

그래픽 처리 장치(10)는 메쉬 오브젝트의 페이스 별 재질 정보를 기초로 렌더링을 수행함으로써 오브젝트를 생성할 수 있다(S20). 일 실시예에서, 그래픽 처리 장치(10)는 페이스 별 재질 정보 및 위치 정보를 수신하고, 이에 대응하는 표면 이미지 데이터를 선택함으로써 사실적인 이미지를 구현할 수 있다.The graphic processing device 10 may generate an object by performing rendering based on material information for each face of the mesh object (S20). In one embodiment, the graphic processing device 10 may implement a realistic image by receiving material information and location information for each face and selecting surface image data corresponding thereto.

도 3은 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다. 상세하게는 도 3은 메쉬 오브젝트 생성 방법(도 2, S10)을 나타낸다. 3 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention. In detail, FIG. 3 shows a mesh object generating method (FIG. 2, S10).

도 1 및 도 3을 참조하면, 그래픽 처리 장치(10)는 제1 인덱스 테이블을 기초로 제1 페이스에 대한 인덱스 넘버들을 획득할 수 있다(S110). 제1 페이스는 오브젝트를 구성하는 페이스들 중 현재 처리 대상이 되는 페이스를 나타낼 수 있고, 제1 인덱스 테이블은 페이스 넘버 순으로 대응되는 인덱스 넘버들이 정렬되어 있어서 제1 인덱스 테이블을 활용하면 제1 페이스에 대응되는 인덱스 넘버들을 용이하게 색인할 수 있다. Referring to FIGS. 1 and 3 , the graphic processing device 10 may obtain index numbers for the first face based on the first index table (S110). The first face may indicate a face that is currently being processed among faces constituting an object, and the first index table has corresponding index numbers sorted in the order of face numbers. Corresponding index numbers can be easily indexed.

그래픽 처리 장치(10)는 플래그 바이너리를 기초로 인덱스 넘버들에 대한 인덱스 쌍들 중 판단 대상이 되는 제1 인덱스 쌍들을 결정할 수 있다(S120). 본 명세서에서 플래그 바이너리는 인덱스 쌍들 중 메쉬 오브젝트의 외곽선으로 그려지는 인덱스 쌍들에 대한 정보를 포함하는 바이너리일 수 있다. 개발자의 의도에 따라서 외곽선으로 그릴지 여부를 판단하는 대상이 되는 인덱스 쌍들이 별도로 결정될 수 있고, 그래픽 처리 장치(10)는 플래그 바이너리의 로직 값을 기초로 대응되는 인덱스 쌍들을 판단 대상이 되는 제1 인덱스 쌍들로 결정할 수 있다. The graphic processing device 10 may determine first index pairs to be determined among index pairs of index numbers based on the flag binary (S120). In this specification, the flag binary may be a binary including information about index pairs drawn as outlines of a mesh object among index pairs. Depending on the intention of the developer, index pairs that are targets for determining whether to draw outlines may be separately determined, and the graphics processing device 10 determines the corresponding index pairs based on the logic value of the flag binary. It can be determined by index pairs.

그래픽 처리 장치(10)는 제1 인덱스 테이블을 인덱스 넘버를 기준으로 정렬함으로써 제2 인덱스 테이블을 생성할 수 있다(S130). 일 예시에서, 그래픽 처리 장치(10)는 제1 인덱스 테이블을 인덱스 넘버에 대한 오름차순 정렬을 수행함으로써 제2 인덱스 테이블을 생성할 수 있다.The graphic processing device 10 may create a second index table by sorting the first index table based on the index number (S130). In one example, the graphic processing unit 10 may generate the second index table by sorting the first index table in ascending order of index numbers.

그래픽 처리 장치(10)는 제2 인덱스 테이블을 기초로 제1 인덱스 쌍들에 포함된 인덱스 넘버들에 대응하는 페이스들을 조사하여 중복되지 않은 제1 인덱스 쌍들을 제1 메쉬 인덱스 쌍들로 결정할 수 있다(S140). 일 예시에서, 어느 한 변을 공유하는 페이스들에 대해서는 외곽선을 그리지 않을 필요가 있을 수 있고, 한 변이 공유됨에 따라서 두 번 중복된 외곽선을 그리지 않을 필요가 있다. 본 개시의 일 실시예에 따르면, 그래픽 처리 장치(10)는 인덱스 쌍들의 중복 여부를 인덱스 넘버로 정렬된 제2 인덱스 테이블에 기초하여 색인함으로써 색인하기 위한 시간이 감소할 수 있고, 이에 따라서 렌더링 속도가 개선될 수 있다.The graphics processing device 10 may determine non-overlapping first index pairs as first mesh index pairs by examining faces corresponding to index numbers included in the first index pairs based on the second index table (S140). ). In one example, it may be necessary not to draw an outline for faces sharing a side, and as a side is shared, it is necessary not to draw an outline duplicated twice. According to an embodiment of the present disclosure, the graphic processing device 10 indexes whether index pairs are duplicated based on the second index table sorted by index number, so that the indexing time can be reduced, and thus the rendering speed. can be improved.

그래픽 처리 장치(10)는 결정된 메쉬 인덱스 쌍들에 대응하는 연결선을 그림으로써 제1 페이스에 대한 메쉬 오브젝트를 생성할 수 있다(S150).The graphic processing device 10 may create a mesh object for the first face by drawing connection lines corresponding to the determined mesh index pairs (S150).

도 4는 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다. 상세하게는, 도 4는 플래그 바이너리에 기초한 메쉬 인덱스 쌍들을 결정하는 방법(도 3, S120)을 나타낸다.4 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention. In detail, FIG. 4 shows a method of determining mesh index pairs based on flag binary (FIG. 3, S120).

도 1 및 도 4를 참조하면, 그래픽 처리 장치(10)는 제1 페이스에 대한 플래그 바이너리를 획득할 수 있다(S121). 그래픽 처리 장치(10)는 플래그 바이너리 중 인덱스 쌍들에 대응하는 바이너리를 확인할 수 있고(S122), 바이너리 값을 기초로 인덱스 쌍들 중 판단 대상이 되는 제1 인덱스 쌍을 결정할 수 있다. Referring to FIGS. 1 and 4 , the graphic processing device 10 may obtain a flag binary for the first face (S121). The graphic processing device 10 may check binaries corresponding to index pairs among the flag binaries (S122), and may determine a first index pair to be determined among the index pairs based on the binary value.

일 예시에서, 플래그 바이너리는 하나의 페이스를 구성하는 3개의 인덱스 쌍들에 대응되도록 3비트로 구성될 수 있다. 플래그 바이너리가 '110'인 경우, 첫번째 바이너리와 두번째 바이너리가 '1'이므로 제1 페이스를 구성하는 제1 인덱스 쌍과 제2 인덱스 쌍은 판단 대상이 되는 제1 인덱스 쌍으로 결정하고, 세번째 바이너리가 '0'이므로 제1 페이스를 구성하는 제3 인덱스 쌍은 판단 대상으로 결정하지 않을 수 있다.In one example, the flag binary may be composed of 3 bits to correspond to 3 index pairs constituting one face. When the flag binary is '110', since the first binary and the second binary are '1', the first index pair and the second index pair constituting the first face are determined as the first index pair to be determined, and the third binary is Since it is '0', the third index pair constituting the first face may not be determined as a judgment target.

도 5는 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다. 상세하게는, 도 5는 제2 인덱스 테이블을 기초로 중복된 인덱스 쌍들에 대해 메쉬 인덱스 쌍들로부터 제외하는 단계(도 3, S140)를 나타낸다.5 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention. In detail, FIG. 5 shows a step of excluding overlapping index pairs from mesh index pairs based on the second index table (FIG. 3, S140).

도 1 및 도 5를 참조하면, 제1 페이스에서 제1 인덱스 넘버와 제2 인덱스 넘버가 인덱스 쌍을 이루고 있는 예시에서, 그래픽 처리 장치(10)는 제2 인덱스 테이블을 인덱스 넘버 순으로 순차적으로 확인함으로써 제1 인덱스 넘버에 대응하는 제2 페이스를 색인할 수 있다(S141). 그래픽 처리 장치(10)는 제1 페이스에서 인덱스 쌍을 이루고 있는 제1 인덱스 넘버 및 제2 인덱스 넘버가 제2 페이스에서도 인덱스 쌍을 이루고 있는지 판단할 수 있다(S142). Referring to FIGS. 1 and 5 , in an example in which a first index number and a second index number form an index pair in a first face, the graphic processing unit 10 sequentially checks the second index table in the order of index numbers. By doing so, the second face corresponding to the first index number can be indexed (S141). The graphic processing device 10 may determine whether the first index number and the second index number forming an index pair in the first face also form an index pair in the second face (S142).

제1 인덱스 넘버 및 제2 인덱스 넘버가 제1 페이스 뿐만 아니라 제2 페이스에서도 인덱스 쌍을 이루고 있는 경우(즉, 중복되는 경우), 그래픽 처리 장치(10)는 제1 인덱스 넘버 및 제2 인덱스 넘버로 구성되는 인덱스 쌍을 메쉬 인덱스 쌍으로부터 제외하고, 제1 인덱스 넘버 및 제2 인덱스 넘버가 제2 페이스가 아닌 제1 페이스에만 포함되는 경우에만(즉, 중복되지 않는 경우), 그래픽 처리 장치(10)는 제1 인덱스 넘버 및 제2 인덱스 넘버로 구성되는 인덱스 쌍을 메쉬 인덱스 쌍에 포함시킬 수 있다(S143).When the first index number and the second index number form an index pair (ie, overlap) not only on the first face but also on the second face, the graphic processing unit 10 uses the first index number and the second index number Excluding the configured index pair from the mesh index pair, only when the first index number and the second index number are included only in the first face and not in the second face (ie, do not overlap), the graphic processing unit 10 may include an index pair consisting of the first index number and the second index number in the mesh index pair (S143).

본 개시의 일 실시예에 따르면, 서로 다른 페이스에 대한 인덱스 쌍의 중복 여부를 판단할 때 인덱스 넘버로 정렬된 인덱스 테이블을 활용함으로써 색인해야 하는 연산량이 감소할 수 있고, 이에 따라서 렌더링 속도가 빨라질 수 있다.According to an embodiment of the present disclosure, when determining whether index pairs for different faces are overlapping, by using an index table sorted by index number, the amount of indexing operations can be reduced, and thus the rendering speed can be increased. there is.

도 6은 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다. 상세하게는 도 6은 도 3의 제1 페이스에 대한 메쉬 오브젝트를 생성한 후 제2 페이스에 대한 메쉬 오브젝트를 생성하는 방법을 나타낸다. 도 3과 중복되는 내용에 대한 설명은 생략한다.6 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention. In detail, FIG. 6 shows a method of generating a mesh object for a second face after generating a mesh object for the first face of FIG. 3 . Description of contents overlapping with those of FIG. 3 will be omitted.

도 1 및 도 6을 참조하면, 그래픽 처리 장치(10)는 제1 인덱스 테이블을 기초로 제2 페이스에 대한 인덱스 넘버들을 획득할 수 있다(S210). 그래픽 처리 장치(10)는 플래그 바이너리를 기초로 인덱스 넘버들에 대한 인덱스 쌍들 중 판단 대상이 되는 제2 인덱스 쌍들을 결정할 수 있다(S220). 그래픽 처리 장치(10)는 제2 인덱스 테이블 기초로 제2 인덱스 쌍들에 포함된 인덱스 넘버들에 대응하는 페이스들을 조사하여 중복되지 않은 제2 인덱스 쌍들을 제2 메쉬 인덱스 쌍들로 결정할 수 있다(S230). Referring to FIGS. 1 and 6 , the graphic processing device 10 may obtain index numbers for the second face based on the first index table (S210). The graphic processing device 10 may determine second index pairs to be determined among index pairs of index numbers based on the flag binary (S220). The graphic processing device 10 may determine non-overlapping second index pairs as second mesh index pairs by examining faces corresponding to index numbers included in the second index pairs based on the second index table (S230). .

그래픽 처리 장치(10)는 제2 페이스를 구성하는 정점의 좌표를 고려하여 제2 인덱스 쌍들에 대응하는 연결선이 이미 그려진 연결선인 경우, 제2 인덱스 쌍들을 제2 메쉬 인덱스 쌍들로부터 제외할 수 있다(S240). 일 실시예에서, 그래픽 처리 장치(10)는 인덱스 넘버 외에 인덱스 넘버에 대응하는 정점의 절대 좌표를 활용하여 인덱스 쌍들에 대응하는 연결선이 이미 그려진 연결선인지 확인할 수 있고, 이에 따라서 연결선이 중복됨에 따라서 메쉬 오브젝트가 정확하게 구성되지 않는 것을 방지할 수 있다. The graphic processing device 10 may exclude the second index pairs from the second mesh index pairs when the connection lines corresponding to the second index pairs are already drawn in consideration of the coordinates of the vertices constituting the second face ( S240). In one embodiment, the graphic processing device 10 may check whether the connection line corresponding to the index pairs has already been drawn by utilizing the absolute coordinates of the vertex corresponding to the index number in addition to the index number, and accordingly, the connection line overlaps with the mesh. It can prevent objects from not being configured correctly.

그래픽 처리 장치(10)는 제2 메쉬 인덱스 쌍들에 대응하는 연결선을 그림으로써 제1 페이스에 대한 메쉬 오브젝트를 생성할 수 있다(S250).The graphic processing device 10 may create a mesh object for the first face by drawing connection lines corresponding to the second mesh index pairs (S250).

도 7 및 도 8은 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 도면이다. 도 7과 도 8을 활용하여 메쉬 오브젝트를 생성하는 방법을 설명한다.7 and 8 are diagrams illustrating a graphic processing method according to an exemplary embodiment of the present invention. A method of generating a mesh object using FIGS. 7 and 8 will be described.

도 1, 도 7 및 도 8을 참조하면, 그래픽 처리 장치(10)는 제1 페이스(F1), 제2 페이스(F2) 및 제3 페이스(F3)를 포함하는 메쉬 오브젝트를 렌더링할 수 있다. 먼저, 그래픽 처리 장치(10)는 페이스 넘버로 정렬된 제1 인덱스 테이블(T_ID1)로부터 제1 페이스(F1)에 대응하는 제1 인덱스 넘버(V1), 제2 인덱스 넘버(V2) 및 제3 인덱스 넘버(V3)를 색인할 수 있다. 본 개시의 일 실시예에 따르면, 인덱스 넘버를 색인할 때 페이스 넘버로 정렬된 제1 인덱스 테이블(T_ID1)을 기초로 인덱스 넘버를 색인함으로써 인덱스 넘버를 색인하는데 걸리는 시간이 감소할 수 있다.Referring to FIGS. 1, 7, and 8 , the graphic processing device 10 may render a mesh object including a first face F1, a second face F2, and a third face F3. First, the graphic processing unit 10 determines a first index number V1, a second index number V2, and a third index corresponding to the first face F1 from the first index table T_ID1 arranged in face numbers. Number V3 can be indexed. According to an embodiment of the present disclosure, when indexing the index numbers, the time required to index the index numbers can be reduced by indexing the index numbers based on the first index table T_ID1 sorted by face numbers.

그래픽 처리 장치(10)는 제1 인덱스 넘버(V1), 제2 인덱스 넘버(V2) 및 제3 인덱스 넘버(V3)를 기초로 제1 인덱스 넘버(V1)-제2 인덱스 넘버(V2) 간의 제1 인덱스 쌍(C1), 제2 인덱스 넘버(V2)-제3 인덱스 넘버(V3) 간의 제2 인덱스 쌍(C2), 제3 인덱스 넘버(V3)-제1 인덱스 넘버(V1) 간의 제3 인덱스 쌍(C3)을 결정할 수 있다. 그래픽 처리 장치(10)는 제1 페이스(F1)에 대응하는 제1 플래그 바이너리(FB1)를 확인할 수 있고, 제1 플래그 바이너리(FB1)가 '011'이므로, '1'에 대응하는 제2 인덱스 쌍(C2) 및 제3 인덱스 쌍(C3)을 판단 대상이 되는 인덱스 쌍으로서 연결선을 그릴지 여부를 확인할 수 있고, '0'에 대응하는 제1 인덱스 쌍(C1)에 대한 연결선을 그릴지 여부는 판단하지 않고 스킵할 수 있다.The graphic processing unit 10 determines the first index number V1 - the second index number V2 based on the first index number V1 , the second index number V2 , and the third index number V3 . 1 index pair (C1), the second index pair (C2) between the second index number (V2) and the third index number (V3), the third index between the third index number (V3) and the first index number (V1) Pair (C3) can be determined. The graphic processing device 10 may check the first flag binary FB1 corresponding to the first face F1, and since the first flag binary FB1 is '011', the second index corresponding to '1' The pair (C2) and the third index pair (C3) are index pairs to be determined, and it is possible to check whether or not to draw a connection line, and to draw a connection line for the first index pair (C1) corresponding to '0'. can be skipped without judgment.

그래픽 처리 장치(10)는 인덱스 넘버를 기초로 정렬된 제2 인덱스 테이블(T_ID2)을 기초로 제2 인덱스 쌍(C2)을 구성하는 제2 인덱스 넘버(V2) 및 제3 인덱스 넘버(V3)가 다른 페이스에 포함되는지 여부를 판단할 수 있다. 다시 도 8의 제2 인덱스 테이블(T_ID2)을 참조하면, 제2 인덱스 넘버(V2)는 제1 페이스(F1)에만 대응되고, 제3 인덱스 넘버(V3)는 제1 페이스(F1) 및 제2 페이스(F2)에 대응됨을 확인할 수 있다.The graphic processing unit 10 has a second index number V2 and a third index number V3 constituting the second index pair C2 based on the second index table T_ID2 sorted based on the index numbers. It can be determined whether or not it is included in another face. Referring back to the second index table T_ID2 of FIG. 8 , the second index number V2 corresponds only to the first face F1, and the third index number V3 corresponds to the first face F1 and the second index number V3. It can be confirmed that it corresponds to the face (F2).

다시 도 7을 참조하면, 제3 인덱스 넘버(V3)는 제1 페이스(F1) 뿐만 아니라 제2 페이스(F2)에도 포함되지만, 제2 인덱스 넘버(V2)는 제1 페이스(F1)에만 포함되므로, 그래픽 처리 장치(10)는 제2 인덱스 쌍(C2)은 중복되지 않음을 확인할 수 있으며, 따라서 제2 인덱스 쌍(C2)은 메쉬 인덱스 쌍으로 결정할 수 있다.Referring back to FIG. 7 , the third index number V3 is included in not only the first face F1 but also the second face F2, but the second index number V2 is included only in the first face F1. , the graphic processing device 10 can confirm that the second index pair C2 does not overlap, and therefore, the second index pair C2 can be determined as a mesh index pair.

다음으로, 그래픽 처리 장치(10)는 인덱스 넘버를 기초로 정렬된 제2 인덱스 테이블(T_ID2)을 기초로 제3 인덱스 쌍(C3)을 구성하는 제3 인덱스 넘버(V3) 및 제1 인덱스 넘버(V1)가 다른 페이스에 포함되는지 여부를 판단할 수 있다. 다시 도 8의 제2 인덱스 테이블(T_ID2)을 참조하면, 제3 인덱스 넘버(V3) 및 제1 인덱스 넘버(V1)는 모두 제1 페이스(F1) 및 제2 페이스(F2)에 대응됨을 확인할 수 있고, 이에 따라서 그래픽 처리 장치(10)는 제3 인덱스 쌍(C3)은 제1 페이스(F1)와 제2 페이스(F2)가 중복되는 것을 확인할 수 있으며, 따라서 제3 인덱스 쌍(C3)은 메쉬 인덱스 쌍으로 결정하지 않을 수 있다. Next, the graphic processing unit 10 determines the third index number V3 constituting the third index pair C3 based on the second index table T_ID2 arranged based on the index number and the first index number ( It is possible to determine whether V1) is included in another phase. Referring again to the second index table T_ID2 of FIG. 8 , it can be confirmed that both the third index number V3 and the first index number V1 correspond to the first face F1 and the second face F2. Accordingly, the graphic processing device 10 can confirm that the first face F1 and the second face F2 of the third index pair C3 overlap. Accordingly, the third index pair C3 is a mesh It may not be determined by the index pair.

그래픽 처리 장치(10)는 메쉬 인덱스 쌍으로 결정된 제2 인덱스 쌍(C2)에 대응되는 연결선을 그림으로써 제1 페이스(F1)에 대응하는 메쉬 오브젝트를 결정할 수 있다. The graphic processing device 10 may determine a mesh object corresponding to the first face F1 by drawing a connection line corresponding to the second index pair C2 determined as the mesh index pair.

본 개시의 일 실시예에 따르면, 제2 인덱스 테이블(T_ID2)이 인덱스 넘버를 기준으로 정렬됨에 따라서 그래픽 처리 장치(10)는 인덱스 넘버 별 페이스를 손쉽게 확인하여 인덱스 쌍의 중복 여부를 빠르게 확할 수 있고, 결과적으로 렌더링 속도가 개선될 수 있다.According to an embodiment of the present disclosure, as the second index table T_ID2 is sorted based on the index number, the graphic processing device 10 can easily check the face of each index number to quickly determine whether an index pair is duplicated. , rendering speed can be improved as a result.

유사한 방식으로, 그래픽 처리 장치(10)는 제2 페이스(F2)에 대해서 중복되는 제3 인덱스 쌍(C3)을 제외한 나머지 제4 인덱스 쌍(C4) 및 제5 인덱스 쌍(C5)의 연결선을 그릴 수 있고, 결과적으로 제1 페이스(F1)와 제2 페이스(F2)는 사각형을 이루는 메쉬 오브젝트를 형성할 수 있다.In a similar manner, the graphic processing unit 10 draws a connection line between the fourth index pair C4 and the fifth index pair C5 except for the overlapping third index pair C3 with respect to the second face F2. As a result, the first face F1 and the second face F2 may form a mesh object forming a rectangle.

그래픽 처리 장치(10)는 제3 페이스(F3)를 구성하는 제5 인덱스 넘버(V5)와 제6 인덱스 넘버(V6)에 대해서, 제5 인덱스 넘버(V5)와 제6 인덱스 넘버(V6)의 정점 좌표를 기초로 제5 인덱스 넘버(V5)와 제6 인덱스 넘버(V6)에 대응하는 연결선이 이미 그려져 있는지 판단할 수 있다. 제5 인덱스 넘버(V5)와 제6 인덱스 넘버(V6)는 제4 인덱스 넘버(V4) 및 제3 인덱스 넘버(V3)와 각각 동일한 위치에 존재하지만 인덱스 넘버만 상이할 수 있고, 이에 따라서 제5 인덱스 넘버(V5)와 제6 인덱스 넘버(V6)에 대응되는 연결선을 제2 페이스(F2)에 의해 이미 그려져 있을 수 있다. 결과적으로 그래픽 처리 장치(10)는 제5 인덱스 넘버(V5)와 제6 인덱스 넘버(V6)의 정점 좌표를 기초로 제5 인덱스 넘버(V5)와 제6 인덱스 넘버(V6)에 대응하는 연결선이 제2 페이스(F2)에 의해 이미 그려져 있으므로, 제5 인덱스 넘버(V5)와 제6 인덱스 넘버(V6)에 대응하는 연결선을 그리지 않고 스킵할 수 있다. The graphic processing unit 10 determines the number of the fifth index number V5 and the sixth index number V6 for the fifth index number V5 and the sixth index number V6 constituting the third face F3. Based on the vertex coordinates, it may be determined whether connection lines corresponding to the fifth index number V5 and the sixth index number V6 have already been drawn. The fifth index number V5 and the sixth index number V6 are located at the same positions as the fourth index number V4 and the third index number V3, but only the index numbers may be different. A connection line corresponding to the index number V5 and the sixth index number V6 may have already been drawn by the second face F2. As a result, the graphic processing device 10 forms a connection line corresponding to the fifth index number V5 and the sixth index number V6 based on the vertex coordinates of the fifth index number V5 and the sixth index number V6. Since it has already been drawn by the second face F2, it is possible to skip without drawing a connection line corresponding to the fifth index number V5 and the sixth index number V6.

본 개시의 일 실시예에 따르면, 그래픽 처리 장치(10)는 정점 좌표를 활용하여 연결선을 그릴지 여부를 확인할 수 있고, 이에 따라서 중복된 연결선이 그려지는 것이 방지될 수 있다.According to an embodiment of the present disclosure, the graphic processing device 10 may determine whether to draw a connection line using vertex coordinates, and accordingly, drawing of a duplicate connection line can be prevented.

도 9는 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 순서도이다. 상세하게는, 도 9는 재질 정보를 기초로 오브젝트를 생성하는 단계(도 2, S20)을 나타낸다.9 is a flowchart illustrating a graphic processing method according to an exemplary embodiment of the present invention. In detail, FIG. 9 shows a step of generating an object based on material information (FIG. 2, S20).

도 1 및 도 9를 참조하면, 그래픽 처리 장치(10)는 제1 페이스에 대한 재질 정보 및 위치 정보를 획득하고(S310), 재질 정보 및 재질 치환 테이블을 기초로 제1 페이스에 대한 표면 질감 데이터를 획득할 수 있다(S320). 일 실시예에서 재질 치환 테이블은 재질 정보에 따른 표면 데이터에 대한 정보를 포함할 수 있고, 일 예시에서, 제1 파일 타입에 따른 재질 데이터와 제2 파일 타입에 따른 재질 데이터에 대응정보를 포함할 수 있다.Referring to FIGS. 1 and 9 , the graphic processing device 10 obtains material information and location information of the first face (S310), and surface texture data of the first face based on the material information and the material substitution table. Can be obtained (S320). In one embodiment, the material substitution table may include information on surface data according to material information, and in one example, may include correspondence information between material data according to the first file type and material data according to the second file type. can

그래픽 처리 장치(10)는 위치 정보를 기초로 광량 정보를 획득할 수 있다(S330). 일 예시에서, 그래픽 처리 장치(10)는 위치 정보와 광량 정보 간의 매칭 테이블을 기초로 위치 정보에 대응하는 광량 정보를 획득할 수 있다.The graphic processing device 10 may obtain light amount information based on the location information (S330). In one example, the graphic processing device 10 may obtain light amount information corresponding to the location information based on a matching table between location information and light amount information.

그래픽 처리 장치(10)는 광량 정보를 기초로 표면 데이터를 수정할 수 있다(S340). 또한, 그래픽 처리 장치(10)는 결정된 표면 데이터를 메쉬 오브젝트에 적용시킴으로써 오브젝트를 생성할 수 있다(S350).The graphic processing device 10 may modify the surface data based on the light amount information (S340). Also, the graphic processing device 10 may generate an object by applying the determined surface data to the mesh object (S350).

본 개시의 일 실시예에 따르면, 재질 정보와 위치 정보를 기초로 표면 데이터를 결정함으로써 사실적인 렌더링이 수행될 수 있다. According to an embodiment of the present disclosure, realistic rendering may be performed by determining surface data based on material information and location information.

도 10은 본 발명의 예시적 실시예에 따른 그래픽 처리 방법을 나타낸 도면이다.10 is a diagram illustrating a graphic processing method according to an exemplary embodiment of the present invention.

도 1 및 도 10을 참조하면, 그래픽 처리 장치(10)는 재질 치환 테이블(T_TP)을 기초로 제1 페이스(F1), 제2 페이스(F2) 및 제3 페이스(F3)에 대한 표면 데이터를 획득할 수 있다. 일 예시에서, 그래픽 처리 장치(10)는 제1 페이스(F1)에 대한 재질 정보로서 제1 재질(T1)을 획득하고, 재질 치환 테이블(T_TR)로부터 제1 재질(T1)에 대응하는 제1 표면 데이터(D1)을 획득할 수 있다. 또한, 그래픽 처리 장치(10)는 제1 표면 데이터(D1)를 제1 페이스(F1)에 적용시킴으로써 제1 페이스(F1)에 대한 렌더링을 수행할 수 있다.Referring to FIGS. 1 and 10 , the graphic processing device 10 converts surface data of a first face F1 , a second face F2 , and a third face F3 based on a material substitution table T_TP. can be obtained In one example, the graphic processing device 10 acquires the first material T1 as material information on the first face F1, and obtains a first material T1 corresponding to the first material T1 from the material substitution table T_TR. Surface data D1 may be obtained. Also, the graphic processing device 10 may perform rendering for the first face F1 by applying the first surface data D1 to the first face F1.

일 실시예에서, 그래픽 처리 장치(10)는 제1 페이스(F1)의 위치 정보를 기초로 별도의 매칭 테이블로부터 위치 정보에 대응하는 광량 정보를 획득할 수 있고, 광량 정보에 기초하여 제1 표면 데이터(D1)를 수정할 수 있다.In an embodiment, the graphic processing device 10 may obtain light amount information corresponding to the location information from a separate matching table based on the location information of the first face F1, and based on the light amount information, the first face Data D1 can be modified.

도 11은 본 발명의 예시적 실시예에 따른 컴퓨팅 시스템을 나타낸 블록도이다.11 is a block diagram illustrating a computing system according to an exemplary embodiment of the present invention.

도 11를 참조하면, 컴퓨팅 시스템(1000)은 프로세서(1100), 메모리 장치(1200), 스토리지 장치(1300), 파워 서플라이(1400) 및 입출력 장치(1500)를 포함할 수 있다. 한편, 도 11에는 도시되지 않았지만, 컴퓨팅 시스템(1000)은 비디오 카드, 사운드 카드, 메모리 카드, USB 장치 등과 통신하거나, 또는 다른 전자 기기들과 통신할 수 있는 포트(port)들을 더 포함할 수 있다.Referring to FIG. 11 , a computing system 1000 may include a processor 1100, a memory device 1200, a storage device 1300, a power supply 1400, and an input/output device 1500. Meanwhile, although not shown in FIG. 11 , the computing system 1000 may further include ports capable of communicating with video cards, sound cards, memory cards, USB devices, etc., or with other electronic devices. .

이와 같이, 컴퓨팅 시스템(1000)에 포함된 프로세서(1100), 메모리 장치(1200), 스토리지 장치(1300), 파워 서플라이(1400) 및 입출력 장치(1500)는, 본 발명의 기술적 사상에 의한 실시예들에 따른 그래픽 처리 방법을 수행할 수 있다. 구체적으로, 프로세서(1100)는 메모리 장치(1200), 스토리지 장치(1300), 파워 서플라이(1400) 및 입출력 장치(1500)를 제어함으로써 도 1 내지 도 9에서 상술한 그래픽 처리 방법을 수행할 수 있다. As described above, the processor 1100, the memory device 1200, the storage device 1300, the power supply 1400, and the input/output device 1500 included in the computing system 1000 are an embodiment according to the technical idea of the present invention. It is possible to perform a graphic processing method according to . Specifically, the processor 1100 may perform the graphic processing method described above with reference to FIGS. 1 to 9 by controlling the memory device 1200, the storage device 1300, the power supply 1400, and the input/output device 1500. .

프로세서(1100)는 특정 계산들 또는 태스크(task)들을 수행할 수 있다. 실시예에 따라, 프로세서(1100)는 마이크로프로세서(micro-processor), 중앙 처리 장치(Central Processing Unit; CPU)일 수 있다. 프로세서(1100)는 어드레스 버스(address bus), 제어 버스(control bus) 및 데이터 버스(data bus) 등과 같은 버스(1600)를 통하여 메모리 장치(1200), 스토리지 장치(1300) 및 입출력 장치(1500)와 통신을 수행할 수 있다. 실시예에 따라, 프로세서(1100)는 주변 구성요소 상호연결(Peripheral Component Interconnect; PCI) 버스와 같은 확장 버스에도 연결될 수 있다.Processor 1100 may perform certain calculations or tasks. Depending on the embodiment, the processor 1100 may be a micro-processor or a central processing unit (CPU). The processor 1100 includes a memory device 1200, a storage device 1300, and an input/output device 1500 through a bus 1600 such as an address bus, a control bus, and a data bus. can communicate with According to an embodiment, the processor 1100 may also be connected to an expansion bus such as a Peripheral Component Interconnect (PCI) bus.

메모리 장치(1200)는 컴퓨팅 시스템(1000)의 동작에 필요한 데이터를 저장할 수 있다. 예를 들어, 메모리 장치(1200)는 디램(DRAM), 모바일 디램, 에스램(SRAM), 피램(PRAM), 에프램(FRAM), 알램(RRAM) 및/또는 엠램(MRAM)으로 구현될 수 있다. 스토리지 장치(1300)는 솔리드 스테이트 드라이브(solid state drive), 하드 디스크 드라이브(hard disk drive), 씨디롬(CD-ROM) 등을 포함할 수 있다. 메모리 장치(1200) 및 스토리지 장치(1300)는 도 1 내지 도 9에서 상술한 그래픽 처리 방법에 관한 프로그램을 저장할 수 있다.The memory device 1200 may store data necessary for the operation of the computing system 1000 . For example, the memory device 1200 may be implemented with DRAM, mobile DRAM, SRAM, PRAM, FRAM, RRAM, and/or MRAM. there is. The storage device 1300 may include a solid state drive, a hard disk drive, a CD-ROM, and the like. The memory device 1200 and the storage device 1300 may store programs related to the graphic processing method described above with reference to FIGS. 1 to 9 .

입출력 장치(1500)는 키보드, 키패드, 마우스 등과 같은 입력 수단 및 프린터, 디스플레이 등과 같은 출력 수단을 포함할 수 있다. 전원 장치(1400)는 컴퓨팅 시스템(1000)의 동작에 필요한 동작 전압을 공급할 수 있다.The input/output device 1500 may include input means such as a keyboard, keypad, and mouse, and output means such as a printer and a display. The power supply 1400 may supply an operating voltage necessary for the operation of the computing system 1000 .

이상에서와 같이 도면과 명세서에서 예시적인 실시예들이 발명되었다. 본 명세서에서 특정한 용어를 사용하여 실시예들을 설명되었으나, 이는 단지 본 발명의 기술적 사상을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 청구범위의 기술적 사상에 의해 정해져야 할 것이다.As above, exemplary embodiments have been invented in the drawings and specification. Embodiments have been described using specific terms in this specification, but they are only used for the purpose of explaining the technical spirit of the present invention, and are not used to limit the scope of the present invention described in the meaning or claims. Therefore, those of ordinary skill in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical protection scope of the present invention should be determined by the technical spirit of the appended claims.

Claims (9)

프로세서를 포함하는 그래픽 처리 장치에 의해 수행되는 그래픽 처리 방법에 있어서,
상기 프로세서에 의해, 복수의 정점들에 대한 인덱스 넘버 및 상기 인덱스에 대응하는 페이스 넘버에 대한 대응 정보를 포함하고 상기 페이스 넘버를 기준으로 정렬된 제1 인덱스 테이블을 상기 페이스 넘버를 기준으로 순차적으로 확인함으로써 제1 페이스를 구성하는 정점들에 대한 제1 인덱스 넘버 내지 제3 인덱스 넘버를 획득하는 단계;
상기 프로세서에 의해, 메쉬 오브젝트의 외곽선으로 그려지는 인덱스 쌍들에 대한 정보를 포함하는 플래그 바이너리를 기초로 상기 제1 인덱스 넘버 내지 제3 인덱스 넘버에 대한 인덱스 쌍들 중 판단 대상이 되는 제1 인덱스 쌍들을 결정하는 단계;
상기 프로세서에 의해, 상기 제1 인덱스 테이블을 상기 인덱스 넘버를 기준으로 정리함으로써 상기 인덱스 넘버를 기준으로 정렬된 제2 인덱스 테이블을 생성하는 단계;
상기 프로세서에 의해, 상기 제2 인덱스 테이블을 기초로 상기 판단 대상이 되는 제1 인덱스 쌍들에 대한 인덱스 넘버들에 대응하는 페이스들을 조사함으로써 제1 메쉬 인덱스 쌍을 결정하는 단계;및
상기 프로세서에 의해, 상기 제1 메쉬 인덱스 쌍에 대응하는 연결선을 그림으로써 상기 제1 페이스에 대한 메쉬 오브젝트를 생성하는 단계;를 포함하고,
상기 제1 인덱스 쌍은 상기 제1 인덱스 넘버 및 제2 인덱스 넘버로 구성되고,
상기 메쉬 인덱스 쌍을 결정하는 단계는,
상기 제2 인덱스 테이블을 상기 인덱스 넘버를 기준으로 순차적으로 확인함으로써 상기 제1 인덱스 넘버에 대응하는 제2 페이스를 결정하는 단계;
상기 제1 인덱스 쌍이 상기 제2 페이스에 포함되는지 판단하는 단계;및
상기 제1 인덱스 쌍이 상기 제2 페이스에 포함되지 않는 경우에만 상기 제1 인덱스 쌍을 상기 메쉬 인덱스 쌍으로 결정하는 단계;를 포함하는 그래픽 처리 방법.
A graphic processing method performed by a graphic processing device including a processor,
The processor sequentially checks a first index table including index numbers of a plurality of vertices and corresponding information on face numbers corresponding to the indexes and arranged based on the face numbers based on the face numbers. obtaining first to third index numbers for vertices constituting the first face by doing so;
The processor determines first index pairs to be determined from among index pairs for the first to third index numbers based on flag binary including information on index pairs drawn as outlines of a mesh object. doing;
generating, by the processor, a second index table sorted based on the index number by arranging the first index table based on the index number;
Determining, by the processor, a first mesh index pair by examining faces corresponding to index numbers of the first index pairs to be determined based on the second index table; and
generating, by the processor, a mesh object for the first face by drawing a connection line corresponding to the first mesh index pair;
The first index pair is composed of the first index number and the second index number,
Determining the mesh index pair,
determining a second face corresponding to the first index number by sequentially checking the second index table based on the index number;
determining whether the first index pair is included in the second face; and
and determining the first index pair as the mesh index pair only when the first index pair is not included in the second face.
제1 항에 있어서,
상기 판단 대상이 되는 인덱스 쌍들을 결정하는 단계는,
상기 프로세서에 의해, 상기 제1 페이스에 대한 플래그 바이너리를 획득하는 단계;
상기 프로세서에 의해, 상기 플래그 바이너리 중 상기 인덱스 쌍들에 대응하는 바이너리를 확인하는 단계;및
상기 프로세서에 의해, 상기 바이너리의 값을 기초로 상기 인덱스 쌍들 중 판단 대상이 되는 제1 인덱스 쌍을 결정하는 단계;를 포함하는 그래픽 처리 방법.
According to claim 1,
The step of determining the index pairs to be determined,
obtaining, by the processor, a flag binary for the first phase;
Checking, by the processor, binaries corresponding to the index pairs among the flag binaries; and
and determining, by the processor, a first index pair to be determined among the index pairs based on the binary value.
삭제delete 삭제delete 제1 항에 있어서,
상기 프로세서에 의해, 제3 페이스를 구성하는 정점들에 대한 제4 인덱스 넘버 내지 제6 인덱스 넘버를 획득하는 단계;
상기 프로세서에 의해, 상기 플래그 바이너리를 기초로 상기 제4 인덱스 넘버 내지 제6 인덱스 넘버에 대한 판단 대상이 되는 제2 인덱스 쌍들을 결정하는 단계;
상기 프로세서에 의해, 상기 제2 인덱스 테이블을 기초로 상기 판단 대상이 되는 제2 인덱스 쌍들에 대한 인덱스 넘버들에 대응하는 페이스들을 조사함으로써 제2 메쉬 인덱스 쌍을 결정하는 단계;및
상기 프로세서에 의해, 상기 제2 메쉬 인덱스 쌍에 대응하는 연결선을 그림으로써 상기 제2 페이스에 대한 메쉬 오브젝트를 생성하는 단계;를 더 포함하는 그래픽 처리 방법.
According to claim 1,
obtaining, by the processor, fourth to sixth index numbers of vertices constituting a third face;
determining, by the processor, second index pairs to be determined for the fourth to sixth index numbers based on the flag binary;
Determining, by the processor, a second mesh index pair by examining faces corresponding to index numbers of the second index pairs to be determined based on the second index table; And
Generating, by the processor, a mesh object for the second face by drawing a connection line corresponding to the second mesh index pair;
제5 항에 있어서,
상기 제2 페이스에 대한 메쉬 오브젝트를 생성하는 단계는,
상기 프로세서에 의해, 정점의 좌표를 고려하여, 상기 제2 메쉬 인덱스 쌍에 대응하는 연결선이 이미 그려진 연결선인지 여부를 확인하는 단계;및
상기 프로세서에 의해, 상기 제2 메쉬 인덱스 쌍에 대응하는 연결선이 이미 그려진 연결선이 아닌 경우에만, 상기 제2 메쉬 인덱스 쌍들에 대응하는 연결선을 그림으로써 상기 제2 페이스에 대한 메쉬 오브젝트를 생성하는 단계;를 포함하는 그래픽 처리 방법.
According to claim 5,
In the step of generating a mesh object for the second face,
Checking, by the processor, whether a connection line corresponding to the second mesh index pair is an already drawn connection line in consideration of coordinates of vertices; and
generating, by the processor, a mesh object for the second face by drawing connection lines corresponding to the second mesh index pairs only when the connection lines corresponding to the second mesh index pairs are not already drawn connection lines; A graphic processing method comprising a.
제1 항에 있어서,
상기 프로세서에 의해, 상기 제1 페이스에 대한 재질 정보를 획득하는 단계;
상기 프로세서에 의해, 상기 재질 정보 및 재질 치환 테이블을 기초로 상기 제1 페이스에 대한 표면 데이터를 결정하는 단계;및
상기 프로세서에 의해, 결정한 표면 데이터를 상기 메쉬 오브젝트에 대응시킴으로써 오브젝트를 생성하는 단계; 를 더 포함하는 그래픽 처리 방법.
According to claim 1,
obtaining, by the processor, material information about the first face;
determining, by the processor, surface data of the first face based on the material information and the material substitution table; and
generating an object by corresponding, by the processor, the determined surface data to the mesh object; A graphic processing method further comprising a.
제7 항에 있어서,
상기 프로세서에 의해, 상기 제1 페이스에 대한 위치 정보를 획득하는 단계;
상기 프로세서에 의해, 상기 위치 정보를 기초로 상기 제1 페이스에 조사되는 광량 정보를 획득하는 단계;및
상기 프로세서에 의해, 상기 재질 정보 및 상기 광량 정보를 기초로 상기 제1 페이스에 대한 표면 데이터를 변경하는 단계를 더 포함하는 그래픽 처리 방법.
According to claim 7,
obtaining, by the processor, location information about the first face;
Obtaining, by the processor, information on the amount of light irradiated on the first face based on the location information; and
The graphic processing method further comprising changing, by the processor, surface data of the first face based on the material information and the light amount information.
제1 항에 있어서,
상기 제1 인덱스 테이블은 상기 페이스 넘버를 기준으로 오름차순 정렬된 인덱스 테이블이고, 상기 제2 인덱스 테이블은 상기 인덱스 넘버를 기준으로 오름차순 정렬된 인덱스 테이블인 것을 특징으로 하는 그래픽 처리 방법.

According to claim 1,
The first index table is an index table sorted in ascending order based on the face number, and the second index table is an index table sorted in ascending order based on the index number.

KR1020220071752A 2022-06-13 2022-06-13 Graphic processing method generating object by using index table and graphic processing device performing the same KR102488073B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220071752A KR102488073B1 (en) 2022-06-13 2022-06-13 Graphic processing method generating object by using index table and graphic processing device performing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220071752A KR102488073B1 (en) 2022-06-13 2022-06-13 Graphic processing method generating object by using index table and graphic processing device performing the same

Publications (1)

Publication Number Publication Date
KR102488073B1 true KR102488073B1 (en) 2023-01-13

Family

ID=84900399

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220071752A KR102488073B1 (en) 2022-06-13 2022-06-13 Graphic processing method generating object by using index table and graphic processing device performing the same

Country Status (1)

Country Link
KR (1) KR102488073B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210116199A (en) * 2020-03-15 2021-09-27 인텔 코포레이션 Apparatus and method for displaced mesh compression

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210116199A (en) * 2020-03-15 2021-09-27 인텔 코포레이션 Apparatus and method for displaced mesh compression

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Autodesk."Autodesk Maya 2010:Getting Started with Maya",[online]2017.03.27.,[2022.09.04.검색],(제1면 내지 1048면) <URL:https://web.archive.org/web/20170327044717/http://images.autodesk.com/adsk/files/getting* *
Michael Hadley."Basics of Generating Meshes from an Image",[online]2021.07.28.,[2022.09.03.검색],(제1면 내지 제20면)<URL:https://web. archive.org/web/20210728080048/https://openframeworks.cc/ofBook/chapters/g* *

Similar Documents

Publication Publication Date Title
CN110084875B (en) Using a compute shader as a front-end for a vertex shader
US8665267B2 (en) System and method for generating 3D surface patches from unconstrained 3D curves
CN110097625B (en) Fragment shaders perform vertex shader computations
EP4120199A1 (en) Image rendering method and apparatus, and electronic device and storage medium
RU2430421C2 (en) Applying effects to merged text path
US10019802B2 (en) Graphics processing unit
US11398065B2 (en) Graphic object modifications
US20200285618A1 (en) Decompression techniques for processing compressed data suitable for artificial neural networks
US9177418B1 (en) System and method for converting computer aided design data into a three dimensional model
US10403040B2 (en) Vector graphics rendering techniques
JP6820160B2 (en) Programs and systems that render images
JP7368623B2 (en) Point cloud processing method, computer system, program and computer readable storage medium
CN113971307A (en) Incidence relation generation method and device, storage medium and electronic equipment
KR102488073B1 (en) Graphic processing method generating object by using index table and graphic processing device performing the same
US20230377265A1 (en) Systems for Efficiently Rendering Vector Objects
CN115272552A (en) Model rendering method and device
US11551391B2 (en) Digital image dynamic shadow generation
US11030792B1 (en) System and method for packing sparse arrays of data while preserving order
US11348287B2 (en) Rendering of graphic objects with pattern paint using a graphics processing unit
US9911229B2 (en) Transmission and configuration of three dimensional digital content
US11417059B1 (en) System and method for reading arrays of data by rebuilding an index buffer while preserving order
KR20200058205A (en) Automated symbolization of 1:25,000 map based on domestic geometric characteristic
US20240037845A1 (en) Systems for Efficiently Generating Blend Objects
US20240070944A1 (en) Visual Reordering Of Partial Vector Objects
US11799927B1 (en) Systems and methods for distributed vector drawing pipeline for collaboration systems

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant