P3D File Format - ODOLV7 – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (parking wrong footer structure)
(Structs after LOD-data)
Line 16: Line 16:
  }
  }
[[User:Mikero|Mikero (nee Ook?)]] 07:19, 24 January 2009 (CET)
[[User:Mikero|Mikero (nee Ook?)]] 07:19, 24 January 2009 (CET)
I've already wondered where that info disappeared... May I ask why the above data is 'clearly wrong'? I have used for example the wrpModelOffset successfully for an experimental tool.
Further note: The file may proceed after this; the Geometry mass is stored somewhere after this footer, but I have not yet started to find the correct offsets. Perhaps you/someone already tried to decode it.
--[[User:Vektorboson|Vektorboson]] 20:08, 2 February 2010 (CET)

Revision as of 20:08, 2 February 2010

something's wrong or misworded here with the struct ustruct[ustruct7] and the proxistruct that follows it

Ook

i am parking this footer info here as it is clearly wrong but may contain useful info if structured correctly

  float     Resolutions[nLods];
  byte      unknownBytes[24];
  float     offset[3];         // model offset (unknown functionality)
  ulong     mapIconColor;      // RGBA 32 color
  ulong     mapSelectedColor;  // RGBA 32 color
  ulong     unknownValue;
  float     bboxMinPosition[3]; // minimum coordinates of bounding box
  float     bboxMaxPosition[3]; // maximum coordinates of bounding box
  float     wrpModelOffset[3];  // offset value to apply when object is placed on a WRP
  float     offset2[3];         // another offset value (unknown functionality)
}

Mikero (nee Ook?) 07:19, 24 January 2009 (CET)

I've already wondered where that info disappeared... May I ask why the above data is 'clearly wrong'? I have used for example the wrpModelOffset successfully for an experimental tool.

Further note: The file may proceed after this; the Geometry mass is stored somewhere after this footer, but I have not yet started to find the correct offsets. Perhaps you/someone already tried to decode it.

--Vektorboson 20:08, 2 February 2010 (CET)