简体   繁体   中英

How do I import a three.js (JSON from blender) model into Unity at runtime?

I've already managed to get the list of all vertices, normals, and uvs, but I can't generate the mesh correctly.
The JSON file was generated by the blender.

Consider to import your JSON model into the three.js editor editor and then export to glTF or Collada . These formats should be easier to import into Unity.

Apart from that, you should not use the JSON Blender exporter anymore. It was removed from the project several releases ago. The recommended 3D format is glTF. More information about that topic right here:

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

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