Chapter 14. Hello, Rendering!

You’ve made it! You’ve completed the application framework, and you have enough code to start rendering. In this chapter, you implement your first full 3D applications. You examine numerous Direct3D and Effects 11 API calls. And when you’re finished, you’ll have a deeper understanding of the Direct3D graphics pipeline.

Your First Full Rendering Application

It’s now time to render your first 3D object to the screen: a triangle. It seems only fitting to call this application “Hello, Rendering” because it’s your first full Direct3D program. But the name belies its complexity because, as you’ve discovered over the last few chapters, a lot of infrastructure is required just to render a single triangle. Furthermore, you ...

Get Real-Time 3D Rendering with DirectX® and HLSL: A Practical Guide to Graphics Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.