![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
XNA
sdwyq1238
这个作者很懒,什么都没留下…
展开
-
XNA 4.0 应用纹理出现的Texture问题
XNA 4.0 将纹理应用到3D的时候出现如下问题,“XNA Framework Reach profile requires TextureAddressMode to be Clamp when using texture sizes that are not powers of two.” 解决方案是在LoadContent方法中添加:“GraphicsDevice.Sam原创 2012-09-28 11:14:52 · 829 阅读 · 1 评论 -
XNA-3D-绘制立方体
一.要点绘制立方体(或其他3D图形)的方法与绘制三角形的方法类似,任何一个3D图形的轮廓都有一系列三角形构成.为减少数据冗余,在绘制复杂3D图形时,应使用GraphicsDevice.DrawIndexedPrimitives()方法,而不是绘制三角形时所使用的GraphicsDevice.DrawUserPrimitives()。二.实现代码1.为Game类添加成员变量:转载 2012-09-28 14:06:01 · 871 阅读 · 0 评论 -
How to work around a possible XNA Game Studio or Windows Phone SDK install failure on Windows 8
As announced earlier today on the Building Windows 8 blog, a Windows 8 consumer preview is available for download starting today. If you download and install Windows 8 and then try to install the转载 2012-09-14 11:10:42 · 743 阅读 · 0 评论