Graphics Reference
In-Depth Information
UWBGL_D3D_Lib14
Supports. The tutorials that
are based on this library:
Tutorials 15.1, 15.2, 15.3, and
15.4.
Introduced in Chapter 15 (on p. 413), this is the first library that supports 3D.
Figure C.17 highlights the new and updated classes in this library. The fol-
lowing list summarizes the changes from the previous version of the library:
UWB _ Camera . This is a new class defined to support basic camera and view
frustum specification; draws camera/view parameters; and implements in-
teractive manipulation of the camera (rotate/track/zoom).
UWB _ WindowHandler and UWBD3D _ WindowHandler . These classes are mod-
ified to support the UWB _ Camera ; compute/load view and projection matri-
ces; implement 3D transformations.
UWBD3D _ GraphicsSystem . This class is modified to support D3D cre-
ation/initialization of Z-buffer for 3D applications.
UWB _ XformInfo . This class is modified to support rotation in 3D.
UWBD3D _ DrawHelper . This class is modified to support the new 3D rotation
functionality of UWB _ XformInfo .
UWB _ PrimitiveAxisFrame .
This is a new class defined to draw the 3D
orthonormal basis.
UWB _ PrimitiveRectangleXZ . Recall that the floor of our 3D world is the
xz -plane, yet PrimitiveRectrangleXY only draws rectangles on the xy
plane. This new class makes it easier for us to draw the xz floor.
Once again, many files are changed to reflect updated versions of the latest header
files. In such cases, the phrase “header file version changes” is used to describe
the purpose of changes. The following is the list of all files that are changed:
Search WWH ::




Custom Search