コミットメタ情報

リビジョン1489508f797ac22110279ddd268ce2b482eeb447 (tree)
日時2017-07-25 01:07:49
作者yyagi <yyagi.dtxmania@gmai...>
コミッターyyagi

ログメッセージ

#37361 SampleFramework, ならびにCDTXMania.cs にて、アンチエイリアス周りのログ出力を強化。更に、アンチエイリアスが掛かるように修正・・・したつもりだが自宅のGT1030環境では未だ掛からず。
#xxxxx 今更ながら、109向けのVERSION定義(109(170723))をコミット。

変更サマリ

差分

--- a/DTXMania/コード/全体/CDTXMania.cs
+++ b/DTXMania/コード/全体/CDTXMania.cs
@@ -23,7 +23,7 @@ namespace DTXMania
2323 {
2424 // プロパティ
2525 #region [ properties ]
26- public static readonly string VERSION = "109(170801)";
26+ public static readonly string VERSION = "109(170723)";
2727 public static readonly string SLIMDXDLL = "c_net20x86_Jun2010";
2828 public static readonly string D3DXDLL = "d3dx9_43.dll"; // June 2010
2929 //public static readonly string D3DXDLL = "d3dx9_42.dll"; // February 2010
@@ -483,14 +483,12 @@ namespace DTXMania
483483 #endif
484484 settings.BackBufferWidth = SampleFramework.GameWindowSize.Width;
485485 settings.BackBufferHeight = SampleFramework.GameWindowSize.Height;
486- // settings.BackBufferCount = 3;
487486 settings.EnableVSync = ConfigIni.bVSyncWait;
488- // settings.BackBufferFormat = Format.A8R8G8B8;
489- // settings.MultisampleType = MultisampleType.FourSamples;
490- // settings.MultisampleQuality = 4;
491- // settings.MultisampleType = MultisampleType.None;
492- // settings.MultisampleQuality = 0;
493- settings.Multithreaded = true;
487+ //settings.MultisampleType = MultisampleType.FourSamples;
488+ settings.MultisampleQuality = 3;
489+ settings.MultisampleType = MultisampleType.NonMaskable;
490+ //settings.MultisampleQuality = 3;
491+
494492
495493 try
496494 {
@@ -507,6 +505,8 @@ namespace DTXMania
507505 Trace.TraceInformation("MaxTextureWidth = " + base.GraphicsDeviceManager.Direct3D9.Device.Capabilities.MaxTextureWidth);
508506 Trace.TraceInformation("MaxTextureHeight = " + base.GraphicsDeviceManager.Direct3D9.Device.Capabilities.MaxTextureHeight);
509507 Trace.TraceInformation("TextureCaps = " + base.GraphicsDeviceManager.Direct3D9.Device.Capabilities.TextureCaps.ToString());
508+ Trace.TraceInformation("DeviceInformation= " + base.GraphicsDeviceManager.DeviceInformation.ToString());
509+ Trace.TraceInformation("DeviceStatics = " + base.GraphicsDeviceManager.DeviceStatistics.ToString());
510510
511511 base.IsFixedTimeStep = false;
512512 // base.TargetElapsedTime = TimeSpan.FromTicks( 10000000 / 75 );
@@ -968,8 +968,8 @@ namespace DTXMania
968968 this.Device.SetTransform(TransformState.View, Matrix.LookAtLH(new Vector3(0f, 0f, (float)(-SampleFramework.GameWindowSize.Height / 2 * Math.Sqrt(3.0))), new Vector3(0f, 0f, 0f), new Vector3(0f, 1f, 0f)));
969969 this.Device.SetTransform(TransformState.Projection, Matrix.PerspectiveFovLH(C変換.DegreeToRadian((float)60f), ((float)this.Device.Viewport.Width) / ((float)this.Device.Viewport.Height), -100f, 100f));
970970 this.Device.SetRenderState(RenderState.Lighting, false);
971- this.Device.SetRenderState(RenderState.ZEnable, false);
972- this.Device.SetRenderState(RenderState.AntialiasedLineEnable, false);
971+ this.Device.SetRenderState(RenderState.ZEnable, true);
972+ this.Device.SetRenderState(RenderState.AntialiasedLineEnable, true);
973973 this.Device.SetRenderState(RenderState.AlphaTestEnable, true);
974974 this.Device.SetRenderState(RenderState.AlphaRef, 10);
975975
--- a/FDK/コード/01.フレームワーク/Rendering/GraphicsDeviceManager.cs
+++ b/FDK/コード/01.フレームワーク/Rendering/GraphicsDeviceManager.cs
@@ -683,9 +683,9 @@ namespace SampleFramework
683683 builder.AppendFormat( " ({0})", Enum.GetName( typeof( SharpDX.Direct3D9.Format ), CurrentSettings.Direct3D9.PresentParameters.AutoDepthStencilFormat ) );
684684
685685 if( CurrentSettings.Direct3D9.PresentParameters.MultiSampleType == MultisampleType.NonMaskable )
686- builder.Append( " (Nonmaskable Multisample)" );
686+ builder.AppendFormat( " (Nonmaskable Multisample {0}x)", (int)CurrentSettings.Direct3D9.PresentParameters.MultiSampleQuality);
687687 else if( CurrentSettings.Direct3D9.PresentParameters.MultiSampleType != MultisampleType.None )
688- builder.AppendFormat( " ({0}x Multisample)", (int) CurrentSettings.Direct3D9.PresentParameters.MultiSampleQuality );
688+ builder.AppendFormat( " (Multisample {0}x Type={1})", (int) CurrentSettings.Direct3D9.PresentParameters.MultiSampleQuality, CurrentSettings.Direct3D9.PresentParameters.MultiSampleType.ToString() );
689689
690690 DeviceStatistics = builder.ToString();
691691 }
旧リポジトリブラウザで表示