首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >XNA地形构建器问题

XNA地形构建器问题
EN

Stack Overflow用户
提问于 2011-12-20 06:31:45
回答 1查看 1.1K关注 0票数 0

我正在从这个教程开始工作,我遇到了一些问题。http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Terrain_from_file.php我使用了页面底部的代码并进行了构建,它给出了这个错误

代码语言:javascript
复制
EmbedXnaFrameworkRuntimeProfile:
Skipping target "EmbedXnaFrameworkRuntimeProfile" because all output files up-to-date with respect to the input files.
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
CoreCompile:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1702   nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /define:DEBUG;TRACE;WINDOWS  /reference:"c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Avatar.dll" /reference:"c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.dll" /reference:"c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Game.dll" /reference:"c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.GamerServices.dll" /reference:"c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Graphics.dll" /reference:"c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Net.dll" /reference:"c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Storage.dll" /reference:"c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Video.dll" /reference:"c:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Xact.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\mscorlib.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Net.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\System.Xml.Linq.dll" /debug+ /debug:full /optimize- /out:obj\x86\Debug\TerrainBuilder1.exe /resource:obj\x86\Debug\Microsoft.Xna.Framework.RuntimeProfile.txt,Microsoft.Xna.Framework.RuntimeProfile /target:winexe /win32icon:Game.ico Properties\AssemblyInfo.cs Program.cs Game1.cs "C:\Users\Kenshin\AppData\Local\Temp\.NETFramework,Version=v4.0,Profile=Client.AssemblyAttributes.cs"

好吧,这看起来真的很可怕。

我正在做的是在XNA 4.0中运行它,我认为它来自XNA 3.0,我认为这不应该有任何问题,只是以防万一。感谢你在这方面的帮助

EN

回答 1

Stack Overflow用户

发布于 2012-01-04 00:18:07

如果你想要一个使用高度地图的XNA4地形教程,比如Reimers,我已经创建了一个同样使用QuadTree,LOD和剔除的教程。我的剔除使用了一种技术来将视图阻挡投影到2D空间,而不是使用边界阻挡,它极大地提高了我的性能。我还没有完成教程的最后一部分,因为我看到了一些小问题,当视图距离设置得太大时,我还没有时间去看一看,但是这个系列已经通过渲染,剔除和LOD加载了清晰的高度图。这篇文章冗长而冗长,因为我一直在试图解释我所说的一切:

http://www.dustinhorne.com/page/XNA-Terrain-Tutorial-Table-of-Contents.aspx

我还转换了代码,并将其与Silverlight 5 XNA一起使用,但我正在开发一个分页系统,以使其更可行,因为地形大小要小得多(Silverlight 5使用了Reach profile和16位索引,这限制了地形块的整体大小)。一旦我有时间再做这件事,我也会把它贴出来。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8568462

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档