2011-12-19 4 views
0

私はこのチュートリアルから作業しており、いくつか問題がありました。 http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Terrain_from_file.php 私はページの一番下にあるコードを使用し、私が構築し、それは本当に恐ろしい見えますXNAテレインビルダーの問題

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" 

[OK]を私は、このエラーを与えました。

私はXNA 4.0でこれを実行していますが、これはXNA 3.0から来ていると思いますが、その場合には問題はないと思います。 ありがとうございました

+0

私は間違いをしておりません。ターゲットをスキップするだけです。 – dowhilefor

答えて

0

Reimersのような高さマップベースの地形を使用するXNA 4地形のチュートリアルが必要な場合は、QuadTree、LOD、およびCullingも使用する作成しました。私のカリングは、境界切頭を使用するのではなく、ビューの切頭台を2D空間に投影する技術を使用し、パフォーマンスを大幅に向上させました。私はチュートリアルの最後の部分をまだ終了していません。なぜなら、ビュー距離があまりにも大きく設定されていて、まだ見ていない時間がないのに、シリーズが終了したときに、高さマップをロードすることから、レンダリング、カリング、およびLODをクリアすることができます。

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

は、私はまた、コードを変換してきたし、それがSilverlightの5 XNAで作業しているが、私はページングシステムに取り組んでいる:私が行ったように私はすべてを説明しようとしたとして、それは長く、長ったらしいです地形のサイズがはるかに小さいため(Silverlight 5ではReachプロファイルと16ビットインデックスが使用され、地形チャンクの全体的なサイズが制限されるため)、より実現可能にします。私はもう一度それに取り組むための時間を得ると、私は同様にそれを掲示するでしょう。

関連する問題