Direct3D Rendering Cookbook

Justin Stenning

  • 出版商: Packt Publishing
  • 出版日期: 2014-01-20
  • 售價: $2,370
  • 貴賓價: 9.5$2,252
  • 語言: 英文
  • 頁數: 430
  • 裝訂: Paperback
  • ISBN: 1849697108
  • ISBN-13: 9781849697101
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

50 practical recipes to guide you through the advanced rendering techniques in Direct3D to help bring your 3D graphics project to life

Overview

  • Learn and implement the advanced rendering techniques in Direct3D 11.2 and bring your 3D graphics project to life
  • Study the source code and digital assets with a small rendering framework and explore the features of Direct3D 11.2
  • A practical, example-driven, technical cookbook with numerous illustrations and example images to help demonstrate the techniques described

In Detail

The latest 3D graphics cards bring us amazing visuals in the latest games, from Indie to AAA titles. This is made possible on Microsoft® platforms including PC, Xbox consoles, and mobile devices thanks to Direct3D – a component of the DirectX API dedicated to exposing 3D graphics hardware to programmers. Microsoft DirectX is the graphics technology powering all of today's hottest games. The latest version— DirectX 11—features tessellation for film-like geometric detail, compute shaders for custom graphics effects, and improved multithreading for better hardware utilization. With it comes a number of fundamental game changing improvements to the way in which we render 3D graphics.

Direct3D Rendering Cookbook provides detailed .NET examples covering a wide range of advanced 3D rendering techniques available in Direct3D 11.2. With this book, you will learn how to use the new Visual Studio 2012 graphics content pipeline, how to perform character animation, how to use advanced hardware tessellation techniques, how to implement displacement mapping, perform image post-processing, and how to use compute shaders for general-purpose computing on GPUs.

After covering a few introductory topics about Direct3D 11.2 and working with the API using C# and SharpDX, we quickly ramp up to the implementation of a range of advanced rendering techniques, building upon the projects we create and the skills we learn in each subsequent chapter. Topics covered include using the new Visual Studio 2012 graphics content pipeline and graphics debugger, texture sampling, normal mapping, lighting and materials, loading meshes, character animation (vertex skinning), hardware tessellation, displacement mapping, using compute shaders for post-process effects, deferred rendering, and finally bringing all of this to Windows Store Apps for PC and mobile. After completing the recipes within Direct3D Rendering Cookbook, you will have an in-depth understanding of a range of advanced Direct3D rendering topics.

What you will learn from this book

  • Set up a Direct3D application and perform real-time 3D rendering with C# and SharpDX
  • Learn techniques for debugging your Direct3D application
  • Render a 3D environment with lights, shapes, and materials
  • Explore character animation using bones and vertex skinning
  • Create additional surface detail using tessellation with displacement mapping and displacement decals
  • Implement image post-processing tasks within compute shaders
  • Use real-time deferred rendering techniques to implement improved shading for lighting and shadows
  • Learn to Program the graphics pipeline with shaders using HLSL implemented by Shader Model 5

Approach

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.

商品描述(中文翻譯)

50 個實用的食譜,指導您掌握 Direct3D 中的進階渲染技術,幫助您的 3D 圖形專案變為現實。

概述
- 學習並實作 Direct3D 11.2 中的進階渲染技術,讓您的 3D 圖形專案生動呈現。
- 研究源代碼和數位資產,使用小型渲染框架,探索 Direct3D 11.2 的特性。
- 一本實用的、以範例為驅動的技術食譜,包含大量插圖和範例圖片,幫助展示所描述的技術。

詳細內容
最新的 3D 顯示卡為最新遊戲帶來驚人的視覺效果,從獨立遊戲到 AAA 大作。這一切都得益於 Direct3D——一個專門向程式設計師暴露 3D 圖形硬體的 DirectX API 組件,並在 Microsoft® 平台上實現,包括 PC、Xbox 主機和行動裝置。Microsoft DirectX 是驅動當今最熱門遊戲的圖形技術。最新版本——DirectX 11——具備電影般的幾何細節的細分技術、用於自訂圖形效果的計算著色器,以及改進的多執行緒處理以提高硬體利用率。這帶來了一系列根本性的遊戲改變,改進了我們渲染 3D 圖形的方式。

《Direct3D 渲染食譜》提供詳細的 .NET 範例,涵蓋 Direct3D 11.2 中可用的各種進階 3D 渲染技術。透過本書,您將學會如何使用新的 Visual Studio 2012 圖形內容管道、如何執行角色動畫、如何使用進階硬體細分技術、如何實作位移貼圖、執行影像後處理,以及如何使用計算著色器進行 GPU 的通用計算。

在介紹了幾個關於 Direct3D 11.2 的主題並使用 C# 和 SharpDX 操作 API 後,我們將迅速進入一系列進階渲染技術的實作,基於我們在每個後續章節中創建的專案和學習的技能。涵蓋的主題包括使用新的 Visual Studio 2012 圖形內容管道和圖形除錯器、紋理取樣、法線貼圖、光照和材質、載入網格、角色動畫(頂點蒙皮)、硬體細分、位移貼圖、使用計算著色器進行後處理效果、延遲渲染,最後將所有這些應用於 Windows Store 應用程式,適用於 PC 和行動裝置。在完成《Direct3D 渲染食譜》中的食譜後,您將對一系列進階 Direct3D 渲染主題有深入的理解。

您將從本書中學到的內容
- 設置 Direct3D 應用程式並使用 C# 和 SharpDX 執行即時 3D 渲染。
- 學習除錯 Direct3D 應用程式的技術。
- 渲染具有燈光、形狀和材質的 3D 環境。
- 探索使用骨骼和頂點蒙皮的角色動畫。
- 使用細分技術和位移貼圖及位移貼花創建額外的表面細節。
- 在計算著色器中實作影像後處理任務。
- 使用即時延遲渲染技術實作改進的光照和陰影著色。
- 學習使用 HLSL 編程圖形管道,並由 Shader Model 5 實作著色器。

方法
這是一本實用的食譜,深入探討各種圖形編程方法,重點放在遊戲上。它是所有創新且最新的 3D 渲染技術的完美包裝,配有大量插圖、強大的範例代碼和簡明的解釋。