ShaderX2: DirectX 9 셰이더 프로그래밍

Size: px
Start display at page:

Download "ShaderX2: DirectX 9 셰이더 프로그래밍"

Transcription

1 1. Dire c tx 고수준 셰이딩 언어 HLSL에 대한 소개 Craig Peeper & Jason L. Mitchell

2 HLSL(High Level Shading Language) DirectX 9.,. HLSL,,,. ShaderX 2 : DirectX 9 & HLSL,. HLSL. HLSL, procedural wood 1) HLSL HLSL. HLSL. f l oat 4x4 vi ew_proj_mat r i x; f l oat 4x4 t ext ure_mat r i x0; st r uct VS_PUTOUT f l oat 4 Pos f l oat 3 Pshade ; : POSITION; : TEXCOORD0; VS_OUTPUT mai n (f l oat 4 vposi t i on : POSITION) VS_OUTPUT Out = (VS_OUTPUT) 0; 1) : (procedure)

3 1. DirectX HLSL 27 / / Out. Pos = mul (vi ew_proj_mat r i x, vposi t i on) ; / / Pshade Out. Pshade = mul (t ext ure_mat ri x0, vposi t i on) ; ret ur n Out ; vi ew_proj_mat r i x t ext ure_mat r i x f l oat 4 Pos f l oat 3 Pshade VS_OUTPUT. mai n f l oat 4, VS_OUTPUT. f l oat 4 vposi t i on, VS_OUTPUT. POSITION TEXCOORD0. (semantic),. mai n vposi t i on vi ew_proj_mat r i x mul.. mul vposi t i on, mul., vposi t i on mul vpos i t i on (mul ). vposi t i on (clip space), 3D vposi t i on t ext ur e_mat r i x0. ( / ).., 3D Pshade (interpolator). HLSL procedural wood., ps_2_0.

4 f l oat 4 l i ght Wood; / / f l oat 4 dar kwood; / / f l oat r i ngfreq; / / sampl er Pul setrai nsampl er ; f l oat 4 hl sl _ri ngs (f l oat 4 Pshade : TEXCOORD0) : COLOR f l oat scal eddi st FromZAxi s = sqrt (dot (Pshade.xy, Pshade.xy) ) * ri ngfreq; f l oat bl endfact or = t ex1d (Pul setrai nsampl er, scal eddi st FromZAxi s ) ; ret ur n l er p (dar kwood, l i ght Wood, bl endfact or ) ; 4 2. Pul setrai nsampl er... Pshade,. z-, / Pul se Trai nsampl e r 1. Tex1D( ) (l i ght wood dar kwood). 4D. 4D RGBA.. HLSL. HLSL Direct3D, D3DX,

5 [ Dire c tx 9 D3D 1. DirectX HLSL 29. DirectX 8.0 Direct3D., 3D.. DirectX 8.0 DirectX 8.1 (vs_1_1 ps_1_1 ~ ps_1_4 ). [ 1-1] D3DXAs sembl eshader () DX3D, Creat epi xel Shade r () Creat ever t exshader () Direct3D. Direct3D ShaderX & ( ). 1-1] Dire c tx8 [ 1-1], DirectX9 HLSL D3DXCompi l eshader ( ) API D3DX, Creat epi xel Shader () Creat e Vert exshader () direct3d..,,. Direct3D HLSL. HLSL D3D

6 , HLSL DX SDK. DirectX 9 D3DX HLSL 3D. (vs_2_0, vs_3_0, ps_2_0 ps_3_0), HLSL. HLSL. D3DXCompi l eshade r () API HLSL D3DX. API. HLSL, Direct3D. HLSL.. HLSL. HLSL., HLSL.

7 1. DirectX HLSL 31., HLSL 6. ps_1_1 ps_1_1 4.. HLSL. HLSL.,, if-else.,, if-else, if-else.,. - fxc HLSL D3DX.,. fxc DirectX 9 SDK.,...

8 -T target ( : vs_2_0) -E name name( : main) -Od -Vd -Zi -Zpr -Zpc -Fo file -Fc file -Fh file -D id = text -nologo HLSL... HLSL. HLSL. HLSL. (*),. asm* bool compi l e const decl * do doubl e el se ext er n f al se f l oat f or hal f i f i n i nl i ne i nout i nt mat r i x* out

9 1. DirectX HLSL 33 pass* pi xel shader * ret urn sampl er shared st at i c st r i ng* st r uct t echni que* t ext ure* t r ue t ypedef uni f orm vect or * vert exshader * voi d vol at i l e whi l e. aut o break case cat ch char cl ass compi l e const const _cast cont i nue Def aul t del et e dynami c_cast enum expl i ci t f r i end got o l ong mut abl e namespace new operat or pr i vat e prot ect ed publ i c regi st er rei nt erpret _cast short Si gned si zeof st at i c_cast swi t ch t empl at e t hi s t hrow t ry t ypename uni on unsi gned usi ng vi rt ual HLSL.. bool int half float double

10 .,. half double. float. HLSL.. vector vector<type, size> 4, size, type, f l oat. f l oat 4 f Vect or0; f l oat f Vect or 1[4] ; vect or f Vect or2 ; vect or <f l oat, 4> f Vect or3; 3 bool. bool 3 bvect or0; bool bvect or1[3] ; vect or <bool, 3> bvect or2; (swizzle).

11 1. DirectX HLSL 35 x, y, z, w r, g, b, a ( )., f l oat 4 pos = 3.0f, 5.0f, 2.0f, 1.0f ; f l oat val ue0 = pos [0] ; / / val ue0 3.0f f l oat val ue1 = pos.x; / / val ue1 3.0f f l oat val ue2 = pos.g; / / val ue2 5.0f f l oat 2 vec0 = pos.xy; / / vec0 3.0f, 5.0f f l oat 2 vec1 = pos. ry; / /! Ps_2_0.. HLSL 2D. bool, i nt, hal f, f l oat doubl e., f l oat. f l oat 4x4 vi ew_proj_mat r i x; f l oat 4x4 t ext ure_mat r i x0;,., 3 4. f l oat 3x4 mat 0; mat r i x<f l oat, 3, 4> mat 1;

12 , /. vi ew_proj_mat r i x. f l oat f Val ue = vi ew_proj_mat r i x[0] [0] ;. 0. _m00, _m01, _m02, _m03 _m10, _m11, _m12, _m13 _m20, _m21, _m22, _m23 _m30, _m31, _m32, _m33 1. _11, _12, _13, _14 _21, _22, _23, _24 _31, _32, _33, _34 _41, _42, _43, _44. f l oat 2x2 f Mat = 3.0f, 5.0f, / / 1 2.0f, 1.0f ; / / 2 f l oat val ue0 = f Mat [0] ; / / val ue0 3.0f f l oat val ue1 = f Mat._m00; / / val ue1 3.0f f l oat val ue2 = f Mat._12 / / val ue2 5.0f f l oat val ue3 = f Mat [1] [1] / / val ue3 1.0f f l oat 2 vec0 = f Mat._21_22 ; / / vec0 2.0f, 1.0f f l oat 2 vec1 = f Mat [1] ; / / vec1 2.0f, 1.0f (typ e mo d ifie r) HLSL. const..

13 1. DirectX HLSL 37 row_maj or col _maj or. row_maj or, col_maj or. (col_major). (sto ra g e c la ss mo d ifie r).,. C, st at i c ext ern ( ). st at i c, API. st at i c API. C, st at i c. ext ern API, ext ern. shared ef f ect. uni f orm HLSL (Set *Shader Const ant *() API ). uni f orm. const.,. ext er n f l oat t ransl ucencycoef f ; const f l oat gl oss_bi as ; st at i c f l oat gl oss_scal e ; f l oat di f f use ; di f f use t ransl ucencycoef f Set ShaderConst ant () API,. const gl oss_bi as Set *Shader Const ant *() API,.

14 , st at i c gloss_scale Set *ShaderConst ant *() API,. C. f l oat 2x2 f Mat = 3.0f, 5.0f, / / ( 2.0f, 1.0f ; / / 2. ) f l oat 4 vpos = 3.0f, 5.0f, 2.0f, 1.0f ; f l oat f Fact or = 0.2f ; HLSL. 3D.,. f l oat 4 vtone = vbr i ght ness * vexposure ; vbri ght ness vexposure f l oat 4. f l oat 4 vtone ; vtone.x = vbri ght ness.x * vexposure.x; vtone.y = vbri ght ness.y * vexposure.y; vtone. z = vbri ght ness. z * vexposure. z; vtone.w = vbri ght ness.w * vexposure.w; 4D vbri ght ness vexposure.. mul ().

15 1. DirectX HLSL 39 (c o nstruc to r) HLSL C++,.. f l oat 3 vpos = f l oat 3(4.0f, 1.0f, 2.0f ) ; f l oat f Di f f use = dot (vnormal, f l oat 3(1.0f, 0.0f, 0.0f ) ) ; f l oat 4 vpack = f l oat 4(vPos, f Di f f use ) ; (dot (vnormal, f l oat 3 (1.0f, 0.0f, 0.0f ) dot f l oat 3 ), (vect or3 vect or4 f l oat 4(vPos, f Di f f use) ). f l oat 4 f l oat 3 f l oat f l oat 4. (typ e c a sting ) HLSL.., vresul t f l oat 0.0f f l oat 4(0.0f, 0.0f, 0.0f, 0.0f ). f l oat 4 vresul t = 0.0f ;..,. f l oat 3 vli ght ; f l oat f Fi nal, f Col or ; f Fi nal = vli ght * f Col or ; vli ght x fcol or. f Fi nal = vli ght.x * fcol or.

16 HLSL.. bool false 0, true 1. bool 0 false, 0 true.. C

17 1. DirectX HLSL 41 (struc ture ), HLSL., mai n ( f l oat 4 ). NPR Metallic. st r uct VS_OUTPUT f l oat 4 Pos : POSITION; f l oat 3 Vi ew : TEXCOORD0; f l oat 3 Normal : TEXCOORD1; f l oat 3 Li ght 1: TEXCOORD2 ; f l oat 3 Li ght 2 : TEXCOORD3; f l oat 3 Li ght 3 : TEXCOORD4 ; ; HLSL. (sa m p le r) sampler. hl sl_ri ngs (). f l oat 4 l i ght Wood; / / f l oat 4 dar kwood; / / f l oat r i ngfreq; / / sampl er Pul setrai nsampl er ; f l oat 4 hl sl _r i ngs (f l oat 4 Pshade : TEXCOORD0) : COLOR f l oat scal eddi st FromZAxi s = sqrt (dot (Pshade.xy, Pshade.xy) ) * r i ngfreq; f l oat bl endfact or = t ex1d (Pul setrai nsampl er, scal eddi st FromZAxi s ) ; ret ur n l er p (dar kwood, l i ght Wood, bl endfact or ) ;

18 Pul setrai nsampl er t ex1d(). HLSL D3D API, 3D uv.,. ShaderX 2 : DirectX 9 &,., 2 Sobel (dx, dy ) (Height map) (Normal map). sampl er Input Image ; f l oat 4 mai n (f l oat 2 t oplef t : TEXCOORD0, f l oat 2 l ef t : TEXCOORD1, f l oat 2 bot t omlef t : TEXCOORD2, f l oat 2 t op : TEXCOORD3, f l oat 2 bot t om : TEXCOORD4, f l oat 2 t opri ght : TEXCOORD5, f l oat 2 r i ght : TEXCOORD6, f l oat 2 bot t omri ght : TEXCOORD7) : COLOR / / 8. f l oat 4 t l = t ex2d (I nput I mage, t oplef t ) ; f l oat 4 l = t ex2d (I nput I mage, l ef t ) ; f l oat 4 bl = t ex2d (I nput I mage, bot t omlef t ) ; f l oat 4 t = t ex2d (I nput I mage, t op) ; f l oat 4 b = t ex2d (I nput I mage, bot t om) ; f l oat 4 t r = t ex2d (I nput I mage, t opri ght ) ; f l oat 4 r = t ex2d (I nput I mage, r i ght ) ; f l oat 4 br = t ex2d (I nput I mage, bot t omri ght ) ; / / Sobel dx. / / / / / / / /

19 1. DirectX HLSL 43 f l oat dx = -t l.a - 2.0f *l.a - bl.a + t r.a + 2.0f *r.a + br.a ; / / dy Sobel. / / / / / / / / f l oat dy = -t l.a - 2.0f *t.a - t r.a + bl.a + 2.0f *b.a + br.a ; / /. f l oat 4 N = f l oat 4 (normal i ze (f l oat 3( -dx, -dy, 1) ), t l.a ) ; / / ( ) (0... 1). ret ur n N * 0.5f + 0.5f ; 1, Input Image t ex2d() 8. DirectX HLSL. ( ), t ex1d() t ex2d(). HLSL. abs () dot (), ref ract (), st ep()., ddx(), ddy(), fwi dt h().

20 abs(x) acos(x) all(x) any(x) asin(x) atan(x) atan2(y, x) ceil(x) clamp(x, min, max) Clip(x) cos(x) cosh(x) cross(a, b) D3DCOLORtoUBYTE4(x) ddx(x) ddy(x) degrees(x) determinant(m) distance(a, b) dot(a, b) exp(x) exp2(a) faceforward(n, i, ng) floor(x) (x ). x. [ 1, 1]. x 0. x 0. x. [ p/2, p/2]. x. [ p/2, p/2]. y/x. y x [-p, p]. atan2, x 0 y 0. x. [min, max]. x 0. x. texkill. x. x (hyperbolic cosine). a, b. 4D x UBYTE4. x. y. (0 360 ). m. a, b. a, b. e x. 2 x ( ). n * sign(dot(i, ng)). x.

21 1. DirectX HLSL 45 fmod(a, b) frac(x) frexp(x, out exp) fwidth(x) isfinite(x) isinf(x) isnan(x) a/b ( ). a = i * b + f I, f x, f b. X x. frexp exp. x 0 0. abs(ddx(x))+abs(ddy(x)). x true, false. x +INF INF true, false. x NAN QNAN true, false. CNAN:Net a numbor- ldexp(x, exp) * 2 ex p. len(v) length(v) lerp(a, b, s) log(x) log10(x) log2(x) max(a, b) min(a, b) modf(x, out ip) mul(a, b) normalize(v) pow(x, y) radians(x) reflect(i, n) v. s 0 a, 1 b a b a + s(b a). e x. x indefinite. x 0 +INF. 10 X. x indefinite, 0 +INF. 2 x. x indefinite, 0 +INF. a b. a b. x x., out ip. a b. a. b. a b. a b. v/length(v) v. v 0.. xy. x (radian). v. I, n v = i 2 * dot(i, n) * n.

22 refract(i, n, eta) round(x) rsqrt(x) saturate(x) v ( I, n, eta ). eta n I refract (0, 0, 0). x. 1 / sqrt(x). x [0, 1]. sign(x) sin(x) x. x < 0-1, x=0 0, 1. x. x > 0 sincos(x, out s, out c) sinh(x) smoothstep(min, max, x) sqrt(x) step(a, x) tan(x) tanh(x) transpose(m) x. sin(x) s, cos(x) c. x. x < min 0, x > max 1. [min, max] 0 1 smooth Hermite. ( ). (x = a)? 1 : 0. x. x. m. mro w s mc o lu m n s. mc o lu m n s mrow s (1D, 2D, 3D, ) 4 (,,, ) 16. tex1d(s, t) 1. s. t. tex1d(s, t, ddx, ddy) (LOD ) 1D. t, ddx, and ddy.. s tex1dproj(s, t) 1. s. t 4D. t t.w.

23 1. DirectX HLSL 47 tex1dbias(s, t) tex2d(s, t) tex2d(s, t, ddx, ddy) tex2dproj(s, t) tex2dbias(s, t) tex3d(s, t) tex3d(s, t, ddx, ddy) tex3dproj(s, t) tex3dbias(s, t) texcube(s, t) texcube(s, t, ddx, ddy) texcubeproj(s, t) texcubebias(s, t) (bias) 1. s. t 4D. (mip) t.w. 2D. s. t 2. (LOD ). s. t, ddx ddy s. t 4. t (t.w 1 ) t.w. 2. s. t 4. (mip) t.w. 3. s. t 3. (derivatives) 3. s. t, ddx, ddy s. t 4. t t.w. 3. s. t 4. (mip) t.w.. s. t 3.. s. t, ddx, ddy 3.. s, t 4D. t t.w.. s. t 4. (mip) t.w. t ex1d(), t ex2d(), t ex3d() t excube(). ddx ddy ddx(), ddy() LOD(level of detail)., ps_2_0. Tex*proj () (projective)..

24 t ex2dproj (), (Perspective Shadow map). Tex*bi as,. (over-blurred)., ShaderX 2 : DirectX 9 & Radeon 9700 Animusic Pipedream, t excubebi as ().... / /. f l oat 3 vcubelookup = vref l ect i on + i. Pos/ f EnvMapRadi us ; f l oat 4 cref l ect i on = t excubebi as (t CubeEnv, f l oat 4 (vcubelookup, f Bl ur * f Text urebl ur ) ) * vref l ect i oncol or ;... t excubebi as () t f l oat 4(vCubeLookup.x, vcube Lookup.y, vcubelookup.z, f Bl ur*ftext urebl ur ), f Bl ur*ftext urebl ur t.w t excubebi as (t excube() t.w ). DirectX 9 HLSL. varying uniform. varying. varying (, ). uniform (, ). uniform, varying v t.

25 1. DirectX HLSL 49 unifo rm uniform HLSL 2.. uniform. uniform. uniform.. / / uni f orm. / / Uni f ormgl obal. f l oat 4 Uni f ormgl obal ; / / uni f orm. / / ' $Uni f ormparam. f l oat 4 mai n( uni f orm f l oat 4 Uni f ormparam ) : POSITION ret ur n Uni f ormgl obal * Uni f ormparam; uniform. uniform. N o t e uniform $. $ (local variable) (global variable). uniform. ( )... API D3DX Effect.

26 fxc.exe. / / / / Generat ed by Mi crosof t (R) D3DX9 Shader Compi l er / / / / Source : hemi sphere.fx / / Fl ags : / E:VS /T:vs_1_1 / / / / Regi st er s : / / / / Name Reg Si ze / / / / Proj ect i on c0 4 / / Wor l dvi ew c4 3 / / Di r FromLi ght c7 1 / / Di r FromSky c8 1 / / $bhemi c18 1 / / $bdi f f c19 1 / / $bspec c20 1 / / / / / / Def aul t val ues : / / / / Di r FromLi ght / / c7 = 0.577, , 0.577, 0 ; / / / / Di r FromSky / / c8 = 0, -1, 0, 0 ; va rying varing. uniform. uniform.

27 1. DirectX HLSL 51., POSITION0.. (,,,, ). D3DDECLUSAGE UsageIndex 1 1. (rasterization).... (:)..,.. / /. st r uct I nst ruct f l oat 4 Pos1 : POSITION1 ; / / Pos. f l oat 4 mai n( f l oat 4 Pos : POSITION0, I nst ruct I n ) : POSITION ret ur n Pos * I n. Pos1;

28 / / COLOR0 Col. f l oat 4 mai nps( f l oat 4 Col : COLOR0 ) : COLOR ret ur n Col ;. POSITIONn BLENDWEIGHTn BLENDINDICESn NORMALn PSIZEn COLORn TEXCOORDn TANGENTn BINORMALn TESSFACTORn (.). COLORn TEXCOORDn n PSIZE0, DIFFUSE1...,

29 1. DirectX HLSL POSITION. TEXCOORDn COLORn... DEPTH. N o t e DEPTH (MRT ).... POSITION PSIZE FOG COLORn TEXCOORDn ( : COLOR0) ( : TEXCOORD0). COLORn DEPTH n

30 n ( : TEXCOORD3, COLOR0). HLSL. / /. st r uct Out St ruct f l oat 2 Tex2 : TEXCOORD2 ; / / TEXCOORD0 Tex0 f l oat 4 mai n(out f l oat 2 Tex0 : TEXCOORD0, out Out St r uct Out ) : POSITION Tex0 = f l oat 2(1.0, 0.0) ; Out.Tex2 = f l oat 2 (0. 1, 0.2) ; ret ur n f l oat 4(0.5, 0.5, 0.5, 1) ; / / COLOR0 Col f l oat 4 mai nps( out f l oat 4 Col 1 : COLOR1) : COLOR / / 1. Col 1 = f l oat 4(0.0, 0.0, 0.0, 0.0) ; / / ret ur n 0. ret ur n f l oat 4(1.0, , , 0) ; st r uct PS_OUT f l oat 4 Col or : COLOR; f l oat Dept h: DEPTH; ; / / / / / / PS_OUT PSFunc1( )... voi d PSFunc2 (out f l oat 4 Col or : COLOR, out f l oat Dept h : DEPTH)

31 [ 1. DirectX HLSL voi d PSFunc3(out PS_OUT Out ).... NPR Metallic.. [ 1-2]. ATI Developer Relations ( 1-2 ] NP RMe ta llic, HLSL NPR Metallic.

32 f l oat 4x4 vi ew_proj_mat r i x; f l oat 4 vi ew_posi t i on; f l oat 4 l i ght 0; f l oat 4 l i ght 1; f l oat 4 l i ght 2; st r uct VS_OUTPUT f l oat 4 Pos : POSITION; f l oat 3 Vi ew : TEXCOORD0; f l oat 3 Normal : TEXCOORD1; f l oat 3 Li ght 1 : TEXCOORD2 ; f l oat 3 Li ght 2 : TEXCOORD3; f l oat 3 Li ght 3 : TEXCOORD4 ; ; VS_OUTPUT mai n(f l oat 4 i npos : POSITION, f l oat 3 i nnorm : NORMAL) VS_OUTPUT Out = (VS_OUTPUT) 0; / /. Out. Pos = mul (vi ew_proj_mat r i x, i npos ) ; Out.Normal = i nnorm; / /. Out.Vi ew = normal i ze (vi ew_posi t i on - i npos ) ; / /. Out. Li ght 1 = normal i ze (l i ght 0 - i npos ) ; / / 1 Out. Li ght 2 = normal i ze (l i ght 1 - i npos ) ; / / 2 Out. Li ght 3 = normal i ze (l i ght 2 - i npos ) ; / / 3 ret ur n Out ; vi ew_proj_mat ri x, vi ew_posi t i on, l i ght 0, l i ght 1, l i ght 2. API,.

33 1. DirectX HLSL 57 mai n VS_OUTPUT, 4D 5 3D., 4D, 3D 2D. i npos mul () vi ew_proj_mat r i x, i nnorm., 3D. 3D normal i ze (). 3D 3D,.,. NPRMetallic.vhl,. f xc -nol ogo -T vs_1_1 -Fc -Vd NPRMet al l i c.vhl vs_1_1.,.. / / Paramet ers : / / f l oat 4 l i ght 0; / / f l oat 4 l i ght 1; / / f l oat 4 l i ght 2 ; / / f l oat 4 vi ew_posi t i on; / / f l oat 4x4 vi ew_proj_mat ri x; / / / / Regi st er s : / / Name Reg Si ze / / / / vi ew_proj_mat r i xc0 4 / / vi ew_posi t i on c4 1

34 / / l i ght 1 c5 1 / / l i ght 2 c6 1 / / l i ght 0 c7 1 vs_1_1 dcl _posi t i on v0 dcl _normal v1 mul r0, v0. x, c0 mad r2, v0.y, c1, r0 mad r4, v0. z, c2, r2 mad opos, v0.w, c3, r4 add r 1, -v0, c4 dp4 r 1.w, r 1, r 1 rsq r1.w, r1.w mul ot0. xyz, r 1, r 1.w add r8, -v0, c7 dp4 r8.w, r8, r8 rsq r8.w, r8.w mul ot2. xyz, r8, r8.w add r3, -v0, c5 add r 10, -v0, c6 dp4 r3.w, r3, r3 rsq r3.w, r3.w mul ot3. xyz, r3, r3.w dp4 r 10.w, r 10, r 10 rsq r 10.w, r 10.w mul ot4.xyz, r 10, r10.w mov ot1. xyz, v1. API. 21., mai n POSITION NORMAL dcl_posi t i on dcl_normal. opos, ot0, ot1, ot2, ot3 ot4.., HLSL fxc.

35 1. DirectX HLSL 59.. NPR Metallic. f l oat 4 Mat eri al ; sampl er Out l i ne ; f l oat 4 mai n(f l oat 3 Vi ew: TEXCOORD0, f l oat 3 Normal : TEXCOORD1, f l oat 3 Li ght 1: TEXCOORD2, f l oat 3 Li ght 2 : TEXCOORD3, f l oat 3 Li ght 3 : TEXCOORD4 ) : COLOR / / f l oat 3 norm = normal i ze (Normal ) ; f l oat 4 out l i ne = t ex1d(out l i ne, 1 - dot (norm, normal i ze (Vi ew) ) ) ; f l oat l i ght i ng = (dot (normal i ze (Li ght 1), norm) * ) + (dot (normal i ze (Li ght 2), norm) * ) + (dot (normal i ze (Li ght 3), norm) * ) ; ret ur n out l i ne * Mat er i al * l i ght i ng;. 4D Mat er i al, Out l i ne. 3D mai n,,, 3,. normal i ze ()...

36 out l i ne * Mat eri al * l i ght i ng. 4D,.,.. ret ur n out l i ne * Mat er i al * l i ght i ng; ret ur n out l i ne * Mat er i al * f l oat 4 (l i ght i ng, l i ght i ng, l i ght i ng, l i ght i ng) ; l i ght i ng, [ 1-2]. NPR Metallic. f xc -nol ogo -T ps_2_0 -Fc -Vd NPRMet al l i c. phl ps_2_0.. / / / / f l oat 4 Mat eri al ; / / sampl er Out l i ne ; / / / / / / Name Reg Si ze / / / / Mat er i al c0 1 / / Out l i ne s0 1 ps_2_0 def c1, 1, 0, 0, 0.5 dcl t 0.xyz dcl t 1.xyz dcl t 2.xyz dcl t 3.xyz dcl t 4.xyz dcl_2d s0

37 1. DirectX HLSL 61 dp3 r0.w, t 1, t 1 r sq r2.w, r0.w mul r9.xyz, r2.w, t 1 dp3 r9.w, t 0, t 0 r sq r9.w, r9.w mul r4.xyz, r9.w, t 0 dp3 r9.w, r9, r4 add r 11.xy, - r9.w, c1.x t exl d r6, r 11, s0 dp3 r9.w, t 2, t 2 r sq r9.w, r9.w mul r1. xyz, r9.w, t 2 dp3 r9.w, r 1, r9 mad r9.w, r9.w, c1.w, c1.w dp3 r8.w, t 3, t 3 r sq r 10.w, r8.w mul r5.xyz, r 10.w, t 3 dp3 r0.w, r5, r9 mad r9.w, r0.w, c1.w, r9.w add r9.w, r9.w, c1.w dp3 r2.w, t 4, t 4 r sq r 11.w, r2.w mul r1. xyz, r11.w, t 4 dp3 r8.w, r 1, r9 mad r 10.w, r8.w, c1.w, r9.w add r5.w, r 10.w, c1.w mul r6, r6, r5.w mul r0, r6, c0 mov oc0, r0 ( Mat eri al, Out l i ne). API ps_2_0 def. def ALU. HLSL NPR Metallic.

38 dot (norm, normal i ze (Vi ew)... dot (normal i ze (Li ght 1), norm) * dcl t n.xyz 3D. HLSL mai n. dc1_2d s0. 0 2D. HLSL t ex1d. Direct3D API 1D. t ex1d() HLSL. HLSL. HLSL. DirectX HLSL, HLSL., HLSL 1.x.,.,.,.. HLSL

39 1. DirectX HLSL 63. nx1, t ex2d() HLSL.,.,... uniform ( )...,.. HLSL C.,.. ( a b a b. a float4(b,b,b,b)), HLSL.,..

40 .,. HLSL i nt. i nt. i nt. f l oat. 2.5 float f l oat s. C. i nt. i nt. i nt. i nt,. i nt. f l oat i nt float. i nt i nt. int f l oat. Out Pos = mul (Pos, Wor l dar ray[i ndex] ) ; / / f l oat / / i nt f rc r0.w, r 1.w mul r0.w, c60.x, r 1.w f rc r0.w, r 1.w mul r0.w, c60.x, r 1.w

41 1. DirectX HLSL 65 add r2.w, - r0.w, r1.w mova a0.x, r0.w mul r9.w, r2.w, c61. x m4x4 opos, v0, c0[a0. x] mova a0.x, r9.w m4x4 opos, v0, c0[a0.x].. ( (static branching), (predicated instructions), (static looping), (dynamic branching), (dynamic looping)). HLSL,., HLSL,..,..,. Ps_1_1 DirectX 9 SDK DepthOfField.,. If. if,. CPU, HLSL. CPU,. predicated~instructions, static~if~blocks dynamic~if~blocks.

42 vs_1_1, i f (Val ue > 0) Posi t i on = Val ue1; el se Posi t i on = Val ue2 ;, / / Val ue>0 l er p. mov r 1.w, c2.x sl t r0.w, c3.x, r 1.w / / Val ue1 Val ue2 l er p. mov r7, -c1 add r2, r7, c0 mad opos, r0.w, r2, c1 /.. draw /,., draw... CPU.. CPU.,. CPU.

43 1. DirectX HLSL 67., Direct3D. 4 f l oat (, x, y, z.),. f l oat 4., w w, 1.0. y z, w 1.0, x, y, z. f l oat 3 w 1.0. f l oat ,, i nt f l oat. i nt i nt.. (lo g p, e xp p, lit).,., ps_1_x

44 .. vs_1_1 vs_2_0. l ogp, expp l i t l og, exp pow.. l og exp 10, l ogp, expp. vs_1_1. hal f... l og l ogp. f l oat LogVal ue = l og(val ue ) ; f l oat LogVal ue = (hal f )l og(val ue ) / / vs_1_1 / / vs_1_1 / / 10. / / 1. l og r0, c0; l ogp r0, c0 ps_ 1_x (ps_1_1, ps_1_2, ps1_3, ps_1_4). HLSL ps_1_x,., ps_1_x. Ps_1_x..

45 1. DirectX HLSL 69. Ps_1_1 ps_1_3 (. r,.g,.b,.a). Ps_1_4.. ps_1_x HLSL. Ps_1_x source dest 0 1 source.... HLSL. sat urat e () _sat. _ bx2 _bx2 HLSL HLSL. mai n _bx2. f l oat 4 mai n( f l oat 3 Col : COLOR0, f l oat 3 Tex : TEXCOORD0 ) : COLOR0 ret ur n dot (Col, Tex*2-1) ; f l oat 4 mai n( f l oat 3 Col : COLOR0, f l oat 3 Tex : TEXCOORD0 ) : COLOR0 f l oat 3 val = Tex*2 ; val = val -1; ret ur n dot (Col, val ) ; f l oat 4 mai n( f l oat 3 Col : COLOR0, f l oat 3 Tex : TEXCOORD0 ) : COLOR0 ret ur n dot (Col, (Tex -.5f )*2) ;

46 ps_1_x. ps_1_1 t excoord t 0 dp3 r0, v0, t 0_bx2 Tex*2-1 ps_2_0. _ bias _bi as. f l oat 4 mai n( f l oat 3 Col : COLOR0, f l oat 3 Tex : TEXCOORD0 ) : COLOR0 ret ur n dot (Col, (Tex -.5f ) ) ; mai n. ps_1_1 t excoord t 0 dp3 r0, v0, t 0_bi as _bi as 0 1, ps_1_1, ps_1_2, ps_1_3.. _ x2 (ps_ 1_ 4 only) _x2. f l oat 4 mai n( f l oat 3 Col : COLOR0, f l oat 3 Tex : TEXCOORD0 ) : COLOR0 ret ur n dot (Col, Tex*2) ; HLSL.

47 1. DirectX HLSL 71 ps_1_4 t excrd r0.xyz, t 0 dp3 r0, v0, r0_x2 _ x2, _ x4, _ x8, _ d2, _ d4 _ d8 destination write destination write ps_1_x, HLSL. (_x2) (_x4) (_d2) ps_1_1 ps_1_3 ps_1_4 6 (_x2, _x4, _x8, _d2, _d4, _d8 ). N 2, 4, 8, 0.5, 0.25, st at i c const f l oat N = 2; f l oat 4 mai n( f l oat 4 Col [2] : COLOR0 ) : COLOR0 ret ur n (Col [0] + Col [1] )*N; HLSL. ps_1_1 add_x2 r0, v0, v1 complement ( ) ps_1_x HLSL complement HLSL. f l oat 4 mai n( f l oat 4 Col [2] : COLOR0 ) : COLOR0 ret ur n (1-Col [0] ) * (Col [1] ) ;

48 HLSL. ps_1_1 mul r0, 1-v0, v1 saturate ( ) _sat.. f l oat 4 mai n( f l oat 4 Col [2] : COLOR0 ) : COLOR0 ret ur n sat urat e (Col [0] ) ; f l oat 4 mai n( f l oat 4 Col [2] : COLOR0 ) : COLOR0 ret ur n cl amp(col [0], 0, 1) ; HLSL. ps_1_1 mov_sat r0, v0 negate ( ) negate. N o t e PS_1_x negate, negate. f l oat 4 mai n( f l oat 4 Col [2] : COLOR0 ) : COLOR0 ret ur n -Col [0] ;

49 1. DirectX HLSL 73 HLSL. ps_1_1 mov r0, -v0 ps_ 1_x ps_1_x ps_2_0. ps_2_0, ps_1_x. Fxc.exe, ps_1_x. ps_1_x. HLSL, HLSL. HLSL D3DX Effect, Effect. HLSL,. D3DX Effe c t D3DX D3DX Effect DirectX 9 D3DX Effect HLSL. D3DX Effect 3. Effect (Rendering state) HLSL asm. Effect.fx.fxl, techniques Effect. Effect

50 . techniques DirectX SDK Water... Effe c t Effect, HLSL Effect. Effect. / / VECTOR g_leye ; f l oat 4 Gl obalambi ent = 0.5; f l oat Ka = 1; f l oat Kd = 0.8; f l oat Ks = 0.9; f l oat roughness = 0. 1; f l oat noi sefrequency; MATRIX mat Worl dvi ewproj ; MATRIX mat Worl dvi ew; MATRIX mat ITWor l dvi ew; MATRIX mat Worl d; MATRIX mat Tex0; TEXTURE t Vol umenoi se ; TEXTURE t Mar bl espl i ne ; sampl er Noi sesampl er = sampl er_st at e Text ure = (t Vol umenoi se ) ; Mi nfi l t er = Li near ; MagFi l t er = Li near ; Mi pfi l t er = Li near ; AddressU = Wrap; AddressV = Wrap; AddressW = Wrap; MaxAni sot ropy = 16; ;

51 1. DirectX HLSL 75 sampl er Mar bl espl i nesampl er = sampl er_st at e Text ure = (t Marbl espl i ne ) ; Mi nfi l t er = Li near ; MagFi l t er = Li near ; Mi pfi l t er = Li near ; AddressU = Cl amp; AddressV = Cl amp; MaxAni sot ropy = 16; ; f l oat 3 snoi se (f l oat 3 x) ret ur n 2.0f * t ex3d (Noi sesampl er, x) - 1.0f ; f l oat 4 ambi ent (voi d) ret ur n Gl obal Ambi ent ; f l oat 4 sof t _di f f use (f l oat 3 Neye, f l oat 3 Peye ) / / (Leye ). f l oat 3 Leye = (g_leye - Peye ) / l engt h(g_leye - Peye ) ; f l oat Ndot L = dot (Neye, Leye ) * 0.5f + 0.5f ; / / N. L ret ur n f l oat 4 (Ndot L, Ndot L, Ndot L, Ndot L) ; f l oat 4 specul ar (f l oat 3 NNeye, f l oat 3 Peye, f l oat k) / / (Leye ). f l oat 3 Leye = (g_leye - Peye ) / l engt h(g_leye - Peye ) ; / / Veye. f l oat 3 Veye = - (Peye / l engt h(peye ) ) ;

52 / / hal f -angl e. f l oat 3 Heye = (Leye + Veye ) / l engt h(leye + Veye ) ; / / N.H. f l oat Ndot H = cl amp(dot (NNeye, Heye ), 0.0f, 1.0f ) ; f l oat Ndot H_2 = Ndot H * Ndot H; f l oat Ndot H_4 = Ndot H_2 * Ndot H_2 ; f l oat Ndot H_8 = Ndot H_4 * Ndot H_4 ; f l oat Ndot H_16 = Ndot H_8 * Ndot H_8; f l oat Ndot H_32 = Ndot H_16 * Ndot H_16; ret ur n Ndot H_32 * Ndot H_32 ; f l oat 4 hl sl _bl uemarbl e (f l oat 3 P : TEXCOORD0, f l oat 3 Peye : TEXCOORD1, f l oat 3 Neye : TEXCOORD2) : COLOR f l oat 4 Ct ; f l oat 4 Ci ; f l oat 3 NNeye ; f l oat mar bl e ; f l oat f ; / /. P = P/ 16; mar bl e = -2.0f * snoi se (P * noi sefrequency) f ; NNeye = normal i ze (Neye) ; / / ( ) f. Ct = t ex1d (Mar bl espl i nesampl er, mar bl e ) ; / / Ci = Ct * (Ka * ambi ent ( ) + Kd * sof t _di f f use (NNeye, Peye ) ) + Ct.w * Ks * specul ar (NNeye, Peye, roughness ) ; ret ur n Ci ;

53 1. DirectX HLSL 77 VERTEXSHADER asm_mar bl e_vs = decl asm vs.1. 1 dcl_posi t i on v0 dcl_normal v3 m4x4 opos, v0, c [0] m4x4 r0, v0, c [17] mov ot0, r0 m4x4 ot1, v0, c [4] m3x3 ot2.xyz, v3, c [8] ; / /. / / Pshade (0 ) / / / / t echni que t echni que_hl sl_bl uemar bl e pass P0 / / / /. Vert exshaderconst ant [0] = <mat Wor l dvi ewproj >; Vert exshaderconst ant [4] = <mat Wor l dvi ew>; Vert exshaderconst ant [8] = <mat ITWorl dvi ew>; Vert exshaderconst ant [12] = <mat Wor l d>; Vert exshaderconst ant [17] = <mat Tex0>; Vert exshader = <asm_marbl e_vs>; Pi xel Shader = compi l e ps_2_0 hl sl _bl uemarbl e ( ) ; Cul l Mode = CCW;. Effect t echni que_hl sl _bl uemarbl e technique. HLSL., Effect ( ID3DEf f ect : :Set Mat ri x()

54 ). Effect. HLSL. ams_marbl e_vs. Vert exshader = <asm_marbl e_vs>; hl sl _bl uemarbl e () ps_2_0. Pi xel Shader = compi l e ps_2_0 hl sl _bl uemar bl e ( ) ; hl sl_bl uemarl be HLSL. t ex1d(), ambi ent () sof t _di f f use () Effect. ps_2_0., Noi sesampl er Marbl espl i nesampl er. Effect,. Effect. Effect. Effe c t API Effect.. D3DXCreat eef f ect FromFi l e () API Effect, Effect Effect API., Set Mat r i x().

55 1. DirectX HLSL 79 / /. m_pef f ect ->Set Mat ri x ( "mat Wor l dvi ewproj ", &m_mat Wor l dvi ewproj ) ; m_pef f ect ->Set Mat ri x ( "mat Wor l dvi ew", &m_mat Wor l dvi ew) ; m_pef f ect ->Set Mat ri x ( "mat ITWor l dvi ew", &m_mat ITWor l dvi ew) ; m_pef f ect ->Set Mat ri x ( "mat Wor l d", &m_mat Wor l d) ; m_pef f ect ->Set Mat ri x ( "mat Tex0", &m_obj ect Paramet er s.m_mat Tex0) ; f l oat vect or. m_peffect ->Set Fl oat ( "noi sefrequency ", &m_f Noi sefreq) ; m_pef f ect ->Set Vect or ( "g_leye ", &g_leye ) ;. m_pef f ect ->Set Text ure ( "t Vol umenoi se ", m_pvol umenoi setext ure) ; m_pef f ect ->Set Text ure ( "t Mar bl espl i ne ", m_pmar bl ecol orspl i netext ure) ;, technique ( ). m_pef f ect ->Set Techni que (m_pef f ect ->Get Techni quebyname ( "t echni que_hl sl _ bl uemar bl e ") ) ; m_peffect ->Begi n(&cpasses, 0) ; f or (i Pass = 0; i Pass < cpasses ; i Pass++) m_pef f ect ->Pass (i Pass ) ; / /. m_pef f ect ->End( ) ;., g_leye,. D3DX Effect.

56 D3DX Effe c t ISV D3DX. HLSL D3DX Effect. D3DX.. HLSL D3DX Effect HLSL. D3DXAssembl eshader*() D3DXCompi l eshader*(). asm, Creat epi xel Shader () Creat evert exshader ().. i f (FAI LED (hr = D3DXCompi l eshader FromFi l e (g_st rvhlfi l e, NULL, NULL, "mai n", "vs_1_1", NULL, &pcode, NULL, &m_vs_const ant Tabl e) ) ) ret ur n hr ; i f (FAI LED (hr = m_pd3ddevi ce ->Creat evert exshader ( (DWORD*)pCode -> Get Buf f er Poi nt er ( ), &m_hlslvert exshader ) ) ) ret ur n hr ; D3DXCompi l eshader *() D3DXAssembl eshader*(). ( mai n vs_1_1 )., #def i nes,,,,,. D3DXCompi l eshader*(). (,, ).

57 1. DirectX HLSL 81 HLSL, Creat epi xel Shader () Creat evert exshader (). Effect HLSL, D3DXCompi l eshader*(). D3DXCompi l eshader*()... ID3DXConst ant Tabl e. ID3DXConst ant Tabl e ASCII handle. HLSL. D3DXHANDLE handl e ; i f (handl e = m_ps_const ant Tabl e ->Get Const ant ByName (NULL, "r i ngfreq") ) m_ps_const ant Tabl e ->Set Fl oat (m_pd3ddevi ce, handl e, m_f Ri ngfrequency) ; i f (handl e = m_ps_const ant Tabl e ->Get Const ant ByName (NULL, "l i ght Wood") ) m_ps_const ant Tabl e ->Set Vect or (m_pd3ddevi ce, handl e, &l i ght Wood) ;. i f (handl e = m_ps_const ant Tabl e ->Get Const ant ByName (NULL, "Noi sesampl er ") ) m_ps_const ant Tabl e ->Get Const ant Desc (handl e, &const Desc, &count ) ;

58 i f (const Desc.Regi st erset == D3DXRS_SAMPLER) m_pd3ddevi ce ->Set Text ure (const Desc.Regi st er I ndex, m_pvol umenoi setext ure) ; / / Noi se. m_pd3ddevi ce ->Set Sampl erst at e (const Desc.Regi st eri ndex,, ) ;, D3DX Effect HLSL.,. ID3DXConst ant Tabl e : :Get Desc (). ID3DXConst ant Tabl e : :Get Const ant ByName () ID3DXConst ant Tabl e : :Get Const ant El ement (). D3DX Effect HLSL ID3DXConst ant Tabl e. SDK DX9.0 DirectX 9.0a, SDK. SDK Direct3D, HLSL D3DX. DirectX SDK asm.

59 1. DirectX HLSL 83 DirectX 9.0 Direct3D High Level Shading Language(HLSL).,.,. HLSL, HLSL. HLSL ATI 3D Application Research Group. Dan Baker Loren McQuade. Mark Wang Wolfgang.

ShaderX2: DirectX 9 셰이더 프로그래밍 팁 & 트릭

ShaderX2: DirectX 9 셰이더 프로그래밍 팁 & 트릭 1 1. De a n C a lve r Direct3D ShaderX: &. DirectX 9 (stream).. Dire c tx 9 1.1.... 3.0, 1. 49.. DirectX 8., ( ). DirectX 8 (D3DDEVCAPS2_STREAMOFFSET ), DirectX 9. DirectX 7, FVF.,, DirectX 9, D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET.

More information

<4D6963726F736F667420506F776572506F696E74202D204D41544C4142B0ADC0C7B7CF28B9E8C6F7BFEB295F3031C0E55FBDC3C0DBC7CFB1E22E707074205BC8A3C8AF20B8F0B5E55D>

<4D6963726F736F667420506F776572506F696E74202D204D41544C4142B0ADC0C7B7CF28B9E8C6F7BFEB295F3031C0E55FBDC3C0DBC7CFB1E22E707074205BC8A3C8AF20B8F0B5E55D> MATLAB MATLAB 개요와 응용 1장 MATLAB 시작하기 10 5 0 황철호 -5-10 30 20 10 0 0 5 10 15 20 25 MATLAB 시작하기 이장의내용 MATLAB의여러창(window)들의 특성과 목적 기술 스칼라의 산술연산 및 기본 수학함수의 사용. 스칼라 변수들(할당 연산자)의 정의 및 변수들의 사용 방법 스크립트(script) 파일에

More information

초보자를 위한 C# 21일 완성

초보자를 위한 C# 21일 완성 C# 21., 21 C#., 2 ~ 3 21. 2 ~ 3 21.,. 1~ 2 (, ), C#.,,.,., 21..,.,,, 3. A..,,.,.. Q&A.. 24 C#,.NET.,.,.,. Visual C# Visual Studio.NET,..,. CD., www. TeachYour sel f CSharp. com., ( )., C#.. C# 1, 1. WEEK

More information

歯PLSQL10.PDF

歯PLSQL10.PDF 10 - SQL*Pl u s Pl / SQL - SQL*P lus 10-1 1 0.1 PL/ SQL SQL*Pl u s. SQL*P lus 10-2 1 0.2 S QL* Pl u s PL/ S QL SQL*Pl u s, Pl / SQL. - PL/ SQL (i npu t ), (s t or e ), (r un). - PL/ SQL s cr i pt,,. -

More information

A 0 D5-a (XQD Card Type) D5-b (CF Card Type)

A 0 D5-a (XQD Card Type) D5-b (CF Card Type) Kr http://downloadcenter.nikonimglib.com/ A 0 D5-a (XQD Card Type) D5-b (CF Card Type) D A 0 i 0 0 0 0 0 0 0 0 0 ii A http://downloadcenter.nikonimglib.com/ http://downloadcenter.nikonimglib.com/ iii i

More information

°ø±â¾Ð±â±â

°ø±â¾Ð±â±â 20, 30, 40 20, 30, 40 1 2 3 4 5 6 7 8 9 10 3.1 6.3 9.4 12.6 15.7 18.8 22.0 25.1 28.3 31.4 2.4 4.7 7.1 9.4 11.8 14.1 16.5 18.8 21.2 23.6 7.1 14.1 21.2 28.3 35.3 42.4 49.5 56.5 63.6 70.7 5.9 11.9 17.8 23.7

More information

Microsoft PowerPoint - 기계공학실험1-1MATLAB_개요2D.pptx

Microsoft PowerPoint - 기계공학실험1-1MATLAB_개요2D.pptx 1. MATLAB 개요와 활용 기계공학실험 I 2013년 2학기 MATLAB 시작하기 이장의내용 MATLAB의여러창(window)들의 특성과 목적 기술 스칼라의 산술연산 및 기본 수학함수의 사용. 스칼라 변수들(할당 연산자)의 정의 및 변수들의 사용 방법 스크립트(script) 파일에 대한 소개와 간단한 MATLAB 프로그램의 작성, 저장 및 실행 MATLAB의특징

More information

초보자를 위한 C++

초보자를 위한 C++ C++.., C# Java C++., C++. C++,. C++.,,.. C++. C++,,., C++.. C++,,, C++..,. C++ C++. C++. 24?. 12, C++.... A..... /... 25.,.,. Java C#., C++., Java C#, C++., Microsoft Visual C++ Borland C++ Builder C++.

More information

Java 3D Programming

Java 3D Programming 1 Java 3D 1.1 1.2 1.3 ( ) 1.4 1.5 1.6 Java 3D Progra mming Java 3D Java 3 (Sun Microsystems) (application programming interface, API). Java 3D Java API. Sun API Abstract Windows Toolkit(AWT) Java Foundation

More information

중 국 6 대 패 션 시 장 조 사 보 고 서 < 2004 년 상 해 10 대 매 장 10대 패 션 제 품 의 브 랜 드 시 장 점 유 뮬 > 제 품 브 랜 드 시 장 점 유 율 제 품 브 랜 드 시 장 점유 율 C O N C H 19 9 9 6 P LA Y B O Y

중 국 6 대 패 션 시 장 조 사 보 고 서 < 2004 년 상 해 10 대 매 장 10대 패 션 제 품 의 브 랜 드 시 장 점 유 뮬 > 제 품 브 랜 드 시 장 점 유 율 제 품 브 랜 드 시 장 점유 율 C O N C H 19 9 9 6 P LA Y B O Y 한국섬유 산업연합 회(KO F ㄲ) 도 표 로 보 면 매 년 1월 은 판 매 성 수 기 로 30592. 43 만 元 의 신 기륵 을 달성하 였 다.중국 전통 영절인 춘절이 여전히 사 람들의 구 매욕 을 자극하였 고, 판 매 업 체 가 갖 가 지 묘 안을 짜 내었 다. 2월 의 판 매 액 은 1월 의 추 세 를 잇 지 못하고 대폭 하락하였다.3,4,5월은 그다지

More information

fx-82EX_fx-85EX_fx-350EX

fx-82EX_fx-85EX_fx-350EX KO fx-82ex fx-85ex fx-350ex http://edu.casio.com RJA532550-001V01 ...2... 2... 2... 3... 4...5...5...6... 8... 9...10... 10... 11... 13... 16...17...17... 17... 18... 20 CASIO Computer Co., Ltd.,,, CASIO

More information

A 001~A 036

A 001~A 036 4 3 2 0 8 91 0 1 2 3 4 5 6 08 09 00 01 02 03 04 18 19 10 29 20 22 23 39 30 31 32 33 48 49 40 41 59 50 69 1 2 3 4 1 2 3 4 1 4 7 10 13 1 2 3 4 5 6 rev. C C r C a f h f h L h h nrpm f h f n L C 3 P L

More information

-주의- 본 교재는 최 상위권을 위한 고난이도 모의고사로 임산부 및 노약자의 건강에 해로울 수 있습니다.

-주의- 본 교재는 최 상위권을 위한 고난이도 모의고사로 임산부 및 노약자의 건강에 해로울 수 있습니다. Intensive Math 극악 모의고사 - 인문계 등급 6점, 등급 점으로 난이도를 조절하여 상위권 학생들도 불필요한 문제에 대한 시간 낭비 없이 보다 많은 문제에서 배움을 얻을 수 있도록 구성하였습니다. 단순히 어렵기만 한 문제들의 나열이 아니라 수능에 필요한 대표 유형을 분류 하고 일반적인 수험환경에서 흔하게 배울 수 있는 내용들은 과감하게 삭제 수능시험장

More information

百 눼신 시 " 가.인도의 대표적 섬유,패션 제품 l) 카펫 면과 비단으로 만든 카펫은 수세기 동안 인기있는 수출 품옥이었다.무굴시대의 디 자인 감각으로 완성된 플러시 비단카펫은 오늘날까지 관광객에게 많은 사랑을 받는 제품이다.인도산 수직 매듭 양탄자 두리(Dur ie

百 눼신 시  가.인도의 대표적 섬유,패션 제품 l) 카펫 면과 비단으로 만든 카펫은 수세기 동안 인기있는 수출 품옥이었다.무굴시대의 디 자인 감각으로 완성된 플러시 비단카펫은 오늘날까지 관광객에게 많은 사랑을 받는 제품이다.인도산 수직 매듭 양탄자 두리(Dur ie 무 닉늬 넘유 때선 시징 工 다 뱃,ㅣ서 4. 인도 패션 산 업 인도의 국내의류 시장 수요는 2006년도 미$160억으로 다옴 3년내에 미$400억 규 모로 크게 중가할 것으로 추정하고 있으며 국내시장의 주요공급업재들도 에상되는 수요 중가에 맞추어 현실적으로 부닥치고 있는 문체점인 낮은 품질과 비효율적인 노 동인력,기술 및 생산시설 부족에 대한 강한 개선의지틀

More information

초보자를 위한 자바 2 21일 완성 - 최신개정판

초보자를 위한 자바 2 21일 완성 - 최신개정판 .,,.,. 7. Sun Microsystems.,,. Sun Bill Joy.. 15... ( ), ( )... 4600. .,,,,,., 5 Java 2 1.4. C++, Perl, Visual Basic, Delphi, Microsoft C#. WebGain Visual Cafe, Borland JBuilder, Sun ONE Studio., Sun Java

More information

NSK-Ç¥Áö_º»»ç

NSK-Ç¥Áö_º»»ç A238 A 238 LW 35 1000 EL C 2 - P6 1 LAW35 EL Z -K L1W35 1000 L CN - PC Z A239 C D Z A 240 P5 K5 F5 P6 K6 F6 PN KN FN PC KC FC A240 ** 0 : Z0, 1 : Z1, 3 : Z3, T : ZT, Z : ZZ H E W 2 W L B J M 2 Q B 1 L

More information

13 2 ( 25 ) Korean J Med Hist Dec 2004 ISSN X * ( ) ( ) ( ). 1) ( ) ( ) ( ) ( ) ( ) 2) ( ) 3) 1990 ( ) 4) * 1) ( ) C

13 2 ( 25 ) Korean J Med Hist Dec 2004 ISSN X * ( ) ( ) ( ). 1) ( ) ( ) ( ) ( ) ( ) 2) ( ) 3) 1990 ( ) 4) * 1) ( ) C 13 2 ( 25 ) 2004 12 Korean J Med Hist 13 198 218 Dec 2004 ISSN 1225 505X * 1 11 1( ) ( ) ( ). 1) ( ) ( ) ( ) ( ) ( ) 2) ( ) 3) 1990 ( ) 4) * 1) ( ) CD- ROM 2) 1962 p 204 2000 p 18 3) 1966 p 330-1 198 5)

More information

SRC PLUS 제어기 MANUAL

SRC PLUS 제어기 MANUAL ,,,, DE FIN E I N T R E A L L O C E N D SU B E N D S U B M O TIO

More information

OpenGL 프로그래밍 가이드 제4판

OpenGL 프로그래밍 가이드 제4판 1 Ope ngl OpenGL OpenGL OpenGL OpenGL OpenGL Chapter 1 Ope ngl 31 OpenGL,. Ope ngl? OpenGL, OpenGL,. Ope ngl OpenGL,. Ope ngl OpenGL. Ope ngl OpenGL,. OpenGL. OpenGL OpenGL, GLUT(Graphi cs Li brary Ut

More information

(Asynchronous Mode) ( 1, 5~8, 1~2) & (Parity) 1 ; * S erial Port (BIOS INT 14H) - 1 -

(Asynchronous Mode) ( 1, 5~8, 1~2) & (Parity) 1 ; * S erial Port (BIOS INT 14H) - 1 - (Asynchronous Mode) - - - ( 1, 5~8, 1~2) & (Parity) 1 ; * S erial Port (BIOS INT 14H) - 1 - UART (Univ ers al As y nchronous Receiver / T rans mitter) 8250A 8250A { COM1(3F8H). - Line Control Register

More information

untitled

untitled NV40 (Chris Seitz) NV1 1 Wanda NV1x 2 2 Wolfman NV2x 6 3 Dawn NV3x 1 3 Nalu NV4x 2 2 2 95-98: Z- CPU GPU / Geometry Stage Rasterization Unit Raster Operations Unit 2D Triangles Bus (PCI) 2D Triangles (Multitexturing)

More information

0

0 Kr 0 i 1 http://downloadcenter.nikonimglib.com/ 2 A 0 ii D A 0 iii 0 0 0 0 0 iv A http://downloadcenter.nikonimglib.com/ http://downloadcenter.nikonimglib.com/ v vi i i vii P S A M M viii ix R i i x D

More information

I 154

I 154 152 I 154 1 154 ! 155 @ 156 ! 157 C F G B D E A A E D F B 158 @ 159 # 160 (the characteristic octave) 161 $ ppppppppppppppppppppppppppppppppp 1. 2. 3. 162 II 164 1 164 ! 165 166 167 Ut que-ant la - xis

More information

Microsoft Word - FS_ZigBee_Manual_V1.3.docx

Microsoft Word - FS_ZigBee_Manual_V1.3.docx FirmSYS Zigbee etworks Kit User Manual FS-ZK500 Rev. 2008/05 Page 1 of 26 Version 1.3 목 차 1. 제품구성... 3 2. 개요... 4 3. 네트워크 설명... 5 4. 호스트/노드 설명... 6 네트워크 구성... 6 5. 모바일 태그 설명... 8 6. 프로토콜 설명... 9 프로토콜 목록...

More information

초보자를 위한 ASP.NET 2.0

초보자를 위한 ASP.NET 2.0 (World Wide Web), HTML., (ebay) (Amazon.com) HTML,., Microsoft ASP.NET. ASP.NET ASP.NET., ASP.NET HTML,,. ASP.NET HTML.. ASP.NET, Microsoft Visual Basic. Visual Basic. 5 Visual Basic, Visual Basic. ASP.NET

More information

Windows 시스템 프로그래밍 제3판

Windows 시스템 프로그래밍 제3판 1 W i n 3 2 W i n 6 4 1 Wi n32 Wi n64 25 Microsoft Windows (operating system, OS) Win32 API(application programming interface, ). 64 Win64 API, Win32 Win64., Win32 Win64 Windows Windows API. Win32 Win64.

More information

제4장 섬유 산업 향후 과제 기술력 향상 사업의 및 추진 방향 제4장 섬유 산업 기술력 향상 사업의 향후 과제 및 추진 방향 섞유 산업 기술력 향상 사업은 본문에서 살펴보았듯이 부문별로 환경 변화에 탄력적으로 적 옹하면서 효과적으로 진행되어 왔.1998년,2001년도가 본 사업을 시작하여 그 궤도를 잡는 시기였면,2002년도 이후는 사업의 규모와 범위가 확장되는

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 @ Lesson 2... ( ). ( ). @ vs. logic data method variable behavior attribute method field Flow (Type), ( ) member @ () : C program Method A ( ) Method B ( ) Method C () program : Java, C++, C# data @ Program

More information

03장.스택.key

03장.스택.key ---------------- DATA STRUCTURES USING C ---------------- 03CHAPTER 1 ? (stack): (LIFO:Last-In First-Out) 2 : top : ( index -1 ),,, 3 : ( ) ( ) -> ->. ->.... 4 Stack ADT : (LIFO) : init():. is_empty():

More information

(001~042)개념RPM3-2(정답)

(001~042)개념RPM3-2(정답) - 0 0 0 0 6 0 0 06 66 07 79 08 9 0 000 000 000 000 0 8+++0+7+ = 6 6 = =6 6 6 80+8+9+9+77+86 = 6 6 = =86 86 6 8+0++++6++ = 8 76 = = 8 80 80 90 00 0 + = 90 90 000 7 8 9 6 6 = += 7 +7 =6 6 0006 6 7 9 0 8

More information

歯IC-706.PDF

歯IC-706.PDF IC- 706. HL3QCE. HL2QCE. (HITOP) : (02)704-9104 : HL3QCE / : HITOP IC- 706.. 13.8V AC. 13.8V 16V 24V 10 ( +14 ) 60 ( +140 ) 80, ICOM,,..,. i IC- 706 (OP C- 025D )...1 (HM - 103)...1 (30A )...2 (4A )...2

More information

hwp

hwp , 14% 18,300.,. ( ),.. 14 % 18,3 0 0., " "., ( ) " ".,... (E PA) (CARB ). " E PA ".. 9 6 5 1 0 1 5 %. CARB ( ). . "9 9 E PA, ".,. 1 3 [H P E 1 0 0 M ]., 7 2 0 0, 5 0 0.,.. " ".., 1 0 %., " 2 0 % ".,. '

More information

서피스셰이더프로그램 셰이더개발을쉽게! Thursday, April 12, 12

서피스셰이더프로그램 셰이더개발을쉽게! Thursday, April 12, 12 서피스셰이더프로그램 셰이더개발을쉽게! 유니티렌더링시스템소개 렌더링패스 셰이더랩 서피스셰이더 데모 2 유니티렌더링시스템 3 Deferred Lighting Rendering Path Dual Lightmapping Post Effect Processing Realtime Shadow LightProbe Directional Lightmapping HDR Gamma

More information

DV690-N_KOR_110216.indd

DV690-N_KOR_110216.indd P/NO : MFL63266772 3 1 4 1 5 7 1 2 3 4 5 6 7 6 1 7 7 r t y u i - - - -, 7 1, 8 1 1 3 6 8 10 11 13? 12 14 15 16 17 18 a 1 b B c d e f c/v g C/V h M i Z j z k l 2 4 5 7 9 m w/s/a/d n b o p x q [ ] } r?

More information

( )박용주97.PDF

( )박용주97.PDF DDA D D A 1 ) 1. D DA 1 ). D D A DDA (Doh a Developm en t Agen d a ) 194 7 GATT (Gen er a l Agr eem en t On T a r r ifs a n d T r a d e ; ) 9, 199 5 WT O. 1994 ( 1986-94 ) WT O,. D DA. WT O 2 ). GAT T

More information

[8051] 강의자료.PDF

[8051] 강의자료.PDF CY AC F0 RS1 RS0 OV - P 0xFF 0x80 0x7F 0x30 0x2F 0x20 0x1F 0x18 0x17 0x10 0x0F 0x08 0x07 0x00 0x0000 0x0FFF 0x1000 0xFFFF 0x0000 0xFFFF RAM SFR SMOD - - - GF1 GF0 PD IDL 31 19 18 9 12 13 14 15 1 2 3 4

More information

K&R2 Reference Manual 번역본

K&R2 Reference Manual 번역본 typewriter structunion struct union if-else if if else if if else if if if if else else ; auto register static extern typedef void char short int long float double signed unsigned const volatile { } struct

More information

歯320.PDF

歯320.PDF Thermo Orion Model 320 PerpHecT Meter I. 1 II. A. 2 B. Keypad 3 III. A. 4 B. 4 IV. A. 5 B. 5 C. setup 6 V. ph A. 7 B. ph 8 VI. LogR ph A. 10 B. LogR? 11 C. LogR 12 VII. mv/ ORP/ A. mv 13 B. (, ) 13 VIII.

More information

C프로-3장c03逞풚

C프로-3장c03逞풚 C h a p t e r 03 C++ 3 1 9 4 3 break continue 2 110 if if else if else switch 1 if if if 3 1 1 if 2 2 3 if if 1 2 111 01 #include 02 using namespace std; 03 void main( ) 04 { 05 int x; 06 07

More information

PowerPoint 프레젠테이션

PowerPoint 프레젠테이션 @ Lesson 3 if, if else, if else if, switch case for, while, do while break, continue : System.in, args, JOptionPane for (,, ) @ vs. logic data method variable Data Data Flow (Type), ( ) @ Member field

More information

(해01~40)300제(물리Ⅰ)-ok

(해01~40)300제(물리Ⅰ)-ok EBS w w w. e b s i. c o. k r 01 001 002 GPS GPS GPS 3 3 003 h h L L tanh=;lh; L= h tanh 004 001~020 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 ;3!; ;3@; y ;6!; ;3!;

More information

초보자를 위한 C++

초보자를 위한 C++ C++. 24,,,,, C++ C++.,..,., ( ). /. ( 4 ) ( ).. C++., C++ C++. C++., 24 C++. C? C++ C C, C++ (Stroustrup) C++, C C++. C. C 24.,. C. C+ +?. X C++.. COBOL COBOL COBOL., C++. Java C# C++, C++. C++. Java C#

More information

334 退 溪 學 과 儒 敎 文 化 第 55 號 角 說 에서는 뿔이 난 말과 고양이라는 기형의 동물을 소재로 하여 당대 정치 상 황을 비판하였고, 白 黑 難 에서는 선과 악을 상징하는 색깔인 白 과 黑 이 서로 벌이 는 문답을 통하여 옳고 그름의 가치관이 전도된 현실세

334 退 溪 學 과 儒 敎 文 化 第 55 號 角 說 에서는 뿔이 난 말과 고양이라는 기형의 동물을 소재로 하여 당대 정치 상 황을 비판하였고, 白 黑 難 에서는 선과 악을 상징하는 색깔인 白 과 黑 이 서로 벌이 는 문답을 통하여 옳고 그름의 가치관이 전도된 현실세 南 坡 洪 宇 遠 의 논설류 산문 연구 禹 芝 英 *1) 차 례. 서론. 친근한 소재를 통한 공감의 확대. 문답의 서술방식을 통한 논리성의 강화. 우언의 서술방식을 통한 현실 비판. 결론 국문초록 南 坡 洪 宇 遠 은 仁 祖 에서 肅 宗 연간에 활동한 문인 관료이다. 홍우원의 문집인 南 坡 集 은 시와 상소문이 대부분의 비중을 차지하고, 記 說 序 등의 산문

More information

Bchvvhv[vhvvhvvhchvvhvvhvvhvvhvvgvvgvv}vvvgvvhvvhvvvhvvhvvhvvvbbhvvhvvvgvvgvvhvvhvvhv}hv,.. Bchvvhv[vhvvhvvhvvhvvbbhvvhvvhvvvhvvhvvgvvgvv}vvgvvhvvvhvv

Bchvvhv[vhvvhvvhchvvhvvhvvhvvhvvgvvgvv}vvvgvvhvvhvvvhvvhvvhvvvbbhvvhvvvgvvgvvhvvhvvhv}hv,.. Bchvvhv[vhvvhvvhvvhvvbbhvvhvvhvvvhvvhvvgvvgvv}vvgvvhvvvhvv [ 5] 입당성가 ( ) 성호경 Bcgvbbbhvbbbhcbhvvhvbbbgvvbvbhvbbjvvhvv[vbbhvbbbGYvvvvygcbbgc}cvvbbgcbbGYc}cccccbbbbbbbbbbbbvvbbhv - -.. 인사 Bchvvhvbbbhchvvhvvhvbbbhvvvhvvhvvhvvvhvvhvvhvbbbhvv[vvhvvhvvhvvvhvvhvvhvbbbhvvvbhvvhvbbbhvvvhvvhvvbbhv

More information

프로그램을 학교 등지에서 조금이라도 배운 사람들을 위한 프로그래밍 노트 입니다. 저 역시 그 사람들 중 하나 입니다. 중고등학교 시절 학교 도서관, 새로 생긴 시립 도서관 등을 다니며 책을 보 고 정리하며 어느정도 독학으르 공부하긴 했지만, 자주 안하다 보면 금방 잊어

프로그램을 학교 등지에서 조금이라도 배운 사람들을 위한 프로그래밍 노트 입니다. 저 역시 그 사람들 중 하나 입니다. 중고등학교 시절 학교 도서관, 새로 생긴 시립 도서관 등을 다니며 책을 보 고 정리하며 어느정도 독학으르 공부하긴 했지만, 자주 안하다 보면 금방 잊어 개나리 연구소 C 언어 노트 (tyback.egloos.com) 프로그램을 학교 등지에서 조금이라도 배운 사람들을 위한 프로그래밍 노트 입니다. 저 역시 그 사람들 중 하나 입니다. 중고등학교 시절 학교 도서관, 새로 생긴 시립 도서관 등을 다니며 책을 보 고 정리하며 어느정도 독학으르 공부하긴 했지만, 자주 안하다 보면 금방 잊어먹고 하더라구요. 그래서,

More information

정규식 사용하기

정규식 사용하기 ^\s*$. \d{2}-\d{5}, 2 5 ID. ]*)?>[\s\s]*. \,,, 8., 'n' "n" '\n'. '\\' "\" '\(' "(". ^. RegExp Multiline ^ '\n' '\r'. $. RegExp Multiline $ '\n' '\r'.. * 0., 'zo*' "z", "zoo".

More information

HW5 Exercise 1 (60pts) M interpreter with a simple type system M. M. M.., M (simple type system). M, M. M., M.

HW5 Exercise 1 (60pts) M interpreter with a simple type system M. M. M.., M (simple type system). M, M. M., M. 오늘할것 5 6 HW5 Exercise 1 (60pts) M interpreter with a simple type system M. M. M.., M (simple type system). M, M. M., M. Review: 5-2 7 7 17 5 4 3 4 OR 0 2 1 2 ~20 ~40 ~60 ~80 ~100 M 언어 e ::= const constant

More information

DCR-HC15

DCR-HC15 3-089-848-42(1) DCR-HC15 2004 Sony Corporation 2 1 2 3 4 5 6 7 8 1 5 6 2 7 3 4 8 3 c 4 5 6 c 7 3 2 v 1 Z 2 3 1 2 8 1 2 3 4 1 2 3 9 10 [a] [b] [c] [d] [a] [b] [c] [d] 11 (1) (2) (1) (2) 12 (1) (2) v (3)

More information

........1......

........1...... Contents 1 10 11 12 13 2 14 15 16 17 18 3 19 20 21 22 23 24 25 1 28 29 30 F a b W = mg a b F W = mg b F a W = mg 31 32 33 34 35 36 2 37 38 39 40 41 3 42 43 44 45 46 47 48 49 50 51 52 53 4 54 55 56

More information

1. 화섬산업의 개요 1.1 화섬산업의 륵성 화 섬산 업 의 산 업 적 특 성 화섬산업은 원사,원면 둥 기초소재를 생산하는 섬유산 업의 핵심산업으로 고용창출효과와 고부가가치를 실현할 수 있음 O 세계적으로 독일,이태리,일본 등 선진국을 중심으로 M E(마이크로 일렉트

1. 화섬산업의 개요 1.1 화섬산업의 륵성 화 섬산 업 의 산 업 적 특 성 화섬산업은 원사,원면 둥 기초소재를 생산하는 섬유산 업의 핵심산업으로 고용창출효과와 고부가가치를 실현할 수 있음 O 세계적으로 독일,이태리,일본 등 선진국을 중심으로 M E(마이크로 일렉트 화섬산업의 경쟁력 분석 낀r 三, 샌. 1. 화섬산업의 개요 1.1 화섬산업의 륵성 화 섬산 업 의 산 업 적 특 성 화섬산업은 원사,원면 둥 기초소재를 생산하는 섬유산 업의 핵심산업으로 고용창출효과와 고부가가치를 실현할 수 있음 O 세계적으로 독일,이태리,일본 등 선진국을 중심으로 M E(마이크로 일렉트 로닉스)등 첨단기술의 접목으로 종래 노동 중심에서 기술

More information

歯FFF01379.PDF

歯FFF01379.PDF 1 9 9 5 M. Div. . 1995 M. Div. . 1 9 9 5 . 1 A. 1 B. 2. 4 A. 4 B. 6 C. 9. 15 A. 15 1. 15 2. 17 3. 2 0 B. 22 1. 22 a. 25 b. 26 c. 27 2. 29 a. 3 0 b. 35 c. 37 3. ( ) 4 1 a. 43 b. 4 5 c. 48. 5 2 A. 5 2 1.

More information

초보자를 위한 한글 Visual Basic .NET 21일 완성

초보자를 위한 한글 Visual Basic .NET 21일 완성 21 Visual Basic.NET. Visual Basic.NET Visual Basic..NET Visual Basic.NET,..NET Micorosoft.,,..NET 21,. Visual Basic.NET, 21,.NET,.NET. Visual Basic.NET,.NET,,.,.NET...NET (Visual Basic, C#, C+ + ).NET.

More information

歯9장.PDF

歯9장.PDF 9 Hello!! C printf() scanf() getchar() putchar() gets() puts() fopen() fclose() fprintf() fscant() fgetc() fputs() fgets() gputs() fread() fwrite() fseek() ftell() I/O 2 (stream) C (text stream) : `/n'

More information

chap10.PDF

chap10.PDF 10 C++ Hello!! C C C++ C++ C++ 2 C++ 1980 Bell Bjarne Stroustrup C++ C C++ C, C++ C C 3 C C++ (prototype) (type checking) C C++ : C++ 4 C C++ (prototype) (type checking) [ 10-1] #include extern

More information

ALPHA I 500M(현대삼호) service manual(kor).hwp

ALPHA I 500M(현대삼호) service manual(kor).hwp ALPHA I 500M VER 2.0 2005. 01 (현대삼호)사용설명서 본 제품을 바르고 안전하게 사용하기 위해서 사용, 점 검, 수리 전에 반드시 본 내용을 읽어서 충분히 이해하 고 사용하십시오. Visit our website at www.hdweld.co.kr www.hyundaiwelding.com 본 사 : 서울시 강남구 삼성동 157-37 (일송빌딩

More information

°ø¾÷-01V36pš

°ø¾÷-01V36pš 2 3 4 5 6 ..2.3 3 (differential) (equation).. () d/d (). e 0.2 (, ), d/d 0.2e 0.2. e 0.2 (). ()., ().,.. (DE: differential equation). (tpe), (order), (linearit). (ODE: ordinar differential equation). (2).

More information

dnu.pdf

dnu.pdf ISODNU 1 ISO DNU/DNUL DNU DNUL 32 40 50 63 80 Gx G G Gy Gy G M10x1.25 M12x1.25 M16x1.5 M16x1.5 M20x1.5 M20x1.5 [mm] 19 21 23 23 30 30 4 [MPa] 1.2 [ C] 20 80 0.6MPa [N] 482 753 1178 1870 3015 4712 415 633

More information

Microsoft PowerPoint - GameProgramming23-PixelShader.ppt

Microsoft PowerPoint - GameProgramming23-PixelShader.ppt 픽셀셰이더 HLSL Pixel Shader 305890 2009년봄학기 6/10/2009 박경신 각픽셀의래스터라이즈과정을위해그래픽카드의 GPU 에서실행되는프로그램 Direct3D 는소프트웨어적으로픽셀셰이더기능을에뮬레이트하지않음 픽셀과텍스처좌표에대한직접적인접근, 처리 멀티텍스처링, 픽셀당조명, 필드깊이, 구름시뮬레이션, 불시뮬레이션, 복잡한그림자테크닉 GPU

More information

Beginning Linux Programming 제3판

Beginning Linux Programming 제3판 1.,..,, GNU,, GNU..,. GNU.. 4 0 B e g in n in g Lin u x P ro g ra m m in g 3? AT&T. Digital Equipment PDP 1970., PC.,. (Single Unix Specification),,. IEEE(Institute of Electrical and Electronic Engineers,

More information

감사의 글 짐 스텐츨 발간사 함세웅 서문 무언가를 해야만 했다 제1장 우리의 마음도 여러분들과 함께 울고 있습니다 제2장 고립에서 연대로 제3장 한국이 나에게 내 조국과 신앙에 대해 가르쳐 준 것 제4장 아직도 남아 있는 마음의 상처 제5장 그들이 농장에서 우리에게 결코 가르쳐 주지 않았던 것들 제6장 모든 경계를 넘어, 하나의 공동체 제7장 방관자로 남는

More information

歯표지.PDF

歯표지.PDF GLOFA MASTERK !!!! 8 4 4 4 4 4!! 8 4 8 8 8 8 4 4 1 1 1 1 1 2 ± 1 1 3 2 + < < ± 2 1 2 DIN BS ( C) (µv) K NiCrNi NiCrNiAI 2000~12000 5891~48828 J PeCuNi 2000~8000 7890~45498 E NiCrCuNi 1500~6000 7297~45085

More information

untitled

untitled if( ) ; if( sales > 2000 ) bonus = 200; if( score >= 60 ) printf(".\n"); if( height >= 130 && age >= 10 ) printf(".\n"); if ( temperature < 0 ) printf(".\n"); // printf(" %.\n \n", temperature); // if(

More information

untitled

untitled 9 hamks@dongguk.ac.kr : Source code Assembly language code x = a + b; ld a, %r1 ld b, %r2 add %r1, %r2, %r3 st %r3, x (Assembler) (bit pattern) (machine code) CPU security (code generator).. (Instruction

More information

AD AD 8-0 / A A-2 / A A A-5 / A A T-T / Q

AD AD 8-0 / A A-2 / A A A-5 / A A T-T / Q 8-0 / 1-00... 002 A-1..... 003 A-2 / A-3....... 004 A-4..... 007 A-5 / A-6..... 012 A-8..... 016 T-T / Q-7... 017 1 8-0 1986-1991 20-5083-A5 RH 20-5084-A5 LH 893941030 893941029 HE LAMP B TYPE 18-5143-05

More information

北 韓 및 共 産 圈 接 觸 交 流 를 通 한 政 治 心 理 의 展 關 方 向 國 土 統 - 綜 이 報 告 書 는 國 土 統 一 院 73 年 度 下 半 類 學 術 f 役 에 關 한 畢. 終 報 告 書 로 理 出 합니다 l 9 7 3 년 il원 긴 硏 究 機 關 京 鄕 諒 間 社 安 保 統 - 硏 究 委 員 會 硏 漆 養 員 責 任 者 : 료 國 植 委 員

More information

ü M ysql 관련 PHP API 함수이해 ü PHP API 함수의활용 ü <form> 태그활용법 ü 변수전달방식의이해 ü API 함수를이용한데이터베이스관리

ü M ysql 관련 PHP API 함수이해 ü PHP API 함수의활용 ü <form> 태그활용법 ü 변수전달방식의이해 ü API 함수를이용한데이터베이스관리 07 장 PHP 와 M ysql 의연동 ü M ysql 관련 PHP API 함수이해 ü PHP API 함수의활용 ü 태그활용법 ü 변수전달방식의이해 ü API 함수를이용한데이터베이스관리 1. M ysql을지원하는 PHP API 함수 2. 과변수값전달 3. DB 테이블생성과데이터읽기 4. 성적관리프로그램제작 1.2 DB 테이블생성과레코드삽입

More information

HWP Document

HWP Document [ 출처 : www.xdian.org ] 색상 참고사항 CA-검정, AX-검정, UY-유광우드, UZ-무광우드, VI-메탈, QR-금색, RW-은색 [이하는 XD기준, 기타 다른 색코드는 타차종이므로 D.I.Y시 비슷한 색코드를 찾으셔서 하시면 됩니다. - 순정부품의 내,외장품에는 고유색상이 있습니다. 예를 들면 "00000-00000**" "**"이 코드는

More information

fx-570EX_fx991EX

fx-570EX_fx991EX KO fx-570ex fx-991ex http://edu.casio.com RJA532528-001V01 ...2... 2... 2... 3... 4...5...6...7... 9... 10...11... 12... 13 QR... 15...16 CALC...17 SOLVE... 17... 18 n... 21...22... 23... 25... 26...27...

More information

hwp

hwp BE 8 BE 6 BE 4 BE 2 BE 0 y 17 y 16 y 15 y 14 y 13 y 12 y 11 y 10 y 9 y 8 y 7 y 6 y 5 y 4 y 3 y 2 y 1 y 0 0 BE 7 BE 5 BE 3 BE 1 BE 16 BE 14 BE 12 BE 10 y 32 y 31 y 30 y 29 y 28 y 27 y 26 y 25 y 24 y 23

More information

hlogin2

hlogin2 0x02. Stack Corruption off-limit Kernel Stack libc Heap BSS Data Code off-limit Kernel Kernel : OS Stack libc Heap BSS Data Code Stack : libc : Heap : BSS, Data : bss Code : off-limit Kernel Kernel : OS

More information

Microsoft PowerPoint - 3ÀÏ°_º¯¼ö¿Í »ó¼ö.ppt

Microsoft PowerPoint - 3ÀÏ°_º¯¼ö¿Í »ó¼ö.ppt 변수와상수 1 변수란무엇인가? 변수 : 정보 (data) 를저장하는컴퓨터내의특정위치 ( 임시저장공간 ) 메모리, register 메모리주소 101 번지 102 번지 변수의크기에따라 주로 byte 단위 메모리 2 기본적인변수형및변수의크기 변수의크기 해당컴퓨터에서는항상일정 컴퓨터마다다를수있음 short

More information

歯엑셀모델링

歯엑셀모델링 I II II III III I VBA Understanding Excel VBA - 'VB & VBA In a Nutshell' by Paul Lomax, October,1998 To enter code: Tools/Macro/visual basic editor At editor: Insert/Module Type code, then compile by:

More information

9

9 9 hamks@dongguk.ac.kr : Source code Assembly language code x = a + b; ld a, %r1 ld b, %r2 add %r1, %r2, %r3 st %r3, x (Assembler) (bit pattern) (machine code) CPU security (code generator).. (Instruction

More information

a16.PDF

a16.PDF ,,,, A B S T RA CT A S t u dy on S erv ic e Ch ara ct eri s t ic s of D ire c t ors of H e alt h Cen t ers in K ore a T his stu dy h as attempted to show general characteristics of health centre director

More information

NERO_M128_V10.opj

NERO_M128_V10.opj SW 0 R 0R ISP Port REF 0.uF PE P R 0K 0.uF R 0R 0.uF JP HEER/X 0.uF X pf PF PF PF PF PF PF PF REF TK TMS TO TI PE PE PE PE PE PE PE P0 P P P P P P P Y MHz X pf JTG Port IR_FREQ IR_OUT 0 0 0 TK TO TMS TI

More information

untitled

untitled Step Motor Device Driver Embedded System Lab. II Step Motor Step Motor Step Motor source Embedded System Lab. II 2 open loop, : : Pulse, 1 Pulse,, -, 1 +5%, step Step Motor (2),, Embedded System Lab. II

More information

2 A A Cs A C C A A B A B 15 A C 30 A B A C B. 1m 1m A. 1 C.1m P k A B u k GPS GPS GPS GPS 4 2

2 A A Cs A C C A A B A B 15 A C 30 A B A C B. 1m 1m A. 1 C.1m P k A B u k GPS GPS GPS GPS 4 2 www.ebsi.co.kr 2 A A 1 133 Cs 1 11 1 A C C A A B A B 15 A C 30 A B A C B. 1m 1m A. 1 C.1m P k A B u k GPS GPS GPS GPS 4 2 www.ebsi.co.kr A B t B A ;2!;t v v= = (3_t)+(6_0.5t) v=4 m/s t+0.5t 3 m/s 6 m/s

More information

MPLAB C18 C

MPLAB C18 C MPLAB C18 C MPLAB C18 MPLAB C18 C MPLAB C18 C #define START, c:\mcc18 errorlevel{0 1} char isascii(char ch); list[list_optioin,list_option] OK, Cancel , MPLAB IDE User s Guide MPLAB C18 C

More information

106 107, ( ),, ( ), 3, int kor[5]; int eng[5]; int Microsoft Windows 4 (ANSI C2 ) int kor[5] 20 # define #define SIZE 20 int a[10]; char c[10]; float

106 107, ( ),, ( ), 3, int kor[5]; int eng[5]; int Microsoft Windows 4 (ANSI C2 ) int kor[5] 20 # define #define SIZE 20 int a[10]; char c[10]; float Part 2 31 32 33 106 107, ( ),, ( ), 3, int kor[5]; int eng[5]; int Microsoft Windows 4 (ANSI C2 ) int kor[5] 20 # define #define SIZE 20 int a[10]; char c[10]; float f[size]; /* 10 /* c 10 /* f 20 3 1

More information

untitled

untitled (shared) (integrated) (stored) (operational) (data) : (DBMS) :, (database) :DBMS File & Database - : - : ( : ) - : - : - :, - DB - - -DBMScatalog meta-data -DBMS -DBMS - -DBMS concurrency control E-R,

More information

1

1 1 1....6 1.1...6 2. Java Architecture...7 2.1 2SDK(Software Development Kit)...8 2.2 JRE(Java Runtime Environment)...9 2.3 (Java Virtual Machine, JVM)...10 2.4 JVM...11 2.5 (runtime)jvm...12 2.5.1 2.5.2

More information

ELECTRICAL PARTS LIST (CA-6215) Ref No. Part No. Description Value Qty AMP B'D ( B ) C1406 C CAP NPP POLY 152J 2J 152P 2 C140

ELECTRICAL PARTS LIST (CA-6215) Ref No. Part No. Description Value Qty AMP B'D ( B ) C1406 C CAP NPP POLY 152J 2J 152P 2 C140 2 C H P O W E R E D MIXER CA-6215 ELECTRICAL PARTS LIST (CA-6215) Ref No. Part No. Description Value Qty AMP B'D ( 4003487400B ) C1406 C1506 3698152198 CAP NPP POLY 152J 2J 152P 2 C1408 C1508 3678050177

More information

<313530393032203134B3E2C1B6BBE7BAD0BCAEBAB8B0EDBCAD2DBFCFBCBABABB28BEF6C0CDC3B5292E687770>

<313530393032203134B3E2C1B6BBE7BAD0BCAEBAB8B0EDBCAD2DBFCFBCBABABB28BEF6C0CDC3B5292E687770> iii 주요 결과 요약 총괄 현황 2014년도 총 투자액 17.6조원(ʼ13년도 16.9조원 대비 4.3% 증가) - 투자계획 17조 7,793억원(예산 15.9조원, 기금 1.9조원) 대비 미집행액(예산미배정, 불용 등) 1,398억원을 제외한 17조 6,395억원(99.2%) 집행 - 최근 5년간(ʼ10~ʼ14년) 국가연구개발사업의 투자액은 연평균 6.6%

More information

국통 7 3-6 - 47 南 北 韓 數 學 敎 科 書 撚 較 分 析 國 土 統 - 院 차 a l l 터 리 말 l 2 교과서 의 중 별 2 가 학 린및 종록 2 f 학는시 간수 : G 라 교과서의 체제 L 5 (l) 피형적 인 향대 5 州 내부적인 헝 태 f#t # 7 3 교 과 서 의 내유 9 가 수 학 류 터 # f 9 (l) 인역어가 라 른 경우 ~

More information

EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory :

EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory : #1 RAD (RAD STUDIO) In www.devgear.co.kr 2016.05.16 EMBARCADERO TECHNOLOGIES (Humphery Kim) RAD Studio : h=p://tech.devgear.co.kr/ : h=p://blog.hjf.pe.kr/ Facebook : h=p://d.com/hjfactory : hskim@embarcadero.kr

More information

CPX-E-PB_BES_C_ _ k1

CPX-E-PB_BES_C_ _ k1 CPX-E CPX-E-PB PROFIBUS DP 8723 27-7 [87536] CPX-E-PB CPX-E-PB-KO PI PROFIBUS PROFINET (). :, 2 Festo CPX-E-PB-KO 27-7 CPX-E-PB... 4.... 4.2... 4.3... 4.4... 5.5... 5 2... 6 2.... 6 2..... 6 2..2... 6

More information

OPCTalk for Hitachi Ethernet 1 2. Path. DCOMwindow NT/2000 network server. Winsock update win95. . . 3 Excel CSV. Update Background Thread Client Command Queue Size Client Dynamic Scan Block Block

More information

61 62 63 64 234 235 p r i n t f ( % 5 d :, i+1); g e t s ( s t u d e n t _ n a m e [ i ] ) ; if (student_name[i][0] == \ 0 ) i = MAX; p r i n t f (\ n :\ n ); 6 1 for (i = 0; student_name[i][0]!= \ 0&&

More information

???짚?

???짚? www.usco.or.kr/ws 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 International Jazz Day 2014 20 21 22 23 24 O O O O O O O O n chi hi hi hi hi hi hi hi hi hi hi hi, o te t acher, o pen and o boo oo oo oo

More information

자바로

자바로 ! from Yongwoo s Park ZIP,,,,,,,??!?, 1, 1 1, 1 (Snow Ball), /,, 5,,,, 3, 3, 5, 7,,,,,,! ,, ZIP, ZIP, images/logojpg : images/imageszip :, backgroundjpg, shadowgif, fallgif, ballgif, sf1gif, sf2gif, sf3gif,

More information

436 8., {(x, y) R 2 : y = x, < x 1} (, 1] φ(t) = (t, t), (, 2] ψ(t) = (t/2, t/2), [1, ) σ(t) = (1/t, 1/t).. ψ φ, σ φ. (φ, I) φ(i) φ : I φ(i). 8.2 I =

436 8., {(x, y) R 2 : y = x, < x 1} (, 1] φ(t) = (t, t), (, 2] ψ(t) = (t/2, t/2), [1, ) σ(t) = (1/t, 1/t).. ψ φ, σ φ. (φ, I) φ(i) φ : I φ(i). 8.2 I = 8. 8.1 ( ).,,,.. 8.1 C I R φ : I R m φ (φ I ) φ(i) = {x R m : x = φ(t), t I} C, t, I. C C = (φ, I). x R m C C. 1 x, a R m. φ(t) := ta + x R ( 2). x a. R m. 2 φ(t) = (cos t, sin t) [, 2π].. 435 436 8.,

More information

(72) 발명자 오인환 서울 노원구 중계로 195, 101동 803호 (중계동, 신 안동진아파트) 서혜리 서울 종로구 평창14길 23, (평창동) 한훈식 서울 강남구 언주로71길 25-5, 301호 (역삼동, 영 훈하이츠) 이 발명을 지원한 국가연구개발사업 과제고유번호

(72) 발명자 오인환 서울 노원구 중계로 195, 101동 803호 (중계동, 신 안동진아파트) 서혜리 서울 종로구 평창14길 23, (평창동) 한훈식 서울 강남구 언주로71길 25-5, 301호 (역삼동, 영 훈하이츠) 이 발명을 지원한 국가연구개발사업 과제고유번호 (19) 대한민국특허청(KR) (12) 등록특허공보(B1) (45) 공고일자 2014년04월14일 (11) 등록번호 10-1384704 (24) 등록일자 2014년04월07일 (51) 국제특허분류(Int. Cl.) F16L 9/18 (2006.01) F17D 1/00 (2006.01) F16L 3/00 (2006.01) (21) 출원번호 10-2012-0113933

More information

ePapyrus PDF Document

ePapyrus PDF Document Formtracer SJ-201 / SJ-301 392 SJ-400 396 SJ-500 399 400 SV-3100 402 Extreme SV-3000CNC/SV-M3000CNC 404 Formtracer Formtracer SV-C3100 / SV-C4100 406 Formtracer Extreme SV-C3000CNC / SV-C4000CNC 408 Formtracer

More information

DocsPin_Korean.pages

DocsPin_Korean.pages Unity Localize Script Service, Page 1 Unity Localize Script Service Introduction Application Game. Unity. Google Drive Unity.. Application Game. -? ( ) -? -?.. 준비사항 Google Drive. Google Drive.,.. - Google

More information

차례 제 1 장 MATLAB 연습 MATLAB에서사용되는기호들

차례 제 1 장 MATLAB 연습 MATLAB에서사용되는기호들 차례 제 1 장 MATLAB 연습 ------------------------------------------------------------ 6 1.1 MATLAB에서사용되는기호들 ----------------------------------------------- 1.2 연산자 (operators) --------------------------------------------------------------------

More information

hapter_ i i 8 // // 8 8 J i 9K i? 9 i > A i A i 8 8 KW i i i W hapter_ a x y x y x y a /()/()=[W] b a b // // // x x L A r L A A L L A G // // // // /

hapter_ i i 8 // // 8 8 J i 9K i? 9 i > A i A i 8 8 KW i i i W hapter_ a x y x y x y a /()/()=[W] b a b // // // x x L A r L A A L L A G // // // // / A p p e n d i x Notation hapter_ i i 8 // // 8 8 J i 9K i? 9 i > A i A i 8 8 KW i i i W hapter_ a x y x y x y a /()/()=[W] b a b // // // x x L A r L A A L L A G // // // // // // // 8 b hapter_ hapter_

More information

1 11 111 111-1 p, q, r A, B, C (1 p

More information

OCaml

OCaml OCaml 2009.. (khheo@ropas.snu.ac.kr) 1 ML 2 ML OCaml INRIA, France SML Bell lab. & Princeton, USA nml SNU/KAIST, KOREA 3 4 (let) (* ex1.ml *) let a = 10 let add x y = x + y (* ex2.ml *) let sumofsquare

More information

5.스택(강의자료).key

5.스택(강의자료).key CHP 5: https://www.youtube.com/watch?v=ns-r91557ds ? (stack): (LIFO:Last-In First-Out):. D C B C B C B C B (element) C (top) B (bottom) (DT) : n element : create() ::=. is_empty(s) ::=. is_full(s) ::=.

More information