Skip to content
Elliott Cattell edited this page Jun 21, 2016 · 5 revisions

Cameras

Camera

Primary camera class. Generates rays.

ImagePlanes

ImagePlane

Represents the image plane

ImageUtil

Image processing utility functions

Bmp

Bmp importer

Color3f

Represents a 3-float color (12 bytes)

Color3ub

Represents a color as 3 unsigned chars plus an additional optional alpha channel.

Image3ub

Represents an image as matrix of Color3ub.

TextureList

Data structure used to hold textures as Image3ub's. Prevents the same image from being imported more than once.

TiffEx

Exports Image3ub's as Tiff files.

Lights

Light

Abstract class used to represent a light.

AmbientLight

AreaLight

DirectionalLight

PointLight

Materials

Material

Basic material class which has ambient color, diffuse color, specular color, reflectance color, radiosity color, a float determining shininess.

MathUtil

Math utility functions

Matrix4f

4x4 float matrix. Contains various helper functions.

RTMath

Math helper library.

RTUtil

Misc helper library.

Vec3f

3 float vector

Vec2f

2 float vector

Objects

SceneObject

Represents an object in a scene. Contains a material, shape, and transformation matrix.

Ray

Intersection

Represents an intersection. Keeps track of the collision location, surface normal, ray t-value, material, and uv coordinates.

Ray

Represents a ray as a parametric line.

Scene

Scene

Constructs and renders the scene.

Sequence

Sequence

Renderable multi-frame sequence.

Shapes

Shapes represent any entities that can be hit by a ray.

Shape

Abstract class inherited by other shapes.

Sphere

Triangle

Transform

Transform

Transform stack.