-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathopenFlight format notes.txt
77 lines (67 loc) · 2.25 KB
/
openFlight format notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
File:
linear stream of record...
2 Bytes| 2 Bytes | lenghtOfRecord - 4 Bytes |
opCode | length of record (including the first 4 bytes) | record |
record type:
max lenght of record is 65535. It can be extended with a continuation record.
The maximum number of children nodes under any primary node is 65534
control records
level changes
generic
subface
extension
attribute.
instance definition
instance reference.
nodes (primary records (can have childs))
Header:
Group:
Object:
Face:
Mesh:
Light point
Light point system
Subface:
Light source
Sound:
Text:
Vertex:
Morph vertex:
Clip region
Degree of freedom
Level of detail
Switch
External reference
ancillary records (have only one parent which is a node primary record)
Comment Record
Long ID Record
Indexed String Record
Multitexture Record
UV List Record
Replicate Record
Transformation Records
Matrix Record
Rotate About Edge Record
Translate Record
Scale Record
Rotate About Point Record
Rotate and/or Scale to Point Record
Put Record
General Matrix Record
vector
bounding volume
Bounding Box Record
Bounding Sphere Record
Bounding Cylinder Record
Bounding Convex Hull Record
Bounding Histogram Record
Bounding Volume Center Record
Bounding Volume Orientation Record
CAT Data Record
continuation records
The continuation record appears in
the stream immediately following the record that it “continues”. The data contained in the continuation
record is defined by the original record and is assumed to be directly appended onto
the content of the original record. Multiple continuation records may follow a record, in which case
all continuation records would be appended (in sequence) to the original record
a