Results 1 to 5 of 5

Thread: How to export a model from 3D Studio MAX and show it in C++ using OpenGL

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2003
    Location
    edmonton, alberta, canada
    Posts
    3

    How to export a model from 3D Studio MAX and show it in C++ using OpenGL

    Please ignore my message regarding delphi..

    I am interested in the "How to export a model from 3D Studio MAX and show it in C++ using OpenGL".
    Is it possible???
    Please also guide me in finding the online sources to achieve this objective.
    Thanks a lot....

  2. #2
    Member Contributor
    Join Date
    Jan 2001
    Location
    Irving TX USA
    Posts
    58

    Re: How to export a model from 3D Studio MAX and show it in C++ using OpenGL

    As you've no doubt guessed, this is a very frequently asked question .
    www.gametutorials.com has a detailed tutorial that achieves this end, as does nehe.gamedev.net. It's all a matter of learning the file format and reading it and either or both of these sites should get you what you want.

    Good luck!

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2003
    Location
    edmonton, alberta, canada
    Posts
    3

    Re: How to export a model from 3D Studio MAX and show it in C++ using OpenGL

    Thank your very much for your kind guidance. I will go through the tutorials and will ask questions if i find some??

  4. #4
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: How to export a model from 3D Studio MAX and show it in C++ using OpenGL

    I forget the name, but there is a piece of software that will converts 3D models into diffrent formats.
    I think it supports 3D Studio Max and one of the options is to convert the model into C/C++ code.

    But the better aproach is to goto as the other poster stated to a website and learn to read the 3D Studio Max files in without havin to convert the files. Make your program more flexible and to update your model you will not have to re-compile your code, just replace the 3D Max file.

    Originally posted by muhammadatharniaz:
    Please ignore my message regarding delphi..

    I am interested in the "How to export a model from 3D Studio MAX and show it in C++ using OpenGL".
    Is it possible???
    Please also guide me in finding the online sources to achieve this objective.
    Thanks a lot....

  5. #5
    Member Contributor
    Join Date
    Apr 2002
    Location
    brooklyn, ny
    Posts
    65

    Re: How to export a model from 3D Studio MAX and show it in C++ using OpenGL

    well, one problem with importing 3D max models to openGL is that you will not have support for Skeleton Animation . All you will have is Static 3D model unless you will manually animate it, and that is HARD expecially with more complex human type models .

    The easiest way to import 3D max model is to first Extract it in Max to .3ds file . Than inside your OpenGL application you just have to read in the Address( that will tell you what this chunk holds [ex] texture info, camera info, etc ), and few more bytes that
    represent the size of this chunk . Once you know the size, you just read in the rest.

    Last year I wrote MFC application that actually lets you read in .3ds object and then just takes the Vertices[](float) info and Faces[](V?,V?,V?) info and writes it to a readable file. THan in your OpenGL program you will just read in first array of Vertices and second array of Faces and then just based on Faces reconstruct the 3D model . However I can't seem to find this program anymore, but I still have it Im sure of that.

    Reading .3ds file format is VERY EASY, trust me . If you have any problems with it, just ask. I still remember few things, spent countless hours debugging the the things that I read from 3ds .

Similar Threads

  1. How to Show model views with the keyboard or menu
    By Scorpio in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 01-31-2011, 06:29 PM
  2. Introducing the AME Ascii Model Export file format (plug)
    By Morglum in forum OpenGL: Advanced Coding
    Replies: 25
    Last Post: 01-20-2003, 09:10 AM
  3. How to show a 3d model?
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 06-27-2001, 06:04 PM
  4. How to import a 3D Studio Max model?
    By Gunter_DHondt@hotmail.com in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 08-11-2000, 03:14 PM
  5. How can I import a 3d studio model into opengl.
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-17-2000, 03:28 PM

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