"xof 0303txt 0032" Anyone know what this line in .x means?
Hello,
I'm just curious, anyone know what the first line in a .x file means?
"xof 0303txt 0032"
Thanks =)
Perhaps, magic?
"xof" = every .x file contains this so programs know it's an .x file
"0303txt" = to tell the programs it's ascii, not binary
"0302" = another thing to show it's an .x file
Perhaps..
"xof" = every .x file contains this so programs know it's an .x file
"0303txt" = to tell the programs it's ascii, not binary
"0302" = another thing to show it's an .x file
Perhaps..
Take a look here [wink]
So for you, you have an Ascii .X file that uses Major version 3, minor version 3, and has 32bit floats.
Quote:HeaderThe variable length header is compulsory and must be at the beginning of the data stream. The header contains the following:Type Sub Type Size Contents Content MeaningMagic Number (required) 4 bytes "xof " Version Number (required) Major Number 2 bytes 03 Major version 3Minor Number 2 bytes 02 Minor version 2Format Type (required) 4 bytes "txt " Text File "bin " Binary File "tzip" MSZip Compressed Text File "bzip" MSZip Compressed Binary FileFloat size (required) 4 bytes 0064 64-bit floats 0032 32-bit floatsExamplexof 0302txt 0064
So for you, you have an Ascii .X file that uses Major version 3, minor version 3, and has 32bit floats.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement