Trade in Graphics Programming with GDI+ and DirectX for an Amazon Gift Card of up to £3.62, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more
Starts well with introductions to .Net and GDI+, but most of the examples are unmanaged C++. By chapter 4 we have reverted to an old VC++ 6 App/Wizard program using GDI, not GDI+. I suspect their original intention was to update it, but it has been left 'as an exercise for the reader'. 2 authors, one writes very well, the other less so. If they finish the book with managed C# examples throughout it would be much more worthwhile, as it is there is some useful information and it's an easy read, but overall I was disappointed.
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
9 of 9 people found the following review helpful
Excellent book for beginners and middle level programmers19 July 2005
- Published on Amazon.com
My thinking is that this is a pretty good book on graphic programming.
Two subject areas are distinguished in this book: the one addressing GDI+ utilization issues and the other describing DirectX usage. Generally speaking, these subjects are not tightly coupled, so it would have been better to have separate books on each graphic library (perhaps it might be already in authors' plans).
The first part describing GDI+ utilization covers the following topics:
Library review: class hierarchy, usage of GDI+ on various platforms, usage of GDI+ when programming on API-functions, etc;
Vector graphic programming: brushes, feathers, etc, primitives, Bezier splines, use of metafiles, 3D-graphics (for example, for drawing of various surfaces);
Raster graphic programming: loading and saving of images in various formats, transparency usage, image analysis with the use of histograms, diversified transformations (for example, brightness, contrast, blur and sharpness filters, trace contours and creation of effects like emboss, development of multithread applications with the MDI interface.
The second part is running on DirectX, it describes both use of unmanaged code (I.e. C++ is utilized as a programming language) and managed one (C# is utilized). Examples show how DirectX initialization is performed, what is transformation matrix and how it is used, the ways to use primitives, vertex buffers, textures and meshes, how to use various effects (for example, fog) etc. Besides, several pages can be considered an introduction to pixel and vertex shaders.
The appendix describes mathematical basics of spline building, plane and 3D transformations.
A CD is provided with the book. The CD comprises source code of all programs and some test images utilized in the book.
C# or C++ programming skills are required to understand the given examples.
I believe this is an excellent book for beginners and middle level programmers, but it also covers some pro technique. I have learnt a lot of useful things from the book, for example, with minor modifications I used the method of brightness and contrast correction (explained in chapter 6) for automatic adjustment of quality of images from a video capture card, and use of noise reduction filter improves compression of video sequences via MPEG algorithms.
No doubt the book is a good introduction to graphic programming on the .NET Framework and Windows platforms.
I would recommend students and developers studying basics of graphic programming read this book. The book gives an insight into a wide range of issues related to the subject and in general helps to start implementing practical graphic programming tasks.
Ralf Karlson, university lecturer.
10 of 16 people found the following review helpful
Worst book I ever seen14 Jun. 2005
- Published on Amazon.com
This book has eight chapters. 358 pages
Chapter 1: Programming Tools
Talked about GDI+ class Hierarchy and writes one program which displays "Welcome, GDI+!" and also talked about programming in C++ and C#.
Chapter 2: Using GDI+ to construct vector Images. This has about 3 programs Clock and Bezier Curves. Clock looks beautiful, but rest of it garbage.
Chapter 3: Working with output Devices and using Metafiles. There is nothing in this chapter which I conceder that I have learned something.
Chapter 4: Implementing 3D Transformation using software: I was expecting the author will cover solid objects, but there are only wire frames objects and they are absolutely none impressive.
Chapter 5: Operations with Bitmaps and Graphics in GDI+:
Page 138 Fig 5.5 C# demonstration program. I have not seen such a worst program yet. Second program: Output of a bitmap with additional alpha overlay,
Third program: Outputting inverse graphics using .NET (It did not work on my computer)
Chapter 6: Viewing and editing bitmap images: Talk about brightness of an image and filters. And GDI+ is finished.
Now Directx 2 chapters: They are not worth looking.