From c4fe773af62568475078d3adfea9c9ae8c1335ed Mon Sep 17 00:00:00 2001 From: Glatzemann Date: Thu, 9 Aug 2012 20:53:18 +0000 Subject: [PATCH] added PlatformSystems to: - ModelSample (there is a timing issue) - MultiRenderTarget (not yet implemented) - Primitives (not completly implemented) - RecordingSample - RenderTarget - StencilBuffer - TextRendering - VertexIndexBuffer Most of the samples are now working again. --- Samples/ModelSample/ModelSample/Game1.cs | 2 +- Samples/ModelSample/ModelSample/ModelSample.csproj | 4 ++++ Samples/MultiRenderTarget/MultiRenderTarget.csproj | 4 ++++ Samples/Primitives/Primitives.csproj | 4 ++++ Samples/RecordingSample/RecordingSample.csproj | 4 ++++ Samples/RenderTarget/RenderTarget.csproj | 4 ++++ Samples/StencilBuffer/StencilBuffer.csproj | 4 ++++ Samples/TextRendering/TextRendering.csproj | 4 ++++ Samples/VertexIndexBuffer/VertexIndexBuffer.csproj | 4 ++++ 9 files changed, 33 insertions(+), 1 deletion(-) diff --git a/Samples/ModelSample/ModelSample/Game1.cs b/Samples/ModelSample/ModelSample/Game1.cs index d9cdf28a..ff793f63 100644 --- a/Samples/ModelSample/ModelSample/Game1.cs +++ b/Samples/ModelSample/ModelSample/Game1.cs @@ -71,7 +71,7 @@ namespace ModelSample this.Exit(); const float speed = 0.000001f; - float rotation = (float)gameTime.TotalGameTime.TotalSeconds * speed; + float rotation = (float)gameTime.TotalGameTime.TotalSeconds * speed; world = Matrix.CreateRotationX(rotation) * Matrix.CreateRotationY(rotation) * Matrix.CreateRotationZ(rotation); diff --git a/Samples/ModelSample/ModelSample/ModelSample.csproj b/Samples/ModelSample/ModelSample/ModelSample.csproj index 48295069..6c40d975 100644 --- a/Samples/ModelSample/ModelSample/ModelSample.csproj +++ b/Samples/ModelSample/ModelSample/ModelSample.csproj @@ -142,6 +142,10 @@ {97185A92-077D-4498-8B6A-8BFF04079044} ANX.MediaSystem.Windows.OpenAL + + {068EB2E9-963C-4E1B-8831-E25011F11FFE} + ANX.PlatformSystem.Windows + {5BE49183-2F6F-4527-AC90-D816911FCF90} ANX.Framework.Windows.DX10 diff --git a/Samples/MultiRenderTarget/MultiRenderTarget.csproj b/Samples/MultiRenderTarget/MultiRenderTarget.csproj index d856c466..1a45af1e 100644 --- a/Samples/MultiRenderTarget/MultiRenderTarget.csproj +++ b/Samples/MultiRenderTarget/MultiRenderTarget.csproj @@ -137,6 +137,10 @@ {97185A92-077D-4498-8B6A-8BFF04079044} ANX.MediaSystem.Windows.OpenAL + + {068EB2E9-963C-4E1B-8831-E25011F11FFE} + ANX.PlatformSystem.Windows + {5BE49183-2F6F-4527-AC90-D816911FCF90} ANX.Framework.Windows.DX10 diff --git a/Samples/Primitives/Primitives.csproj b/Samples/Primitives/Primitives.csproj index eb0ea067..ed83acd6 100644 --- a/Samples/Primitives/Primitives.csproj +++ b/Samples/Primitives/Primitives.csproj @@ -116,6 +116,10 @@ {97185A92-077D-4498-8B6A-8BFF04079044} ANX.MediaSystem.Windows.OpenAL + + {068EB2E9-963C-4E1B-8831-E25011F11FFE} + ANX.PlatformSystem.Windows + {5BE49183-2F6F-4527-AC90-D816911FCF90} ANX.Framework.Windows.DX10 diff --git a/Samples/RecordingSample/RecordingSample.csproj b/Samples/RecordingSample/RecordingSample.csproj index 61479873..dd383125 100644 --- a/Samples/RecordingSample/RecordingSample.csproj +++ b/Samples/RecordingSample/RecordingSample.csproj @@ -117,6 +117,10 @@ {97185A92-077D-4498-8B6A-8BFF04079044} ANX.MediaSystem.Windows.OpenAL + + {068EB2E9-963C-4E1B-8831-E25011F11FFE} + ANX.PlatformSystem.Windows + {5BE49183-2F6F-4527-AC90-D816911FCF90} ANX.Framework.Windows.DX10 diff --git a/Samples/RenderTarget/RenderTarget.csproj b/Samples/RenderTarget/RenderTarget.csproj index 90c5a8ed..5f020e31 100644 --- a/Samples/RenderTarget/RenderTarget.csproj +++ b/Samples/RenderTarget/RenderTarget.csproj @@ -117,6 +117,10 @@ {97185A92-077D-4498-8B6A-8BFF04079044} ANX.MediaSystem.Windows.OpenAL + + {068EB2E9-963C-4E1B-8831-E25011F11FFE} + ANX.PlatformSystem.Windows + {5BE49183-2F6F-4527-AC90-D816911FCF90} ANX.Framework.Windows.DX10 diff --git a/Samples/StencilBuffer/StencilBuffer.csproj b/Samples/StencilBuffer/StencilBuffer.csproj index 257ae785..e950d952 100644 --- a/Samples/StencilBuffer/StencilBuffer.csproj +++ b/Samples/StencilBuffer/StencilBuffer.csproj @@ -152,6 +152,10 @@ {97185A92-077D-4498-8B6A-8BFF04079044} ANX.MediaSystem.Windows.OpenAL + + {068EB2E9-963C-4E1B-8831-E25011F11FFE} + ANX.PlatformSystem.Windows + {5BE49183-2F6F-4527-AC90-D816911FCF90} ANX.Framework.Windows.DX10 diff --git a/Samples/TextRendering/TextRendering.csproj b/Samples/TextRendering/TextRendering.csproj index 8658df25..5f988e68 100644 --- a/Samples/TextRendering/TextRendering.csproj +++ b/Samples/TextRendering/TextRendering.csproj @@ -117,6 +117,10 @@ {97185A92-077D-4498-8B6A-8BFF04079044} ANX.MediaSystem.Windows.OpenAL + + {068EB2E9-963C-4E1B-8831-E25011F11FFE} + ANX.PlatformSystem.Windows + {5BE49183-2F6F-4527-AC90-D816911FCF90} ANX.Framework.Windows.DX10 diff --git a/Samples/VertexIndexBuffer/VertexIndexBuffer.csproj b/Samples/VertexIndexBuffer/VertexIndexBuffer.csproj index 4b9cf955..b57a7a0f 100644 --- a/Samples/VertexIndexBuffer/VertexIndexBuffer.csproj +++ b/Samples/VertexIndexBuffer/VertexIndexBuffer.csproj @@ -116,6 +116,10 @@ {97185A92-077D-4498-8B6A-8BFF04079044} ANX.MediaSystem.Windows.OpenAL + + {068EB2E9-963C-4E1B-8831-E25011F11FFE} + ANX.PlatformSystem.Windows + {5BE49183-2F6F-4527-AC90-D816911FCF90} ANX.Framework.Windows.DX10