Page 1 of 1
PIE-File format 2 or 3?
Posted: 14 Jun 2011, 17:06
by Seismo
When i browse the current source i have seen only PIE format 2 is used for the models/meshes, right?
Are you planning to change that to 3 or do you plan to use a complete different model format in future (details?)?
Which files i need to build a .pie file reader/converter/writer? (I work on an editor in C# currently)
Any help would be highly appreciated. Thank you in advance.

Re: PIE-File format 2 or 3?
Posted: 14 Jun 2011, 18:16
by Per
PIE2 only is used at the moment, with one exception (radar detector model). I've also added some additions to the PIE format that we use that I have not documented anywhere except on this forum and in the code (for lighting and normalmap support), but this is not yet in use in any currently used models.
Re: PIE-File format 2 or 3?
Posted: 15 Jun 2011, 11:16
by Jorzi
Isn't pie 3 just an extension to pie 2? (which means pie 2 models work nicely even though the reader reads them as if they were pie 3?)
Re: PIE-File format 2 or 3?
Posted: 15 Jun 2011, 11:23
by Safety0ff
Jorzi wrote:Isn't pie 3 just an extension to pie 2? (which means pie 2 models work nicely even though the reader reads them as if they were pie 3?)
If I recall correctly, it can't read them as if they are pie 3 because of floating point texture coordinates. Though this might have been changed/kludged so that pie3 uses 0-256 as the range for texture coordinates (I hope not).
Re: PIE-File format 2 or 3?
Posted: 15 Jun 2011, 11:29
by Jorzi
Ah yes, didn't think of the texture coordinates