Matt's Source Code Portal

Home About Links Problems My Graphics BaseCode Contact

Graphics Structures is just a folder that contains source and headers included by Engine.cpp or Engine.h; files in the directory are not directly compiled and linked into the project. These are structures specific to computer graphics rendering.

RGBColor

Generic 32-bit RGBA color structure.

x RGBColor.h, Web Version
x RGBColor.cpp, Web Version

Bitmap

A bitmap class (a 2D array of RGBColor's.)

x Bitmap.h, Web Version
x Bitmap.cpp, Web Version

ZBuffer

A simple ZBuffer structure, for software rendering. Stores the depth of each screen pixel.

x ZBuffer.h, Web Version
x ZBuffer.cpp, Web Version

MatrixController

The MatrixController class manages the 3 transformations (world, view, projection) central to the graphics pipeline.

x MatrixController.h, Web Version
x MatrixController.cpp, Web Version

Camera

The Camera class represents a 3-D free floating camera. For a description of the keys (which can easily be reconfigured) go here.

x Camera.h, Web Version
x Camera.cpp, Web Version

PrimitiveRender

Rendering functions for lines and polygons in software. Not very efficent.

x PrimitiveRender.h, Web Version
x PrimitiveRender.cpp, Web Version

MeshVertex

A MeshVertex represents a single vertex in a mesh structure.

x MeshVertex.h, Web Version
x MeshVertex.cpp, Web Version

Clipper

Clipper is used to take an arbitrary polygon and clip it against the viewing frustrum.

x Clipper.h, Web Version
x Clipper.cpp, Web Version

Viewport

Viewport represents a rectangle on the screen used for rendering.

x Viewport.h, Web Version
x Viewport.cpp, Web Version


last updated: May 13th 2005   © 2005 by Matthew Fisher