【发布时间】:2020-01-28 13:11:47
【问题描述】:
我正在尝试理解glTF的格式,请告诉我文件中的角度单位是什么?
"nodes":[
{"name":"Bone2","rotation":[-0.6466940641403198,0,1.4359492797940017e-16,0.7627494931221008]},
【问题讨论】:
标签: gltf
我正在尝试理解glTF的格式,请告诉我文件中的角度单位是什么?
"nodes":[
{"name":"Bone2","rotation":[-0.6466940641403198,0,1.4359492797940017e-16,0.7627494931221008]},
【问题讨论】:
标签: gltf
Quaternion,看起来像。
specification/2.0/schema/node.schema.json:
"rotation": {
"type": "array",
"description": "The node's unit quaternion rotation in the order (x, y, z, w), where w is the scalar.",
"items": {
"type": "number",
"minimum": -1.0,
"maximum": 1.0
},
"minItems": 4,
"maxItems": 4,
"default": [ 0.0, 0.0, 0.0, 1.0 ]
},
【讨论】: