Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: glut model loader

  1. #1
    Junior Member Newbie
    Join Date
    May 2012
    Posts
    2

    glut model loader

    Guys is there any useful model loader out there for glut (dont care if 3dm or obj) I looked for 2 days strairght and could not find a single one...

    i found some tutorial to write ur own .obj but they all where triangles only.... i cant even display the blender monkey with it
    i found some lib3ds but no instructions or tutorails (or anything) that shows me how to use it with glut (not gonna use QT)

    I mean people and companys are developeing games... how do they do it without model loader?
    Last edited by BadPractice; 05-12-2012 at 03:06 AM.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,948
    You didn't find one because you were looking for a "GLUT model loader". GLUT has nothing to do with models. Indeed, GLUT has nothing to do with rendering (outside of creating and maintaining the rendering surface). It's like looking for an "OpenAL model loader" or a "SQLite model loader". They simply have nothing to do with models.

    What you're looking for is just a "model loader". [url=http://assimp.sourceforge.net/]Open Asset Importer[/url is a useful one, and it comes with examples that show how to render the loaded meshes in OpenGL. It can load pretty much anything.

  3. #3
    Junior Member Newbie
    Join Date
    May 2012
    Posts
    2
    Thank you for the hint. Guess i missunderstood something. Thanks for putting it right.

    Im not sure if assimp is the right one for me. I wanna write a game with a free licence but i think bsd is fine.

    Edit: after some research i am more interrested in lib3ds. Maybe u can give me a hint how to start in it (good documentation, tutorials not using gay QT libs)

    shall i repost under an other topic?
    Last edited by BadPractice; 05-14-2012 at 05:58 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
  •