50 useful recipes to steer you thru the complex rendering thoughts in Direct3D to aid convey your 3D pix venture to life
About This Book
- Learn and enforce the complex rendering ideas in Direct3D 11.2 and produce your 3D photos undertaking to life
- Study the resource code and electronic resources with a small rendering framework and discover the positive aspects of Direct3D 11.2
- A sensible, example-driven, technical cookbook with quite a few illustrations and instance photos to aid exhibit the ideas described
Who This publication Is For
Direct3D Rendering Cookbook is for C# .NET builders who are looking to research the complicated rendering suggestions made attainable with DirectX 11.2. it's anticipated that the reader has at the very least a cursory wisdom of portraits programming, and even though a few wisdom of Direct3D 10+ is beneficial, it isn't worthy. An realizing of vector and matrix algebra is required.
What you are going to Learn
- Set up a Direct3D software and practice real-time 3D rendering with C# and SharpDX
- Learn options for debugging your Direct3D application
- Render a 3D atmosphere with lighting fixtures, shapes, and materials
- Explore personality animation utilizing bones and vertex skinning
- Create extra floor element utilizing tessellation with displacement mapping and displacement decals
- Implement picture post-processing projects inside compute shaders
- Use real-time deferred rendering options to enforce superior shading for lighting fixtures and shadows
- Learn to software the photographs pipeline with shaders utilizing HLSL carried out through Shader version 5
The most up-to-date 3D portraits playing cards carry us outstanding visuals within the most recent video games, from Indie to AAA titles. this is often made attainable on Microsoft® systems together with notebook, Xbox consoles, and cellular units due to Direct3D– an element of the DirectX API devoted to exposing 3D portraits to programmers. Microsoft DirectX is the pix expertise powering all of cutting-edge preferred video games. the most recent model— DirectX 11—features tessellation for film-like geometric element, compute shaders for customized pics results, and better multithreading for greater usage. With it comes a couple of basic video game altering advancements to the best way we render 3D graphics.
Direct3D Rendering Cookbook offers special .NET examples protecting quite a lot of complex 3D rendering strategies to be had in Direct3D 11.2. With this publication, you'll the way to use the hot visible Studio 2012 snap shots content material pipeline, tips on how to practice personality animation, tips to use complicated tessellation thoughts, how one can enforce displacement mapping, practice picture post-processing, and the way to exploit compute shaders for general-purpose computing on GPUs.
After overlaying a couple of introductory issues approximately Direct3D 11.2 and dealing with the API utilizing C# and SharpDX, we speedy ramp as much as the implementation of various complex rendering suggestions, development upon the tasks we create and the abilities we research in every one next bankruptcy. subject matters lined contain utilizing the hot visible Studio 2012 pictures content material pipeline and pics debugger, texture sampling, common mapping, lighting fixtures and fabrics, loading meshes, personality animation (vertex skinning), tessellation, displacement mapping, utilizing compute shaders for post-process results, deferred rendering, and at last bringing all of this to home windows shop Apps for computing device and cellular. After finishing the recipes inside of Direct3D Rendering Cookbook, you have an in-depth realizing of a number of complicated Direct3D rendering topics.