1. 首页
  2. three.js

three.js如何在中对三维模型进行纹理处理三。Js?

three.jsn面对纹理模型的问题。如果我对普通对象进行纹理处理,没有问题,但是如果从外部加载模型,则无法工作。模型已加载,但当我创建纹理时,问题就开始了:c有什么问题?如有任何答复,我将不胜感激。提前感谢您n//if i texturethe obj model doesn\”t => {let>n//if i texture primitive objects it = new THREE.BoxGeometry(10,10,10);let>nmodels need to be uv-unwrapped, as in, they need to have proper uv coordinates that tell the texture which areas to cover. without this there\”s no sense in applying a texture to it, what would that even mean. imo you should be texturing your models in blender and then export as a self-contained, compressed gltf.>nOBJLoader already returns THREE.Object3D,因此在THREE.Mesh构造函数的第一个参数中传递model将导致错误。n我将使用一些东西n谢谢您我不知道这一点n谢谢n How to texture a 3d model in Three.Js?n

three.js如何在中对三维模型进行纹理处理三。Js? 为WP2原创文章,链接:https://www.wp2.cn/three-js/three-js%e5%a6%82%e4%bd%95%e5%9c%a8%e4%b8%ad%e5%af%b9%e4%b8%89%e7%bb%b4%e6%a8%a1%e5%9e%8b%e8%bf%9b%e8%a1%8c%e7%ba%b9%e7%90%86%e5%a4%84%e7%90%86%e4%b8%89%e3%80%82js%ef%bc%9f/