.3ds

Last updated
3DS Max File
Filename extension
.3ds
Internet media type
application/x-3ds, image/x-3ds
Magic number 4D 4D (hex), MM (ASCII)
Developed by Autodesk Inc.
Type of format 3D file formats

3DS is one of the file formats used by the Autodesk 3ds Max 3D modeling, animation and rendering software.

Contents

It was the native file format of the old Autodesk 3D Studio DOS (releases 1 to 4), which was popular until its successor (3D Studio MAX 1.0) replaced it in April 1996. Having been around since 1990 (when the first version of 3D Studio DOS was launched), it has grown to become a de facto industry standard for transferring models between 3D programs, or for storing models for 3D resource catalogs (along with OBJ, which is more frequently used as a model archiving file format).

While the 3DS format aims to provide an import/export format, retaining only essential geometry, texture and lighting data, the related MAX format (now superseded by the PRJ format) also contains extra information specific to Autodesk 3ds Max, to allow a scene to be completely saved/loaded. [1]

Structure

3ds is a binary file format.

The format is based in chunks, where each section of data is embedded in a block that contains a chunk identifier and the length of the data (to provide the location of the next main block), as well as the data itself. This allows parsers to skip chunks they don't recognize, and allows for extensions to the format.

The chunks form a hierarchical structure, similar to an xml DOM tree. The first two bytes of the chunk are its ID. From that value the parser can identify the chunk and decide whether it will parse it or skip it. The next four bytes contain a little-endian integer that is the length of the chunk, including its data, the length of its sub-blocks and the 6-byte header. The next bytes are the chunk's data, followed by the sub-chunks, in a structure that may extend to several levels deep.

Below is a list of the most common IDs for chunks, represented in a hierarchical fashion depicting their dependencies: [2] [3]

0x4D4D// Main Chunk├─0x0002// M3D Version├─0x3D3D// 3D Editor Chunk├─0x4000// Object Block├─0x4100// Triangular Mesh├─0x4110// Vertices List├─0x4120// Faces Description├─0x4130// Faces Material└─0x4150// Smoothing Group List├─0x4140// Mapping Coordinates List└─0x4160// Local Coordinates System├─0x4600// Light└─0x4610// Spotlight└─0x4700// Camera└─0xAFFF// Material Block├─0xA000// Material Name├─0xA010// Ambient Color├─0xA020// Diffuse Color├─0xA030// Specular Color├─0xA200// Texture Map 1├─0xA230// Bump Map└─0xA220// Reflection Map/* Sub Chunks For Each Map */├─0xA300// Mapping Filename└─0xA351// Mapping Parameters└─0xB000// Keyframer Chunk├─0xB002// Mesh Information Block├─0xB007// Spot Light Information Block└─0xB008// Frames (Start and End)├─0xB010// Object Name├─0xB013// Object Pivot Point├─0xB020// Position Track├─0xB021// Rotation Track├─0xB022// Scale Track└─0xB030// Hierarchy Position

Shortcomings

It has been pointed out that, despite its popularity, the format may not be the most suitable for 3D data exchange. Some of the disadvantages mentioned are:

Notes

  1. Smoothing groups (read about surfaces on Elements of Mesh Modeling for the rationale of their use) are stored as a bit field, with 4 bytes (a long int) for each face, thus allowing up to 32 (4×8) smoothing groups per face.

Related Research Articles

Autodesk 3ds Max, formerly 3D Studio and 3D Studio Max, is a professional 3D computer graphics program for making 3D animations, models, games and images. It is developed and produced by Autodesk Media and Entertainment. It has modeling capabilities and a flexible plugin architecture and must be used on the Microsoft Windows platform. It is frequently used by video game developers, many TV commercial studios, and architectural visualization studios. It is also used for movie effects and movie pre-visualization. 3ds Max features shaders, dynamic simulation, particle systems, radiosity, normal map creation and rendering, global illumination, a customizable user interface, and its own scripting language.

A FourCC is a sequence of four bytes used to uniquely identify data formats. It originated from the OSType or ResType metadata system used in classic Mac OS and was adopted for the Amiga/Electronic Arts Interchange File Format and derivatives. The idea was later reused to identify compressed data types in QuickTime and DirectShow.

COLLADA is an interchange file format for interactive 3D applications. It is managed by the nonprofit technology consortium, the Khronos Group, and has been adopted by ISO as a publicly available specification, ISO/PAS 17506.

OBJ is a geometry definition file format first developed by Wavefront Technologies for its Advanced Visualizer animation package. The file format is open and has been adopted by other 3D graphics application vendors.

In 3D computer graphics, polygonal modeling is an approach for modeling objects by representing or approximating their surfaces using polygon meshes. Polygonal modeling is well suited to scanline rendering and is therefore the method of choice for real-time computer graphics. Alternate methods of representing 3D objects include NURBS surfaces, subdivision surfaces, and equation-based representations used in ray tracers.

Universal 3D (U3D) is a compressed file format standard for 3D computer graphics data.

<span class="mw-page-title-main">Shapefile</span> Geospatial vector data format

The shapefile format is a geospatial vector data format for geographic information system (GIS) software. It is developed and regulated by Esri as a mostly open specification for data interoperability among Esri and other GIS software products. The shapefile format can spatially describe vector features: points, lines, and polygons, representing, for example, water wells, rivers, and lakes. Each item usually has attributes that describe it, such as name or temperature.

<span class="mw-page-title-main">ZBrush</span> Digital sculpting tool

Pixologic ZBrush is a digital sculpting tool that combines 3D/2.5D modeling, texturing and painting. It uses a proprietary "pixol" technology which stores lighting, color, material, orientation and depth information for the points making up all objects on the screen. The main difference between ZBrush and more traditional modeling packages is that it is more akin to traditional sculpting.

<span class="mw-page-title-main">Kerkythea</span> Standalone rendering system

Kerkythea is a standalone rendering system that supports raytracing and Metropolis light transport, uses physically accurate materials and lighting, and is distributed as freeware. Currently, the program can be integrated with any software that can export files in obj and 3ds formats, including 3ds Max, Blender, LightWave 3D, SketchUp, Silo and Wings3D.

Navisworks is a 3D design review package for Microsoft Windows.

<span class="mw-page-title-main">3D computer graphics</span> Graphics that use a three-dimensional representation of geometric data

3D computer graphics, or “3D graphics,” sometimes called CGI, 3D-CGI or three-dimensional computer graphics are graphics that use a three-dimensional representation of geometric data that is stored in the computer for the purposes of performing calculations and rendering digital images, usually 2D images but sometimes 3D images. The resulting images may be stored for viewing later or displayed in real time.

3D computer graphics software refers to programs used to create 3D computer-generated imagery.

Cyber Studio CAD-3D is a 3D modeling and animation package developed by Tom Hudson for the Atari ST computer and published by Antic Software. The package is a precursor to 3D Studio Max.

Additive manufacturing file format (AMF) is an open standard for describing objects for additive manufacturing processes such as 3D printing. The official ISO/ASTM 52915:2016 standard is an XML-based format designed to allow any computer-aided design software to describe the shape and composition of any 3D object to be fabricated on any 3D printer via a computer-aided manufacturing software. Unlike its predecessor STL format, AMF has native support for color, materials, lattices, and constellations.

<span class="mw-page-title-main">Flare3D</span>

Flare3D is a framework for developing interactive three-dimensional (3D) graphics within Adobe Flash Player and Adobe AIR, written in ActionScript 3. Flare3D includes a 3D object editor and a 3D graphics engine for rendering 3D graphics. Flare3D runs on current web browsers utilizing the Adobe Flash Player, and uses Stage3D for GPU-accelerated rendering. Flare3D has not been under active development since late 2014.

glTF 3D scene and model file format

glTF is a standard file format for three-dimensional scenes and models. A glTF file uses one of two possible file extensions: .gltf (JSON/ASCII) or .glb (binary). Both .gltf and .glb files may reference external binary and texture resources. Alternatively, both formats may be self-contained by directly embedding binary data buffers. An open standard developed and maintained by the Khronos Group, it supports 3D model geometry, appearance, scene graph hierarchy, and animation. It is intended to be a streamlined, interoperable format for the delivery of 3D assets, while minimizing file size and runtime processing by apps. As such, its creators have described it as the "JPEG of 3D."

<span class="mw-page-title-main">Art of Illusion</span>

Art of Illusion is a free software, and open source software package for making 3D graphics.

<span class="mw-page-title-main">Verge3D</span>

Verge3D is a real-time renderer and a toolkit used for creating interactive 3D experiences running on websites.

References

  1. ".3ds (3119 views - Formats de fichiers 3D)". Part Community. Retrieved 23 January 2019.
  2. Spacesimulator.net - 3ds format file reader, loader, by Damiano Vitulli
  3. The Labs: 3DS Specifics (now via Internet Archive)
web pages
text-file references