KR970022816A - Apparatus and method for implementing bump mapping in hardware - Google Patents

Apparatus and method for implementing bump mapping in hardware Download PDF

Info

Publication number
KR970022816A
KR970022816A KR1019950034758A KR19950034758A KR970022816A KR 970022816 A KR970022816 A KR 970022816A KR 1019950034758 A KR1019950034758 A KR 1019950034758A KR 19950034758 A KR19950034758 A KR 19950034758A KR 970022816 A KR970022816 A KR 970022816A
Authority
KR
South Korea
Prior art keywords
normal vector
bump
vector
value
hardware
Prior art date
Application number
KR1019950034758A
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 KR1019950034758A priority Critical patent/KR970022816A/en
Publication of KR970022816A publication Critical patent/KR970022816A/en

Links

Abstract

본 발명은 범프 맵핑을 하드웨어로 구현하는 장치 및 그 방법에 관한 것으로서, 그 장치는 범프 맵의 벡터값을 기억하고 있는 텍스쳐 메모리, 면에 대한 법선 벡터에 따른 최종적인 색상을 구하는 색상 모형(illusion model), 다각형 위의 현재 x, y축에 해당되는 면에 대한 법선 리터 값을 계산하는 표면 법선 리터 보간기(SNVI)를 구비하고, 상기 텍스쳐 메모리로부터 3개의 범프 맵 값을 입력받아 이것을 저장하는 레지스터; 상기 레지스터로부터 입력된 범프 맵 값을 감산하는 감산기; 및 상기 레지스터 및 감산기의 동작을 컨트롤하는 컨트롤 로직을 구비하여 상기 감산기로부터 출력된 새로운 법선 리터와 상기 표면 법선 벡터 보간기로부터 출력된 새로운 법선 리터에 의해 상기 색상 모형(illusion model)에 최종의 색상 값을 생성시키는 것을 특징한다.The present invention relates to a device for implementing bump mapping in hardware and a method thereof, comprising: a texture model storing a vector value of a bump map, and a color model for obtaining a final color according to a normal vector of a face. And a surface normal liter interpolator (SNVI) that calculates the normal liter value for the plane corresponding to the current x and y axes on the polygon, and registers three bump map values from the texture memory and stores them. ; A subtractor for subtracting the bump map value input from the register; And control logic for controlling the operation of the register and the subtractor, the final color value being included in the color model by the new normal liter output from the subtractor and the new normal liter output from the surface normal vector interpolator. It is characterized by generating.

따라서, 상술한 바와 같이 본 발명에 따른 범프 맵핑의 하드웨어로의 구현하는 것은 실처리 시간을 단축시키는 효과를 갖는다.Therefore, as described above, the implementation of the bump mapping according to the present invention in hardware has an effect of shortening the actual processing time.

Description

범프 맵핑을 하드웨어로 구현하는 장치 및 그 방법Apparatus and method for implementing bump mapping in hardware

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음As this is a public information case, the full text was not included.

제1도는 본 발명에 따른 범프 맵핑을 하드웨어로 구현하기 위한 장치를 보이는 블럭도이다.1 is a block diagram showing an apparatus for implementing bump mapping in hardware according to the present invention.

Claims (3)

범프 맵의 벡터 값을 기억하고 있는 텍스쳐 메모리, 면에 대한 법선 벡터에 따른 최종적인 색상을 구하는 색상 모형, 다각형 위의 현재 x, y축에 해당되는 면에 대한 법선 벡터 값을 계산하여 제1법선 벡터로 출력하는 표면 법선 벡터 보간기를 구비하여 범프 맴핑을 하드웨어로 구현하는 장치에 있어서, 상기 텍스쳐 메모리로부터 출력되는 범프 맵의 벡터 값을 저장하는 다수의 레지스터; 상기 다수의 레지스터로부터 출력된 범프 맵의 리터 값에 대한 편미분값을 구하여 제2법선벡터로 출력하는 감산기; 및 상기 레지스터 및 감산기의 동작을 제어하는 컨트롤 로직을 구비하여 상기 감산기로부터 출력된 제2법선 벡터와 상기 표면 법선 벡터 보간기로부터 출력된 제1법선 벡터에 의해 상기 색상 모형에 최종의 색상 값을 생성시키는 것을 특징으로 하는 범프 맵핑을 하드웨어로 구현하는 장치.Texture memory that stores vector values of bump maps, color models to obtain final colors based on normal vectors for faces, first normals by calculating normal vector values for faces corresponding to the current x and y axes on polygons An apparatus for implementing bump mapping in hardware by including a surface normal vector interpolator for outputting a vector, the apparatus comprising: a plurality of registers for storing vector values of a bump map output from the texture memory; A subtractor for calculating partial derivatives of the liter values of the bump maps output from the plurality of registers and outputting the partial derivatives as second normal vectors; And a control logic for controlling the operation of the register and the subtractor to generate a final color value in the color model by the second normal vector output from the subtractor and the first normal vector output from the surface normal vector interpolator. And hardware to implement bump mapping. 범프 맵핑을 하드웨어로 구현하는 방법에 있어서, 광원이 투영된 다각형 위의 현재 x, y축에 해당되는 면에 대한 제1법선 벡터 값을 구하는 단계; 범프 맵의 벡터 값으로부터(U,V),(U+l,V),(U,V+l) 위치의 범프 값을 인덱스하여 저장하는 단계; 이 저장된 값으로부터 제2법선 벡터 갔을 구하는 단계; 및 상기 새로운 법선 벡터를 구하는 단계와 상기 x, y축에 해당되는 면에 대한 법선 벡터 값을 구하는 단계로부터 반사 및 굴절 등이 고려된 이루션된 최종적인 칼라 값을 계산하는 단계를 포함함을 특징으로 하는 범프 맵핑을 하드웨어로 구현하는 방법.A hardware implementation of bump mapping, the method comprising: obtaining a first normal vector value for a plane corresponding to a current x and y axis on a polygon in which a light source is projected; Indexing and storing bump values at positions (U, V), (U + l, V), and (U, V + l) from the vector values of the bump map; Obtaining a second normal vector from the stored value; And calculating a final color value in consideration of reflection and refraction from the step of obtaining the new normal vector and the value of the normal vector for the plane corresponding to the x and y axes. How to implement bump mapping in hardware. 제2항에 있어서, 제2법선 벡터를 구하는 단계는The method of claim 2, wherein the step of obtaining the second normal vector 여기서, Bu(Bv): 범프 맵의 U(V)방향으로 U, V점에서의 편미분 값.Here, B u (B v ): partial differential value at points U and V in the U (V) direction of the bump map. Su(Sv): 3차원 물체에서 U, V점에서 U(V)방향으로 편미분 값.S u (S v ): Partial differential value in the U (V) direction at the U and V points in a three-dimensional object. N′: 새로운 법선 벡터.N ′: New normal vector. N : 기존의 법선 벡터.N: Conventional normal vector. 상기 (식1)로부터 새로운 법선 벡터(N′)를 구하는 것을 특징으로 하는 범프 맵핑을 하드웨어로 구현하는 방법.And a new normal vector (N ') from (1). ※ 참고사항; 최초출원 내용에 의하여 공개하는 것임.※ Note; Disclosure based on original application.
KR1019950034758A 1995-10-10 1995-10-10 Apparatus and method for implementing bump mapping in hardware KR970022816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950034758A KR970022816A (en) 1995-10-10 1995-10-10 Apparatus and method for implementing bump mapping in hardware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950034758A KR970022816A (en) 1995-10-10 1995-10-10 Apparatus and method for implementing bump mapping in hardware

Publications (1)

Publication Number Publication Date
KR970022816A true KR970022816A (en) 1997-05-30

Family

ID=66583146

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950034758A KR970022816A (en) 1995-10-10 1995-10-10 Apparatus and method for implementing bump mapping in hardware

Country Status (1)

Country Link
KR (1) KR970022816A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100420859B1 (en) * 2001-08-11 2004-03-02 학교법인연세대학교 apparatus and method for processing bump mapping

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100420859B1 (en) * 2001-08-11 2004-03-02 학교법인연세대학교 apparatus and method for processing bump mapping

Similar Documents

Publication Publication Date Title
US5163126A (en) Method for adaptively providing near phong grade shading for patterns in a graphics display system
US5745666A (en) Resolution-independent method for displaying a three-dimensional model in two-dimensional display space
KR100261076B1 (en) Rendering method and apparatus of performing bump mapping and phong shading at the same time
JPH0683979A (en) Method and system for displaying computer graphic accompaned by formation of shadow
JPH07152926A (en) Method for shading of three-dimensional image
US6700584B1 (en) Method and apparatus for handling translucency in 3D graphics
US6184893B1 (en) Method and system for filtering texture map data for improved image quality in a graphics computer system
CA2291408A1 (en) Method for time based shadow rendering
US7071937B1 (en) Dirt map method and apparatus for graphic display system
JP2003510703A (en) Depth-based blending for 3D graphic systems
JP2006517705A (en) Computer graphics system and computer graphic image rendering method
JPH096988A (en) Apparatus for giving of depth instruction to color
KR970022816A (en) Apparatus and method for implementing bump mapping in hardware
JP2004519044A (en) Computer 3D graphic volume clipping
JP2739447B2 (en) 3D image generator capable of expressing wrinkles
JPH04222076A (en) Computer graphic method for adding regular reflection on image provided with half-shadow part
KR880003242A (en) Signal generating device and method
KR100393185B1 (en) Apparatus for synthesizing three-dimensional structure data with graphics object, and method therefor
Gervautz Three improvements of the ray tracing algorithm for CSG trees
Crocker Screen-area coherence for interactive scanline display algorithms
Vyatkin et al. Shadow Generation Method for Volume-Oriented Visualization of Functionally Defined Objects
EP0725365A1 (en) Shading three-dimensional images
KR0153664B1 (en) 3d object generator in a graphic system
JPH07152925A (en) Image generating device
KR0176495B1 (en) Texel mapping acceleration apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application