User:Kisaragi marine/MeshX

From Resonite Wiki
This method is not supported by the developers of Resonite and may break at any time!

MeshX の内部構造

※バージョン7を元にしている

ヘッダー バージョン フラグ 頂点数 サブメッシュ数 ボーン数 ブレンドシェイプ数 UV数 UV_dim[*] UVデータ カラープロファイル 圧縮形式 本体ストリーム
5 77 101 115 104 88 i32 i32 iv7 iv7 iv7 iv7 iv7 u8 x [UV数] forall (i in 0..<[UVチャンネル数]). float x UV_dim[i] x [頂点数] Profile Encoding Main Data
Main Data
頂点位置 normal tangent color bone bindings UV
float3 x [頂点数] float3 x [頂点数] float4 x [頂点数] color x [頂点数] BoneBinding x [頂点数]
BoneBinding
添字0 iv7
添字1 iv7
添字2 iv7
添字3 iv7
ウェイト0 iv7
ウェイト1 iv7
ウェイト2 iv7
ウェイト3 iv7

ヘッダー

文字列の長さ 0x05 の後にASCIIで MeshX と書いてある

バージョン

現在のバージョンは7

フラグ

  • 0x01: Normal
  • 0x02: Tangent
  • 0x04: Color
  • 0x08: BoneBinding