vue-3d-model icon indicating copy to clipboard operation
vue-3d-model copied to clipboard

Why is the model I loaded white? It's also lit

Open kang-N-S opened this issue 4 years ago • 3 comments
trafficstars

加了灯光之后 模型出来是白色的是在怎莫回事呀, image image 还有 就是怎末给模型贴图呀

kang-N-S avatar Dec 01 '20 10:12 kang-N-S

提供一个复现问题的demo

hujiulong avatar Dec 03 '20 07:12 hujiulong

image image 数据是从后台来的 因为在项目里嵌套着 不好拿 就把代码截图了 数据是请求过来的 模型是白色 然后不知道咋给贴图

kang-N-S avatar Dec 07 '20 07:12 kang-N-S

There might be your object export settings. I had the same issue by exporting incorrectly my object from the graphics software. Check it again and try opening your .obj with another 3D object viewer to check if it's exported correctly before importing to your Vue project.

AaronBison avatar Dec 09 '20 15:12 AaronBison