rm_model Model;
Model.Load3ds("boxes.3ds");
//smooth the normals first so it will optomize better
Model.MakeSmooth();
//this function will optomize the elements
Model.PackAlign();
//set up which elements are to be used
//normals are on by default
Model.Enable(RM_COLOR_ARRAY | RM_TEXTURE_COORD_ARRAY);
//Enable CVAs
rmEnableCVA();
//you need to do this step if you have textures aplied to the model
TextureNames=Model.CreateTextureNames(&nTextureNames);
//do some matrix stuff and then draw
Model.Draw(TextureNames);
//if you don't use any textures, then do this
Model.Draw(NULL);