Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
deftypes [2019/03/12 14:54] – [G3D File Format] admin | deftypes [2020/01/09 14:21] – [Notice] admin | ||
---|---|---|---|
Line 156: | Line 156: | ||
===== Notice ===== | ===== Notice ===== | ||
+ | |||
+ | Every G3D file starts with some header information, | ||
+ | The header format is described below: | ||
<file pascal> | <file pascal> | ||
+ | TGorillaG3DFormat = (BSONFormat, | ||
+ | | ||
TGorillaG3DOption | TGorillaG3DOption | ||
None, | None, | ||
Line 167: | Line 172: | ||
TGorillaG3DOptions = Set Of TGorillaG3DOption; | TGorillaG3DOptions = Set Of TGorillaG3DOption; | ||
- | /// < | ||
- | /// The G3D header information which defines the exported format (bson or json) | ||
- | /// and options like zipped, beautified, ... | ||
- | /// Also the G3D format version is given for future adjustments. | ||
- | /// </ | ||
TGorillaG3DHeader = record | TGorillaG3DHeader = record | ||
- | /// < | + | /// DEFAULT-VALUE = " |
- | /// | + | /// 10 characters identify the exporter tool |
- | /// </ | + | |
Exporter : Array[0..9] of Byte; | Exporter : Array[0..9] of Byte; | ||
- | /// < | ||
- | /// | ||
- | /// </ | ||
Version : Cardinal; | Version : Cardinal; | ||
- | /// < | + | /// Datetime when the file was generated. (8 byte float value) |
- | /// Datetime when the file was generated. (8 byte float value) | + | |
- | /// </ | + | |
Timestamp : TDateTime; | Timestamp : TDateTime; | ||
- | /// < | + | /// The data format the was stored (bson or json). |
- | /// The data format the was stored (bson or json). | + | |
- | /// </ | + | |
Format | Format | ||
- | /// < | + | /// enum with values above |
- | /// | + | |
- | /// | + | |
- | /// </ | + | |
Options : TGorillaG3DOptions; | Options : TGorillaG3DOptions; | ||
- | |||
- | constructor Create(AZipped : Boolean; AFormat : TGorillaG3DFormat); | ||
end; | end; | ||
</ | </ | ||
+ | |||
+ | Next step: [[transparency|Transparency]] |