Talk:MDL file format (FSX): Difference between revisions
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
I have looked to the VERB section of a rather large mdl file (one of the default aircrafts). There I see that the VERT and the TANS sections are repeated several times (always one TANS section following one VERT section). I wonder how this is reflected in the PART structures referring to the VERT sections, have you any idea ?) | I have looked to the VERB section of a rather large mdl file (one of the default aircrafts). There I see that the VERT and the TANS sections are repeated several times (always one TANS section following one VERT section). I wonder how this is reflected in the PART structures referring to the VERT sections, have you any idea ?) | ||
osman | osman | ||
I would check the first two parameters of the part section, I suspect on of them is refering to the vertex buffer used for that part. Which object are you looking at, then I'll take a look. Arno | |||
Revision as of 18:05, 20 January 2007
IMHO the description of the content of the MDLH section is not correct. "MDLX" is part of the RIFF header, the MDLH section seems always to contain 1 integer with the value of 123456 and 1 float with the value of 10; I assume that is a kind of file signature. osman
You are correct Winfried. I realised this after I had typed it, but I haven't had the time yet to update it. Will try to do that ASAP. Arno
I have updated the document now. I see the same parameter in the header section indeed, so it seems they are sort of constants. I have no idea what they mean (10.0 might refer to the version of FS????). Arno
I have looked to the VERB section of a rather large mdl file (one of the default aircrafts). There I see that the VERT and the TANS sections are repeated several times (always one TANS section following one VERT section). I wonder how this is reflected in the PART structures referring to the VERT sections, have you any idea ?) osman
I would check the first two parameters of the part section, I suspect on of them is refering to the vertex buffer used for that part. Which object are you looking at, then I'll take a look. Arno