WP7 XNA displaying 3D FBX model

 ̄綄美尐妖づ 提交于 2019-12-12 13:15:33

问题


I am just begginer so sorry for my silly question.

my model looks like this: http://img265.imageshack.us/img265/8291/clipboard01ap.jpg

but in result in XNA looks like this: http://www.youtube.com/watch?v=XHxHKZnjgnM

I hope you can see the weird transparency...

Is the problem connected with "EnableDefaultLighting()" ?

Thanks for help


回答1:


I think Z-Buffering ( Sorting ) is not enabled or is not initialized in the right way. Found this on the internet:

Most likely reasons:

  • Is the DepthBufferEnable renderstate set?
  • Does your projection matrix have sensible near and far clip plane values?


来源:https://stackoverflow.com/questions/8020691/wp7-xna-displaying-3d-fbx-model

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!