
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
3D Programming for Windows®: Three-Dimensional Graphics Programming for the Windows Presentation Foundation (Pro - Developer) 1st Edition
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
- ISBN-100735623945
- ISBN-13978-0735623941
- Edition1st
- PublisherMicrosoft Press
- Publication dateAugust 3, 2007
- LanguageEnglish
- Dimensions7.38 x 1.28 x 9 inches
- Print length450 pages
Popular titles by this author
Editorial Reviews
From the Publisher
-Features in-depth coverage of mesh geometries--the key technology that enables 3D in the Windows Presentation Foundation
-Written by a premier Windows programmer, Charles Petzold
-Includes code examples in XAML and Visual C#
-Supplements the Windows Presentation Foundation essentials covered in Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation
About the Author
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.
Product details
- Publisher : Microsoft Press
- Publication date : August 3, 2007
- Edition : 1st
- Language : English
- Print length : 450 pages
- ISBN-10 : 0735623945
- ISBN-13 : 978-0735623941
- Item Weight : 1.9 pounds
- Dimensions : 7.38 x 1.28 x 9 inches
- Best Sellers Rank: #4,058,217 in Books (See Top 100 in Books)
- #311 in 3D Graphic Design
- #791 in Digital Video Production (Books)
- #982 in Microsoft OS Guides
- Customer Reviews:
About the authors
Discover more of the author’s books, see similar authors, read book recommendations and more.
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.
Customer reviews
- 5 star4 star3 star2 star1 star5 star53%27%20%0%0%53%
- 5 star4 star3 star2 star1 star4 star53%27%20%0%0%27%
- 5 star4 star3 star2 star1 star3 star53%27%20%0%0%20%
- 5 star4 star3 star2 star1 star2 star53%27%20%0%0%0%
- 5 star4 star3 star2 star1 star1 star53%27%20%0%0%0%
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on July 14, 2015Mr. Petzold breaks down 3D development into simplest terms fluidly and at a pleasing tempo that will impress. The material presentation addresses generalities (basic considerations) when developing 3D models programmatically providing deep insight into what goes on in the background of a 3D application. The document structure is project based and progressively develops upon previous lessons at a rate that is best described as casual or low stress.
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.
- Reviewed in the United States on March 2, 2018The book is fine, I just don't like the technology - you have to beat yourself to death to draw something in 3-D using the WPF 3-D classes. If anything, the book convinced me to stay away from these classes even though I love WPF otherwise. There are a couple of things I dislike about the technology: 1) it is a lot of work to form all of the elements to draw an object because of all of the arrays you have to fill, 2) fundamentally, I do not like the concept of something in 3-space having to be a triangle, because I can draw a 3-D line w/o having to form a triangle. I have my own 3-D graphic library using GRI+ and a second one using WPF drawing class, both of which can draw 3-D lines which simply have two point coordinates to define them. This author, is a great writer.
- Reviewed in the United States on July 28, 2009I really want to give this book a 4 or 5 star rating. Petzold goes into amazing detail about almost all aspects of creating 3D images. You really cant go wrong with this book if all you are doing is building static images.
But the books coverage of animation is sadly light. Even though there is a whole chapter on animations, its really light coverage and leaves me wanting for so much more.
And the real problem with this book is, who creates static 3D images? You most likely do 3D AND animation together.
So if you need the guts details on 3D WPF rendering than this book is for you. I you need guts on animation, not so much. And if you need 3D rendering and animation, than you might as well get this book, but know that you'll need to look elsewhere for animation details.
- Reviewed in the United States on September 12, 2011A great book for learning 3D from an API that abstracts all the non-3D details.
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.
- Reviewed in the United States on March 2, 2010Every time I read one of Mr. Petzold's books, I'm impressed and pleased with the experience. Not only do all of his examples work, but the background information is relevant and useful in other areas of my development. I'm particularly pleased with the chapters on matrix transforms and quaternions. He does a great job of explaining this complicated mathematics.
- Reviewed in the United States on March 11, 2010The Petzold books are some of the best for C++ and C# and WPF programming. The drawback to the approach Petzold uses is that one must still invest in another book or two by another author to get the full picture. Petzold for good reason works from the basics and does not use the Visual Studio wizards for the most part. It is important to know both however when developing code. But even so, this is an excellent reference book that has helped me immensely in learning and using C#, WPF and XAML.
Top reviews from other countries
- ShashankReviewed in India on September 3, 2016
5.0 out of 5 stars Nice book
Nice book with 3D concepts explained in simple language
- ErikaReviewed in the United Kingdom on October 9, 2016
5.0 out of 5 stars The quality is excellent. It's like nobody used it
The book arrived quickly. The quality is excellent. It's like nobody used it.
-
Joaquín M. ParrillaReviewed in Spain on August 27, 2020
5.0 out of 5 stars Excelente
Muy recomendado para desarrollo en 3D utilizando .NET y WPF
- Chic GeekReviewed in the United Kingdom on November 9, 2014
4.0 out of 5 stars Accelerates Application Development but Ideally would Explain Challenging Implementations Better
Definitely worth buying if you're using WPF professionally because of the amount of time (and therefore money) it can save compared with just using the standard online documentation of WPF. Has a really good range of examples showing interesting things you can do with WPF and is very readable, conversational and engaging.
Like many WPF resources, it's frustrating in having so much material only in XAML and so little in C# - a problem if you need to write an application that's highly dynamic and interactive rather than just using WPF to make an interface look attractive and show ready-made images/meshes. There is a chapter on algorithms to make meshes but that doesn't compensate for the lack of programming-language examples elsewhere. There's rather too much glossing over tricky details and non-obvious syntax where the textbook could really add value, and too much reliance on library functions which are available to download but never explained in the text. There's a lot of basic material on vectors and transformations which you don't need if you do Maths/Physics/Engineering but which might be useful for Computer Scientists or those with a non-technical background. Has a large section on quaternions which is more likely to be useful since this is a more specialised topic.