OBD:PNTA

From OniGalore
Revision as of 14:52, 31 December 2005 by Ssg (talk | contribs)
Jump to navigation Jump to search

Main Page >> Oni Binary Data >> File Types >> PNTA File


<== PNTA File ==>
3D Point Array - Level and Character File


pnta_a.gif


Hex Translation Meaning
01 DA 00 00 218 00218-.PNTA
01 00 00 06 3 level 3
AD DE dead not used
00 00 10 C1 -9.000000 max. neg. x-coordinate of all packages below
47 BC C9 BE -0.394015 max. neg. y-coordinate (height) of all packages below
FF FF 6F C1 -14.999999 max. neg. z-coordinate of all packages below
00 00 10 41 9.000000 max. pos. x-coordinate of all packages below
56 BC C9 3E 0.394015 max. pos. y-coordinate (height) of all packages below
70 6E 73 41 15.214462 max. pos. z-coordinate of all packages below
00 00 00 00 0.000000 x-coordinate of the center ( (max. neg. x-coordinate + max. pos. x-coordinate) ÷ 2 )
00 00 70 34 0.000000... y-coordinate of the center ( (max. neg. y-coordinate + max. pos. y-coordinate) ÷ 2 )
40 9C DB 3D 0.107232 z-coordinate of the center ( (max. neg. z-coordinate + max. pos. z-coordinate) ÷ 2 )
E6 B6 8C 41 17.589306 distance from the center to both points above
10 00 00 00 16 16 packages follow (one package is edged in black)
Below follows the first package.
00 00 10 C1 -9.000000 x-position of the point
1A BC C9 BE -0.394013 y-position (height) of the point
FF FF 6F C1 -14.999999 z-position of the point


The first image shows the light blue, lila and dark orange marked points of the table above. In my opinion these points are used to create the bounding box.

The second image gives you an overview of the packages. Every package contains the x- y- and z-coordinate of a point. In this example every point excists in duplicate, so that you can only see 8 points. These points are needed to built up the mesh (triangles) for a door.

Image number three is a fusion of the first and the second image.


pnta_0.gif       pnta_1.gif       pnta_2.gif



<== PNTA File ==>


Main Page >> Oni Binary Data >> File Types >> PNTA File