OpenGL & GLM - Solved

Hey All,

Was just curious as to what the problem could be here.
http://imageupload.org/?d=DACD95B41
I am using GLM to load an object file exported from lightwave. The object renders fine in lightwave however glm seems to have issues with it, how would i track down the cause of this distortion?

I am using the basic glmRead/draw method

// load object
objectModel = glmReadOBJ(filepath);
glmUnitize(objectModel);
glmFacetNormals(objectModel);
glmVertexNormals(objectModel, 90.0f);

// render scene
glmDraw(objectModel, GLM_FLAT);

Solved, Lightwave was not converting the object to triangles as glm takes it.

Shift + t