When you save a d3d model using d3d_model_save() it writes an 100 at the top of the file which never seems to vary in value, does anyone please know what this value is used for?
Thanks,
PR.
100?
Started by flexaplex, Dec 13 2011 01:26 PM
3 replies to this topic
#1
Posted 13 December 2011 - 01:26 PM
#2
Posted 13 December 2011 - 02:12 PM
My first guess is that it is some sort of version number. For instance, it might be the version number of the model format (v1.0.0) that is included for later backwards compability.
Have you tried changing the 100 to some other value sometime to see what happens?
Have you tried changing the 100 to some other value sometime to see what happens?
#3
Posted 13 December 2011 - 08:10 PM
The 100 is an identifier for a d3d model file. Its an easy way for the loader to check if the file is even remotely close to a d3d file. The next number is something like the number of lines remaining in the file. Here's an explanation of the rest of the format. linky
#4
Posted 15 December 2011 - 04:16 AM
I was just seeing if anyone knew. It does seem just to be a basic identifier for models though, if the value of 100 is changed then the model doesn't load.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











