Jump to content
  • Advertisement
Sign in to follow this  

3D Model Loader

This topic is 4334 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
hi,

i think most people are using 3dsmax *.3ds format.
if you're totally new, i'd recommend reading NeHe's tutorials which include loading Milkshape3D's model format *.ms3d

other model formats which come in mind:
- md2, md3 (quake model format)
- dotxsi (softimage's format, similar to 3ds)

hope this helps!
good luck,
- christoph -

Share this post


Link to post
Share on other sites
When I'm not using my own file formats, I use the XSI format for static models, and the Doom 3 MD5 format for skeletally-animated models.

The XSI format is very well supported by Softimage. It's got a library specifically written for it (the XSI File Tool Kit), and importers/exporters for the major DCC tools like 3ds max and Maya (Softimage|XSI supports it natively). It also supports animation, if you want to use it for that. All of the model development for Half-Life 2 was apparently done in Softimage|XSI, saved as XSI files, then run through various in-house software tools to output models in Valve's file formats.

You might also want to try Microsoft's X file format. It's designed for Direct3D, but you can use it with anything, really.

Share this post


Link to post
Share on other sites
There is this 3Dmodel extension converter called Deep 3dexploration, copnverts any extension i.e. .3ds->.obj, .3ds->.x anything really.....
I cant remember the website, i think its
Here.

Share this post


Link to post
Share on other sites
obj because is simple, I found very useful code for the obj loader here:

http://www.gamedev.net/community/forums/topic.asp?topic_id=312335

Bu!
Durmieu

Share this post


Link to post
Share on other sites
hey,
thanks a lot for your answers;)

i think i will test a .3ds loader...did somone of u made a .3ds loader? where can i find one? it should be platform independent, will be fine!

bye

Share this post


Link to post
Share on other sites
if you want a very good tutorial on .3ds loading, go to www.spacesimulator.net and check out his tutorials. they are pretty darn good.

and for a break down of everything that is in the .3ds file, check out:
http://pipin.tmd.ns.ac.yu/extra/fileformat/3d/3ds/3dsinfo.txt

Share this post


Link to post
Share on other sites
Quote:
Original post by Surfman19
hey,
thanks a lot for your answers;)

i think i will test a .3ds loader...did somone of u made a .3ds loader? where can i find one? it should be platform independent, will be fine!

bye


I wrote a basic 3ds loader that you can download here. It only implements basic functionalities, but if you want to look at the source, I'm sure it can help you with some details of the format.
The zip file also contains those 3ds format specification files I used to learn the 3ds structure (so you don't need to search them ;-).

EDIT: what do you want to do then, by the way? Be warned that 3ds is very limited, and that's why once I wrote the loader, I decided to write an exporter for lightwave to my custom file format. If you need something more advanced (multiple textures per channel or something like this), then go with something different.

Share this post


Link to post
Share on other sites
hey cignox1!

thank you very much;)
i just want to load a 3d model with textures into opengl!
does your loader also support animation?

i see you are from italy;) i hope they win tomorrow against germany!!! ;-)

bye

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!