Results 1 to 2 of 2

Thread: OpenGL & GLM - Solved

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2011
    Posts
    3

    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);

  2. #2
    Junior Member Newbie
    Join Date
    Nov 2011
    Posts
    3

    Re: OpenGL & GLM

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

    Shift + t

Similar Threads

  1. Problem with OpenGL Superbible example (solved)
    By shapeare in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-21-2011, 04:02 AM
  2. Problem applying texture using opengl+sdl (solved)
    By zalzane in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-16-2011, 04:32 PM
  3. [SOLVED]- Uploading a grayscale image to OpenGL
    By mobeen in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-09-2011, 05:06 PM
  4. [solved] installing opengl with devc++
    By Jeevan25 in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 10-22-2006, 04:47 PM
  5. The way I solved my prob with HL and opengl...
    By in forum OpenGL: User Software
    Replies: 0
    Last Post: 08-07-2003, 06:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean