3D Programming for Windows®: Three-Dimensional Graphics Programming for the Windows Presentation Foundation (Developer Reference) (英語) ペーパーバック – 2007/8/3
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
Get a focused introduction to programming 3D graphics with the Windows Presentation Foundation 3D API. Complementing his book Applications = Code + Markup, award-winning author Charles Petzold builds on XAML essentials, teaching you how to display and animate 3D graphics under the Microsoft .NET Framework 3.0 and Windows Vista. You’ll get expert guidance and code samples in XAML and Microsoft Visual C#— helping you master the skills you need to create high-fidelity user interfaces.
Discover how to:
- Define complex 3D objects with triangle meshes
- Enhance the illumination of 3D surfaces with light and shading effects
- Color 3D figures with gradients, bitmaps, and drawings
- Add animation with transforms and vertex manipulation
- Represent linear, affine, and camera transforms by using matrices
- Calculate vector angles, angles of rotation, and axes of rotation
- Generate triangle meshes efficiently by using C# code
- Express rotation by using quaternion computation
- Provide a user interface for manipulating and drawing 3D figures
PLUS—Get Visual C# and XAML code samples on the Web
Charles Petzold has been writing about Windows programming for 25 years. A Windows Pioneer Award winner, Petzold is author of the classic Programming Windows, the widely acclaimed Code: The Hidden Language of Computer Hardware and Software, Programming Windows Phone 7, and more than a dozen other books.
The projects emphasize .Net Framework implementations, but the ideologies and terminologies are industry standard and most all Windows users already have the .Net Framework installed anyway - might as well use it for something. There is an application titled Kazaml that compliments the book and its project format nicely; the application has, among several other things, a code editor and real-time updated view-port that allows you to see your progress in real-time. Kazaml is freeware ($0.00) and works out of the box with the .Net Framework - it has been discontinued, but the last version is still available and works well with the newest .Net Framework version 4.x.
Ol' Charles is an established Windows Developer and writer for Microsoft Press dtaing back some 20 years now. This guy should know his stuff and generally does and anyone looking to break into 3D development or wants to take their modelling to the next level this book is for you - bar none. although this title has aged a bit the data is still pertinent with the newer .Net framework implementations so fear naught.
Whilst XPF 3D has serious performance issues (point collections are immutable, retained mode graphics, lack of support beyond HLSL 1.0 - no vertex or geometry shaders), it is still the easiest, highest level abstraction for 3D development. This book shows you how, and walks you through the concepts and limitations of WPF 3D.
With the WPF team and now the Silverlight team on life support, Does WPF 3D have a future? As far as I am aware, there hasnt been a major change to WPF 3D since .NET 3.51 D3DImage control was introduced. Silverlight / XNA SharedGraphicsDeviceManager seems to now be the recomended approach to integrating 3D in LOB applications, (oops, now SL & XNA are dead too, so use D3DImage in WPF or SurfaceImageSource in Win8 XAML for DirectX interop) but for learning 3D programming in general, this WPF 3D book is great.