Model Class Reference

#include <model.h>

List of all members.

Public Member Functions

bool loadFromMs3dAsciiFile (const char *filename)
void reloadTextures (void)
void render (void)
void renderBones (void)
bool linkBones (void)
void initializeBones (void)
void advanceAnimation (float deltaTime)
void renderAnimationFrame (int frame)
void renderAnimationFrame (float frame1, float frame2, float transition)
void attachSkin (void)
void set_repeating_texture (bool repeating_texture)
void set_mipmapping (bool mipmapping)


Detailed Description

this is the model loader class


Member Function Documentation

void Model::advanceAnimation float  deltaTime  ) 
 

advances ms3d animation

void Model::attachSkin void   ) 
 

attaches skins to bones

void Model::initializeBones void   ) 
 

initialize bones

bool Model::linkBones void   ) 
 

defines relationship between parent and child bones

bool Model::loadFromMs3dAsciiFile const char *  filename  ) 
 

loads a ms3d Acsii File - filename must be specified as parameter

void Model::reloadTextures void   ) 
 

reloads the model's textures

void Model::render void   ) 
 

renders the model

void Model::renderAnimationFrame float  frame1,
float  frame2,
float  transition
 

blends between two animation frames with a specified transition

void Model::renderAnimationFrame int  frame  ) 
 

renders a specific frame of the model animation

void Model::renderBones void   ) 
 

renders the model's bones

void Model::set_mipmapping bool  mipmapping  ) 
 

defines if opengl mipmapping should be used

void Model::set_repeating_texture bool  repeating_texture  ) 
 

defines if the textures should be repeated or clamped to edge


The documentation for this class was generated from the following files:
Generated on Sun Jan 22 16:27:12 2006 for moblu by  doxygen 1.4.6-NO