骨骼动画数据格式

来源:互联网 发布:淘宝上面卖什么好 编辑:程序博客网 时间:2024/05/16 05:40
{    "producer": {        "name": "3dsmax",        "version": "2",        "exporter_version": "0.4.5",        "file": "nvzhang@stand.babylon"    },    "autoClear": true,    "clearColor": [        0.0,        0.0,        0.0    ],    "ambientColor": [        0.0,        0.0,        0.0    ],    "fogMode": 0,    "fogColor": null,    "fogStart": 0.0,    "fogEnd": 0.0,    "fogDensity": 0.0,    "gravity": [        0.0,        0.0,        0.0    ],    "physicsEngine": null,    "physicsEnabled": false,    "physicsGravity": null,    "cameras": [        {            "isStereoscopicSideBySide": false,            "name": "Default camera",            "id": "4126a325-6b0c-472f-b052-e8e0add6a19e",            "parentId": null,            "lockedTargetId": null,            "type": "FreeCamera",            "position": [                "-Infinity",                "-Infinity",                "-Infinity"            ],            "rotation": [                0.0,                0.0,                0.0            ],            "target": [                "-Infinity",                "-Infinity",                "-Infinity"            ],            "fov": 0.8,            "minZ": 1.0,            "maxZ": "Infinity",            "speed": "Infinity",            "inertia": 0.9,            "interaxialDistance": 0.0637,            "checkCollisions": false,            "applyGravity": false,            "ellipsoid": null,            "autoAnimate": false,            "autoAnimateFrom": 0,            "autoAnimateTo": 0,            "autoAnimateLoop": false,            "animations": null,            "mode": 0,            "orthoLeft": null,            "orthoRight": null,            "orthoBottom": null,            "orthoTop": null,            "metadata": null,            "tags": null        }    ],    "activeCameraID": "4126a325-6b0c-472f-b052-e8e0add6a19e",    "lights": [        {            "name": "Default light",            "id": "cb4dede6-7644-4546-b40d-e38f5f4180ce",            "parentId": null,            "position": null,            "direction": [                0.0,                1.0,                0.0            ],            "type": 3,            "diffuse": [                1.0,                1.0,                1.0            ],            "specular": [                1.0,                1.0,                1.0            ],            "intensity": 1.0,            "range": 3.40282347e+38,            "exponent": 0.0,            "angle": 0.0,            "groundColor": [                0.0,                0.0,                0.0            ],            "excludedMeshesIds": null,            "includedOnlyMeshesIds": null,            "autoAnimate": false,            "autoAnimateFrom": 0,            "autoAnimateTo": 0,            "autoAnimateLoop": false,            "animations": null,            "metadata": null,            "tags": null        }    ],    "meshes": [        {            "id": "08ac67b3-0663-4570-bfa2-4f6c87a77ba7",            "materialId": "a1b175b6-1c9d-4c15-8629-a4712730f916",            "isEnabled": true,            "isVisible": true,            "pickable": false,            "pivotMatrix": null,            "positions": [],            "normals": [],            "uvs": [],            "uvs2": null,            "colors": null,            "hasVertexAlpha": false,            "matricesIndices": [],            "matricesWeights": [],            "matricesIndicesExtra": null,            "matricesWeightsExtra": null,            "indices": [],            "checkCollisions": false,            "receiveShadows": true,            "infiniteDistance": false,            "billboardMode": 0,            "visibility": 1.0,            "subMeshes": [                {                    "materialIndex": 0,                    "verticesStart": 0,                    "verticesCount": 6018,                    "indexStart": 0,                    "indexCount": 6018                }            ],            "instances": [],            "skeletonId": 0,            "numBoneInfluencers": 4,            "showBoundingBox": false,            "showSubMeshesBoundingBox": false,            "applyFog": true,            "alphaIndex": 1000,            "physicsImpostor": 0,            "physicsMass": 0.0,            "physicsFriction": 0.0,            "physicsRestitution": 0.0,            "metadata": null,            "tags": null,            "name": "nvzhang_mesh",            "position": [                -18.357,                -0.0418,                -19.8954            ],            "rotation": [                0.0,                0.0,                0.0            ],            "scaling": [                1.0,                1.0,                1.0            ],            "rotationQuaternion": null,            "actions": null,            "animations": [],            "autoAnimate": true,            "autoAnimateFrom": 0,            "autoAnimateTo": 100,            "autoAnimateLoop": true,            "parentId": null        }    ],    "sounds": [],    "materials": [        {            "ambient": [                0.5882,                0.5882,                0.5882            ],            "diffuse": [                1.0,                1.0,                1.0            ],            "specular": [                0.0,                0.0,                0.0            ],            "emissive": [                0.0,                0.0,                0.0            ],            "specularPower": 25.6,            "diffuseTexture": {                "name": "nvzhang.png",                "level": 1.0,                "hasAlpha": false,                "getAlphaFromRGB": false,                "coordinatesMode": 0,                "isCube": false,                "uOffset": 0.0,                "vOffset": 0.0,                "uScale": 1.0,                "vScale": 1.0,                "uAng": 0.0,                "vAng": 0.0,                "wAng": 0.0,                "wrapU": 1,                "wrapV": 1,                "coordinatesIndex": 0,                "isRenderTarget": false,                "renderTargetSize": 0,                "mirrorPlane": null,                "renderList": null,                "animations": [],                "extensions": null            },            "diffuseFresnelParameters": null,            "ambientTexture": null,            "opacityTexture": null,            "opacityFresnelParameters": null,            "reflectionTexture": null,            "reflectionFresnelParameters": null,            "emissiveTexture": null,            "lightmapTexture": null,            "useLightmapAsShadowmap": false,            "emissiveFresnelParameters": null,            "specularTexture": null,            "bumpTexture": null,            "useSpecularOverAlpha": true,            "disableLighting": false,            "useEmissiveAsIllumination": false,            "linkEmissiveWithDiffuse": false,            "name": "nvzhang",            "id": "a1b175b6-1c9d-4c15-8629-a4712730f916",            "backFaceCulling": true,            "wireframe": false,            "alpha": 1.0,            "alphaMode": 2        }    ],    "multiMaterials": [],    "particleSystems": null,    "lensFlareSystems": null,    "shadowGenerators": [],    "skeletons": [        {            "id": 0,            "name": "skeleton #0",            "bones": [],            "needInitialSkinMatrix": true        }    ],    "actions": null,    "metadata": null,    "workerCollisions": false}



0 0
原创粉丝点击