User Tools

Site Tools


arma:file_formats:p3d_mlod

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma:file_formats:p3d_mlod [2008/10/18 16:31] – created p3d_mlod initial page. snakemanarma:file_formats:p3d_mlod [2024/08/01 08:00] (current) – links added. snakeman
Line 1: Line 1:
-====== MLOD / P3DM ======+====== ArmA 1 MLOD / P3DM ====== 
 + 
 +[[https://www.pmctactical.org/forum/viewforum.php?f=42|ArmA 1 Forum]], [[:arma|ArmA 1 Home]], [[arma:config|ArmA 1 Config]], [[arma:tools|ArmA 1 Tools]], [[arma:file_formats|ArmA 1 File Formats]], [[arma:missions|ArmA 1 Missions]], [[arma:modeling|ArmA 1 3D Modeling]], [[arma:terrain|ArmA 1 Terrain]], [[arma:texturing|ArmA 1 Texturing]], [[arma:scripting|ArmA 1 Scripting]] 
 + 
 +**ArmA 1** aka Armed Assault (ArmA)
  
 Although the overall structure of a P3DM MLOD model file is similar to SP3X MLOD model files there are some notable differences. Namely, Materials, Multiple UVSets and Animations. Although the overall structure of a P3DM MLOD model file is similar to SP3X MLOD model files there are some notable differences. Namely, Materials, Multiple UVSets and Animations.
Line 14: Line 18:
 ====== File Format ====== ====== File Format ======
  
-The following is a mix of pseudo-code and structure references that could be used to describe the file format of MLOD P3DM model files. It may or may not be accurate. +The following is a mix of pseudo-code and structure references that could be used to describe the file format of MLOD P3DM model files. It may or may not be accurate.
  
 <code cpp> <code cpp>
Line 132: Line 136:
 </code> </code>
  
-Processing of a TAGG section of a P3DM MLOD file is dependable on the type of tag being processed. A tag will always be in the following format. The actual structure of the "ArbitraryData" is dependable on the tag type. +Processing of a TAGG section of a P3DM MLOD file is dependable on the type of tag being processed. A tag will always be in the following format. The actual structure of the "ArbitraryData" is dependable on the tag type.
  
   * Currently there are 8 specific tags used by P3DM MLOD models.   * Currently there are 8 specific tags used by P3DM MLOD models.
Line 167: Line 171:
 And, serves a dual purpose in... And, serves a dual purpose in...
  
-  - Denoting the selectness and +  - Denoting the selectness and
   - Denoting per point weighting.   - Denoting per point weighting.
  
Line 290: Line 294:
 NB: There will be 1 "#Animation#" chunk per Frame. This can result in VERY large P3DM MLOD models. A model with three thousand (3,000) odd frames (eg. ActsPercMstpSnonWnonDnon_DancingStefan.rtm) will be approx. 200 Megabytes on disk. NB: There will be 1 "#Animation#" chunk per Frame. This can result in VERY large P3DM MLOD models. A model with three thousand (3,000) odd frames (eg. ActsPercMstpSnonWnonDnon_DancingStefan.rtm) will be approx. 200 Megabytes on disk.
  
-This type of data format for Animation is commonly known as a "Point Cache" or an "MDD Point Cache". It describes the exact location of every point in the LOD in 3D "Model Space" for each frame. +This type of data format for Animation is commonly known as a "Point Cache" or an "MDD Point Cache". It describes the exact location of every point in the LOD in 3D "Model Space" for each frame.
  
 **<Named Selection>** **<Named Selection>**
Line 304: Line 308:
 } }
 </code> </code>
-NB: The byte array's indicate a zero-based offset into the corresponding Points & Faces structures. +NB: The byte array's indicate a zero-based offset into the corresponding Points & Faces structures.
  
arma/file_formats/p3d_mlod.1224347475.txt.gz · Last modified: 2008/10/18 16:31 (external edit)