Internal object strcuture
| Header (approx 76 bytes) | contains number of verticies (NVerticies) offsets to other parts if files | ||||||||||
| Scale data | now known to be a list of values that can be used for X and Y
|
||||||||||
| Some Unknown Data | ? its unknown | ||||||||||
| Texture Cmds | A series of commands with different numbers of parameters
i.e. FFEF meaning -2 equates to 3->2 from list below
|
||||||||||
| Unknown Data | seems to be a list of booleans always true! or so it seems | ||||||||||
| Points List | XYZ data in form (Xid Yid Z Unk) Xid and Yid
seem to point to either data from Scale data table or to previous X,Y values
Z is a read value sometimes negative (tall crane an example with -ve values,the
tables here are for the stand) in this table the code in brackets
() is the XYZ code for the data for that point this is created
from the first 3 number 84 8 0 I have found that anything above x80 means make it -ve then take the remainer and subtract and divide by 4 this gives for 84 8 0 -> -1 2 0 which means x = the 1st Scale(-ve) value, y = the 2nd scale value(+ve) and a z of zero giving a XYZ for the first point of (-3200,5120,0) simple eh! now what about these points beginning with (A) I use this to indicate
mean ALTERED it should be
|
||||||||||
| Vertex List NVerticies * 4 bytes | of the form 0102 0000 0203 0000
(1->2) (2->3) these form a list the index of which is referenced
by
the texture commands
|
||||||||||
| Unknown block to the end | A whole bunch of unknown data thought to be related to drawing performance i.e. how much is draw at what distance! |
Here are some examples of how we are getting along!
Hope this is a start for people
Paul Hoad