Series: Developer Reference
Paperback: 496 pages
Publisher: Microsoft Press (June 25, 2003)
Language: English
ISBN-10: 0735616531
ISBN-13: 978-0735616530
Product Dimensions: 7.4 x 1.3 x 9 inches
Shipping Weight: 2.2 pounds
Average Customer Review: 3.0 out of 5 stars See all reviews (8 customer reviews)
Best Sellers Rank: #3,452,121 in Books (See Top 100 in Books) #57 in Books > Computers & Technology > Programming > Graphics & Multimedia > DirectX #647 in Books > Computers & Technology > Graphics & Design > Electronic Documents #2219 in Books > Computers & Technology > Games & Strategy Guides > Game Programming
As of this writing, there doesn't seem to be a real reference manual for HLSL and the shader assembly language. This book makes a good effort at filling that role, however.The graphics programmer is likely to find this very useful. It integrates C application code with shader examples. It also discusses on-the fly compilation, use of resources for shader source code, the relationships between vertex and pixel shaders, texture samplers, and 'techniques' for pulling all the pieces together. Performance programming gets some discussion, but isn't a central topic. Appendices specify the shader language in dryly formal terms, but the descriptive chapters make most language features very clear.The shader programming model is decidedly non-standard. A rendering program does not work at all like a C program. Yes, a C/C++ programmer will be able to follow a shader's internals easily enough. The problem, though, is that a C program is in charge of what data gets handled when. Everything in a rendering program is silently a callback, however. It's invoked by some execution engine that sequences the input and output data, and even synchronizes multiple (and almost invisible) threads of execution. The hardware rendering program also interacts strongly with the application running in the main processor, partly through "semantics", reflective "annotations", and various parameter-setting mechanisms. There is a huge amount of mechanism at work, and it gives the real meaning to the interacting programs on the host and graphics engine. That mechanism is described in a black-box way, what it does rather than how it works. I think I've reverse engineered the workings, enough for my purposes, but this book did not address my needs directly.Still, it's the best I've found.
Microsoft® DirectX® 9 Programmable Graphics Pipeline (Developer Reference) Microsoft® Visual C++® .NET Deluxe Learning Edition--Version 2003 (Developer Reference) Introducing Microsoft® ASP.NET AJAX (Pro - Developer) Graphics Gems IV (IBM Version) (Graphics Gems - IBM) (No. 4) Computer Graphics Through OpenGL: From Theory to Experiments (Chapman & Hall/CRC Computer Graphics, Geometric Modeling, and Animation) The iOS 5 Developer's Cookbook: Core Concepts and Essential Recipes for iOS Programmers (Developer's Library) The Swift Developer's Cookbook (includes Content Update Program) (Developer's Library) The DevOps 2.0 Toolkit: Automating the Continuous Deployment Pipeline with Containerized Microservices Trenchless Technology : Pipeline and Utility Design, Construction, and Renewal Hydrocarbon Liquid Transmission Pipeline and Storage Systems: Design and Operation Horizontal Directional Drilling (HDD): Utility and Pipeline Applications (Civil Engineering) Gas Pipeline Hydraulics Nightmare Pipeline Failures: Fantasy Planning, Black Swans, and Integrity Management How to Create a Big, Fat Pipeline of New Clients for Your Law Firm in Just 10 Days The School-to-Prison Pipeline: Structuring Legal Reform Inside Windows Debugging (Developer Reference) Microsoft SQL Server 2012 High-Performance T-SQL Using Window Functions (Developer Reference) T-SQL Querying (Developer Reference) Object Thinking (Developer Reference) Windows® Internals: Including Windows Server 2008 and Windows Vista, Fifth Edition (Developer Reference)