saba icon indicating copy to clipboard operation
saba copied to clipboard

PMXFile.cppのQDEF

Open gbbnfhb opened this issue 3 months ago • 0 comments

PMXFile.cppのQDEFの所
					Read(&vertex.m_boneWeights[0], file);
					Read(&vertex.m_boneWeights[1], file);
					Read(&vertex.m_boneWeights[3], file);
					Read(&vertex.m_boneWeights[4], file);
となってます。(0,1,3,4) 2がない

pmxeditorの説明だと
QDEF ->
  n : ボーンIndexサイズ  | ボーン1の参照Index
  n : ボーンIndexサイズ  | ボーン2の参照Index
  n : ボーンIndexサイズ  | ボーン3の参照Index
  n : ボーンIndexサイズ  | ボーン4の参照Index
  4 : float              | ボーン1のウェイト値
  4 : float              | ボーン2のウェイト値
  4 : float              | ボーン3のウェイト値
  4 : float              | ボーン4のウェイト値 (ウェイト計1.0の保障はない)

※データ形式は BDEF4 と共通

gbbnfhb avatar Nov 10 '25 09:11 gbbnfhb