Theme Park Builder 3D The Game

Technical Design Document Graphic Objects

Table of Contents

Triangles, Strips, Meshes and Graphic Primatives

Surfaces represent all the visual polygons in Open GL. Polygons that make up a surface are made up of vector geometry and contain all the

Role

Visual Presentation Entity

Dependencies

Open GL.

Synopsis

Graphic Objects are the building blocks used to build up 3D modeling and render scenes. Most objects here has geometry, defines color, texture, shaders, lighting and other attributes. Some objects are collection objects that host graphic objects for rendering in ordered trees. Surface objects may be a single vector, vertors pair, vector array or vector table matched with a faces table. In addition to vectors the objects will in most cases have texture UV coordinates or tables of coordinates.

Object List

Animation - attribute object providing simple animation to other objects.
Camera - the primary view frustum and render matrix.
ComplexMeshObject - collection of multi-faceted shapes sharing a common set of materials.
ComponentObject - collection of objects that build shapes into a modeled component.
ErrorImage - default graphic supplied by "crazy2be" that appears if an object fails to initialize.
FireAnimation - attribute object providing smoke, fire and other billowing animation.
Image - simple texture object or billboard graphic.
LeavesObject - simple object collection that hosts alphas for leaves, bushed, particles and branched objects.
Material - light, color, texture and surface detail attribute.
Matrix16 - matrix utility object.
MeshNode - collection element for meshed objects.
ModelObject - collection of objects representing an entire model as imported.
ObjectBase - base for factory created object_tree,node and derivative objects.
ObjectFactory - factory pattern used to assist with creating objects.
ObjectNode - node or branch in an object tree consisting of objects derived fro, ObjectBase.
ObjectTree - collection of ObjectNodes.
QuadMesgObject - mesh build from GL_Quads as opposed to GL_Triagles.
SimpleMeshObject - single mesh GL primitive with just material attributes.
Texture - texture bitmap loaded and registered with OpenGL.
TexturedMesh - like SimpleMeshObject but including texture.
TexturedStrip - strip GL primitive with material attributes and texture.
Tiler - simple mesh object that repeats the texture like wallpaper.
VPoint - vector used in building track (may be removed).