Matt's Source Code Portal

Home About Links Problems My Graphics BaseCode Contact

Composite Objects 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. Composite objects are objects that use combinations of simple graphics objects (such as meshes) towards various commonly used tasks.

XFileRenderer

XFileRenderer is a class that encapsulates loading XFiles, including all the material and texture data, (although not the effect data) and rendering the resulting mesh.

x XFileRenderer.h, Web Version
x XFileRenderer.cpp, Web Version

Indicator

the Indicator class rapidly renders spheres or cylinders between arbitrary points in three space by using stored mesh data and loading a new matrix each time a cylinder or sphere needs "indicating." also can do basic viewing frustrum (camera) analysis or rendering.

x Indicator.h, Web Version
x Indicator.cpp, Web Version

VideoTexture

VideoTexture is a DirectX-only object that allows you to use a video file as a source for textures in the scene. Note the this creates another (very intensive) thread to the program that handles the decompression, so applications should sleep for between 5 and 30 milliseconds each frame (just set the SleepBetweenFrames variable in God.cpp.)

x VideoTexture.h, Web Version
x VideoTexture.cpp, Web Version

MovieExporter

MovieExporter is used to export each screen, captured through the GraphicsDevice, to an output list of BMP files. A seperate program can then compile all these files into a movie, once the 3D based program finishes.

x MovieExporter.h, Web Version
x MovieExporter.cpp, Web Version


last updated: Dec 2005   © 2005 by Matthew Fisher