Real-Time 3D Rendering with DirectX and HLSL: A Practical Guide to Graphics Programming

· Addison-Wesley Professional
4.2
12 reviews
Ebook
592
Pages
Eligible

About this ebook

Get Started Quickly with DirectX 3D Programming: No 3D Experience Needed

This step-by-step text demystifies modern graphics programming so you can quickly start writing professional code with DirectX and HLSL. Expert graphics instructor Paul Varcholik starts with the basics: a tour of the Direct3D graphics pipeline, a 3D math primer, and an introduction to the best tools and support libraries.

Next, you’ll discover shader authoring with HLSL. You’ll implement basic lighting models, including ambient lighting, diffuse lighting, and specular highlighting. You’ll write shaders to support point lights, spotlights, environment mapping, fog, color blending, normal mapping, and more.
Then you’ll employ C++ and the Direct3D API to develop a robust, extensible rendering engine. You’ll learn about virtual cameras, loading and rendering 3D models, mouse and keyboard input, and you’ll create a flexible effect and material system to integrate your shaders.

Finally, you’ll extend your graphics knowledge with more advanced material, including post-processing techniques for color filtering, Gaussian blurring, bloom, and distortion mapping. You’ll develop shaders for casting shadows, work with geometry and tessellation shaders, and implement a complete skeletal animation system for importing and rendering animated models.

You don’t need any experience with 3D graphics or the associated math: Everything’s taught hands-on, and all graphics-specific code is fully explained.
Coverage includes

• The Direct3D API and graphics pipeline
• A 3D math primer: vectors, matrices, coordinate systems, transformations, and the DirectX Math library
• Free and low-cost tools for authoring, debugging, and profiling shaders
• Extensive treatment of HLSL shader authoring
• Development of a C++ rendering engine
• Cameras, 3D models, materials, and lighting
• Post-processing effects
• Device input, component-based architecture, and software services
• Shadow mapping, depth maps, and projective texture mapping
• Skeletal animation
• Geometry and tessellation shaders
• Survey of rendering optimization, global illumination, compute shaders, deferred shading, and data-driven engine architecture


Ratings and reviews

4.2
12 reviews

About the author

Dr. Paul Varcholik is a programming instructor at the Florida Interactive Entertainment Academy (FIEA), a graduate degree program in game development at the University of Central Florida. Before coming to FIEA, Paul was a lead software engineer at Electronic Arts, where he worked on video game titles including Madden NFL Football and Superman Returns. A 20-year software industry veteran, he has taught college courses on software and game development since 1998. Paul has written extensively on topics including robotics, 3D user interaction, and multi-touch interfaces. He is author of the OpenGL Essentials LiveLessons video series on graphics development.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.