Thread: Dev-C++ Compatible Model Loading(OpenGL)

  1. #1
    C++ Enthusiast jmd15's Avatar
    Join Date
    Mar 2005
    Location
    MI
    Posts
    532

    Dev-C++ Compatible Model Loading(OpenGL)

    A while back I created a game engine that utilizes OpenGL and I was planning on adding on a model loading system. This game engine I wrote was using Dev-C++, if you didn't know . I've searched and found code snippets and such that load MD2 models(I don't care what type of model) BUT most of these snippets used GLUT. I even have an OpenGL book that uses GLUT in the process of loading models but as I've heard(from somewhere so I may be incorrect on this) GLUT is obsolete. Either way, I tried using GLUT with Dev and they didn't play well with each other. So my question to you, is what's the easiest way to load a model in OpenGL using methods compatible with Dev-C++? Thanks again.
    Trinity: "Neo... nobody has ever done this before."
    Neo: "That's why it's going to work."
    c9915ec6c1f3b876ddf38514adbb94f0

  2. #2
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071
    The original GLUT is getting old, but open-source (up-to-date) GLUT clones such as FreeGLUT and OpenGLUT, are not obsolete by any means.

    Loading a model, however, does not have anything to do with GLUT. GLUT is just used for windowing. There are plenty of tutorials out there on MD2 and MD3 loading. NeHe has an excellent tutorial on loading MS3D (MilkShape3D) models as well.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  3. #3
    GA ichijoji's Avatar
    Join Date
    Nov 2002
    Posts
    179
    spacesimulator also has an easy to read 3ds loader.
    Illusion and reality become impartiality and confidence.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 14
    Last Post: 06-28-2006, 01:58 AM
  2. Model not showing up on screen...
    By Shamino in forum Game Programming
    Replies: 14
    Last Post: 03-09-2006, 08:00 PM
  3. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 08:43 PM
  4. Help with file reading/dynamic memory allocation
    By Quasar in forum C++ Programming
    Replies: 4
    Last Post: 05-17-2004, 03:36 PM
  5. Replies: 5
    Last Post: 11-26-2002, 10:34 PM