Author Topic: models loading in openGL ?  (Read 1591 times)

0 Members and 1 Guest are viewing this topic.

Frankolinox

  • Guest
models loading in openGL ?
« on: March 20, 2013, 10:29:32 AM »
I have another general question about "openGL" programming.

what possibilities I have to load "objects" (models) into openGL like "poser" or "3ds max" files (for example) or "terragen" (terrain files) into oxygen or milkshapeModels ;)

Code: [Select]
Model *pModel = NULL;   // Holds The Model Data

pModel = new MilkshapeModel();
if ( pModel->loadModelData( "data/model.ms3d" ) == false )
{
    MessageBox( NULL, "Couldn't load the model data/model.ms3d", "Error", MB_OK | MB_ICONERROR );
    return 0;                                   // If Model Didn't Load, Quit
}

best regards, frank