<该模型不包含SkinningData标签.例外 [英] "This model does not contain a SkinningData tag." exception

查看:55
本文介绍了<该模型不包含SkinningData标签.例外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Wikibooks的教程,但是我仍然坚持模型渲染.( http://en.wikibooks.org/wiki/Creating_a_Simple_3D_Game_with_XNA/Rendering_Your_Model )尝试编译时,出现以下异常:此模型不包含SkinningData标记.".

I've been using tutorial from wikibooks, but I'm stuck at model rendering. ( http://en.wikibooks.org/wiki/Creating_a_Simple_3D_Game_with_XNA/Rendering_Your_Model ) When I try to compile, I get this exception: "This model does not contain a SkinningData tag.".

我想说的是,该模型未正确导出,但是在他们的网站上使用模型后,该模型不起作用.

What I though about, is that model wasn't exported properly, but it doesn't work after using model from their site.

非常感谢您的帮助.

推荐答案

我知道了!将模型导入VS时,右键单击模型,转到属性,并确保为Content Processor设置了"SkinnedModelProcessor".

I figured it out! When you import your model into VS, right click on your model, go to properties and make sure that "SkinnedModelProcessor" is set for Content Processor.

就是这样!

欢呼

这篇关于<该模型不包含SkinningData标签.例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆