Documentation

    Table of Content
    • 3D File Formats
      • 3D File Formats
      • 3D2
      • 3DS
      • 3MF
      • AMF
      • ASE
      • DAE
      • DRC
      • E57
      • FBX
      • GLB
      • GLTF
      • IPT
      • JRXML
      • JT
      • MA
      • MB
      • OBJ
      • PLY
      • PRC
      • RVM
      • STEP
      • U3D
      • USD
      • USDZ
      • VRML
      • X
      • X3D
    • Audio File Formats
      • Audio File Formats
      • AAC
      • AC3
      • ALAC
      • FLAC
      • M3U
      • MID
      • MKA
      • MP3
      • MPC
      • OGG
      • OPUS
      • RA
      • SDT
      • STAP
      • WAV
      • WMA
    • CAD File Formats
      • CAD File Formats
      • CF2
      • DC3
      • DGN
      • DWF
      • DWFX
      • DWG
      • DWT
      • DXF
      • HPGL
      • IFC
      • IGES
      • IGS
      • JVSG
      • NWC
      • NWD
      • NWF
      • PAT
      • PHJ
      • PLT
      • PSM
      • PSS
      • RVT
      • STL
    • Compression File Formats
      • Compression File Formats
      • 7Z
      • ARC
      • ARJ
      • B6Z
      • BZ2
      • DAA
      • DAR
      • DEB
      • GZ
      • ICE
      • KGB
      • LBR
      • LZ4
      • LZMA
      • MPKG
      • OAR
      • PKG
      • RAR
      • RPM
      • RTE
      • TAR
      • TBZ
      • TGS
      • XAPK
      • XAR
      • ZIM
      • ZIP
      • ZL
    • Database
      • Database File Formats
      • ACCDB
      • ACCDE
      • ACCDT
      • ACCFT
      • BAK
      • BCP
      • DDL
      • DTSX
      • LDF
      • MDB
      • MDF
      • MYI
      • NDF
      • NSF
      • SQL
      • SQLITE
    • EBook File Formats
      • EBook File Formats
      • ACSM
      • AEP
      • APNX
      • AVA
      • AZW
      • AZW1
      • AZW3
      • AZW4
      • BKK
      • BPNUEB
      • CBC
      • CBR
      • CBZ
      • CEB
      • CEBX
      • DNL
      • EA
      • EAL
      • EBK
      • EDN
      • EPUB
      • ETD
      • FB2
      • FKB
      • HAN
      • HTML0
      • HTMLZ
      • HTXT
      • HTZ4
      • HTZ5
      • IBOOKS
      • KFX
      • KOOB
      • LIT
      • LRF
      • LRS
      • LRX
      • MART
      • MBP
      • MOBI
      • NCX
      • NVA
      • OEB
      • OEBZIP
      • OPF
      • ORB
      • PDB
      • PHL
      • PML
      • PMLZ
      • POBI
      • QMK
      • RB
      • RZB
      • RZS
      • SNB
      • TCR
      • TK3
      • TPZ
      • TR
      • TR3
      • VBK
      • WEBZ
      • YBK
    • Email File Formats
      • Email File Formats
      • EDB
      • EML
      • EMLX
      • ICS
      • MBOX
      • MSG
      • OFT
      • OLM
      • OST
      • PST
      • TNEF
      • VCF - Virtual Contact File
    • Font
      • Font File Formats
      • CFF
      • CFF2
      • EOT
      • FNT
      • FON
      • JFPROJ
      • OTF
      • PFA
      • PFB
      • PFM
      • SFD
      • TTC
      • TTF
      • Type1
      • WOFF
    • GIS File Formats
      • GIS File Formats
      • 000
      • E00
      • FileGDB
      • GeoJSON
      • GML
      • GPX
      • KML
      • KMZ
      • OSM
      • QGD
      • QGS
      • QGZ
      • QLR
      • QML
      • SHP
    • Image File Formats
      • Image File Formats
      • AI
      • APNG
      • AVIF
      • BMP
      • BPG
      • CDR
      • CMX
      • CPC
      • DCM
      • DIB
      • DICOM
      • DJVU
      • DNG
      • EMF
      • EMZ
      • EXIF
      • FLIF
      • FODG
      • GBR
      • GIF
      • HEIC
      • HEIF
      • ICO
      • J2C
      • J2K
      • JFIF
      • JP2
      • JPEG
      • JPF
      • JPM
      • JPX
      • JXR
      • MNG
      • ODG
      • OTG
      • PNG
      • PSB
      • PSD
      • SVGZ
      • TGA
      • TIFF
      • VDX
      • VSD
      • VSDM
      • VSDX
      • VSS
      • VSSM
      • VSSX
      • VST
      • VSTM
      • VSTX
      • VSX
      • VTX
      • WEBP
      • WMF
      • WMZ
      • XPM
    • Note Taking File Formats
      • Note Taking File Formats
      • ONE
      • ONETOC2
    • Page Description Language
      • Page Description Language
      • CGM
      • EPS
      • OXPS
      • PCL
      • PS
      • SVG
      • SWF
      • TEX
      • XPS
      • XSLFO
    • PDF
      • PDF
      • PDF/A
      • PDF/E
      • PDF/UA
      • PDF/VT
      • PDF/X
    • Presentation File Formats
      • Presentation File Formats
      • ODP
      • OTP
      • POT
      • POTM
      • POTX
      • PPS
      • PPSM
      • PPSX
      • PPT
      • PPTM
      • PPTX
    • Programming
      • Programming
      • C
      • Class
      • CPP
      • CS
      • CSPROJ
      • Dart
      • H
      • JAR
      • Java
      • JSP
      • JSPF
      • KT
      • MEL
      • MF
      • PHP
      • PY
      • SH
      • SLN
      • SWIFT
      • TOML
      • VB
      • VBPROJ
      • VCXPROJ
      • YAML
    • Project Management File Formats
      • Project Management File Formats
      • MPP
      • MPT
      • MPX
      • XER
      • XML
    • Spreadsheet File Formats
      • Spreadsheet File Formats
      • CSV
      • DIF
      • FODS
      • NUMBERS
      • NUMBERS-TEF
      • ODS
      • OTS
      • SXC
      • TSV
      • XLA
      • XLAM
      • XLM
      • XLS
      • XLSB
      • XLSM
      • XLSX
      • XLT
      • XLTM
      • XLTX
    • Video File Formats
      • Video File Formats
      • 3G2
      • 3GP
      • AMV
      • ASF
      • AVCHD
      • AVI
      • F4V
      • FLV
      • H264
      • H265
      • M4V
      • MJPEG
      • MK3D
      • MKS
      • MKV
      • MOV
      • MP4
      • MPG
      • MXF
      • QT
      • RM
      • RMVB
      • RV
      • SRT
      • VOB
      • VP6
      • VP8
      • VP9
      • WEBM
      • WMV
      • Xvid
    • Web File Formats
      • Web File Formats
      • ASP
      • ASPX
      • CHM
      • CSS
      • HTM
      • HTML
      • IXBRL
      • JS
      • JSON
      • MHT
      • MHTML
      • Sass
      • SCSS
      • VDW
      • XAML
      • XBRL
      • XHTML
      • XOML
      • XSLT
    • Word Processing File Formats
      • Word Processing File Formats
      • ABA
      • DOC
      • DOCM
      • DOCX
      • DOT
      • DOTM
      • DOTX
      • MD
      • ODT
      • OTT
      • RTF
      • TXT
      • WPS
    • Reporting
      • RDL
      • RDLC
      • RPL
    1. Home
    2. 3D File Formats
    3. 3D2

    What's on this Page

      • What is a 3D2 file?
      • 3D2 File Format
        • 3D2 Header
        • Color Group Base Array
      • References

    What is a 3D2 file?

    A file with .3D2 extension is a CAD-3D 2.0 file that stores multiple 3D objects and information about these objects. The lightning and colour palettes information used by the 3D objects are all stored in this file. A single file can hold up to 40 objects. 3D2 had been used as an early format for computer animations. 3DS files can be opened with Quick3D application software.

    3D2 File Format

    The 3D2 file format is similar to the older file format and comprises of two parts.

    1. A 256-byte header which contains information about the number of objects contained in the file, the light settings and the colour information.
    2. A repeating structure of data that defines the 3D objects in the file.

    3D2 file format resembles to the older file format, but differs in that it doesn’t rely on the Fast Floating Point library (LIBF) of Motorola. It considerably reduces the storage requirements by storing each coordinate in a two-byte word instead of a four-byte floating point value.

    3D2 Header

    FieldTypeValue
    File IDWORD$3D02
    Count of Objects in fileWORD1-40
    Light source A on/off indicatorWORD(0=off, 1=on)
    Light source B on/off indicatorWORD(0=off, 1=on)
    Light source C on/off indicatorWORD(0=off, 1=on)
    Light source A brightnessWORD(0-7)
    Light source B brightnessWORD(0-7)
    Light source C brightnessWORD(0-7)
    Ambient light brightnessWORD(0-7)
    Light source A Z positionWORD(-50 through +50)
    Light source B Z positionWORD(-50 through +50)
    Light source C Z positionWORD(-50 through +50)
    Light source A Y positionWORD(-50 through +50)
    Light source B Y positionWORD(-50 through +50)
    Light source C Y positionWORD(-50 through +50)
    Light source A X positionWORD(-50 through +50)
    Light source B X positionWORD(-50 through +50)
    Light source C X positionWORD(-50 through +50)
    Object color palette16 WORDs(BIOS format)
    Color group base array16 WORDs

    Color Group Base Array

    The palette in the 3D2 file must be accompanied by the colour group base array which indicates the index of the first colour in the group to which that colour belongs. The following is an example palette that contains a background colour of black, followed by five reds, five greens and five blues.

    INDEXCOLORBASE
    00000
    11001
    22001
    33001
    44001
    55001
    60106
    70206
    80306
    90406
    100506
    1100111
    1200211
    1300311
    1400411
    1500511

    References

    • 3D2 File Format