전체 글
-
Tutorial 21: Specular Mapping 연습문제Directx 11 with rastertek 2022. 9. 20. 15:02
To Do Exercises 1. Recompile the code and ensure you get a rotating cube with specular highlighting on the bump mapped surface. Press escape when done. 2. Create you own different specular maps to see how it changes the effect. 3. Change the pixel shader to return just the specular result. 4. Change the shininess of the light object in the GraphicsClass to see the change in effect. 1. 코드를 다시 컴파일..
-
Tutorial 20: Bump Mapping 연습문제Directx 11 with rastertek 2022. 9. 20. 13:52
To Do Exercises 1. Recompile and run the program. You should see a bump mapped rotating cube. Press escape to quit. 2. Change the bump map effect from 2.5 to something smaller (like 1.0) and larger (like 5.0) in the shader to see the change in the bump depth. 3. Comment out the color = color * textureColor; line in the pixel shader to see just the bump lighting effect. 4. Move the camera and lig..
-
Tutorial 19: Alpha Mapping 연습문제Directx 11 with rastertek 2022. 9. 20. 11:25
To Do Exercises 1. Recompile and run the program to see the alpha mapped texture combination. Press escape to quit. 2. Make some of your own alpha maps and use them to combine the two textures in different ways. 1. 프로그램을 다시 컴파일하고 실행하여 알파 매핑된 텍스처 조합을 확인합니다. 종료하려면 ESC를 누르십시오. 2. 당신만의 알파 맵을 만들어 다른 방식으로 두 텍스쳐를 결합하는 데 사용하세요. graphicsclass.cpp bool GraphicsClass::Initialize(int screenWidth, int screen..
-
Tutorial 18: Light Maps 연습문제Directx 11 with rastertek 2022. 9. 19. 15:28
To Do Exercises 1. Recompile the code and ensure you get a light mapped texture on the screen. 2. Create some of your own light maps and try them out. 3. Multiply the final output pixel in the pixel shader by 2.0. Notice you can create stronger and softer lighting effects by doing this. 1. 코드를 다시 컴파일하고 화면에 가벼운 매핑 텍스처가 나타나는지 확인합니다. 2. 나만의 라이트 맵을 만들어 사용해 보세요. 생략 3. 픽셀 셰이더의 최종 출력 픽셀에 2.0을 곱합니다. 이렇게..
-
Tutorial 17: Multitexturing and Texture Arrays 연습문제Directx 11 with rastertek 2022. 9. 19. 14:06
To Do Exercises 1. Recompile the code and run the program to see the resulting image. Press escape to quit. 2. Replace the two textures with two new ones to see the results. 1. 코드를 다시 컴파일하고 프로그램을 실행하여 결과 이미지를 확인합니다. 종료하려면 ESC를 누르십시오. 2. 두 개의 텍스쳐를 새로운 두 개의 텍스쳐로 교체하여 결과를 보십시오. graphicsclass.cpp bool GraphicsClass::Initialize(int screenWidth, int screenHeight, HWND hwnd) { ...........................
-
Tutorial 16: Frustum Culling 연습문제Directx 11 with rastertek 2022. 9. 19. 12:45
To Do Exercises 1. Recompile and run the program. Use the left and right arrow key to move the camera and update the render count in the upper left corner. 2. Load the cube model instead and change the cull check to CheckCube. 3. Create some different models and test which of the culling checks works best for them. 1. 프로그램을 다시 컴파일하고 실행해 보십시오. 왼쪽/오른쪽 화살표 키를 이용하여 카메라를 움직이고 왼쪽 위 화면에 구체 수가 나오는지 확인하십..
-
Tutorial 15: FPS, CPU Usage, and Timers 연습문제Directx 11 with rastertek 2022. 9. 17. 23:12
To Do Exercises 1. Recompile the code and ensure you can see the fps and cpu values. Press escape to quit. 2. Turn on the vsync in the graphicsclass.h file to see what refresh speed your video card/monitor locks the application to. 1. 코드를 다시 컴파일해 보고 fps와 cpu값이 표시되는지 확인해 보십시오. esc키를 눌러 빠져나갑니다. 튜토리얼12에서 했던 font 연습문제 부분은 지우기 귀찮아서 남겨두었다. 2. graphicsclass.h에서 수직동기화(vsync)를 사용하도록 하고 여러분의 비디오카드나 모니터가 몇..
-
Tutorial 13: Direct Input 연습문제Directx 11 with rastertek 2022. 9. 14. 23:56
To Do Exercises 1. Recompile and run the program. Move the mouse around the screen and watch the text position update. 2. Use the information from the 2D Rendering tutorial and combine it with this one to create your own mouse cursor that moves with the mouse movement. 3. Implement a function that reads the keyboard buffer and displays what you type on the screen. 1. 프로그램을 다시 컴파일하고 실행해 보십시오. 마우스..