Browse Source

Added UseCustomVertex Sample and Colored3DCube.

Kenneth Pouncey 13 years ago
parent
commit
67ec1d5c5c

+ 60 - 0
Samples/MacOS/Colored3DCube/Colored3DCube.csproj

@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+    <ProductVersion>10.0.0</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{CF7A194A-CF38-4379-909F-1B5FFB8F79C4}</ProjectGuid>
+    <ProjectTypeGuids>{948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>Colored3DCube</RootNamespace>
+    <AssemblyName>Colored3DCube</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug</OutputPath>
+    <DefineConstants>DEBUG; MAC</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <PlatformTarget>x86</PlatformTarget>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <PlatformTarget>x86</PlatformTarget>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="MonoMac" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Info.plist" />
+    <None Include="Game.ico" />
+    <None Include="GameThumbnail.png" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" />
+  <ItemGroup>
+    <Compile Include="Game1.cs" />
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.MacOS.csproj">
+      <Project>{36C538E6-C32A-4A8D-A39C-566173D7118E}</Project>
+      <Name>MonoGame.Framework.MacOS</Name>
+    </ProjectReference>
+  </ItemGroup>
+</Project>

BIN
Samples/MacOS/Colored3DCube/Game.ico


+ 192 - 0
Samples/MacOS/Colored3DCube/Game1.cs

@@ -0,0 +1,192 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Content;
+using Microsoft.Xna.Framework.Graphics;
+using Microsoft.Xna.Framework.Input;
+
+namespace Colored3DCube
+{
+	public class Game1 : Game
+	{
+
+		GraphicsDeviceManager graphics;
+		KeyboardState currentKeys;
+		BasicEffect basicEffect;
+
+		Matrix worldMatrix, viewMatrix, projectionMatrix;
+
+		public Game1 ()
+		{
+			graphics = new GraphicsDeviceManager (this);
+			Content.RootDirectory = "Content";
+		}
+
+		protected override void Initialize ()
+		{
+			base.Initialize ();
+		}
+
+		protected override void LoadContent ()
+		{
+
+			// setup our graphics scene matrices
+			worldMatrix = Matrix.Identity;
+			viewMatrix = Matrix.CreateLookAt (new Vector3 (0, 0, 5), Vector3.Zero, Vector3.Up);
+			projectionMatrix = Matrix.CreatePerspectiveFieldOfView (MathHelper.PiOver4, GraphicsDevice.Viewport.AspectRatio, 1, 10);
+
+			// Setup our basic effect
+			basicEffect = new BasicEffect (GraphicsDevice);
+			basicEffect.World = worldMatrix;
+			basicEffect.View = viewMatrix;
+			basicEffect.Projection = projectionMatrix;
+			basicEffect.VertexColorEnabled = true;
+
+			CreateCubeVertexBuffer ();
+			CreateCubeIndexBuffer ();
+		}
+
+		protected override void UnloadContent ()
+		{
+		}
+
+		protected override void Update (GameTime gameTime)
+		{
+			currentKeys = Keyboard.GetState ();
+
+			//Press Esc To Exit
+			if (currentKeys.IsKeyDown (Keys.Escape))
+				this.Exit ();
+
+
+			//Press Directional Keys to rotate cube
+			if (currentKeys.IsKeyDown (Keys.Up))
+				worldMatrix *= Matrix.CreateRotationX (-0.05f);
+			if (currentKeys.IsKeyDown (Keys.Down))
+				worldMatrix *= Matrix.CreateRotationX (0.05f);
+			if (currentKeys.IsKeyDown (Keys.Left))
+				worldMatrix *= Matrix.CreateRotationY (-0.05f);
+			if (currentKeys.IsKeyDown (Keys.Right))
+				worldMatrix *= Matrix.CreateRotationY (0.05f);
+
+			base.Update (gameTime);
+		}
+
+		protected override void Draw (GameTime gameTime)
+		{
+			GraphicsDevice.Clear (Color.CornflowerBlue);
+
+			GraphicsDevice.SetVertexBuffer (vertices);
+			GraphicsDevice.Indices = indices;
+
+			//RasterizerState rasterizerState1 = new RasterizerState ();
+			//rasterizerState1.CullMode = CullMode.None;
+			//graphics.GraphicsDevice.RasterizerState = rasterizerState1;
+
+			basicEffect.World = worldMatrix;
+			basicEffect.View = viewMatrix;
+			basicEffect.Projection = projectionMatrix;
+
+			foreach (EffectPass pass in basicEffect.CurrentTechnique.Passes) {
+				pass.Apply ();
+
+				GraphicsDevice.DrawIndexedPrimitives (PrimitiveType.TriangleList, 0, 0,
+					number_of_vertices, 0, number_of_indices / 3);
+
+			}
+			base.Draw (gameTime);
+		}
+
+		const int number_of_vertices = 8;
+		const int number_of_indices = 36;
+		VertexBuffer vertices;
+
+		void CreateCubeVertexBuffer ()
+		{
+			VertexPositionColor[] cubeVertices = new VertexPositionColor[number_of_vertices];
+
+			cubeVertices [0].Position = new Vector3 (-1, -1, -1);
+			cubeVertices [1].Position = new Vector3 (-1, -1, 1);
+			cubeVertices [2].Position = new Vector3 (1, -1, 1);
+			cubeVertices [3].Position = new Vector3 (1, -1, -1);
+			cubeVertices [4].Position = new Vector3 (-1, 1, -1);
+			cubeVertices [5].Position = new Vector3 (-1, 1, 1);
+			cubeVertices [6].Position = new Vector3 (1, 1, 1);
+			cubeVertices [7].Position = new Vector3 (1, 1, -1);
+
+			cubeVertices [0].Color = Color.Black;
+			cubeVertices [1].Color = Color.Red;
+			cubeVertices [2].Color = Color.Yellow;
+			cubeVertices [3].Color = Color.Green;
+			cubeVertices [4].Color = Color.Blue;
+			cubeVertices [5].Color = Color.Magenta;
+			cubeVertices [6].Color = Color.White;
+			cubeVertices [7].Color = Color.Cyan;
+
+			vertices = new VertexBuffer (GraphicsDevice, VertexPositionColor.VertexDeclaration, number_of_vertices, BufferUsage.WriteOnly);
+			vertices.SetData<VertexPositionColor> (cubeVertices);
+		}
+
+		IndexBuffer indices;
+
+		void CreateCubeIndexBuffer ()
+		{
+			UInt16[] cubeIndices = new UInt16[number_of_indices];
+
+			//bottom face
+			cubeIndices [0] = 0;
+			cubeIndices [1] = 2;
+			cubeIndices [2] = 3;
+			cubeIndices [3] = 0;
+			cubeIndices [4] = 1;
+			cubeIndices [5] = 2;
+
+			//top face
+			cubeIndices [6] = 4;
+			cubeIndices [7] = 6;
+			cubeIndices [8] = 5;
+			cubeIndices [9] = 4;
+			cubeIndices [10] = 7;
+			cubeIndices [11] = 6;
+
+			//front face
+			cubeIndices [12] = 5;
+			cubeIndices [13] = 2;
+			cubeIndices [14] = 1;
+			cubeIndices [15] = 5;
+			cubeIndices [16] = 6;
+			cubeIndices [17] = 2;
+
+			//back face
+			cubeIndices [18] = 0;
+			cubeIndices [19] = 7;
+			cubeIndices [20] = 4;
+			cubeIndices [21] = 0;
+			cubeIndices [22] = 3;
+			cubeIndices [23] = 7;
+
+			//left face
+			cubeIndices [24] = 0;
+			cubeIndices [25] = 4;
+			cubeIndices [26] = 1;
+			cubeIndices [27] = 1;
+			cubeIndices [28] = 4;
+			cubeIndices [29] = 5;
+
+			//right face
+			cubeIndices [30] = 2;
+			cubeIndices [31] = 6;
+			cubeIndices [32] = 3;
+			cubeIndices [33] = 3;
+			cubeIndices [34] = 6;
+			cubeIndices [35] = 7;
+
+			indices = new IndexBuffer (GraphicsDevice, IndexElementSize.SixteenBits, number_of_indices, BufferUsage.WriteOnly);
+			indices.SetData<UInt16> (cubeIndices);
+
+		}
+
+	}
+
+}

BIN
Samples/MacOS/Colored3DCube/GameThumbnail.png


+ 16 - 0
Samples/MacOS/Colored3DCube/Info.plist

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleIdentifier</key>
+	<string>com.yourcompany.Colored3DCube</string>
+	<key>CFBundleName</key>
+	<string>Colored3DCube</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+	<key>LSMinimumSystemVersion</key>
+	<string>10.6</string>
+	<key>NSPrincipalClass</key>
+	<string>NSApplication</string>
+</dict>
+</plist>

+ 55 - 0
Samples/MacOS/Colored3DCube/Program.cs

@@ -0,0 +1,55 @@
+using System;
+
+namespace Colored3DCube
+{
+#if WINDOWS || XBOX
+    static class Program
+    {
+        /// <summary>
+        /// The main entry point for the application.
+        /// </summary>
+        static void Main(string[] args)
+        {
+            using (Game1 game = new Game1())
+            {
+                game.Run();
+            }
+        }
+    }
+#endif
+#if MAC
+
+	static class Program
+	{	
+		/// <summary>
+		/// The main entry point for the application.
+		/// </summary>
+		static void Main (string[] args)
+		{
+			MonoMac.AppKit.NSApplication.Init ();
+			
+			using (var p = new MonoMac.Foundation.NSAutoreleasePool ()) {
+				MonoMac.AppKit.NSApplication.SharedApplication.Delegate = new AppDelegate();
+				MonoMac.AppKit.NSApplication.Main(args);
+			}
+		}
+	}
+	
+	class AppDelegate : MonoMac.AppKit.NSApplicationDelegate
+	{
+		
+		public override void FinishedLaunching (MonoMac.Foundation.NSObject notification)
+		{
+			using (Game1 game = new Game1()) {
+				game.Run ();
+			}
+		}
+		
+		public override bool ApplicationShouldTerminateAfterLastWindowClosed (MonoMac.AppKit.NSApplication sender)
+		{
+			return true;
+		}
+	}
+#endif
+}
+

+ 34 - 0
Samples/MacOS/Colored3DCube/Properties/AssemblyInfo.cs

@@ -0,0 +1,34 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("ILSCubeColorsEnd")]
+[assembly: AssemblyProduct("ILSCubeColorsEnd")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type. Only Windows
+// assemblies support COM.
+[assembly: ComVisible(false)]
+
+// On Windows, the following GUID is for the ID of the typelib if this
+// project is exposed to COM. On other platforms, it unique identifies the
+// title storage container when deploying this assembly to the device.
+[assembly: Guid("774b1f3a-215c-44d5-9b41-9c0dbddda3dd")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+[assembly: AssemblyVersion("1.0.0.0")]

BIN
Samples/MacOS/StateObjectWindows/Game1.cs


+ 6 - 0
Samples/MacOS/UseCustomVertex/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+  <startup useLegacyV2RuntimeActivationPolicy="true">
+    <supportedRuntime version="v4.0"/>
+  </startup>
+</configuration>

BIN
Samples/MacOS/UseCustomVertex/Content/XNA_pow2.jpg


BIN
Samples/MacOS/UseCustomVertex/Content/XNA_pow2.xnb


BIN
Samples/MacOS/UseCustomVertex/CustomVertex.cs


BIN
Samples/MacOS/UseCustomVertex/Game.ico


BIN
Samples/MacOS/UseCustomVertex/Game1.cs


BIN
Samples/MacOS/UseCustomVertex/GameThumbnail.png


+ 16 - 0
Samples/MacOS/UseCustomVertex/Info.plist

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleIdentifier</key>
+	<string>com.yourcompany.UseCustomVertex</string>
+	<key>CFBundleName</key>
+	<string>UseCustomVertex</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+	<key>LSMinimumSystemVersion</key>
+	<string>10.6</string>
+	<key>NSPrincipalClass</key>
+	<string>NSApplication</string>
+</dict>
+</plist>

+ 64 - 0
Samples/MacOS/UseCustomVertex/Program.cs

@@ -0,0 +1,64 @@
+#region File Description
+//-----------------------------------------------------------------------------
+// Program.cs
+//
+// Microsoft XNA Community Game Platform
+// Copyright (C) Microsoft Corporation. All rights reserved.
+//-----------------------------------------------------------------------------
+#endregion
+
+using System;
+
+namespace UseCustomVertexWindows
+{
+#if WINDOWS || XBOX
+    static class Program
+    {
+        /// <summary>
+        /// The main entry point for the application.
+        /// </summary>
+        static void Main(string[] args)
+        {
+            using (Game1 game = new Game1())
+            {
+                game.Run();
+            }
+        }
+    }
+#endif
+#if MAC
+
+	static class Program
+	{	
+		/// <summary>
+		/// The main entry point for the application.
+		/// </summary>
+		static void Main (string[] args)
+		{
+			MonoMac.AppKit.NSApplication.Init ();
+			
+			using (var p = new MonoMac.Foundation.NSAutoreleasePool ()) {
+				MonoMac.AppKit.NSApplication.SharedApplication.Delegate = new AppDelegate();
+				MonoMac.AppKit.NSApplication.Main(args);
+			}
+		}
+	}
+	
+	class AppDelegate : MonoMac.AppKit.NSApplicationDelegate
+	{
+		
+		public override void FinishedLaunching (MonoMac.Foundation.NSObject notification)
+		{
+			using (Game1 game = new Game1()) {
+				game.Run ();
+			}
+		}
+		
+		public override bool ApplicationShouldTerminateAfterLastWindowClosed (MonoMac.AppKit.NSApplication sender)
+		{
+			return true;
+		}
+	}
+#endif
+}
+

BIN
Samples/MacOS/UseCustomVertex/Properties/AssemblyInfo.cs


+ 69 - 0
Samples/MacOS/UseCustomVertex/UseCustomVertex.csproj

@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+    <ProductVersion>10.0.0</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{2E7EF8E4-5662-4E24-A23E-860CA89334C1}</ProjectGuid>
+    <ProjectTypeGuids>{948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>UseCustomVertex</RootNamespace>
+    <AssemblyName>UseCustomVertex</AssemblyName>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug</OutputPath>
+    <DefineConstants>DEBUG; MAC</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <PlatformTarget>x86</PlatformTarget>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <PlatformTarget>x86</PlatformTarget>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="MonoMac" />
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Info.plist" />
+    <None Include="App.config" />
+    <None Include="Game.ico" />
+    <None Include="GameThumbnail.png" />
+    <None Include="Content\XNA_pow2.jpg" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" />
+  <ItemGroup>
+    <Compile Include="CustomVertex.cs" />
+    <Compile Include="Game1.cs" />
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.MacOS.csproj">
+      <Project>{36C538E6-C32A-4A8D-A39C-566173D7118E}</Project>
+      <Name>MonoGame.Framework.MacOS</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Folder Include="Content\" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="Content\XNA_pow2.xnb" />
+  </ItemGroup>
+</Project>

BIN
Tests/MacOS/PrimitivesTest/Game1.cs


+ 17 - 1
Tests/MonoGame.Tests.MacOS.sln

@@ -19,6 +19,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TexturedQuad", "..\Samples\
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "StateObjectWindows", "..\Samples\MacOS\StateObjectWindows\StateObjectWindows.csproj", "{51147863-7B4E-4467-A5FA-986259EB686F}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UseCustomVertex", "..\Samples\MacOS\UseCustomVertex\UseCustomVertex.csproj", "{2E7EF8E4-5662-4E24-A23E-860CA89334C1}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Colored3DCube", "..\Samples\MacOS\Colored3DCube\Colored3DCube.csproj", "{CF7A194A-CF38-4379-909F-1B5FFB8F79C4}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|x86 = Debug|x86
@@ -32,6 +36,12 @@ Global
 		{2DDBFED4-9955-4F02-9937-B9AE82836329}.Distribution|Any CPU.Build.0 = Debug|Any CPU
 		{2DDBFED4-9955-4F02-9937-B9AE82836329}.Release|x86.ActiveCfg = Release|Any CPU
 		{2DDBFED4-9955-4F02-9937-B9AE82836329}.Release|x86.Build.0 = Release|Any CPU
+		{2E7EF8E4-5662-4E24-A23E-860CA89334C1}.Debug|x86.ActiveCfg = Debug|x86
+		{2E7EF8E4-5662-4E24-A23E-860CA89334C1}.Debug|x86.Build.0 = Debug|x86
+		{2E7EF8E4-5662-4E24-A23E-860CA89334C1}.Distribution|Any CPU.ActiveCfg = Debug|x86
+		{2E7EF8E4-5662-4E24-A23E-860CA89334C1}.Distribution|Any CPU.Build.0 = Debug|x86
+		{2E7EF8E4-5662-4E24-A23E-860CA89334C1}.Release|x86.ActiveCfg = Release|x86
+		{2E7EF8E4-5662-4E24-A23E-860CA89334C1}.Release|x86.Build.0 = Release|x86
 		{36C538E6-C32A-4A8D-A39C-566173D7118E}.Debug|x86.ActiveCfg = Debug|Any CPU
 		{36C538E6-C32A-4A8D-A39C-566173D7118E}.Debug|x86.Build.0 = Debug|Any CPU
 		{36C538E6-C32A-4A8D-A39C-566173D7118E}.Distribution|Any CPU.ActiveCfg = Distribution|Any CPU
@@ -68,6 +78,12 @@ Global
 		{CB7B2B69-7640-4225-89F3-CE3BF428F2F3}.Distribution|Any CPU.Build.0 = Debug|Any CPU
 		{CB7B2B69-7640-4225-89F3-CE3BF428F2F3}.Release|x86.ActiveCfg = Release|Any CPU
 		{CB7B2B69-7640-4225-89F3-CE3BF428F2F3}.Release|x86.Build.0 = Release|Any CPU
+		{CF7A194A-CF38-4379-909F-1B5FFB8F79C4}.Debug|x86.ActiveCfg = Debug|x86
+		{CF7A194A-CF38-4379-909F-1B5FFB8F79C4}.Debug|x86.Build.0 = Debug|x86
+		{CF7A194A-CF38-4379-909F-1B5FFB8F79C4}.Distribution|Any CPU.ActiveCfg = Debug|x86
+		{CF7A194A-CF38-4379-909F-1B5FFB8F79C4}.Distribution|Any CPU.Build.0 = Debug|x86
+		{CF7A194A-CF38-4379-909F-1B5FFB8F79C4}.Release|x86.ActiveCfg = Release|x86
+		{CF7A194A-CF38-4379-909F-1B5FFB8F79C4}.Release|x86.Build.0 = Release|x86
 		{E251B0C1-ED74-4210-A0D5-9E4710FEA61F}.Debug|x86.ActiveCfg = Debug|x86
 		{E251B0C1-ED74-4210-A0D5-9E4710FEA61F}.Debug|x86.Build.0 = Debug|x86
 		{E251B0C1-ED74-4210-A0D5-9E4710FEA61F}.Distribution|Any CPU.ActiveCfg = Debug|x86
@@ -82,7 +98,7 @@ Global
 		{ECD1D53E-F50A-4299-9B0F-2F64D6063513}.Release|x86.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(MonoDevelopProperties) = preSolution
-		StartupItem = ..\Samples\MacOS\StateObjectWindows\StateObjectWindows.csproj
+		StartupItem = ..\Samples\MacOS\Colored3DCube\Colored3DCube.csproj
 		Policies = $0
 		$0.TextStylePolicy = $1
 		$1.FileWidth = 120