- 3D Programming for Windows
- Three-Dimensional Graphics Programming for the Windows Presentation Foundation
- by Charles Petzold
- Availability
- Table of Contents
- Source Code
- The Petzold.Media3D library
- Using the Book
- Applications and Curiosa from Chapter 9
- Books by Charles Petzold
- Out-of-Print Books
- Books That Were Never Published
- Charles petzold programming windows
3D Programming for Windows
Three-Dimensional Graphics Programming for the Windows Presentation Foundation
by
Charles Petzold
| 3D Programming for Windows explores and elucidates the 3D graphics programming facilities of the Windows Presentation Foundation (WPF) under Windows Vista and the .NET Framework 3.0. ISBN: 0-7356-2394-5; Microsoft Press; July 2007; 430 pages. AvailabilityThis book is available from:
as well as many other real and virtual bookstores. Table of Contents
Source CodeFor source code to programs in the book, go to the companion content page. Information about this source code can be found in this blog entry. The Petzold.Media3D libraryThe source code for the book includes version 0.9.0.0 of the Petzold.Media3D library (including source code). Purchase of the book entitles you to royalty-free use of the library in your own programs, including commercial applications. Please do not distribute the source code or a modified version of Petzold.Media3D.dll. The latest version of the Petzold.Media3D library is version 0.9.1.0 and can be downloaded here: To be informed for future updates, subscribe to the RSS feed of my blog for notifications of new versions. Using the BookTo use the book, you will need to be running either Microsoft Windows Vista or Microsoft Windows XP with Service Pack 2 installed. You’ll also need Visual Studio 2005. Step 1. Install the .NET Framework 3.0 Redistributable Package (also known as the Runtime Components) from here. You do not need to do this step if you’re running Windows Vista because the .NET Framework 3.0 is an intrinsic part of Vista. Step 2. Install the .NET Software Development Kit from here. This is the big one! You can either download an ISO image to burn on a DVD, or run a Setup program that installs the SDK from the Web. The Web install is available here. Step 3. Install the Visual Studio extensions for .NET 3.0 from here. Step 4. The book presumes that you use the Empty Project option in Visual Studio. The .NET 3.0 extensions do not include an Empty Project option for WPF programming. To add this option, copy this WpfEmptyProject.zip file to the directory:
To create a new WPF empty project in Visual Studio, select the File | New Project item from the menu to display the New Project dialog. Select Visual C# at the left and then WPF Empty Project. Something doesn’t look right? Check the Errata List. Errors are listed both by page number and in order of the date they’re submitted to me. Something definitely isn’t right and it’s not listed? Send me an email at cp@charlespetzold.com. Applications and Curiosa from Chapter 9Chapter 9 of 3D Programming for Windows highlights several example applications that use 3D graphics. Source code for the three XBAPs (XAML Browser Applications) are available with the source code for the book. All programs require .NET 3.0. Books by Charles PetzoldNew edition of the classic book completely updated for for Windows 8. | ||
| Programming Windows Phone 7 (Microsoft Press, 2010) Free thousand-page e-book now available! | ||
| The Annotated Turing A Guided Tour through Alan Turing’s History Paper on Computability and the Turing Machine (Wiley, 2008) | ||
| 3D Programming for Windows Three-Dimensional Graphics Programming for the Windows Presentation Foundation (Microsoft Press, 2007) An exploration and elucidation of the 3D programming facilities of the Windows Presentation Foundation. For program source code, go to the companion content page, or download individual source code files from ftp://ftp.charlespetzold.com/3DProgWin or all source code files as 3DProgWin.zip (1.1M). A free on-line 267-page book in PDF and XPS formats. | ||
| Applications = Code + Markup A Guide to the Microsoft Windows Presentation Foundation (Microsoft Press, 2006) An introduction to the Microsoft Windows Presentation Foundation (formerly code-named Avalon), including XAML. For program source code, go to the companion content page, or download individual source code files from ftp://ftp.charlespetzold.com/AppsCodeMarkup or all source code files as AppsCodeMarkup.zip (1.65M). | ||
| Programming Microsoft Windows Forms (Microsoft Press, 2005; 384 pages) An introduction to Windows Forms programming with an emphasis on .NET 2.0. For program source code, go to the companion content page, or download individual source code files from ftp://ftp.charlespetzold.com/ProgWinForms or all source code files as ProgWinForms.zip (422K). | ||
| Programming in the Key of C#: A Primer for Aspiring Programmers (Microsoft Press, 2003; 418 pages) A tutorial for people wishing to learn the C# programming language. No prior programming knowledge is required. For program source code, go to the companion content page, or download individual source code files from ftp://ftp.charlespetzold.com/ProgKeyCS or all source code files as ProgKeyCS.zip (203K). | ||
| |||
| Programming Microsoft Windows with C# (Microsoft Press, 2001; 1290 pages) A tutorial for programmers wishing to write applications for Windows using the C# programming language and the Windows Forms class library. Knowledge of C or C++ is required. Download individual source code files from ftp://ftp.charlespetzold.com/ProgWinCS or all source code files as ProgWinCS.zip (684K). | ||
| Code: The Hidden Language of Computer Hardware and Software (Microsoft Press, 1999; 393 pages) A unique exploration into bits, bytes, and the inner workings of computers. | ||
| Programming Windows , 5 th edition (Microsoft Press, 1998; 1479 pages) A tutorial for programmers wishing to write applications for Windows using the C programming language and the native Win32 application programming interface (API). Programs written using this book run under every version of Windows from Windows 95 through Windows XP and beyond. Knowledge of C is required. Download individual source code files and executables from ftp://ftp.charlespetzold.com/ProgWin5 or the complete CD as ProgWin5.zip (9.87M). Out-of-Print Books
A tutorial for programmers wishing to write applications for Windows using Visual Basic .NET and the Windows Forms class library. This book is a translation of my book Programming Microsoft Windows with C# from the C# programming language to Visual Basic .NET. For program source code, go to the Microsoft Press page and click Companion Content at the right, or download individual source code files and executables from ftp://ftp.charlespetzold.com/ProgWinVB or the complete CD as ProgWinVB.zip (709K). The book is missing a table of colors on the inside back cover. Download it here. If you compile programs on the command line, programs that use Visual Basic function such as Chr and ChrW require the additional Imports statement:
| ||
| Programming Windows, 4 th edition (Microsoft Press, 1996; 1100 pages) Download individual source code files and executables from ftp://ftp.charlespetzold.com/ProgWin95 or the complete diskette as ProgWin95.zip (1.06M). Chapters 12 and 20 contain material that I do not hold the copyright on and are not included. | ||
| OS/2 Presentation Manager Programming (Ziff-Davis Press, 1994; 934 pages) This book shows C programmers how to write applications for the OS/2 2.1 Presentation Manager. The book is an update of the Microsoft Press book Programming the OS/2 Presentation Manager. The earlier book was based on the 16-bit OS/2 1.1 environment; this one focuses on the 32-bit OS/2 2.1 environment. Download individual source code file from ftp://ftp.charlespetzold.com/OS2PM2Image, or the original contents of the companion diskette from ftp://ftp.charlespetzold.com/OS2PM2. | ||
| Programming Windows, 3rd edition (Microsoft Press, 1992; 983 pages) Download individual source code files and executables from ftp://ftp.charlespetzold.com/ProgWin31 or the complete diskette as ProgWin31.zip (488K). | ||
| Programming Windows, 2nd edition. (Microsoft Press, 1990) Download individual source code files and executables from ftp://ftp.charlespetzold.com/ProgWin30 or the complete diskette as ProgWin30.zip (401K). | ||
| Programming the OS/2 Presentation Manager (Microsoft Press, 1989) Download individual source code files and executables from ftp://ftp.charlespetzold.com/ProgOS2PM or the complete diskette as ProgOS2PM.zip (207K). | ||
| Programming Windows, 1st edition (Microsoft Press, 1988; 852 pages) Download individual source code files and executables from ftp://ftp.charlespetzold.com/ProgWin1 or the complete diskette as ProgWin1.zip (189K). | Copies of out-of-print books may be available from:
as well as other real and virtual used-book stores. |
Books That Were Never Published
|