永继研究室

文档-资料-开源

龙之谷ANI文件结构

ANI文件结构

文件头

readUTFBytes(256)

version

readInt()

boneCount

readInt()

animateCount

readInt()

position = 1024

animateName

readUTFBytes(256)

*animateCount

animateFrame

readInt()

*animateCount

boneName

readUTFBytes(256)

*boneCount

parentName

bytes.readUTFBytes(768)

boneAnimate

transformation

readFloat()*3

*animateCount

rotation

readFloat()*4

scaling

readFloat()*3

transformationCount

readUnsignedInt()

transformationFrame

readUnsignedShort();

*transformationCount

TransformationData

readFloat()*3

rotationCount

readUnsignedInt()

rotationFrame

readUnsignedShort();

*rotationCount

TransformationData

If(version==11){

readShort()*4}else{ readFloat()*4}

scalingCount

readUnsignedInt()

scalingFrame

readUnsignedShort();

*scalingCount

scalingData/span>

readFloat()*3

 

 

 

, , ,

发表评论