[英]XNA issue with 3d model textures path
I am a newbie in XNA
. 我是
XNA
的新手。 i have a problem in loading free 3d models as it has a absolute path for the textures in the artist's machine which i don't have in mine. 我在加载免费3D模型时遇到问题,因为它具有艺术家机器中纹理的绝对路径,而我在我的机器中没有。 It always come up with error of missing texture because the wrong path .
它总是会因为路径错误而导致缺少纹理的错误 。 I want to know how to edit this path to be relative, and it would be great if it automated as most of the models have more than three textures.
我想知道如何将此路径编辑为相对路径,并且由于大多数模型都具有三个以上的纹理,因此自动执行将非常有用。
You have a number of alternatives: 您有多种选择:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.