The 3DS format is one of the file formats used by Discreet Software's 3D Studio Max. The 3DS format is close to the most common format, and many applications support it.
DirectX does not provide native support to load 3DS files, but you can find code to convert a 3DS to DirectX's internal format.
Source Code Edit
External Links Edit
- .3ds file format spec
- The Unofficial 3DStudio 3DS File Format v1.0
- 3D Cafe's Free 3D Model Meshes (lots of sample .3ds files here)
- Max-Realms.Com | Free 3ds Models (Hundreds of quality free .3ds models and resources)
I've noticed that these specs seem to imply that the length field of the chunk headers doesn't include the 6 bytes for the header itself, however in my specimen files the length field *does* include the length of the header. After reading the header, to skip to the next chunk you seek forward by (length - 6).