Direct3D Rendering Cookbook by Justin Stenning

By Justin Stenning

50 functional recipes to lead you thru the complicated rendering options in Direct3D to assist convey your 3D portraits undertaking to life

About This Book

  • Learn and enforce the complicated rendering innovations 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 positive aspects of Direct3D 11.2
  • A functional, example-driven, technical cookbook with a variety of illustrations and instance photographs to aid reveal the concepts described

Who This ebook Is For

Direct3D Rendering Cookbook is for C# .NET builders who are looking to examine the complex rendering ideas made attainable with DirectX 11.2. it really is anticipated that the reader has not less than a cursory wisdom of portraits programming, and even if a few wisdom of Direct3D 10+ is beneficial, it isn't precious. An figuring out of vector and matrix algebra is required.

What you'll 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 suggestions to enforce more desirable shading for lighting fixtures and shadows
  • Learn to software the photos pipeline with shaders utilizing HLSL carried out by way of Shader version 5

In Detail

The newest 3D images playing cards convey us notable visuals within the most recent video games, from Indie to AAA titles. this can be made attainable on Microsoft® systems together with workstation, Xbox consoles, and cellular units due to Direct3D– an element of the DirectX API devoted to exposing 3D pics to programmers. Microsoft DirectX is the photographs know-how powering all of ultra-modern most well-liked video games. the most recent model— DirectX 11—features tessellation for film-like geometric aspect, compute shaders for customized pictures results, and superior multithreading for larger usage. With it comes a few basic video game altering advancements to the way we render 3D graphics.

Direct3D Rendering Cookbook offers designated .NET examples masking quite a lot of complicated 3D rendering thoughts to be had in Direct3D 11.2. With this publication, you are going to methods to use the hot visible Studio 2012 pics content material pipeline, find out how to practice personality animation, tips on how to use complex tessellation ideas, how one can enforce displacement mapping, practice picture post-processing, and the way to exploit compute shaders for general-purpose computing on GPUs.

After masking 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 a variety of complex rendering concepts, construction upon the initiatives we create and the talents we research in every one next bankruptcy. themes lined contain utilizing the hot visible Studio 2012 snap shots content material pipeline and pictures debugger, texture sampling, basic 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 notebook and cellular. After finishing the recipes inside of Direct3D Rendering Cookbook, you have got an in-depth figuring out of quite a number complex Direct3D rendering topics.

Show description

Read or Download Direct3D Rendering Cookbook PDF

Best computer games programming books

Land of Lisp: Learn to Program in Lisp, One Game at a Time!

Lisp has been hailed because the world’s strongest programming language, yet its cryptic syntax and educational acceptance may be sufficient to scare off even skilled programmers. these darkish days are ultimately over—Land of Lisp brings the ability of practical programming to the folk! together with his brilliantly quirky comics and out-of-this-world video games, longtime Lisper Conrad Barski teaches you the mysteries of universal Lisp.

Unity 5 for Android Essentials

A fast moving advisor to development extraordinary video games and functions for Android units with cohesion 5About This BookDesign attractive results, animations, actual behaviors, and different diverse real-world positive aspects to your Android video games and applicationsOptimize your venture and the other real-world initiatives for Android devicesFollows a tutorial-based method of studying the easiest practices for having access to Android performance, rendering high-end snap shots, and increasing your undertaking utilizing Asset BundlesWho This e-book Is ForThis publication is ideal for powerfuble team spirit builders who are looking to how one can increase, optimize, and submit video games for Android units in a short and simple demeanour.

Game Development Tool Essentials

Video game improvement device Essentials provides must-have advice and tips from execs for strengthening and streamlining your online game instruments pipeline. we all know the sport instruments pipeline is critical, yet within the present atmosphere of shrinking budgets and elevated time strain, builders frequently need to accept inefficient, advert hoc, messy pipelines.

Making Games for the Atari 2600

The Atari 2600 used to be published in 1977, and now there is ultimately a publication approximately the best way to write video games for it! you will find out about the 6502 CPU, NTSC frames, scanlines, cycle counting, gamers, missiles, collisions, procedural iteration, pseudo-3D, and extra. Use our web-based IDE to put in writing 6502 meeting code, and notice your code run immediately within the browser.

Additional info for Direct3D Rendering Cookbook

Sample text

Download PDF sample

Rated 4.00 of 5 – based on 32 votes