문제

I'm using threejs(R58). I convert the FBX model to threejs json file via utils/convertors/fbx/convert_to_threejs.py. When I use THREE.JSONLoader to load the json file, brower throw exception in the line "for ( i = 0; i < json.uvs.length; i++ )". I find the format of the generated json file is not matched with the JSONLoader. Which FBX convertor should I use? Why R58 has this inconsistent convertor tool? Thanks a lot!

도움이 되었습니까?

해결책

it's my mistake. The generated js file via utils/convertors/fbx/convert_to_threejs.py is a scene type js file. I should use SceneLoader instead of JSONLoader.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top