By Justin Stenning
50 sensible recipes to lead you thru the complicated rendering thoughts in Direct3D to aid carry your 3D portraits undertaking to life
About This Book
- Learn and enforce the complicated rendering concepts in Direct3D 11.2 and produce your 3D pics venture to life
- Study the resource code and electronic resources with a small rendering framework and discover the good points of Direct3D 11.2
- A functional, example-driven, technical cookbook with various illustrations and instance pictures to assist reveal the ideas described
Who This e-book Is For
Direct3D Rendering Cookbook is for C# .NET builders who are looking to study the complex rendering strategies made attainable with DirectX 11.2. it really is anticipated that the reader has at the very least a cursory wisdom of pix programming, and even if a few wisdom of Direct3D 10+ is beneficial, it's not invaluable. An knowing 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 ideas for debugging your Direct3D application
- Render a 3D surroundings with lighting, shapes, and materials
- Explore personality animation utilizing bones and vertex skinning
- Create extra floor aspect utilizing tessellation with displacement mapping and displacement decals
- Implement picture post-processing projects inside compute shaders
- Use real-time deferred rendering options to enforce more desirable shading for lighting fixtures and shadows
- Learn to application the photographs pipeline with shaders utilizing HLSL carried out through Shader version 5
The most recent 3D portraits playing cards convey us awesome visuals within the newest video games, from Indie to AAA titles. this can be made attainable on Microsoft® structures together with laptop, Xbox consoles, and cellular units because of Direct3D– an element of the DirectX API devoted to exposing 3D pictures to programmers. Microsoft DirectX is the photos expertise powering all of latest preferred video games. the most recent model— DirectX 11—features tessellation for film-like geometric element, compute shaders for customized portraits results, and enhanced multithreading for greater usage. With it comes a couple of basic online game altering advancements to the best way we render 3D graphics.
Direct3D Rendering Cookbook presents certain .NET examples protecting quite a lot of complex 3D rendering ideas to be had in Direct3D 11.2. With this e-book, you'll methods to use the hot visible Studio 2012 snap shots content material pipeline, easy methods to practice personality animation, easy methods to use complex tessellation thoughts, the way to enforce displacement mapping, practice snapshot post-processing, and the way to exploit compute shaders for general-purpose computing on GPUs.
After masking a number of introductory subject matters approximately Direct3D 11.2 and dealing with the API utilizing C# and SharpDX, we speedy ramp as much as the implementation of a variety of complicated rendering recommendations, construction upon the initiatives we create and the abilities we examine in every one next bankruptcy. issues coated comprise utilizing the hot visible Studio 2012 pictures content material pipeline and photos debugger, texture sampling, common mapping, lights 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 Direct3D Rendering Cookbook, you've gotten an in-depth realizing of a number of complicated Direct3D rendering topics.