OpenGL & 3ds max

This is a discussion on OpenGL & 3ds max within the Game Programming forums, part of the General Programming Boards category; I worked a lot with both OpenGL and 3ds max, and i understand how it all works. So i'm looking ...

  1. #1
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377

    Angry OpenGL & 3ds max

    I worked a lot with both OpenGL and 3ds max, and i understand how it all works. So i'm looking for an api that can load an animated model ( it doesn't have to be *.max, anything will do ) and display it in OpenGL.
    So does anyone knows about such API.
    If such api doesn't exists, i'm willing to do my own loader, just that i don't know which file format supports animation, and some links about 3d file formats would be appretiated.
    I found an API which loads *.obj, but it doesn't support animation...
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    You can find the .3ds spec (and an implementation) here http://www.wotsit.org/
    I don't know if the example there supports animation

  3. #3
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    That helped a lot thanks. I'l check these samples and report.
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

  4. #4
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    I have run alot of tests, and my conclusion is that the best file format is Half Life's *.mdl. *.3ds is to complicated... Does someone know of a way to export a mdl from 3ds max ( with animations, bones, stuff like that )?
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

  5. #5
    Registered User
    Join Date
    Jan 2006
    Location
    Sweden
    Posts
    92
    I have written a 3ds loader, but it doesn't support animatet models. I found a plugin site which has a MDL exporter: http://www.bricksbuilder.com/nwn/utils/

    I really don't like writing file loaders, it's so much thinking

    Daniel

  6. #6
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    that is neverwinter's night's mdl exporter, not half life's.
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

  7. #7
    Registered User
    Join Date
    Jan 2006
    Location
    Sweden
    Posts
    92
    Oh, I thought they were the same, srry Well, try to google for it

  8. #8
    the Great ElastoManiac's Avatar
    Join Date
    Nov 2005
    Location
    Republika Srpska - Balkan
    Posts
    377
    Ok i found the thing i need, it's the valve's half life sdk. Which includes "studiomdl.exe" to compile *.mdl from *.smd and textures, and ...
    Thanks for help anyway.
    lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu

  9. #9
    Registered User
    Join Date
    Jul 2011
    Posts
    1
    Hey i need a similar loader like you to use a .max file containing animation, bone , texture, and ragdoll physics in opengl. Any help from your side will be much appreciated. I do realize its a 5yr old thread but still hoping for the best .

  10. #10
    Registered User
    Join Date
    Mar 2010
    Posts
    68

    check out assimp

    Check out ASSIMP for model loading. It can load more model formats than you know what to do with.. Open Asset Import Library
    Last edited by smasherprog; 07-17-2011 at 11:05 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ranged numbers
    By Desolation in forum Game Programming
    Replies: 8
    Last Post: 07-25-2006, 11:02 PM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  3. Game of life
    By JoshR in forum C++ Programming
    Replies: 30
    Last Post: 04-03-2005, 03:17 PM
  4. openGL / 3ds
    By Perspective in forum Game Programming
    Replies: 7
    Last Post: 01-29-2003, 07:54 PM
  5. 3ds max -> opengl? any tutorials?
    By genghis in forum Game Programming
    Replies: 1
    Last Post: 06-23-2002, 02:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21