Sign in to turn on 1-Click ordering.
Trade in Yours
For a £8.07 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

3D Programming for Windows® (Pro - Developer) [Paperback]

Charles Petzold
4.0 out of 5 stars  See all reviews (1 customer review)
RRP: £24.99
Price: £24.13 & FREE Delivery in the UK. Details
You Save: £0.86 (3%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Temporarily out of stock.
Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we dispatch the item.
Dispatched from and sold by Amazon. Gift-wrap available.
Trade In this Item for up to £8.07
Trade in 3D Programming for Windows® (Pro - Developer) for an Amazon Gift Card of up to £8.07, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

3 Aug 2007 0735623945 978-0735623941 1

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

Product details

  • Paperback: 450 pages
  • Publisher: Microsoft Press; 1 edition (3 Aug 2007)
  • Language: English
  • ISBN-10: 0735623945
  • ISBN-13: 978-0735623941
  • Product Dimensions: 3.2 x 18.4 x 22.5 cm
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 347,178 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

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.

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

5 star
3 star
2 star
1 star
4.0 out of 5 stars
4.0 out of 5 stars
Most Helpful Customer Reviews
5 of 5 people found the following review helpful
4.0 out of 5 stars Must have for someone working with WPF 3D 13 Nov 2007
If you've read Petzold's previous book on WPF "Applications = Code + Markup" the first thing you'll want to know about this book is 'Has Charles made the same mistake and conciously opted to use barely any images or diagrams?'. The good news is no, he hasn't. The book has plenty of screenshots and diagrams that really complement the text.

Petzold has covered the subject in tremendous detail and with a thouroughness I really didn't expect, uncovering mathematical topics I haven't even thought about since I left University. For example, three of the chapters are called "Algorithmic Mesh Geometries", "Matrix Transforms" and "Quaternions" - 3D programming isn't for the mathematically impaired.

As a reference, this book is a *must have* for anyone working with, or about to work with 3D in WPF. On the other hand, if you're looking for a quick overview of the 'art of the possible' with WPF 3D then this probably isn't the book for you. Indeed I think it might have benefited from a longer, gentler introduction to ease you into the subject matter; a 10,000 feet view, if you will.

The prose of the book is very dry making it an almost impossible casual read but, given the subject matter, it would be hard to avoid this problem. So in summary: an OK read for the curious, a great reference and good book overall.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.5 out of 5 stars  8 reviews
14 of 14 people found the following review helpful
5.0 out of 5 stars Strong fundamentals and fun stuff too 18 Sep 2007
By Eric Sink - Published on Amazon.com
This book is an excellent overview of WPF 3D.

Petzold blends his development experience with his math background to explain everything quite thoroughly, from the details of the API to the hows and whys of the math underneath.

* He explains why WPF 3D shades triangles differently depending on whether they share their vertices or not.

* His explanation of quaternions is probably the best I have read.

* He talks about why Viewport3DVisual is better than Viewport3D for printing.

* He explains the math behind lighting calculations.

The book contains lots of pictures, lots of sample code and a library of useful classes for WPF 3D programming.

If you're doing anything with WPF 3D, you simply must have this book.
9 of 9 people found the following review helpful
5.0 out of 5 stars An excellent and practical introduction to WPF 3D 17 Jan 2009
By Eran Levy - Published on Amazon.com
First, maybe it's worth mentioning that unlike most other books on 3D out there, it concentrates solely on WPF 3D, right from the beginning, and it assumes you have enough knowledge of C# .net/WPF. It doesn't "waste" half of the book trying to teach you C#/Visual Studio/XAML etc... it's a very good attitude. If you need to learn WPF/C#, read another book first. Charles Petzold has a great book on WPF, for example.

And to the book - It teaches most fundamental elements of 3D and how it's done in WPF. Meshes, models, camera, lights, textures, transforms and some basic 3D math are all there. There's also a chapter about quaternions.
Most of the material is well written, and good examples are given throughout the book, just where needed, and all well explained. The examples compile without any problem in Visual Studio 2005/2008 (the Express editions are enough btw).
All the examples are in C#.

Most of the material tends to be pretty practical and useful for real-world application. And that's particularly true to the last chapter, which try to inspire you with real world usage of WPD 3D and examples.

Just note that most of the material isn't very advanced. You'll have to learn more by yourself to write really useful 3D applications. But the book is just what it should be - gives you a very good jump start and leaves the rest for you to explore.

I highly recommend this book for anyone with knowledge of WPF who'd like to jump to the WPF 3D wagon.
Many WPF books dedicate a chapter or 2 about 3D. Even if you read one - this book have much more material and practical info about WPF 3D than those, so I highly recommend in this case as well.
Also, people with knowledge of other more advanced 3D platforms (DirecX/OpenGL) who'd like to know WPF 3D will also find this book useful.
6 of 6 people found the following review helpful
3.0 out of 5 stars Really good, but so light on animation 28 July 2009
By John W. Conwell - Published on Amazon.com
I 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.
3 of 3 people found the following review helpful
4.0 out of 5 stars Great intro to 3D Programming 17 July 2008
By MrPerphekt - Published on Amazon.com
This book is a fantastic intro into the world of 3D Programming. It explains the concepts in an easy to understand format and gradually eases you into the more complex aspects of 3D. Also, because it is for WPF it makes it a cinch to get up and running quickly. I've also found that this book is a great way to get acquainted with 3D and these concepts are easily transferrable into the more complex 3D languages (ie: Direct3D and OpenGL). I highly recommend this book for anyone looking to learn 3D or to expand their WPF repetoire!
2 of 2 people found the following review helpful
4.0 out of 5 stars A must have 3D programming reverence 11 Mar 2010
By Michael Poore - Published on Amazon.com
Format:Paperback|Verified Purchase
The 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.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category