saba
saba copied to clipboard
PMXFile.cppのQDEF
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 と共通