Oxygen Basic

Information => Open Forum => Topic started by: Frankolinox on March 20, 2013, 10:29:32 AM

Title: models loading in openGL ?
Post by: Frankolinox 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