hi,
i am new to opengl and graphics programming, basically i have loaded in a MD2 file and stored the model as an array. what i would like to know is how would i go about animating key frames.
some information on how i set up the model.
// declared the model as an array
CGModel *myModel[4];
//heres where i loop through the models in the array
// Setup and load example model
for (int i=0; i<4; i++){
myModel = new CGModel();
importMD2("Assets\\Models\\Beast.md2", myModel,i+1);
// and in the render scene this is where i load my model
// Render model
myModel[0]->attachTextureImage("Assets\\Textures\\texture1.bmp");
myModel[0]->renderTexturedModel();
i dont know where i go from here? all i need is a basic animation of the model walking. any help would be very much appriciated
thanks in advance