简体   繁体   中英

Export 3D model from Unity to three.js

I have to create model of human body in WebGL/three.js but I have only Unity model. How I can export model like object or something like this.

One option is to export from Unity to glTF and then use THREE.GLTFLoader in order to load the asset into your three.js app.

The following guide provides more information about loading glTF in context of three.js :

https://threejs.org/docs/index.html#manual/en/introduction/Loading-3D-models

Use the following Unity3D library for importing and exporting GLTF 2.0 assets:

https://github.com/KhronosGroup/UnityGLTF

If for some reasons the glTF export from Unity does not work, try it with FBX instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM