Thread: 3DS files

  1. #1
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916

    3DS files

    is anyone who reads these boards familiar enough with them to write code for loading 3DS files, or any other 3D model formats? If so, please post here or PM me
    Away.

  2. #2
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    I do not know how to do anything with any kind of 3d models, but if you post if you are using DirectX or OpenGL I could search for some answers for you and point you towards them. Any other 3d format, are you sure you searched for help? I am sure you could find at least one thing on at least one format for at least one API. Meaning there are so many different formats, I am sure you could have found a tutorial for one of them, if you searched.

  3. #3
    sunny
    Guest

    look up

    This site has some code you can use for loading 3ds files:
    http://www.gametutorials.com/

    look under the 'OpenGL' section. You should be able to find it.

    Have a lot of fun

  4. #4
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    isn't there a 3ds.h?

  5. #5
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    > or any other 3D model formats?

    i don't use 3Ds i use something infinitly more complicated, lwo's.
    why?

    >isn't there a 3ds.h?

    not unless you use AutoDesks loader or someone elses... the formats proprietary, it's not been released.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  6. #6
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    I convert 3DS files into Microsoft X File Format. Then I wrote my own X file loader for my 3D engine. Anyways there is a lot of information out there on it. Actually the DX 8.1 sdk help has some stuff on the format. If you are using something other API I can't help.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  7. #7
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    ah, I'm trying to load the data into the 3D engine that I am writing...atm, I'm using SDL, sad, I know, but I don't have the bandwidth to d/l directx or opengl APIs, and I don't wanna go buy anything (: I've found lots of stuff for loading the files for OpenGL...does anyone know enough about OpenGL data to just raw data that I can use?
    Away.

  8. #8
    no-one
    Guest
    >opengl APIs,

    opengl is a minimal download, since it comes with most compilers.

    >
    I've found lots of stuff for loading the files for OpenGL...does anyone know enough about OpenGL data to just raw data that I can use?
    <

    im not sure what you mean?

  9. #9
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    well, the loaders that I have seen load the information into data structures that are used in the OpenGL rendering pipeline, or so it appears to me, not knowing OpenGL. I just want to be able to figure out what is in these OpenGL data structures so that I can store the data in my own structures (:
    Away.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading .dat files from a folder in current directory...
    By porsche911nfs in forum C++ Programming
    Replies: 7
    Last Post: 04-04-2009, 09:52 PM
  2. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  3. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM
  4. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  5. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM