[NHN_NEXT] DirectX Tutorial 강의 자료

Post on 26-May-2015

1.394 views 9 download

Transcript of [NHN_NEXT] DirectX Tutorial 강의 자료

DirectX Tutorial윈도우 게임 프로그래밍

박민근

DirectX

http://ko.wikipedia.org/wiki/DirectX

DirectX 9 DirectX 11

Direct3D API

9 10 의 변화하드웨어가 변하기 시작 !!!

렌더링 파이프라인

렌더링 파이프라인

DirectX 헤더 파일 구조

DirectX 헤더 파일 구조

DirectX Sample Browser

DirectX Tutorial

DirectX 세팅디렉터리 세팅 – 포함 (Include), 라이브러리

DX 관련 라이브러리 (lib) 추가

1. Create Device

1) 윈도우 생성하기

1. Create Device

2) Direct3D 초기화

1. Create Device

2) Direct3D 초기화

1. Create Device

3) 메시지 루프 & 시스템 메시지 처리

1. Create Device

4) 화면 렌더링

1. Create Device

5) 객체 해제

2. Rendering Vertices

1) 커스텀 버텍스 구조체 정의

2. Rendering Vertices2) 버텍스 버퍼 생성

2. Rendering Vertices

3) 렌더링

3. Using Matrices

0) Backface Culling

3. Using Matrices

1) World Transformation Matrix

3. Using Matrices

2) View Transformation Matrix

3. Using Matrices

3) Projection Transformation Matrix

3. Using Matrices

4) Setup Matrices

4. Creating and Using Lights0) 라이팅의 종류

4. Creating and Using Lights

1) Create Geometry

4. Creating and Using Lights

2) Creating Material

4. Creating and Using Lights

3) Creating Light

5. Using Texture

1) 버텍스 포맷 정의 (u,v 좌표 )

5. Using Texture

2) 텍스쳐 로딩

5. Using Texture

3) UV 좌표 설정

5. Using Texture

4) 렌더링

6. Using Mesh

1) 메쉬 파일 로딩

6. Using Mesh

2) 메쉬의 Material 로딩

6. Using Mesh

3) 렌더링

6. Using Mesh

4) 리소스 해제하기