저는 블렌더에서 3js로 애니메이션 메쉬를 내보내는 방법에 대해 unboring.net에서 자습서를 따르려고했습니다. 자습서의 작성자가 제공 한 eva-animated.blend 파일을 사용하면 모든 것이 잘 작동합니다. 그러나, 내 자신의 메쉬를 만들고 그것을 3js로 내보낼 때 결과가 잘못된 형식으로되어 뼈대 데이터가 포함되지 않는 것처럼 보입니다.블렌더 threejs가 뼈없이 잘못된 형식으로 파일을 내 보냅니다.
내 파일 : monkey.blend. URL : https://drive.google.com/file/d/0B-4iDXLNwo9_WmtmSXBEWVhBa2s/view 출력 형식 :
{
data: {
attributes: {
position: {
type: "Float32Array",
array: [...],
itemSize: 3
},
normal: {
type: "Float32Array",
array: [...],
itemSize: 3
},
uv: {
type: "Float32Array",
array: [...],
itemSize: 2
}
},
index: {
type: "Uint16Array",
array: [...],
itemSize: 1
}
},
metadata: {
position: 2898,
version: 3,
uv: 2898,
type: "BufferGeometry",
normal: 2898,
generator: "io_three"
}
}
작가의 파일 : EVA-animated.blend. URL : https://drive.google.com/file/d/0B-4iDXLNwo9_eXZTWlBkdlp3SzA/view 출력 : 원숭이 그냥 threejs에로드되지 대한
{
normals: [...],
metadata: {
normals: 762,
generator: "io_three",
vertices: 738,
version: 3,
uvs: 1,
materials: 1,
bones: 33,
type: "Geometry",
faces: 762
},
skinWeights: [...],
vertices: [...],
bones: [..],
animations: [...],
uvs: [...],
skinIndices: [...],
materials: [...],
name: "BodyGeometry.6",
influencesPerVertex: 2,
faces: [...]
}
데이터 반면, 에바 애니메이션 완벽하게 작동한다. 원숭이. 블렌드 파일에 문제가 있는지 알고 싶습니다. 모든 것을 시도했기 때문에 결과가 정확하지 않을 수 있습니다. 내 파일은 내가 당신의 파일을 시도한 조작 된 메쉬, 하나의 간단한 애니메이션 등
을 열었다. 정말 고맙습니다! – Pablo