279
edits
m (first two, at least, are now internal) |
m (...) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{OBD_File_Header | type=PNTA | prev=PLEA | next=PSpc | name=3D Point Array | family= | {{OBD_File_Header | type=PNTA | prev=PLEA | next=PSpc | name=3D Point Array | family=General | align=center}} | ||
[[ | [[Image:pnta_a.gif]] | ||
Line 9: | Line 9: | ||
{{OBDtr| 0x00 | res_id |FF0000| 01 DA 00 00 | 218 | 00218-.PNTA }} | {{OBDtr| 0x00 | res_id |FF0000| 01 DA 00 00 | 218 | 00218-.PNTA }} | ||
{{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 06 | 3 | level 3 }} | {{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 06 | 3 | level 3 }} | ||
{{OBDtr| 0x08 | char[12] |00FF00| AD DE | dead | | {{OBDtr| 0x08 | char[12] |00FF00| AD DE | dead | padding }} | ||
{{OBDtr| 0x14 | float |00FFFF| 00 00 10 C1 | -9.000000 | min. x-coordinate of all elements below }} | {{OBDtr| 0x14 | float |00FFFF| 00 00 10 C1 | -9.000000 | min. x-coordinate of all elements below }} | ||
{{OBDtr| 0x18 | float |00FFFF| 47 BC C9 BE | -0.394015 | min. y-coordinate (height) of all elements below }} | {{OBDtr| 0x18 | float |00FFFF| 47 BC C9 BE | -0.394015 | min. y-coordinate (height) of all elements below }} | ||
Line 20: | Line 20: | ||
{{OBDtr| 0x34 | float |FF8000| 40 9C DB 3D | 0.107232 | z-coordinate of the center [ ((max. z-coord. - min. z-coord.) ÷ 2) + min z-coord. ] }} | {{OBDtr| 0x34 | float |FF8000| 40 9C DB 3D | 0.107232 | z-coordinate of the center [ ((max. z-coord. - min. z-coord.) ÷ 2) + min z-coord. ] }} | ||
{{OBDtr| 0x38 | float |FF0080| E6 B6 8C 41 | 17.589306 | distance from the center to each of the both points above }} | {{OBDtr| 0x38 | float |FF0080| E6 B6 8C 41 | 17.589306 | distance from the center to each of the both points above }} | ||
{{OBDtr| 0x3C | | {{OBDtr| 0x3C | uint32 |960096| 10 00 00 00 | 16 | array size }} | ||
{{OBDtrBK}} | {{OBDtrBK}} | ||
{{OBDtr| 0x00 | float |FFC8C8| 00 00 10 C1 | -9.000000 | x-coordinate of the first point }} | {{OBDtr| 0x00 | float |FFC8C8| 00 00 10 C1 | -9.000000 | x-coordinate of the first point }} | ||
Line 28: | Line 28: | ||
The first image shows the light blue, | The first image below shows the points which are encoded above in the data marked in light blue, lilac and dark orange. In my opinion these points are used to create the bounding box. | ||
The second image gives you an overview of the | The second image gives you an overview of the elements in the coordinate array. Every triad of 32-bit numbers contains the x- y- and z-coordinate of a point. In this example every point exists in duplicate, so that you can only see 8 points. These points are needed to build up the mesh (triangles) for a door. | ||
Image number three is a fusion of the first and the second image. | Image number three is a fusion of the first and the second image. | ||
[[Image:pnta_0.gif]] [[Image:pnta_1.gif]] | [[Image:pnta_0.gif]] [[Image:pnta_1.gif]] [[Image:pnta_2.gif]] | ||
{{OBD_File_Footer | type=PNTA | prev=PLEA | next=PSpc | name=3D Point Array | family= | {{OBD_File_Footer | type=PNTA | prev=PLEA | next=PSpc | name=3D Point Array | family=General}} | ||
{{OBD}} |
edits