Cargando…

Direct3D Rendering Cookbook.

This is a practical cookbook that dives into the various methods of programming graphics with a focus on games. It is a perfect package of all the innovative and up-to-date 3D rendering techniques supported by numerous illustrations, strong sample code, and concise explanations. Direct3D Rendering C...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Stenning, Justin
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Publishing, 2014.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Direct3D; Introduction; Introducing Direct3D 11.1 and 11.2; Building a Direct3D 11 application with C# and SharpDX; Initializing a Direct3D 11.1/11.2 device and swap chain; Debugging your Direct3D application; Chapter 2: Rendering with Direct3D; Introduction; Using the sample rendering framework; Creating device-dependent resources; Creating size-dependent resources; Creating a Direct3D renderer class; Rendering primitives
  • Applying multisample anti-aliasingImplementing texture sampling; Chapter 3: Rendering Meshes; Introduction; Rendering a cube and sphere; Preparing the vertex and constant buffers for materials and lighting; Adding material and lighting; Using a right-handed coordinate system; Loading a static mesh from a file; Chapter 4: Animating Meshes with Vertex Skinning; Introduction; Preparing the vertex shader and buffers for vertex skinning; Loading bones in the mesh renderer; Animating bones; Chapter 5: Applying Hardware Tessellation; Introduction
  • Preparing the vertex shader and buffers for tessellationTessellating a triangle and quad; Tessellating bicubic Bezier surfaces; Refining meshes with Phong tessellation; Optimizing tessellation through back-face culling and dynamic Level-of-Detail; Chapter 6: Adding Surface Detail with Normal and Displacement Mapping; Introduction; Referencing multiple textures in a material; Adding surface detail with normal mapping; Adding surface detail with displacement mapping; Implementing displacement decals; Optimizing tessellation based on displacement decal (displacement adaptive tessellation)
  • Chapter 7: Performing Image Processing TechniquesIntroduction; Running a compute shader
  • desaturation (grayscale); Adjusting the contrast and brightness; Implementing box blur using separable convolution filters; Implementing a Gaussian blur filter; Detecting edges with the Sobel edge-detection filter; Calculating an image's luminance histogram; Chapter 8: Incorporating Physics and Simulations; Introduction; Using a physics engine; Simulating ocean waves; Rendering particles; Chapter 9: Rendering on Multiple Threads and Deferred Contexts; Introduction; Benchmarking multithreaded rendering
  • Implementing multithreaded dynamic cubic environment mappingImplementing dual paraboloid environment mapping; Chapter 10: Implementing Deferred Rendering; Introduction; Filling the G-Buffer; Implementing a screen-aligned quad renderer; Reading the G-Buffer; Adding multiple lights; Incorporating multisample anti-aliasing; Chapter 11: Integrating Direct3D with XAML and Windows 8.1; Introduction; Preparing the swap chain for a Windows Store app; Rendering to a CoreWindow; Rendering to an XAML SwapChainPanel; Loading and compiling resources asynchronously; Appendix: Further Reading; Index