KR970071366A - Method and apparatus for calculating the detail (LOD) in bilinear mipmapping - Google Patents

Method and apparatus for calculating the detail (LOD) in bilinear mipmapping Download PDF

Info

Publication number
KR970071366A
KR970071366A KR1019960011443A KR19960011443A KR970071366A KR 970071366 A KR970071366 A KR 970071366A KR 1019960011443 A KR1019960011443 A KR 1019960011443A KR 19960011443 A KR19960011443 A KR 19960011443A KR 970071366 A KR970071366 A KR 970071366A
Authority
KR
South Korea
Prior art keywords
value
lookup table
outputting
texture image
output
Prior art date
Application number
KR1019960011443A
Other languages
Korean (ko)
Other versions
KR100313846B1 (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 KR1019960011443A priority Critical patent/KR100313846B1/en
Publication of KR970071366A publication Critical patent/KR970071366A/en
Application granted granted Critical
Publication of KR100313846B1 publication Critical patent/KR100313846B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • 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/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Image Generation (AREA)

Abstract

본 발명은 바이리니어 밉매핑에서의 상세도(LOD)계산 방법 및 장치에 관한 것으로서, 텍스쳐이미지 좌표값을(u,v), 객체의 스크린상 화소좌표를 (x,y)라 할때, 텍스쳐이미지 변화량 du/dx(또는 du/dy)를 입력하여, (du/dx)2+(dv/dx)2=22d, (du/dy)2+ (dv/dy)2=22d방정식에 의해 dv/dx(또는 dv/dy)를 출력하는 룩업테이블 생성단계; (du/dx, dv/dx) 또는 (du/dy, dv/dy) 입력단계; 입력값을 양수로 바꾸고 du/dx와 dv/dx(또는 duddy와 dv/dy)를 비교하여 큰 값을 du/dx(또는 du/dy)로 출력하고, 작은 값을 dv/dx(또는 dv/dy)로 치환하여 룩업테이블에 상응하도록 이진쉬프트해서 출력하는 전 변환단계: du/dx(또는 du/dy)에 대한 룩업테이블 참조단계; 출력된 dv/dx(또는 dv/dy)값과 룩업테이블 참조값을 비교하는 후변환단계; 및 dx에 상응하는 출력값과 dy에 상응하는 출력값을 비교하여 큰 값을 출력하는 단계를 포함한다.The present invention relates to a method and apparatus for calculating a detail degree (LOD) in bilinear mipmapping, wherein when texture image coordinate values are (u, v) and pixel coordinates on the screen of an object are (x, y) by entering the image change amount du / dx (or du / dy), (du / dx) 2 + (dv / dx) on a 2 = 2 2d, (du / dy) 2 + (dv / dy) 2 = 2 2d equation A lookup table generation step of outputting dv / dx (or dv / dy); (du / dx, dv / dx) or (du / dy, dv / dy); Dv / dx (or dv / dy) with du / dx and dv / dx (or duddy and dv / dy) dy) and outputting the binary shift corresponding to the lookup table; a step of referring to a lookup table for du / dx (or du / dy); A post-conversion step of comparing the outputted dv / dx (or dv / dy) value with a lookup table reference value; And comparing the output value corresponding to dx with the output value corresponding to dy and outputting a larger value.

본 발명에 의하면, 바이리니어 맵매핑에서 LOD를 구하는데 있어서 최적화된 데이터량으로 된 룩업테이블을 이용하므로써 곱셈기를 사용하였을 때보다 게이트 수를 줄이고 처리속도를 높일 수 있다.According to the present invention, the number of gates can be reduced and the processing speed can be increased by using a lookup table having an optimized amount of data for obtaining the LOD in the bilinear map mapping.

Description

바이리니어 밉매핑에서의 상세도(LOD)계산 방법 및 장치Method and apparatus for calculating the detail (LOD) in bilinear mipmapping

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음Since this is a trivial issue, I did not include the contents of the text.

제1도는 밉맵에 대한 좌표계와 구성을 도시한 것이다, 제2도는 바이리니어 밉맵을 도시한 것이다, 제3도는 LOD계산을 하기 위한 방정식의 해석도를 도시한 것이다, 제4도는 상기 룩업테이블을 이용한 바이리니어 밉맵의 LOD 계산 장치의 블록도를 도시한 것이다.FIG. 1 shows a coordinate system and configuration for a mipmap, FIG. 2 shows a bilinear mipmap, FIG. 3 shows an analysis of an equation for LOD calculation, FIG. And a block diagram of an LOD calculation device of a bilinear mipmap is shown.

Claims (3)

텍스쳐 매핑의 바이리너어 밉 매핑을 위한 LOD를 계산하는 방법에 있어서, 텍스쳐 매핑에서 객체를 폴리곤 단위로 처리함에 있어서 텍스쳐 이미지를 나타내는 좌표값을 (u,v)라 하고. 상기 객체가 디스플레이되는 스크린상의 화소의 좌표를 (x,y)라 하며, 상기 폴리곤 내부에 있는 각 화소에 대한 상기 텍스쳐 이미지의 변화량을 du/dx, dv/dy, du/dy, dv/dy로 나타낼 때, 상기 텍스쳐 이미지의 변화량을 du/dx(또는 du/dy)를 입력으로 하여, 상기 LOD를 d라 할 때 (du/dx)2+ (dv/dx)2=22d, (du/dy)2+(dv/dy)2=22d방정식에 의해 상기 변화량 dv/dx(또는 dv/dy)를 출력하는 룩업테이블을 생성하는 단계; 상기 텍스쳐 이미지 변화량(du/dx, dv/dx) 또는 (du/dy, dv/dy)를 입력으로 하는 단계; 상기 입력된 du/dx, dv/dx(또는 du/dy, dv/dy)를 양의 수로 바꾸고 du/dx와 dv/dx(또는 du/dy와 dv/dy)를 비교하여 큰 값을 du/dx (또는 du/dy)로 치환하여 출력하고, 작은 값을 dv/dx(또는 dv/dy)로 치환하여 상기 룩업테이블에 상응하도록 이진 쉬프트해서 출력하는 전변환단계; 상기 전변환 단계에서 출력된 du/dx(또는 du/dy)에 대한 룩업테이블을 참조하는 단계; 상기 전변환 단계에서 출력된 dv/dx(또는 dv/dy)값과 상기 룩업테이블 참조값을 비교하는 후변환단계; 및 상기 후변환단계에서 dx에 상응하는 출력값(LODl)과 dy에 상응하는 출력값(LOD2)을 비교하여 큰 값을 출력하는 단계를 포함함을 특징으로 하는 바이리러어 맵매핑의 LOD 계산 방법.A method of calculating an LOD for bilinear mipmapping of a texture mapping, wherein a coordinate value representing a texture image is expressed as (u, v) when processing an object in a polygon unit in texture mapping. Dx / dy, du / dy, dv / dy, where dx / dy represents the amount of change of the texture image for each pixel in the polygon, (Du / dx) 2 + (dv / dx) 2 = 2 2d (du / dx) where du is the input amount of the texture image, du / dx dy) 2 + (dv / dy) 2 = 2 2d equation to output the change amount dv / dx (or dv / dy); Inputting the texture image variation amount (du / dx, dv / dx) or (du / dy, dv / dy); The du / dx and dv / dx (or du / dy and dv / dy) are compared with each other by changing the inputted du / dx, dv / dx (or du / dx (or du / dy), replacing a small value with dv / dx (or dv / dy), and outputting the binary shift corresponding to the lookup table; Referring to a lookup table for du / dx (or du / dy) output in the pre-conversion step; A post-conversion step of comparing the dv / dx (or dv / dy) value output from the pre-conversion step with the lookup table reference value; And outputting a large value by comparing the output value LODl corresponding to dx with the output value LOD2 corresponding to dy in the post-conversion step. 제1항에 있어서, 상기 룩업테이블 생성단계는 텍스쳐 매핑에서 객체를 폴리곤 단위로 처리함에 있어서 텍스쳐 이미지를 나타내는 좌표값을 (u,v)라 하고 상기 객체가 디스플레이되는 스크린상의 화소의 좌표를 (x,y)라 할 때, 상기 폴리곤 내부에 있는 각 화소에 대한 상기 텍스쳐 이리지의·변화량은 du/dx, dv/dy, du/dy,dv/dy가 되고, 상기 LOD를 d라 하면 d =log2[MAX{}]가 되며, 상기 식을 MAX((du/d7)2(dy/dx)2, (du/dy)2, (dv/dy)2)=22d로 변환하는 단계; 상기 22d=r2로 두고, 상기 변환된 식의 좌변을 (du/dx)2+ (dv/dx)2=r2, (du/dy)2+(dv/dy)2)=r2로 분리하는 단계; 및 상기 r 값이 r≤2이면 LOD 0.2<r≤4이면 LOD1.4<r≤8이면 LOD2, 8<r≤16이면 LOD3, 16<r≤32이면 LOD4라고 할 때, 상기 du/dx가 16/du/dx16인 범위에 존재할 때, 상기 입력값 du/dx에 상응하는 dv/dx값을 출력하는 룩업테이블을 만드는 단계를 포함함을 특징으로 하는 바이리니어 맵매핑의 LOD 계산 방법.The method of claim 1, wherein the step of generating the lookup table comprises: (u, v) a coordinate value indicating a texture image when processing an object in units of polygons in texture mapping, d, dv / dy, du / dy, dv / dy for each pixel in the polygon, and d = log 2 [MAX { }] And converting the above equation to MAX ((du / d7) 2 (dy / dx) 2 , (du / dy) 2 , (dv / dy) 2 ) = 2 2d ; The 2 2d = left to r 2, the left-hand side of the above conversion formula (du / dx) 2 + ( dv / dx) 2 = r 2, (du / dy) 2 + (dv / dy) 2) = r 2 ; And when LOD1.4 <r? 8, LOD2, 8? R? 16, LOD3, and 16 <r? 16 / du-dx16, and outputting a dv / dx value corresponding to the input value du / dx when the input signal is in a range of du / dx16. 텍스쳐 매핑에서 객체를 폴리곤 단위로 처리함에 있어서 텍스쳐 이미지를 나타내는 좌표값을 (u,v)라 하고 상기 객체가 디스플레이되는 스크린상의 화소의 좌표를 (X,y)라 하며, 상기 폴리곤 내부에 있는 각 화소에 대한 상기 텍스쳐 이미지의 변화량을 du/dx, dv/dy, du/dy, dv/dy라 할 때, 상기 텍스쳐 이미지의 변화량 du/dx (또는 du/dy)를 입력으로 하여, 상기 LOD를 d라 할 경우 (du/dx)2+ (dv/dx)2=2ad, (du/dy)2+ (dv/dy)2=2ad방정식에 의해 상기 변화량 dv/dx(또는 dv/dy)를 출력하는 룩업테이블; 상기 택스쳐 이미지 변화량 du/dx와 du/dy를 입력으로 하여 하나를 선택하여 출력하는 제1다중화기; 상기 텍스쳐 이미지 변화량 dv/dx와 dv/dy를 입력으로 하여 하나를 선택하여 출력하는 제2다중화기; 상기 입력된 du/dx, dv/dx(또는 dv/dy, dv/dy)를 양의 수로 바꾸고 du/dx와 dv/dx(또는 du/dy와 dv/dy)를 비교하여 큰 값을 du/dx(또는 du/dy)로 치환하여 출력하고, 작은 값을 dv/dx(또는 dv/dy)로 치환하여 상기 룩업테이블에 상응하도록 이진 쉬프트해서 출력하는 전변환부; 상기 전변환부 출력된 dv/dx(또는 dv/dy)값과 상기 룩업데이블 참조값을.비교하는 후변환부; 및 상기 후변환부에서 dx에 상응하는 출력값(LODI)를 저장하는 제1저장부; 상기 후변환부에서 dy에 상응하는 출력값(LOD2)를 저장하는 재2저장부; 및 상기 제1저장부와 제2저장부의 출력값을 비교하여 큰값을 출력하는 비교기를 포함함을 특징으로 하는 바이리니어 맵매핑의 LOD 계산 장치.(U, v) and a coordinate of a pixel on the screen on which the object is displayed is (X, y), and a coordinate value representing a texture image (Or du / dy) of the texture image when the amount of change of the texture image with respect to the pixel is du / dx, dv / dy, du / dy and dv / dy, d if d (du / dx) 2 + ( dv / dx) 2 = 2 ad, (du / dy) 2 + (dv / dy) 2 the amount of change by a = 2 ad equation dv / dx (or dv / dy A lookup table for outputting a lookup table; A first multiplexer for selecting one of the texture image variation amounts du / dx and du / dy and outputting the selected one; A second multiplexer for selecting one of the texture image change amounts dv / dx and dv / dy as input and outputting the selected one; The du / dx and dv / dx (or du / dy and dv / dy) are compared with each other by changing the input du / dx, dv / dx (or dv / dy, dv / dy) dx (or du / dy), substituting a small value by dv / dx (or dv / dy) and performing a binary shift corresponding to the lookup table and outputting the result; A post-conversion unit for comparing the value of the dv / dx (or dv / dy) output from the all-transition unit with the lookup table reference value; And a first storage unit for storing an output value (LODI) corresponding to dx in the post-conversion unit; A post-2 storing unit for storing an output value (LOD2) corresponding to dy in the post-conversion unit; And a comparator for comparing the output values of the first storage unit and the second storage unit and outputting a larger value. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: It is disclosed by the contents of the first application.
KR1019960011443A 1996-04-16 1996-04-16 Method and device for calculating lod in bilinear mips mapping KR100313846B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960011443A KR100313846B1 (en) 1996-04-16 1996-04-16 Method and device for calculating lod in bilinear mips mapping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960011443A KR100313846B1 (en) 1996-04-16 1996-04-16 Method and device for calculating lod in bilinear mips mapping

Publications (2)

Publication Number Publication Date
KR970071366A true KR970071366A (en) 1997-11-07
KR100313846B1 KR100313846B1 (en) 2001-12-28

Family

ID=37531343

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960011443A KR100313846B1 (en) 1996-04-16 1996-04-16 Method and device for calculating lod in bilinear mips mapping

Country Status (1)

Country Link
KR (1) KR100313846B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030054606A (en) * 2001-12-26 2003-07-02 한국전자통신연구원 3D texture mapping pipeline using CellVQ encoder/decoder
KR100686357B1 (en) * 2005-10-24 2007-02-22 엠텍비젼 주식회사 Log calculating method and 3d graphic processing apparatus performing the method
KR101465479B1 (en) * 2013-12-23 2014-11-26 한국건설기술연구원 Bim data processing system for displaying data of building based on bim

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100745768B1 (en) 2006-08-29 2007-08-02 삼성전자주식회사 Method for calculate lod value for reducing power consumption and 3 dimension rendering system using the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL72685A (en) * 1983-08-30 1988-08-31 Gen Electric Advanced video object generator

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030054606A (en) * 2001-12-26 2003-07-02 한국전자통신연구원 3D texture mapping pipeline using CellVQ encoder/decoder
KR100686357B1 (en) * 2005-10-24 2007-02-22 엠텍비젼 주식회사 Log calculating method and 3d graphic processing apparatus performing the method
KR101465479B1 (en) * 2013-12-23 2014-11-26 한국건설기술연구원 Bim data processing system for displaying data of building based on bim

Also Published As

Publication number Publication date
KR100313846B1 (en) 2001-12-28

Similar Documents

Publication Publication Date Title
US6184903B1 (en) Apparatus and method for parallel rendering of image pixels
JP3860859B2 (en) Computer graphics system with high performance primitive clipping preprocessing
KR960040026A (en) Resolution conversion device and resolution conversion method
WO2010053176A1 (en) Bezier curve drawing device, bezier curve drawing method, and recording medium
KR100241060B1 (en) Determining the level of detail for texture mapping in computer graphics
WO2000019377B1 (en) Graphics processor with deferred shading
KR970703568A (en) METHOD AND APPARATUS FOR IMAGE POTATION
GB2150797A (en) Graphic display system
KR970071366A (en) Method and apparatus for calculating the detail (LOD) in bilinear mipmapping
US20060094963A1 (en) Minimum arc velocity interpolation for three-dimensional ultrasound imaging
KR100393086B1 (en) Anisotropic texture filtering method and apparatus using area coverage weight of sub-texel precision
US6005988A (en) Method and apparatus for rapid digital image resizing
US5900882A (en) Determining texture coordinates in computer graphics
US6460063B1 (en) Division circuit and graphic display processing apparatus
US6329999B1 (en) Encoder, method thereof and graphic processing apparatus
US8576219B2 (en) Linear interpolation of triangles using digital differential analysis
US6624820B2 (en) Graphic processing method for determining representative texture data for a plurality of pixels and apparatus for same
EP0568360A2 (en) Graphics system using quadratic polynomial fragments
JP2005025254A (en) Computer graphics plotting device
KR100261075B1 (en) Trilinear texture mapping speed-up apparatus
US20030095130A1 (en) Texture mapping method
JPH08123980A (en) Three-dimensional figure drawing device
JP3358891B2 (en) Z-value perspective transformation processing method and image processing apparatus
JP3118064B2 (en) Curve drawing device
GB2359230A (en) Computer graphics rendering of partially transparent object

Legal Events

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

Payment date: 20080930

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee