OBD:PNTA
Jump to navigation
Jump to search

Offset  Type  Raw Hex  Value  Description 

0x00  res_id  01 DA 00 00  218  00218.PNTA 
0x04  lev_id  01 00 00 06  3  level 3 
0x08  char[12]  AD DE  dead  unused 
0x14  float  00 00 10 C1  9.000000  min. xcoordinate of all elements below 
0x18  float  47 BC C9 BE  0.394015  min. ycoordinate (height) of all elements below 
0x1C  float  FF FF 6F C1  14.999999  min. zcoordinate of all elements below 
0x20  float  00 00 10 41  9.000000  max. xcoordinate of all elements below 
0x24  float  56 BC C9 3E  0.394015  max. ycoordinate (height) of all elements below 
0x28  float  70 6E 73 41  15.214462  max. zcoordinate of all elements below 
0x2C  float  00 00 00 00  0.000000  xcoordinate of the center [ ((max. xcoord.  min. xcoord.) ÷ 2) + min xcoord. ] 
0x30  float  00 00 70 34  0.000000...  ycoordinate (height) of the center [ ((max. ycoord.  min. ycoord.) ÷ 2) + min ycoord. ] 
0x34  float  40 9C DB 3D  0.107232  zcoordinate of the center [ ((max. zcoord.  min. zcoord.) ÷ 2) + min zcoord. ] 
0x38  float  E6 B6 8C 41  17.589306  distance from the center to each of the both points above 
0x3C  int32  10 00 00 00  16  array size 
First element (black outline)  
0x00  float  00 00 10 C1  9.000000  xcoordinate of the first point 
0x04  float  1A BC C9 BE  0.394013  ycoordinate (height) of the first point 
0x08  float  FF FF 6F C1  14.999999  zcoordinate of the first point 
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 elements in the coordinate array. Every triad of 32bit numbers contains the x y and zcoordinate 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.
ONI BINARY DATA 

PLEA << Other file types >> PSpc 
PNTA : 3D Point Array 
General file 