Click here to Skip to main content
15,399,360 members
Articles / Multimedia / DirectX
Posted 16 Apr 2014


12 bookmarked

Direct3D Rendering Cookbook

Rate me:
Please Sign up or sign in to vote.
4.67/5 (7 votes)
28 Apr 2014CPOL3 min read
Short review of a very interesting book about DirectX 11 using C#

This article is in the Book Review chapter. Reviews are intended to provide you with information on books - both paid and free - that others consider useful and of value to developers. Read a good programming book? Write a review!


Direct3D is still dominating technology on Windows Platform so it is good to know its current state. Luckily for me, I got a chance to look at the newest book from Pack Publishing about this API. Today I am going to share my thoughts about the book and I hope it will refresh my knowledge about DX.

What have we got inside?

Actually there is a lot! From Getting Started to Deferred Rendering via Hardware Tessellation and even Physics Simulations!

Direct3D Rendering Cookbook

Direct3D Rendering Cookbook

The whole book contains a lot of recipes. From my perspective each recipe should be quite independent. Unfortunately, I do not know it this was a best solution and form for much of the book. For instance the first two chapters take almost 90 pages of the book. They only introduce to the samples framework and DirectX. The recipes included in those chapters create steps in huge tutorial. I would prefer much more loose style of such parts. Still the chapters have pretty good quality.

When we finish the introduction, we are able to get more interesting topics. Basically all you need to know in modern graphics programming is here! Decent number of examples, codes, pictures, diagrams is another advantage. Probably most of people should understand the content and be able to implement examples on their own.

We have topics about loading meshes (from FBX files converted to CMO). For instance, I did not know that Visual Studio is able to load and even view FBX files, it is described here on MSDN! There is also a great and very detailed chapter about skinning and mesh animations. Another worth to mention topics are about Displacement and Normal Mapping - plus Hardware Tessellation as a background topic for that.

Chapter regarding Image Processing seems to be a standard in all GFX books but this time I was happy to see all the techniques described using Compute Shaders. The chapter incorporated with lots of examples and diagrams should be easy to understand.

After reading another chapter about Physics readers will be able to implement nice looking water and use Bullet physics.

There is also an absorbing chapter about deferred context in D3D. It seems that they are powerful, but everyone expected that this technique will provide more performance improvements. As a background examples for deferred contexts there are recipes about rendering environment maps.

The last two chapters describe deferred rendering and how to connect D3D with XAML and Windows 8.1.

All in all, as you see, a lot of knowledge + interesting topics + good execution.


Final mark: 4/5
"Direct3D Rendering Cookbook"; is a good book. I do not know if the "recipe" style was best choice for this kind of material. Still a lot of people can get a lot of important knowledge. Author has great experience in the topic and the quality of chapters is high. I would prefer maybe C++ language (not C#) and I maybe longer but calmer progression with topics. "4/5" is, I think, fair mark for the book.

References and links


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Bartlomiej Filipek
Software Developer
Poland Poland
Software developer interested in creating great code and passionate about teaching.

Author of C++17 In Detail - a book that will teach you the latest features of C++17!

I have around 11 years of professional experience in C++/Windows/Visual Studio programming. Plus other technologies like: OpenGL, game development, performance optimization.

In 2018 I was awarded by Microsoft as MVP, Developer Technologies.

If you like my articles please subscribe to my weekly C++ blog or just visit

Comments and Discussions

QuestionSounds Interesting Pin
Paul Conrad5-Sep-15 19:01
professionalPaul Conrad5-Sep-15 19:01 
AnswerRe: Sounds Interesting Pin
Bartlomiej Filipek6-Sep-15 23:13
MemberBartlomiej Filipek6-Sep-15 23:13 
GeneralMy vote of 4 Pin
codewaver21-Jul-15 3:01
Membercodewaver21-Jul-15 3:01 
QuestionStereoscope Sample Pin
Bob Ranck29-Apr-14 13:38
MemberBob Ranck29-Apr-14 13:38 
QuestionCould you give me a simple sample about stereoscope in WPF by dx11.1(SharpDX) Pin
Yuan_Chong17-Apr-14 23:25
MemberYuan_Chong17-Apr-14 23:25 
AnswerRe: Could you give me a simple sample about stereoscope in WPF by dx11.1(SharpDX) Pin
Bartlomiej Filipek17-Apr-14 23:58
MemberBartlomiej Filipek17-Apr-14 23:58 
AnswerRe: Could you give me a simple sample about stereoscope in WPF by dx11.1(SharpDX) Pin
Justin Stenning24-Apr-14 0:26
MemberJustin Stenning24-Apr-14 0:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.