内容简介
This straightforward, step-by-step text is designed to demystify modern graphics programming, so you can quickly start writing effective, efficient code with DirectX and HLSL.
Long-time graphics programmer and instructor Paul Varcholik starts with a basic primer on 3D graphics and rendering, as well as the essential math and "tools of the trade." Next, he introduces shaders and HLSL, explaining both texture mapping and lighting models.
Varcholik then turns to rendering with DirectX, walking you through using the DirectX API and develops a, robust, extensible rendering engine that complements and integrates a large set of shaders. His hands-on approach presents and thoroughly explains all graphics-specific code: no prior knowledge of 3D graphics or the associated mathematics is required.
Along the way, you'll develop thorough knowledge of the DirectX API and the DirectX graphics pipeline. You'll learn how to integrate shaders with models; and covering both lighting and animation. With this foundation in place, you'll also master several intermediate-level rendering topics, including Multi-Pass Rendering, Post Processing, Shader Optimization, Space Partitioning, and Object Culling.
豆瓣评论