KR20110109356A - Apparatus and method for rendering three dimensional image in electronic device - Google Patents

Apparatus and method for rendering three dimensional image in electronic device Download PDF

Info

Publication number
KR20110109356A
KR20110109356A KR1020100029051A KR20100029051A KR20110109356A KR 20110109356 A KR20110109356 A KR 20110109356A KR 1020100029051 A KR1020100029051 A KR 1020100029051A KR 20100029051 A KR20100029051 A KR 20100029051A KR 20110109356 A KR20110109356 A KR 20110109356A
Authority
KR
South Korea
Prior art keywords
image
size
objects
rendering
loaded data
Prior art date
Application number
KR1020100029051A
Other languages
Korean (ko)
Other versions
KR101689132B1 (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 KR1020100029051A priority Critical patent/KR101689132B1/en
Publication of KR20110109356A publication Critical patent/KR20110109356A/en
Application granted granted Critical
Publication of KR101689132B1 publication Critical patent/KR101689132B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • G06T15/20Perspective computation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20036Morphological image processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Geometry (AREA)
  • Processing Or Creating Images (AREA)

Abstract

전자기기에서 3차원 영상 렌더링 방법 및 장치에 관한 것으로서, 3차원 영상에 포함된 객체들의 정렬 순서를 결정하는 과정과, 상기 정렬 순서에 따라 상기 객체들을 순서대로 로딩하는 과정과, 로딩된 데이터의 크기와 임계값을 비교하는 과정과, 상기 로딩된 데이터의 크기가 임계값 이상일 경우, 상기 로딩된 데이터에 대한 렌더링을 수행하는 과정을 포함하여, 사용자 관점에서 볼 때 빠른 반응 속도를 유지하면서, 로딩 지연 시간을 단축시킬 수 있다.A method and apparatus for rendering a 3D image in an electronic device, the method comprising: determining a sorting order of objects included in a 3D image, loading the objects in order according to the sorting order, and loading size of the loaded data Comparing a threshold with a threshold value, and performing a rendering on the loaded data when the size of the loaded data is greater than or equal to the threshold value. It can save time.

Description

전자기기에서 3차원 영상 렌더링 방법 및 장치{APPARATUS AND METHOD FOR RENDERING THREE DIMENSIONAL IMAGE IN ELECTRONIC DEVICE}3D image rendering method and device in electronic device {APPARATUS AND METHOD FOR RENDERING THREE DIMENSIONAL IMAGE IN ELECTRONIC DEVICE}

본 발명은 전자기기에서 3차원 영상 렌더링 방법 및 장치에 관한 것으로서, 특히 3차원 영상을 로딩한 후 렌더링하는 방법 및 장치에 관한 것이다.
The present invention relates to a method and apparatus for rendering a 3D image in an electronic device, and more particularly, to a method and apparatus for rendering after loading a 3D image.

최근 자동화가 진전되고 정보사회로의 발전이 진행되면서 컴퓨터 그래픽의 응용분야가 급속히 확대되고 있으며, 특히 3차원 그래픽을 이용하는 분야가 급증하고 있다. Recently, as automation has progressed and the information society has been developed, the application fields of computer graphics are rapidly expanding, and in particular, the fields using 3D graphics are rapidly increasing.

종래의 전자기기에서는 상기 3차원 그래픽을 화면에 디스플레이하기 위해 하나의 씬(Scene) 즉, 하나의 3차원 영상을 로딩한 후에 해당 3차원 영상을 렌더링하고 있다. 하지만, 이러한 방식은 도 1에 도시된 바와 같이, 상기 하나의 3차원 영상을 로딩하는 동안 화면에 아무것도 디스플레이하지 않고, 상기 3차원 영상의 로딩이 완료된 후 렌더링을 수행하여 해당 영상을 화면에 디스플레이하기 때문에, 사용자 관점에서 볼 때, 반응 속도가 느린 단점을 가진다.A conventional electronic device renders a 3D image after loading one scene, that is, one 3D image, to display the 3D graphic on a screen. However, this method does not display anything on the screen while loading the one 3D image, as shown in FIG. 1, and renders the image on the screen by performing rendering after the loading of the 3D image is completed. Therefore, from the user's point of view, there is a disadvantage that the response speed is slow.

이에 따라, 종래에는 상기 반응 속도가 느린 단점을 개선하기 위해 상기 3차원 영상에 포함된 각 객체가 로딩 될 때마다 화면을 렌더링하는 방식을 제공하고 있다. 즉 도 2에 도시된 바와 같이, 하나의 3차원 영상에서 객체가 로딩 될 때마다, 렌더링을 수행하여 화면에 디스플레이하고 있다. 상기, 객체가 로딩 될 때마다 렌더링 하는 방식은 사용자 관점에서 볼 때 반응 속도가 빠른 장점이 있으나, 상기 객체가 로딩될 때마다 렌더링을 수행해야 하기 때문에 로딩이 종료되어 하나의 3차원 영상이 모두 디스플레이되기까지 보다 긴 시간이 소요된다.
Accordingly, in order to alleviate the disadvantage of the slow response, the conventional method provides a method of rendering a screen whenever each object included in the 3D image is loaded. That is, as shown in FIG. 2, whenever an object is loaded in one 3D image, rendering is performed and displayed on the screen. The rendering method each time an object is loaded has an advantage that the response speed is faster from the user's point of view, but since the rendering has to be performed every time the object is loaded, the loading is finished and all of the 3D images are displayed. It takes longer to reach.

본 발명은 상술한 바와 같은 문제점을 해결하기 위해 도출된 것으로서, 본 발명의 목적은 전자기기에서 3차원 영상 렌더링 방법 및 장치를 제공함에 있다.The present invention was derived to solve the above problems, and an object of the present invention is to provide a method and apparatus for rendering 3D images in an electronic device.

본 발명의 다른 목적은 전자기기에서 3차원 영상에 포함된 각 객체들의 크기와 시점 거리 정보를 이용하여 상기 각 객체들을 로딩하는 방법 및 장치를 제공함에 있다.Another object of the present invention is to provide a method and apparatus for loading each object by using the size and viewpoint distance information of each object included in the 3D image in the electronic device.

본 발명의 또 다른 목적은 전자기기에서 3차원 영상 로딩 시, 로딩된 데이터의 크기에 따라 렌더링을 수행하는 방법 및 장치를 제공함에 있다.
Another object of the present invention is to provide a method and apparatus for performing rendering according to the size of loaded data when loading a 3D image in an electronic device.

상술한 목적들을 달성하기 위한 본 발명의 제 1 견지에 따르면, 전자기기에서 3차원 영상 렌더링 방법은, 3차원 영상에 포함된 객체들의 정렬 순서를 결정하는 과정과, 상기 정렬 순서에 따라 상기 객체들을 순서대로 로딩하는 과정과, 로딩된 데이터의 크기와 임계값을 비교하는 과정과, 상기 로딩된 데이터의 크기가 임계값 이상일 경우, 상기 로딩된 데이터에 대한 렌더링을 수행하는 과정을 포함하는 것을 특징으로 한다.According to a first aspect of the present invention for achieving the above object, a three-dimensional image rendering method in an electronic device, the process of determining the sorting order of the objects included in the 3D image, and the objects in accordance with the sorting order And loading the data in order, comparing the size of the loaded data with a threshold, and rendering the loaded data when the size of the loaded data is greater than or equal to the threshold. do.

상술한 목적들을 달성하기 위한 본 발명의 제 2 견지에 따르면, 전자기기에서 3차원 영상 렌더링 장치는, 3차원 영상에 포함된 객체들의 정렬 순서를 결정하는 객체 정렬부와, 상기 정렬 순서에 따라 상기 객체들을 순서대로 로딩하는 로딩부와, 로딩된 데이터의 크기와 임계값을 비교하여 상기 로딩된 데이터의 크기가 임계값 이상일 경우, 상기 로딩된 데이터에 대한 렌더링을 수행하는 렌더링부를 포함하는 것을 특징으로 한다.
According to a second aspect of the present invention for achieving the above object, the three-dimensional image rendering apparatus in the electronic device, an object alignment unit for determining the alignment order of the objects included in the three-dimensional image, and in accordance with the alignment order And a loading unit for loading objects in order, and a rendering unit configured to perform rendering on the loaded data when the size of the loaded data is greater than or equal to a threshold value by comparing the size of the loaded data with a threshold value. do.

본 발명은 전자기기에서 3차원 영상에 포함된 각 객체들의 크기와 시점 거리 정보를 이용하여 상기 각 객체들을 로딩하고, 로딩된 데이터의 크기에 따라 렌더링을 수행함으로써, 사용자 관점에서 볼 때 빠른 반응 속도를 유지하면서, 로딩 지연 시간을 단축시킬 수 있는 효과가 있다.
The present invention loads the objects using the size and viewpoint distance information of each object included in the three-dimensional image in the electronic device, and renders according to the size of the loaded data, so that the response speed from the user's point of view There is an effect that can reduce the loading delay time while maintaining.

도 1은 종래 기술에 따른 전자기기에서 3차원 영상을 로딩하여 렌더링하는 방식을 도시하는 도면,
도 2는 종래 기술에 따른 전자기기에서 3차원 영상을 로딩하여 렌더링하는 다른 방식을 도시하는 도면,
도 3은 본 발명에 따른 전자기기의 블록 구성을 도시하는 도면,
도 4는 본 발명의 실시 예에 따른 전자기기에서 3차원 영상을 로딩하여 렌더링하는 동작 절차를 도시하는 도면, 및
도 5는 본 발명의 실시 예에 따른 전자기기에서 3차원 영상을 로딩하여 렌더링하는 방식을 도시하는 도면.
1 is a diagram illustrating a method of loading and rendering a 3D image in an electronic device according to the prior art;
2 is a diagram illustrating another method of loading and rendering a 3D image in an electronic device according to the prior art;
3 is a block diagram showing an electronic device according to the present invention;
4 is a diagram illustrating an operation procedure of loading and rendering a 3D image in an electronic device according to an embodiment of the present disclosure; and
FIG. 5 is a diagram illustrating a method of loading and rendering a 3D image in an electronic device according to an embodiment of the present disclosure. FIG.

이하 본 발명의 바람직한 실시 예를 첨부된 도면을 참조하여 설명한다. 그리고, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings. In describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

이하 본 발명에서는 전자기기에서 3차원 영상에 포함된 각 객체들의 크기와 시점 거리 정보를 이용하여 상기 각 객체들을 로딩하고, 로딩된 데이터의 크기에 따라 렌더링을 수행하는 방법 및 장치에 관해 설명할 것이다.
Hereinafter, a method and apparatus for loading each object by using the size and viewpoint distance information of each object included in the 3D image in the electronic device and performing rendering according to the size of the loaded data will be described. .

도 3은 본 발명에 따른 전자기기의 블록 구성을 도시하고 있다.3 illustrates a block configuration of an electronic device according to the present invention.

상기 도 3을 참조하면, 상기 전자기기는 제어부(300), 객체 정보 획득부(310), 객체 정렬부(320), 저장부(330), 로딩부(240), 렌더링부(350)를 포함하여 구성된다.Referring to FIG. 3, the electronic device includes a control unit 300, an object information acquisition unit 310, an object alignment unit 320, a storage unit 330, a loading unit 240, and a rendering unit 350. It is configured by.

상기 제어부(300)는 상기 전자기기의 전반적인 동작을 제어 및 처리하며, 3차원 영상을 화면에 디스플레이하기 위한 제어 및 처리를 수행한다. 상기 제어부(300)는 3차원 영상 저장 이벤트가 발생될 시, 해당 3차원 영상을 상기 객체 정보 획득부(310)로 제공하고, 상기 객체 정보 획득부(310) 및 객체 정렬부(320)에 3차원 영상 저장을 알리는 신호를 제공한다. 또한, 상기 제어부(300)는 상기 저장부(330)에 저장된 3차원 영상을 디스플레이하기 위한 이벤트가 발생될 시, 이를 알리는 신호를 상기 로딩부(340) 및 렌더링부(350)로 제공한다.The controller 300 controls and processes overall operations of the electronic device, and performs control and processing for displaying a 3D image on a screen. When a 3D image storage event occurs, the controller 300 provides a corresponding 3D image to the object information acquisition unit 310, and sends the 3D image to the object information acquisition unit 310 and the object alignment unit 320. Provides a signal for dimensional image storage. In addition, the controller 300 provides a signal informing the loading unit 340 and the renderer 350 when an event for displaying a 3D image stored in the storage unit 330 occurs.

상기 객체 정보 획득부(310)는 3차원 영상에 포함된 객체들의 정보, 예를 들어, 각 객체의 크기 정보 및 시점에 대한 각 객체의 거리 정보를 획득하고, 획득된 정보들을 상기 객체 정렬부(320)로 제공한다. 여기서, 상기 각 객체의 크기 정보는 해당 객체에 대한 파일 크기, 바운딩 박스(bounding box) 혹은 프로젝션 윈도우의 크기를 이용하여 획득할 수 있을 것이다.The object information acquisition unit 310 obtains information of objects included in a 3D image, for example, size information of each object and distance information of each object with respect to a viewpoint, and obtains the obtained information from the object alignment unit ( 320). In this case, the size information of each object may be obtained using a file size, a bounding box, or the size of the projection window for the corresponding object.

상기 객체 정렬부(320)는 상기 객체 정보 획득부(310)로부터 제공되는 객체들의 정보를 이용하여 상기 객체들을 정렬한 후, 정렬된 정보를 상기 저장부(330)로 제공한다. 상기 객체 정렬부(320)는 사용자, 사업자 혹은 설계자가 설정한 정렬 방식에 따라 상기 객체들의 정보 중 적어도 하나를 이용하여 상기 객체들을 정렬할 수 있다. 예를 들어, 상기 객체 정렬부(320)는 시점에 대한 걱 객체의 거리 정보와 각 객체의 크기 정보 중 어느 하나를 이용하여 상기 객체들을 정렬할 수도 있고, 상기 시점에 대한 각 객체의 거리 정보와 상기 각 객체의 크기 정보를 모두 이용하여 상기 객체들을 정렬할 수도 있다. 여기서, 상기 객체들의 정보를 모두 이용할 시, 상기 객체 정렬부(320)는 각각의 객체 정보에 가중치를 부여할 수 있을 것이다.The object aligning unit 320 aligns the objects using the information of the objects provided from the object information obtaining unit 310 and then provides the sorted information to the storage unit 330. The object aligning unit 320 may align the objects using at least one of the information of the objects according to a sorting method set by a user, a business operator, or a designer. For example, the object aligning unit 320 may align the objects using any one of the distance information of the object and the size information of each object with respect to the viewpoint, and the distance information of each object with respect to the viewpoint. The objects may be aligned using all the size information of each object. Here, when all the information of the objects are used, the object aligning unit 320 may give weight to each object information.

상기 저장부(330)는 상기 제어부(300)의 제어에 따라 특정 3차원 영상과 상기 객체 정렬부(320)로부터 제공되는 정렬 정보를 매핑하여 저장한다. 즉, 상기 저장부(330)는 상기 3차원 영상에 포함된 각 객체들에 대한 정렬 순서를 나타내는 인덱스 정보를 함께 저장할 수 있다. 또한, 상기 저장부(330)는 상기 3차원 영상에 포함된 각 객체들의 정렬 순서에 따라 해당 객체들을 저장할 수 있다.The storage unit 330 maps and stores the specific 3D image and the alignment information provided from the object alignment unit 320 under the control of the controller 300. That is, the storage unit 330 may store index information indicating the sort order for each object included in the 3D image. In addition, the storage unit 330 may store the corresponding objects according to the sorting order of the objects included in the 3D image.

상기 로딩부(340)는 상기 제어부(300)의 제어에 따라 상기 저장부(330)에 저장된 3차원 영상을 로딩한다. 특히, 상기 로딩부(340)는 본 발명에 따라 상기 3차원 영상에 포함된 각 객체들의 정렬 순서를 고려하여, 정렬 순서에 따라 각 객체들을 로딩하여 상기 렌더링부(350)로 제공한다. 이때, 상기 로딩부(340)는 상기 3차원 영상에 포함된 각 객체들이 정렬되어 있지 않을 경우, 상기 3차원 영상에 매핑되어 저장된 인덱스를 참고하여 각 객체들을 순서대로 로딩한다.The loading unit 340 loads the 3D image stored in the storage unit 330 under the control of the controller 300. In particular, the loading unit 340 loads and provides each object in the sorting order to the rendering unit 350 in consideration of the sorting order of the objects included in the 3D image according to the present invention. In this case, when the objects included in the 3D image are not aligned, the loading unit 340 loads the objects in order by referring to an index mapped to the 3D image.

상기 렌더링부(350)는 상기 로딩부(340)로부터 입력되는 로딩된 데이터의 크기를 기 설정된 임계값과 비교하여 로딩된 데이터가 임계값보다 큰 경우, 렌더링을 수행하여 로딩된 데이터 즉, 로딩된 객체들을 화면에 디스플레이한다. 여기서, 상기 렌더링부(350)는 렌더링을 수행할 때마다 로딩된 데이터의 크기를 초기화시킨 후, 렌더링 수행 이후에 상기 로딩부(340)로부터 입력되는 로딩된 데이터의 크기를 상기 기 설정된 임계값과 비교하여 렌더링하는 과정을 반복적으로 수행한다. 여기서, 상기 로딩된 데이터의 크기는 로딩된 객체들에 대한 파일 크기, 바운딩 박스(bounding box) 혹은 프로젝션 윈도우의 크기를 이용하여 판단할 수 있다.
The renderer 350 compares the size of the loaded data input from the loading unit 340 with a preset threshold value, and when the loaded data is larger than the threshold value, the rendered data is loaded, that is, loaded Display objects on the screen. Here, the rendering unit 350 initializes the size of the loaded data every time the rendering is performed, and then sets the size of the loaded data input from the loading unit 340 after the rendering with the preset threshold. Iteratively performs the comparison and rendering process. The size of the loaded data may be determined using a file size, a bounding box, or a projection window of the loaded objects.

도 4는 본 발명의 실시 예에 따른 전자기기에서 3차원 영상을 로딩하여 렌더링하는 동작 절차를 도시하고 있다.4 is a flowchart illustrating an operation procedure of loading and rendering a 3D image in an electronic device according to an embodiment of the present disclosure.

상기 도 4를 참조하면, 상기 전자기기는 401단계에서 3차원 영상 저장 이벤트가 발생될 시, 403단계로 진행하여 3차원 영상에 포함된 각 객체들의 정보를 획득한다. 즉, 상기 전자기기는 상기 3차원 영상에 포함된 각 객체들의 크기 정보 및 시점에 대한 거리 정보를 획득한다. 여기서, 상기 각 객체의 크기 정보는 해당 객체에 대한 파일 크기, 바운딩 박스(bounding box) 혹은 프로젝션 윈도우의 크기를 이용하여 획득할 수 있을 것이다.Referring to FIG. 4, when the 3D image storage event occurs in step 401, the electronic device proceeds to step 403 to obtain information about each object included in the 3D image. That is, the electronic device obtains size information of each object included in the 3D image and distance information on a viewpoint. In this case, the size information of each object may be obtained using a file size, a bounding box, or the size of the projection window for the corresponding object.

이후, 상기 전자기기는 405단계에서 상기 각 객체들의 크기 정보 및 시점에 대한 거리 정보를 이용하여 상기 객체들을 정렬한다. 이때, 상기 전자기기는 사용자, 사업자 혹은 설계자가 설정한 정렬 방식에 따라 상기 객체들의 정보 중 적어도 하나를 이용하여 상기 객체들을 정렬할 수 있다. 예를 들어, 상기 전자기기는 시점에 대한 걱 객체의 거리 정보와 각 객체의 크기 정보 중 어느 하나를 이용하여 상기 객체들을 정렬할 수도 있고, 상기 시점에 대한 각 객체의 거리 정보와 상기 각 객체의 크기 정보를 모두 이용하여 상기 객체들을 정렬할 수도 있다. In step 405, the electronic device aligns the objects using the size information of each of the objects and distance information on the viewpoint. In this case, the electronic device may align the objects using at least one of the information of the objects according to a sorting method set by a user, a business operator, or a designer. For example, the electronic device may align the objects using any one of distance information of the object and size information of each object with respect to the viewpoint, and distance information of each object with respect to the viewpoint and each of the objects. All of the size information may be used to sort the objects.

이후, 상기 전자기기는 407단계에서 상기 3차원 영상과 상기 객체들의 정렬 순서를 나타내는 정렬 정보를 매핑하여 저장한다. 이때, 상기 전자기기는 상기 3차원 영상에 포함된 각 객체들을 상기 정렬 순서에 따라 순차적으로 저장할 수도 있다.In step 407, the electronic device maps and stores alignment information indicating the alignment order of the 3D image and the objects. In this case, the electronic device may sequentially store each object included in the 3D image according to the sorting order.

이후, 상기 전자기기는 409단계에서 사용자 제어에 따라 기 저장된 3차원 영상을 로딩하여 화면에 디스플레이하기 위한 이벤트가 발생되는지 여부를 검사한다. 상기 이벤트 발생 시, 상기 전자기기는 411단계에서 상기 기 저장된 3차원 영상에 대한 정렬 정보를 획득한 후, 상기 정렬 정보에 따라 상기 3차원 영상에 포함되는 객체들을 순서대로 로딩한다. In step 409, the electronic device determines whether an event for loading a pre-stored 3D image and displaying it on a screen is generated according to a user control. When the event occurs, the electronic device obtains alignment information about the pre-stored 3D image in step 411, and then sequentially loads objects included in the 3D image according to the alignment information.

이후, 상기 전자기기는 로딩된 데이터의 크기가 기 설정된 임계값보다 크거나 같은지 여부를 검사한다. 상기 전자기기는 로딩된 데이터의 크기가 기 설정된 임계값보다 작을 경우, 상기 411단계로 진행하여 다음 순서의 객체를 로딩하고, 상기 로딩된 데이터의 크기가 기 설정된 임계값보다 크거나 같을 경우, 415단계에서 상기 로딩된 데이터에 대하여 렌더링을 수행하여 화면에 디스플레이한다. 여기서, 상기 로딩된 데이터의 크기는 로딩된 객체들에 대한 파일 크기, 바운딩 박스(bounding box) 혹은 프로젝션 윈도우의 크기를 이용하여 판단할 수 있다. 여기서, 상기 전자기기는 렌더링을 수행할 때마다 로딩된 데이터의 크기를 초기화시킴으로써, 렌더링 수행 이후에 로딩되는 데이터의 크기를 상기 기 설정된 임계값과 비교하여 렌더링하는 과정을 반복적으로 수행한다.The electronic device then checks whether the size of the loaded data is greater than or equal to a preset threshold. When the size of the loaded data is smaller than the preset threshold, the electronic device proceeds to step 411 to load the next object, and when the size of the loaded data is greater than or equal to the preset threshold, 415. In the step, the rendering is performed on the loaded data and displayed on the screen. The size of the loaded data may be determined using a file size, a bounding box, or a projection window of the loaded objects. In this case, the electronic device initializes the size of the loaded data every time the rendering is performed, thereby repeatedly performing the rendering process comparing the size of the data loaded after the rendering with the preset threshold.

이후, 상기 전자기기는 로딩할 객체가 존재하는지 여부를 검사하여 로딩할 객체가 존재할 시 상기 411단계로 되돌아가고, 상기 로딩할 객체가 존재하지 않을 시 본 발명에 따른 알고리즘을 종료한다.
Thereafter, the electronic device checks whether an object to be loaded exists and returns to step 411 when the object to be loaded exists, and terminates the algorithm according to the present invention when the object to be loaded does not exist.

도 5는 본 발명의 실시 예에 따른 전자기기에서 3차원 영상을 로딩하여 렌더링하는 방식을 도시하고 있다.5 is a diagram illustrating a method of loading and rendering a 3D image in an electronic device according to an embodiment of the present disclosure.

상기 도 5를 참조하면, 본 발명은 3차원 영상에 포함된 객체 A, B 및 C의 크기 및 시점에 대한 거리 정보를 획득한 후, 획득한 정보를 바탕으로 기 설정된 정렬 방식에 따라 상기 객체 A, B 및 C를 정렬한다. 여기서, 상기 기 설정된 방식이 시점에 대한 거리가 가까우면서 객체의 크기가 큰 순서대로 정렬하는 방식인 경우, 상기 객체 A, B 및 C는 B, A, C 순으로 정렬될 수 있다. 이후, 상기 3차원 영상을 화면에 디스플레이할 시, 상기 전자기기는 상기 정렬 순서에 따라 상기 객체 B를 먼저 로딩하여 렌더링하고, 다음으로 객체 A를 로딩하여 렌더링한 후, 마지막으로 객체 C를 로딩하여 렌더링할 수 있다. 물론, 여기서 상기 객체 B의 크기가 렌더링을 위한 임계값보다 작을 시, 상기 전자기기는 상기 객체 B를 로딩한 다음 렌더링을 수행하지 않고 상기 객체 A를 로딩한 후, 상기 객체 A와 B를 합한 크기를 임계값과 비교하여 렌더링할지 여부를 결정할 수 있을 것이다.
Referring to FIG. 5, the present invention obtains distance information on sizes and viewpoints of objects A, B, and C included in a 3D image, and then sets the object A according to a preset alignment method based on the obtained information. Sort B, C. Here, when the preset method is a method of arranging the sizes of the objects in a large order while the distance to the viewpoint is close, the objects A, B, and C may be arranged in the order of B, A, C. Subsequently, when displaying the 3D image on the screen, the electronic device loads and renders the object B first according to the sorting order, then loads and renders the object A, and finally loads the object C Can render. Of course, when the size of the object B is smaller than the threshold for rendering, the electronic device loads the object B and then loads the object A without performing rendering, and then the size of the sum of the objects A and B May be compared with a threshold to determine whether to render.

한편 본 발명의 상세한 설명에서는 구체적인 실시 예에 관해 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능하다. 그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니 되며 후술하는 특허청구의 범위뿐만 아니라 이 특허청구의 범위와 균등한 것들에 의해 정해져야 한다.
Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the scope of the following claims, but also by the equivalents of the claims.

300: 제어부 310: 객체 정보 획득부
320: 객체 정렬부 330: 저장부
340: 로딩부 350: 렌더링부
300: control unit 310: object information acquisition unit
320: object alignment unit 330: storage unit
340: loading unit 350: rendering unit

Claims (10)

전자기기에서 3차원 영상 렌더링 방법에 있어서,
3차원 영상에 포함된 객체들의 정렬 순서를 결정하는 과정과,
상기 정렬 순서에 따라 상기 객체들을 순서대로 로딩하는 과정과,
로딩된 데이터의 크기와 임계값을 비교하는 과정과,
상기 로딩된 데이터의 크기가 임계값 이상일 경우, 상기 로딩된 데이터에 대한 렌더링을 수행하는 과정을 포함하는 것을 특징으로 하는 방법.
In the 3D image rendering method in an electronic device,
Determining a sorting order of the objects included in the 3D image;
Loading the objects in order according to the sorting order;
Comparing the size of the loaded data with a threshold,
If the size of the loaded data is greater than or equal to a threshold, performing the rendering of the loaded data.
제 1항에 있어서,
상기 로딩된 데이터의 크기가 임계값 이하일 경우, 상기 정렬 순서에 따라 다음 객체를 로딩하는 과정을 더 포함하는 것을 특징으로 하는 방법.
The method of claim 1,
If the size of the loaded data is less than or equal to a threshold, further comprising loading the next object according to the sorting order.
제 1항에 있어서,
상기 3차원 영상에 포함된 객체들의 정렬 순서를 결정하는 과정은,
상기 3차원 영상에 포함된 객체들의 크기 정보 및 시점에 대한 거리 정보 중 적어도 하나를 획득하는 과정과,
상기 객체들의 크기 정보 및 시점에 대한 거리 정보 중 적어도 하나를 이용하여 정렬 순서를 결정하는 과정을 포함하는 것을 특징으로 하는 방법.
The method of claim 1,
The process of determining the sort order of the objects included in the 3D image,
Obtaining at least one of size information of objects included in the 3D image and distance information on a viewpoint;
And determining an order of sorting using at least one of the size information of the objects and the distance information on the viewpoint.
제 3항에 있어서,
상기 3차원 영상에 포함된 객체들의 정렬 순서를 결정한 후, 상기 객체들의 정렬 순서를 상기 3차원 영상에 매핑하여 저장하는 과정을 더 포함하는 것을 특징으로 하는 방법.
The method of claim 3, wherein
And after determining the sort order of the objects included in the 3D image, mapping the sort order of the objects to the 3D image and storing the sorted order.
제 3항에 있어서,
상기 로딩된 데이터의 크기 정보와 객체들의 크기 정보 각각은, 객체에 대한 파일 크기, 바운딩 박스(bounding box) 및 프로젝션 윈도우 중 적어도 하나를 이용하여 획득하는 것을 특징으로 하는 방법.
The method of claim 3, wherein
Each of the size information of the loaded data and the size information of the objects is obtained using at least one of a file size, a bounding box, and a projection window for the object.
전자기기에서 3차원 영상 렌더링 장치에 있어서,
3차원 영상에 포함된 객체들의 정렬 순서를 결정하는 객체 정렬부와,
상기 정렬 순서에 따라 상기 객체들을 순서대로 로딩하는 로딩부와,
로딩된 데이터의 크기와 임계값을 비교하여 상기 로딩된 데이터의 크기가 임계값 이상일 경우, 상기 로딩된 데이터에 대한 렌더링을 수행하는 렌더링부를 포함하는 것을 특징으로 하는 장치.
In the 3D image rendering apparatus in an electronic device,
An object arranging unit which determines an order of arranging objects included in the 3D image;
A loading unit which sequentially loads the objects according to the sorting order;
And a rendering unit which compares the size of the loaded data with a threshold and renders the loaded data when the size of the loaded data is greater than or equal to the threshold.
제 6항에 있어서,
상기 렌더링부는, 상기 로딩된 데이터의 크기가 임계값 이하일 경우, 상기 정렬 순서에 따라 다음 객체가 로딩되어 상기 로딩된 데이터의 크기가 임계값 이상일 때까지 렌더링을 대기하는 것을 특징으로 하는 장치.
The method of claim 6,
The rendering unit, if the size of the loaded data is less than or equal to the threshold value, the device waiting for rendering until the next object is loaded in accordance with the sorting order and the size of the loaded data is greater than or equal to the threshold value.
제 6항에 있어서,
상기 객체 정렬부는, 상기 3차원 영상에 포함된 객체들의 크기 정보 및 시점에 대한 거리 정보 중 적어도 하나를 이용하여 정렬 순서를 결정하는 것을 특징으로 하는 장치.
The method of claim 6,
The object arranging unit may determine the sorting order using at least one of size information of objects included in the 3D image and distance information on a viewpoint.
제 8항에 있어서,
상기 객체들의 정렬 순서를 상기 3차원 영상에 매핑하여 저장하는 저장부를 더 포함하는 것을 특징으로 하는 장치.
The method of claim 8,
And a storage unit which maps and stores the sorting order of the objects to the 3D image.
제 8항에 있어서,
상기 로딩된 데이터의 크기 정보와 객체들의 크기 정보 각각은, 객체에 대한 파일 크기, 바운딩 박스(bounding box) 및 프로젝션 윈도우 중 적어도 하나를 이용하여 획득하는 것을 특징으로 하는 장치.
The method of claim 8,
Each of the size information of the loaded data and the size information of the objects is obtained using at least one of a file size, a bounding box, and a projection window for the object.
KR1020100029051A 2010-03-31 2010-03-31 Apparatus and method for rendering three dimensional image in electronic device KR101689132B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100029051A KR101689132B1 (en) 2010-03-31 2010-03-31 Apparatus and method for rendering three dimensional image in electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100029051A KR101689132B1 (en) 2010-03-31 2010-03-31 Apparatus and method for rendering three dimensional image in electronic device

Publications (2)

Publication Number Publication Date
KR20110109356A true KR20110109356A (en) 2011-10-06
KR101689132B1 KR101689132B1 (en) 2016-12-23

Family

ID=45026608

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100029051A KR101689132B1 (en) 2010-03-31 2010-03-31 Apparatus and method for rendering three dimensional image in electronic device

Country Status (1)

Country Link
KR (1) KR101689132B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020001072A (en) * 2000-06-24 2002-01-09 한탁돈 3D graphic accelerator and method for processing graphic acceleration using the same
KR100790892B1 (en) * 2006-10-18 2008-01-02 삼성전자주식회사 Method and apparatus to render 3d graphics data for enhancing image quality of transparent object
KR20080071858A (en) * 2007-01-31 2008-08-05 삼성전자주식회사 Apparatus and method for arranging 3d object
KR20090040830A (en) * 2007-10-22 2009-04-27 삼성전자주식회사 Apparatus and method for rendering 3d graphic object

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020001072A (en) * 2000-06-24 2002-01-09 한탁돈 3D graphic accelerator and method for processing graphic acceleration using the same
KR100790892B1 (en) * 2006-10-18 2008-01-02 삼성전자주식회사 Method and apparatus to render 3d graphics data for enhancing image quality of transparent object
KR20080071858A (en) * 2007-01-31 2008-08-05 삼성전자주식회사 Apparatus and method for arranging 3d object
KR20090040830A (en) * 2007-10-22 2009-04-27 삼성전자주식회사 Apparatus and method for rendering 3d graphic object

Also Published As

Publication number Publication date
KR101689132B1 (en) 2016-12-23

Similar Documents

Publication Publication Date Title
US11922534B2 (en) Tile based computer graphics
US20230088494A1 (en) Tessellating patches of surface data in tile based computer graphics rendering
KR102276909B1 (en) Apparatus and Method for rendering
US9330466B2 (en) Methods and apparatus for 3D camera positioning using a 2D vanishing point grid
US10229524B2 (en) Apparatus, method and non-transitory computer-readable medium for image processing based on transparency information of a previous frame
US9286858B2 (en) Hit testing method and apparatus
US10621761B2 (en) Computer-readable recording medium, computer apparatus, and computer processing method for placing object in virtual space and displaying placed object according to display mode
US9747692B2 (en) Rendering apparatus and method
KR101507776B1 (en) methof for rendering outline in three dimesion map
WO2014117559A1 (en) 3d-rendering method and device for logical window
US9805502B2 (en) Rendering system and method
US9384593B2 (en) Level of detail processing
US20180089886A1 (en) Rendering via ray-depth field intersection
US8605100B2 (en) Drawing device and drawing method
US20160358369A1 (en) Thumbnail image creation apparatus, and 3d model data management system
US9734579B1 (en) Three-dimensional models visual differential
KR20110109356A (en) Apparatus and method for rendering three dimensional image in electronic device
KR102116976B1 (en) Apparatus and Method for rendering
KR20150042095A (en) Apparatus and Method for rendering frame by sorting processing sequence of draw commands
CN117523067A (en) Data rendering method, device, processor and storage medium
JP2010026567A (en) Three-dimensional object representation method and computer program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
X091 Application refused [patent]
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20191216

Year of fee payment: 4