Results 1 to 5 of 5

Thread: 3Dmax Files

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2002
    Location
    Tehran, Iran
    Posts
    8

    3Dmax Files

    Hi all,
    I want to import a 3Dmax object into my OpenGL enviroment but I dont know how can I extract datas from it. My usuall object reads data from a text file that I've made it. therefore I need to read vetex and surface datas from 3dmax and write them into my own texxt file.
    Is there any way to do it?

    thanks a lot

  2. #2
    Senior Member Regular Contributor
    Join Date
    Mar 2001
    Posts
    184

    Re: 3Dmax Files

    in C - fread(), fwrite()
    in C++ - fstreams
    read up on the 3DS file format here .

    good luck,
    b

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

    Re: 3Dmax Files

    3DS is NOT RAW !!! 3Ds is subdivided in chunks which hold info about the stuff they hold ex Viewports, Camera, Lights, Textures, Vertex, etc ..

    Its similar to the way you load BMP files.. First you read BMP files headers, and then data..

    there are many examples of reading 3ds.. Just search opengl websites such as GameDev, and you can download and look at the code to load up 3Ds

    [This message has been edited by jubei_GL (edited 07-22-2002).]

  4. #4
    Junior Member Newbie
    Join Date
    Jul 2002
    Location
    Russia, Vladivostok
    Posts
    7

    Re: 3Dmax Files

    I have an article "How to load 3ds MAX models to ya program" ! Included animation (frames). It use a MAX-script to convert a 3ds file. It's for Delphi
    YEAH!

  5. #5
    Junior Member Newbie
    Join Date
    Jul 2002
    Location
    istanbul,Turkey
    Posts
    19

    Re: 3Dmax Files

    You can export them to .ase or (for non -uv mapping objects) .asc

    and if you want i can e-mail my ase2txt.exe and asc2txt.exe programs (i am not at home right now)
    e-mail me ramazan_dincer@yahoo.com if you want

Similar Threads

  1. how can I use collada in 3dmax...?
    By masterK in forum COLLADA
    Replies: 1
    Last Post: 07-24-2006, 06:08 PM
  2. Replies: 2
    Last Post: 09-06-2002, 09:34 AM
  3. Help! Is anybody familiar with 3DMAX SDK?
    By yuyudai in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-06-2002, 07:00 AM
  4. opengl and 3dmax
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-19-2001, 10:40 AM
  5. When to 3DMax or hardcode?
    By RobertSI in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-04-2000, 06:53 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