You can subscribe to this list here.
2009 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(5) |
Aug
|
Sep
(1) |
Oct
(5) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
|
Feb
(1) |
Mar
(5) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(1) |
Dec
(1) |
2011 |
Jan
|
Feb
(12) |
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
From: <bor...@us...> - 2011-11-02 18:59:01
|
Revision: 288 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=288&view=rev Author: borrillis Date: 2011-11-02 18:58:55 +0000 (Wed, 02 Nov 2011) Log Message: ----------- Remove binary folders Removed Paths: ------------- AxiomContrib.Samples/trunk/Source/Kinect/bin/ AxiomContrib.Samples/trunk/Source/Kinect/obj/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-11-02 18:57:13
|
Revision: 287 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=287&view=rev Author: borrillis Date: 2011-11-02 18:57:07 +0000 (Wed, 02 Nov 2011) Log Message: ----------- Copy OpenNI sample for Kinect Modified Paths: -------------- AxiomContrib.Samples/trunk/Source/Kinect/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache Added Paths: ----------- AxiomContrib.Samples/trunk/Source/Kinect/ Modified: AxiomContrib.Samples/trunk/Source/Kinect/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-03-03 17:44:26
|
Revision: 274 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=274&view=rev Author: borrillis Date: 2011-03-03 17:44:19 +0000 (Thu, 03 Mar 2011) Log Message: ----------- Added AxiomConsole to DejaVue Sample Modified Paths: -------------- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/DejaVueSample.cs Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/SharpGorrilla.Samples.2010.csproj Added Paths: ----------- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/AxiomConsole.cs Added: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/AxiomConsole.cs =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/AxiomConsole.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/AxiomConsole.cs 2011-03-03 17:44:19 UTC (rev 274) @@ -0,0 +1,348 @@ +#region MIT License +/* +----------------------------------------------------------------------------- +This source file is part of the Jitter Sample +Jitter Physics Engine Copyright (c) 2010 Thorben Linneweber (ad...@ji...) + +This a port for Axiom of samples using Jitter Physics Engine, +developed by Thorben Linneweber and ported by Francesco Guastella (aka romeoxbm). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +----------------------------------------------------------------------------- +*/ +#endregion + +#region Using Statements + +using System; +using System.Collections.Generic; +using System.Reflection; +using Axiom.Core; +using Axiom.Math; +using Axiom.Samples; +using SharpGorilla; + +#endregion +using System; +using System.Collections.Generic; +using SharpGorilla; +using Axiom.Core; +using System.Runtime.InteropServices; + +namespace SharpGorilla.Samples +{ + public class AxiomConsole + { + const int CONSOLE_FONT_INDEX = 9; + const int CONSOLE_LINE_LENGTH = 85; + const int CONSOLE_LINE_COUNT = 15; + //const char[] legalchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890+!\"'#%&/()=?[]\\*-_.:,; ".ToCharArray(); + char[] legalchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890+!\"'#%&/()=?[]\\*-_.:,; ".ToCharArray(); + public delegate void CommandDelegate(List<string> list); + private Screen _screen; + private Layer _layer; + private Caption _promptText; + private MarkupText _consoleText; + private SharpGorilla.Rectangle _decoration; + private GlyphData _glyphData; + private bool _updateConsole; + private bool _updatePrompt; + private int _startLine; + private string _prompt = string.Empty; + private List<string> _lines = new List<string>(); + private Dictionary<string, CommandDelegate> _commands = new Dictionary<string, CommandDelegate>(); + //Input input; + protected float _cursorBlink = .5f; + /// <summary> + /// + /// </summary> + public bool IsVisible + { + get; + set; + } + /// <summary> + /// + /// </summary> + public bool IsInitialized + { + get; + protected set; + } + /// <summary> + /// + /// </summary> + public AxiomConsole() + { + IsVisible = true; + } + + void FrameEnded(object sender, FrameEventArgs e) + { + + } + bool _promptVisible = true; + void FrameStarted(object sender, FrameEventArgs e) + { + _cursorBlink -= e.TimeSinceLastFrame; + if (_cursorBlink <= 0) + { + if (_promptVisible) + { + _prompt = _prompt.Replace("_", ""); + _promptVisible = false; + + } + else + { + _promptVisible = true; + } + _cursorBlink = .5f; + _updatePrompt = true; + } + + if (_updateConsole) + UpdateConsole(); + if (_updatePrompt) + UpdatePrompt(); + + } + + public void OnKeyPressed( SharpInputSystem.KeyEventArgs args ) + { + switch ( args.Key ) + { + case SharpInputSystem.KeyCode.Key_F1: + IsVisible = !IsVisible; + _layer.IsVisible = IsVisible; + break; + + case SharpInputSystem.KeyCode.Key_RETURN: + if ( !IsVisible && IsInitialized ) + return; + + Print("%3> " + _prompt + "%R"); + + //split the parameter list + string[] split = _prompt.Split(' '); + + if (split.Length > 0 && !(split[0] == "")) + { + foreach (KeyValuePair<string, CommandDelegate> del in _commands) + { + if (split[0].ToLower() == del.Key) + if (del.Value != null) + { + List<string> pass = new List<string>(); + pass.AddRange(split); + del.Value(pass); + break; + } + } + + _prompt = string.Empty; + _updateConsole = true; + _updatePrompt = true; + } + break; + + case SharpInputSystem.KeyCode.Key_BACK: + if ( !IsVisible && IsInitialized ) + return; + if (_prompt.Length > 0) + { + _prompt = _prompt.Remove(_prompt.Length - 1); + _updatePrompt = true; + } + break; + + case SharpInputSystem.KeyCode.Key_PGUP: + if ( !IsVisible && IsInitialized ) + return; + if (_startLine > 0) + _startLine--; + _updateConsole = true; + break; + + case SharpInputSystem.KeyCode.Key_PGDOWN: + if ( !IsVisible && IsInitialized ) + return; + if (_startLine < _lines.Count) + _startLine++; + _updateConsole = true; + break; + + case SharpInputSystem.KeyCode.Key_SPACE: + _prompt += " "; + _updatePrompt = true; + break; + default: + if ( !IsVisible && IsInitialized ) + return; + for ( int c = 0; c < legalchars.Length; c++ ) + if ( args.Key.ToString().Split( new char[] { '_'} )[1] == legalchars[ c ].ToString() ) + { + _prompt += legalchars[ c ].ToString().ToLower(); + _updatePrompt = true; + break; + } + break; + } + + } + /// <summary> + /// + /// </summary> + /// <param name="screenToUse"></param> + public void Init(Screen screenToUse) + { + if (IsInitialized) + Shutdown(); + + Root.Instance.FrameStarted += new EventHandler<FrameEventArgs>(FrameStarted); + Root.Instance.FrameEnded += new EventHandler<FrameEventArgs>(FrameEnded); + LogManager.Instance.DefaultLog.MessageLogged += new EventHandler<LogListenerEventArgs>(MessageLogged); + _screen = screenToUse; + _layer = _screen.CreateLayer(15); + _glyphData = _layer.GetGlyphData(CONSOLE_FONT_INDEX); + _consoleText = _layer.CreateMarkupText(CONSOLE_FONT_INDEX, 10, 10, string.Empty); + _consoleText.Width = _screen.Width - 10; + _promptText = _layer.CreateCaption(CONSOLE_FONT_INDEX, 10, 10, "> _"); + _decoration = _layer.CreateRectangle(8, 8, _screen.Width - 16, _glyphData.LineHeight); + _decoration.SetBackgroundGradient(Gradient.NorthSouth, Converter.ToRGB(128, 128, 128, 128), Converter.ToRGB(64, 64, 64, 128)); + _decoration.SetBorder(2, Converter.ToRGB(128, 128, 128, 128)); + //input = new Input(); + IsInitialized = true; + Print("%5Axiom%R%6Console%0 Activated. Press F1 to show/hide.%R"); + } + + void MessageLogged(object sender, LogListenerEventArgs e) + { + Print("Log: " + e.Message); + } + + /// <summary> + /// + /// </summary> + public void Shutdown() + { + if (!IsInitialized) + return; + + IsInitialized = false; + Root.Instance.FrameEnded -= FrameEnded; + Root.Instance.FrameStarted -= FrameStarted; + LogManager.Instance.DefaultLog.MessageLogged -= MessageLogged; + + _screen.Destroy(ref _layer); + } + /// <summary> + /// + /// </summary> + public void Print(string text) + { + //subdivide it into lines + string str = text; + int start = 0, count = 0; + int len = text.Length; + String line = string.Empty; + for (int c = 0; c < len; c++) + { + if (str[c] == '\n' || line.Length >= CONSOLE_LINE_LENGTH) + { + _lines.Add(line); + line = ""; + } + if (str[c] != '\n') + line += str[c]; + } + if (line.Length != 0) + _lines.Add(line); + if (_lines.Count > CONSOLE_LINE_COUNT) + _startLine = _lines.Count - CONSOLE_LINE_COUNT; + else + _startLine = 0; + _updateConsole = true; + } + /// <summary> + /// + /// </summary> + private void UpdateConsole() + { + _updateConsole = false; + + string text = string.Empty; + int i = 0; + int start = 0; + int end = _lines.Count; + //make sure is in range + if (_startLine > _lines.Count) + _startLine = _lines.Count; + + int lcount = 0; + + for (int c = 0; c < _startLine; c++) + start++; + end = start; + for (int c = 0; c < CONSOLE_LINE_COUNT; c++) + { + if (end == _lines.Count) + break; + end++; + } + for (i = start; i != end; i++) + { + lcount++; + text += _lines[i] + "\n"; + } + _consoleText.Text = text; + // Move prompt downwards. + _promptText.Top = 10 + (lcount * _glyphData.LineHeight); + + // Change background height so it covers the text and prompt + _decoration.Height = ((lcount + 1) * _glyphData.LineHeight) + 4; + + _consoleText.Width = _screen.Width - 20; + _decoration.Width = _screen.Width - 16; + _promptText.Width = _screen.Width - 20; + } + /// <summary> + /// + /// </summary> + private void UpdatePrompt() + { + _updatePrompt = false; + string text = string.Empty; + text = "> " + _prompt + (_promptVisible ? "_" : ""); + _promptText.Text = text; + } + + public void AddCommand(string command, CommandDelegate target) + { + _commands.Add(command, target); + } + public void RemoveCommand(string command) + { + } + + public void MessageLogged(string message, LogMessageLevel lml, bool maskDebug, string logName) + { + } + } +} Property changes on: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/AxiomConsole.cs ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Modified: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/DejaVueSample.cs =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/DejaVueSample.cs 2011-03-03 13:51:34 UTC (rev 273) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/DejaVueSample.cs 2011-03-03 17:44:19 UTC (rev 274) @@ -63,7 +63,7 @@ public MarkupText Markup { get; set; } Caption _fps; - //AxiomConsole _console; + AxiomConsole _console; public DejaVueSample() { @@ -101,15 +101,26 @@ Caption.HorizontalAlign = TextAlignment.Right; _fps = Layer.CreateCaption( 14, 0, vpH - 33, "" ); - //_console = new AxiomConsole(); - //_console.Init( Screen ); - //_console.AddCommand( "version", new AxiomConsole.CommandDelegate( PrintAxiomVersion ) ); - //_console.AddCommand( "make", new AxiomConsole.CommandDelegate( Make ) ); - //_console.AddCommand( "quit", new AxiomConsole.CommandDelegate( Quit ) ); + _console = new AxiomConsole(); + _console.Init( Screen ); + _console.AddCommand( "version", new AxiomConsole.CommandDelegate( PrintAxiomVersion ) ); + _console.AddCommand( "make", new AxiomConsole.CommandDelegate( Make ) ); + _console.AddCommand( "quit", new AxiomConsole.CommandDelegate( Quit ) ); base.SetupContent(); } + public override bool KeyPressed( SharpInputSystem.KeyEventArgs evt ) + { + if ( null != _console ) + { + _console.OnKeyPressed( evt ); + return true; + } + else + return base.KeyPressed( evt ); + } + public override void Paused() { Layer.Hide(); @@ -123,5 +134,51 @@ base.Unpaused(); } + + #region Console Commands + + public void PrintAxiomVersion( List<string> parms ) + { + _console.Print( Root.Instance.Version ); + + } + public void Quit( List<string> parms ) + { + Root.Instance.QueueEndRendering(); + } + + /// <summary> + /// + /// </summary> + /// <param name="parms"></param> + public void Make( List<string> parms ) + { + if ( parms.Count == 1 ) + _console.Print( "Make you what?" ); + else + { + string toMake = parms[ 1 ].ToLower(); + switch ( toMake ) + { + case "sandwich": + _console.Print( "Make it yourself!" ); + break; + case "universe": + _console.Print( "Boom!" ); + break; + case "axiom": + _console.Print( "Is a way cooler than Ogre :)" ); + break; + case "gorilla": + _console.Print( "He wouldn't like that!" ); + break; + default: + _console.Print( "Go check your fridge!" ); + break; + } + } + } + + #endregion } } Modified: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/SharpGorrilla.Samples.2010.csproj =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/SharpGorrilla.Samples.2010.csproj 2011-03-03 13:51:34 UTC (rev 273) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/SharpGorrilla.Samples.2010.csproj 2011-03-03 17:44:19 UTC (rev 274) @@ -64,6 +64,7 @@ <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> + <Compile Include="AxiomConsole.cs" /> <Compile Include="ThreeDSample.cs" /> <Compile Include="Plugin.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-03-03 13:51:40
|
Revision: 273 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=273&view=rev Author: borrillis Date: 2011-03-03 13:51:34 +0000 (Thu, 03 Mar 2011) Log Message: ----------- removed setting Modified Paths: -------------- Axiom.SharpGorilla/trunk/bin/win32/Axiom.Samples.Browser.exe.Config Modified: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Samples.Browser.exe.Config =================================================================== --- Axiom.SharpGorilla/trunk/bin/win32/Axiom.Samples.Browser.exe.Config 2011-03-02 22:36:04 UTC (rev 272) +++ Axiom.SharpGorilla/trunk/bin/win32/Axiom.Samples.Browser.exe.Config 2011-03-03 13:51:34 UTC (rev 273) @@ -27,7 +27,6 @@ <renderSystems> <renderSystem name="DirectX9"> <options> - <option name="Rendering Device" value="NVIDIA NVS 3100M " /> <option name="Video Mode" value="1280 x 720 @ 32-bit color" /> <option name="Full Screen" value="No" /> <option name="VSync" value="No" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-03-02 22:36:11
|
Revision: 272 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=272&view=rev Author: borrillis Date: 2011-03-02 22:36:04 +0000 (Wed, 02 Mar 2011) Log Message: ----------- ok, really, the sample project Added Paths: ----------- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/DejaVueSample.cs Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Plugin.cs Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Properties/ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Properties/AssemblyInfo.cs Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/SharpGorrilla.Samples.2010.csproj Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/ThreeDSample.cs Added: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/DejaVueSample.cs =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/DejaVueSample.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/DejaVueSample.cs 2011-03-02 22:36:04 UTC (rev 272) @@ -0,0 +1,127 @@ +#region MIT License +/* +----------------------------------------------------------------------------- +This source file is part of the Jitter Sample +Jitter Physics Engine Copyright (c) 2010 Thorben Linneweber (ad...@ji...) + +This a port for Axiom of samples using Jitter Physics Engine, +developed by Thorben Linneweber and ported by Francesco Guastella (aka romeoxbm). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +----------------------------------------------------------------------------- +*/ +#endregion + +#region Using Statements + +using System; +using System.Collections.Generic; +using System.Reflection; +using Axiom.Core; +using Axiom.Math; +using Axiom.Samples; +using SharpGorilla; + +#endregion + +namespace SharpGorilla.Samples +{ + + public class DejaVueSample : SdkSample + { + + public const string AtlasName = "dejavue"; + public Real Timer { get; set; } + public Real Timer2 { get; set; } + /// <summary> + /// + /// </summary> + public Screen Screen { get; set; } + public Silverback Silverback { get; set; } + public Layer Layer { get; set; } + public Polygon Poly { get; set; } + public LineList List { get; set; } + public Caption Caption { get; set; } + public SharpGorilla.Rectangle Rectangle { get; set; } + public QuadList QuadList { get; set; } + public MarkupText Markup { get; set; } + + Caption _fps; + //AxiomConsole _console; + + public DejaVueSample() + { + Metadata[ "Title" ] = "SharpGorilla DejaVue Sample"; + Metadata[ "Description" ] = "Demonstrates how to use SharpGorilla with Axiom."; + Metadata[ "Thumbnail" ] = "thumb_gorilla.png"; + Metadata[ "Category" ] = "Gui"; + } + + protected override void SetupContent() + { + // Create Silverback and load in dejavu + Silverback = new Silverback(); + Silverback.LoadAtlas( AtlasName ); + Screen = Silverback.CreateScreen( base.Viewport, AtlasName ); + Real vpW = base.Viewport.ActualWidth; + Real vpH = base.Viewport.ActualHeight; + + // Create our drawing layer + Layer = Screen.CreateLayer(); + Rectangle = Layer.CreateRectangle( 0, 0, vpW, vpH ); + Rectangle.SetBackgroundGradient( Gradient.Diagonal, Converter.ToRGB( 98, 0, 63 ), Converter.ToRGB( 255, 180, 174 ) ); + + Markup = Layer.CreateMarkupText( 9, 5, 5 + 80, "%@24%A Haiku\n%@14%Written by Betajaen%@14%\nAnd ported by Bostich%@9%\nSo many to choose from\nPretty typefaces on Axiom screen\nTime to update Git" ); + Caption = Layer.CreateCaption( 9, vpW - 55, 5 + 80, "9" ); + Caption.Width = 50; + Caption.HorizontalAlign = TextAlignment.Right; + Caption.Color = ColorEx.Yellow; + Caption = Layer.CreateCaption( 14, vpW - 55, 18 + 80, "14" ); + Caption.Width = 50; + Caption.HorizontalAlign = TextAlignment.Right; + + Caption = Layer.CreateCaption( 24, vpW - 55, 33 + 80, "14" ); + Caption.Width = 50; + Caption.HorizontalAlign = TextAlignment.Right; + + _fps = Layer.CreateCaption( 14, 0, vpH - 33, "" ); + //_console = new AxiomConsole(); + //_console.Init( Screen ); + //_console.AddCommand( "version", new AxiomConsole.CommandDelegate( PrintAxiomVersion ) ); + //_console.AddCommand( "make", new AxiomConsole.CommandDelegate( Make ) ); + //_console.AddCommand( "quit", new AxiomConsole.CommandDelegate( Quit ) ); + + base.SetupContent(); + } + + public override void Paused() + { + Layer.Hide(); + + base.Paused(); + } + + public override void Unpaused() + { + Layer.Show(); + + base.Unpaused(); + } + } +} Property changes on: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/DejaVueSample.cs ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Plugin.cs =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Plugin.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Plugin.cs 2011-03-02 22:36:04 UTC (rev 272) @@ -0,0 +1,45 @@ +#region MIT License +/* +----------------------------------------------------------------------------- +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +----------------------------------------------------------------------------- +*/ +#endregion + +#region Using Statements + +using System; +using Axiom.Samples; + +#endregion + +namespace SharpGorilla.Samples +{ + public class Plugin : SamplePlugin + { + + public override void Initialize() + { + Name = "Sharp Gorilla Samples"; + + AddSample( new DejaVueSample() ); + AddSample( new ThreeDSample() ); + } + } +} Property changes on: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Plugin.cs ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Properties/AssemblyInfo.cs =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Properties/AssemblyInfo.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Properties/AssemblyInfo.cs 2011-03-02 22:36:04 UTC (rev 272) @@ -0,0 +1,64 @@ +#region MIT License +/* +----------------------------------------------------------------------------- +This a port for Axiom of samples using SharpGorrilla. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +----------------------------------------------------------------------------- +*/ +#endregion + +using System.Reflection; +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( "SharpGorrilla.Samples" )] +[assembly: AssemblyDescription( "" )] +[assembly: AssemblyConfiguration( "" )] +[assembly: AssemblyProduct( "SharpGorrilla.Samples" )] +[assembly: AssemblyCompany( "Axiom Rendering Engine Project Team (http://axiom3d.net)" )] +[assembly: AssemblyCopyright( "Copyright © 2003-2011 Axiom Rendering Engine Project Team." )] +[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. +[assembly: ComVisible( false )] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid( "85fff7a0-3259-41f2-9cef-f89607122806" )] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion( "1.0.0.0" )] +#if !( XBOX || XBOX360 ) +[assembly: AssemblyFileVersion( "1.0.0.0" )] +#endif + Property changes on: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/Properties/AssemblyInfo.cs ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/SharpGorrilla.Samples.2010.csproj =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/SharpGorrilla.Samples.2010.csproj (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/SharpGorrilla.Samples.2010.csproj 2011-03-02 22:36:04 UTC (rev 272) @@ -0,0 +1,86 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{53543F70-38CC-4C67-AA11-56F01BC0C9EA}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>SharpGorrilla.Samples</RootNamespace> + <AssemblyName>SharpGorrilla.Samples</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>..\..\bin\samples\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisLogFile>..\..\bin\samples\SharpGorrilla.Samples.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> + <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets> + <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> + <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> + <OutputPath>..\..\bin\samples\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisLogFile>bin\Release\SharpGorrilla.Samples.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> + <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> + <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> + <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> + </PropertyGroup> + <ItemGroup> + <Reference Include="Axiom"> + <HintPath>..\..\lib\Axiom.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="Axiom.Samples.Common"> + <HintPath>..\..\lib\Axiom.Samples.Common.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="SharpInputSystem"> + <HintPath>..\..\lib\SharpInputSystem.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="ThreeDSample.cs" /> + <Compile Include="Plugin.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="DejaVueSample.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\SharpGorilla\SharpGorilla.csproj"> + <Project>{92FF9232-A66F-467B-9285-7855B4C51AD9}</Project> + <Name>SharpGorilla</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Property changes on: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/SharpGorrilla.Samples.2010.csproj ___________________________________________________________________ Added: svn:eol-style + native Added: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/ThreeDSample.cs =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/ThreeDSample.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/ThreeDSample.cs 2011-03-02 22:36:04 UTC (rev 272) @@ -0,0 +1,331 @@ +#region MIT License +/* +----------------------------------------------------------------------------- +This source file is part of the Jitter Sample +Jitter Physics Engine Copyright (c) 2010 Thorben Linneweber (ad...@ji...) + +This a port for Axiom of samples using Jitter Physics Engine, +developed by Thorben Linneweber and ported by Francesco Guastella (aka romeoxbm). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +----------------------------------------------------------------------------- +*/ +#endregion + +#region Using Statements + +using System; +using System.Collections.Generic; +using System.Reflection; +using Axiom.Core; +using Axiom.Math; +using Axiom.Samples; +using SharpGorilla; + +#endregion + +namespace SharpGorilla.Samples +{ + + public class ThreeDSample : SdkSample + { + + public class Button + { + public bool IsHovered; + public Caption Caption; + /// <summary> + /// + /// </summary> + /// <param name="x"></param> + /// <param name="y"></param> + /// <param name="text"></param> + /// <param name="layer"></param> + public Button(Real x, Real y, string text, Layer layer) + { + Caption = layer.CreateCaption(14, x, y, text); + Caption.SetSize(64, 25); + Caption.HorizontalAlign = TextAlignment.Center; + Caption.VerticalAlign = VerticalAlignment.Middle; + Caption.BackgroundColor = Converter.ToRGB(255, 255, 255, 32); + IsHovered = false; + } + /// <summary> + /// + /// </summary> + /// <param name="position"></param> + /// <returns></returns> + public bool IsOver(Vector2 position) + { + bool result = Caption.Intersects(position); + if (result && !IsHovered) + { + Caption.BackgroundColor = Converter.ToRGB(255, 255, 255, 128); + } + else if (!result && IsHovered) + { + Caption.BackgroundColor = Converter.ToRGB(255, 255, 255, 28); + } + IsHovered = result; + return result; + } + } + + public struct D3Panel + { + public ScreenRendable Screen; + public SceneNode Node; + public Layer GuiLayer; + public Layer MousePointerLayer; + public SharpGorilla.Rectangle Background; + public SharpGorilla.Rectangle MousePointer; + public Vector2 Size; + public List<Button> Buttons; + + public D3Panel( Silverback silverback, SceneManager sceneMgr, Vector2 size ) + { + Size = size; + Screen = silverback.CreateScreenRendable( Size, "dejavue" ); + Node = sceneMgr.RootSceneNode.CreateChildSceneNode(); + Node.AttachObject( Screen ); + + GuiLayer = Screen.CreateLayer( 0 ); + Background = GuiLayer.CreateRectangle( 0, 0, size.x * 100, size.y * 100 ); + Background.SetBackgroundGradient( Gradient.NorthSouth, Converter.ToRGB( 94, 97, 255, 5 ), Converter.ToRGB( 94, 97, 255, 50 ) ); + Background.SetBorder( 2, Converter.ToRGB( 255, 255, 255, 150 ) ); + MousePointerLayer = Screen.CreateLayer( 15 ); + MousePointer = MousePointerLayer.CreateRectangle( 0, 0, 10, 18 ); + MousePointer.SetBackgroundImage( "mousepointer" ); + Buttons = new List<Button>(); + } + /// <summary> + /// + /// </summary> + /// <param name="ray"></param> + /// <param name="isOver"></param> + /// <returns></returns> + public Button Check( Ray ray, out bool isOver ) + { + isOver = false; + Matrix4 transform = Matrix4.Compose( Node.Position, Node.Scale, Node.Orientation ); + AxisAlignedBox aabb = Screen.BoundingBox; + aabb.Transform( transform ); + Axiom.Math.IntersectResult res = Axiom.Math.Utility.Intersects( ray, aabb ); + + if ( !res.Hit ) + return null; + + Vector3 a, b, c, d = Vector3.Zero; + Vector2 halfSize = Size * 0.5f; + a = transform * new Vector3( -halfSize.x, -halfSize.y, 0 ); + b = transform * new Vector3( halfSize.x, -halfSize.y, 0 ); + c = transform * new Vector3( -halfSize.x, halfSize.y, 0 ); + d = transform * new Vector3( halfSize.x, halfSize.y, 0 ); + + res = Axiom.Math.Utility.Intersects( ray, c, b, a, true, true ); + if ( !res.Hit ) + res = Axiom.Math.Utility.Intersects( ray, c, d, b, true, true ); + if ( !res.Hit ) + return null; + + if ( res.Distance > 6.0f ) + return null; + + isOver = true; + Vector3 hitPos = ( ray.Origin + ( ray.Direction * res.Distance ) ); + Vector3 localPos = transform.Inverse() * hitPos; + + localPos.x += halfSize.x; + localPos.y -= halfSize.y; + localPos.x *= 100; + localPos.y *= 100; + + // Cursor clip + localPos.x = Axiom.Math.Utility.Clamp<Real>( localPos.x, ( Size.x * 100 ) - 10, 0 ); + localPos.y = Axiom.Math.Utility.Clamp<Real>( -localPos.y, ( Size.y * 100 ) - 18, 0 ); + + MousePointer.Position = new Vector2( localPos.x, localPos.y ); + + for ( int i = 0; i < Buttons.Count; i++ ) + { + if ( Buttons[ i ].IsOver( MousePointer.Position ) ) + return Buttons[ i ]; + } + return null; + } + + public Caption CreateCaption( Real x, Real y, string text ) + { + return GuiLayer.CreateCaption( 14, x, y, text ); + } + + public Button CreateButton( Real x, Real y, string text ) + { + Button button = new Button( x, y, text, GuiLayer ); + Buttons.Add( button ); + return button; + } + } + + + private Silverback _silverback; + private Screen _hud; + private Screen _controlPanel; + private Layer _hudLayer; + private Layer _crossHairLayer; + private SharpGorilla.Rectangle _crossHair; + private D3Panel _powerPanel; + private SharpGorilla.Rectangle _powerValue; + private SharpGorilla.Rectangle _powerValueBackground; + private Button _powerUpButton; + private Button _powerDownButton; + private Real _basePower; + private SceneNode _node; + float timer, timer2; + + public ThreeDSample() + { + Metadata[ "Title" ] = "SharpGorilla 3D Sample"; + Metadata[ "Description" ] = "Demonstrates how to use SharpGorilla with Axiom in 3D."; + Metadata[ "Thumbnail" ] = "thumb_gorilla.png"; + Metadata[ "Category" ] = "Gui"; + } + + protected override void SetupContent() + { + _silverback = new Silverback(); + _silverback.LoadAtlas("dejavue"); + + CreateHUD(); + CreateControlPanel(); + + Camera.Position = new Vector3(10, 2, 10); + Camera.LookAt(new Vector3(0, 2, 0)); + Camera.Near = 0.05f; + Camera.Far = 1000; + } + + void CreateHUD() + { + _hud = _silverback.CreateScreen(Viewport, "dejavue"); + _hudLayer = _hud.CreateLayer(); + Caption fakeHealth = _hudLayer.CreateCaption(24, 0, 0, "+ 100"); + fakeHealth.Width = Viewport.ActualWidth - 16; + fakeHealth.Height = Viewport.ActualHeight - 4; + fakeHealth.HorizontalAlign = TextAlignment.Right; + fakeHealth.VerticalAlign = VerticalAlignment.Bottom; + + Caption fakeAmmo = _hudLayer.CreateCaption(24, 16, 0, ": 60"); + fakeAmmo.Width = Viewport.ActualWidth; + fakeAmmo.Height = Viewport.ActualHeight - 4; + fakeAmmo.VerticalAlign = VerticalAlignment.Bottom; + + _crossHairLayer = _hud.CreateLayer(); + _crossHair = _crossHairLayer.CreateRectangle((Viewport.ActualWidth * 0.5f) - 11, (Viewport.ActualHeight * 0.5f) - 11, 22, 22); + _crossHair.SetBackgroundImage("crosshair"); + + + } + + void CreateControlPanel() + { + + _powerPanel = new D3Panel(_silverback, this.SceneManager, new Vector2(4, 1)); + _powerPanel.Node.Position = new Vector3(0, 1.5f, -10); + Caption caption = _powerPanel.CreateCaption(0, 4, "Power Level"); + caption.Width = 400; + caption.HorizontalAlign = TextAlignment.Center; + + _powerValueBackground = _powerPanel.GuiLayer.CreateRectangle(10, 35, 380, 10); + _powerValueBackground.SetBackgroundColor(Converter.ToRGB(255, 255, 255, 100)); + + _powerValue = _powerPanel.GuiLayer.CreateRectangle(10, 35, 200, 10); + _powerValue.SetBackgroundGradient(Gradient.NorthSouth, Converter.ToRGB(255, 255, 255, 200), Converter.ToRGB(64, 64, 64, 200)); + _powerDownButton = _powerPanel.CreateButton(10, 65, "-"); + _powerUpButton = _powerPanel.CreateButton(84, 65, "+"); + } + + public override bool FrameStarted( FrameEventArgs evt ) + { + base.FrameStarted( evt ); + + //_fps.Text = "FPS: " + _renderWindow.LastFPS.ToString() + " , Batches " + _renderWindow.LastBatchCount.ToString(); + timer += evt.TimeSinceLastFrame; + + if (timer > 1.0f / 60) + { + _powerPanel.Node.Yaw(0.0005f); + + timer2 += Axiom.Math.Utility.RangeRandom(0, timer * 10); + timer = 0; + timer = Axiom.Math.Utility.Clamp<Real>(timer, 25, 0); + Real power = _basePower + (Axiom.Math.Utility.Cos(timer2) * 5); + power = Axiom.Math.Utility.Clamp<Real>(power, 380, 0); + _powerValue.Width = power; + } + + return false; + //Vector3 trans = new Vector3(0, 0, 0); + + //if (_input.IsKeyPressed(System.Windows.Forms.Keys.W)) + // trans.z = -1; + //if (_input.IsKeyPressed(System.Windows.Forms.Keys.S)) + // trans.z = 1; + //if (_input.IsKeyPressed(System.Windows.Forms.Keys.A)) + // trans.x = -1; + //if (_input.IsKeyPressed(System.Windows.Forms.Keys.D)) + // trans.x = 1; + + //if (trans.Length != 0) + //{ + // Vector3 pos = _camera.Position; + // pos += _camera.Orientation * (trans * 5.0f) * e.TimeSinceLastFrame; + // pos.y = 2.0f; + // _camera.Position = pos; + //} + } + + public override bool MousePressed( SharpInputSystem.MouseEventArgs evt, SharpInputSystem.MouseButtonID id ) + { + bool isOver = false; + + if ( id == SharpInputSystem.MouseButtonID.Left ) + { + Button button = _powerPanel.Check( Camera.GetCameraToViewportRay( 0.5f, 0.5f ), out isOver ); + //if (isOver) + // _crossHairLayer.Hide(); + //else + // _crossHairLayer.Show(); + + if ( button != null ) + { + if ( button == _powerDownButton ) + { + _basePower -= 1.0f; + } + if ( button == _powerUpButton ) + { + _basePower += 1.0f; + } + } + } + return base.MousePressed( evt, id ); + } + } +} Property changes on: Axiom.SharpGorilla/trunk/src/SharpGorilla.Samples/ThreeDSample.cs ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-03-02 22:32:39
|
Revision: 271 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=271&view=rev Author: borrillis Date: 2011-03-02 22:32:33 +0000 (Wed, 02 Mar 2011) Log Message: ----------- missed project file Added Paths: ----------- Axiom.SharpGorilla/trunk/bin/media/SharpGorrilla.Samples.Media.2010.csproj Added: Axiom.SharpGorilla/trunk/bin/media/SharpGorrilla.Samples.Media.2010.csproj =================================================================== --- Axiom.SharpGorilla/trunk/bin/media/SharpGorrilla.Samples.Media.2010.csproj (rev 0) +++ Axiom.SharpGorilla/trunk/bin/media/SharpGorrilla.Samples.Media.2010.csproj 2011-03-02 22:32:33 UTC (rev 271) @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{82D00A5B-1943-4DDF-859A-7552F75CBF1F}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>AxiomContrib.Samples.Media</RootNamespace> + <AssemblyName>AxiomContrib.Samples.Media</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> + <PublishUrl>publish\</PublishUrl> + <Install>true</Install> + <InstallFrom>Disk</InstallFrom> + <UpdateEnabled>false</UpdateEnabled> + <UpdateMode>Foreground</UpdateMode> + <UpdateInterval>7</UpdateInterval> + <UpdateIntervalUnits>Days</UpdateIntervalUnits> + <UpdatePeriodically>false</UpdatePeriodically> + <UpdateRequired>false</UpdateRequired> + <MapFileExtensions>true</MapFileExtensions> + <ApplicationRevision>0</ApplicationRevision> + <ApplicationVersion>1.0.0.%2a</ApplicationVersion> + <IsWebBootstrapper>false</IsWebBootstrapper> + <UseApplicationTrust>false</UseApplicationTrust> + <BootstrapperEnabled>true</BootstrapperEnabled> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <DebugSymbols>true</DebugSymbols> + <OutputPath>..\bin\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> + <OutputPath>..\bin\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> + </PropertyGroup> + <ItemGroup> + <None Include="archives\SdkTrays.zip" /> + <None Include="archives\Sinbad.zip" /> + <None Include="archives\skybox.zip" /> + <None Include="materials\scripts\JitterSample.material" /> + <None Include="models\car.mesh" /> + <None Include="models\ogrehead.mesh" /> + <None Include="models\wheel.mesh" /> + <None Include="overlays\JitterSampleDisplay.overlay" /> + </ItemGroup> + <ItemGroup> + <Content Include="icons\AxiomIcon.ico" /> + <Content Include="materials\textures\Car.png" /> + <Content Include="materials\textures\checker.png" /> + <Content Include="materials\textures\JitterLogo.png" /> + <Content Include="thumbnails\thumb_char.png" /> + <Content Include="thumbnails\thumb_Jitter.png" /> + </ItemGroup> + <ItemGroup> + <Folder Include="materials\programs\" /> + </ItemGroup> + <Target Name="Build"> + </Target> + <Target Name="Rebuild"> + </Target> + <Target Name="Clean"> + </Target> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Property changes on: Axiom.SharpGorilla/trunk/bin/media/SharpGorrilla.Samples.Media.2010.csproj ___________________________________________________________________ Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-03-02 21:15:51
|
Revision: 270 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=270&view=rev Author: borrillis Date: 2011-03-02 21:15:43 +0000 (Wed, 02 Mar 2011) Log Message: ----------- part two Added Paths: ----------- Axiom.SharpGorilla/trunk/bin/ Axiom.SharpGorilla/trunk/bin/media/ Axiom.SharpGorilla/trunk/bin/media/archives/ Axiom.SharpGorilla/trunk/bin/media/archives/SdkTrays.zip Axiom.SharpGorilla/trunk/bin/media/gorilla/ Axiom.SharpGorilla/trunk/bin/media/gorilla/dejavu.png Axiom.SharpGorilla/trunk/bin/media/gorilla/dejavue.gorilla Axiom.SharpGorilla/trunk/bin/media/icons/ Axiom.SharpGorilla/trunk/bin/media/icons/AxiomIcon.ico Axiom.SharpGorilla/trunk/bin/media/materials/ Axiom.SharpGorilla/trunk/bin/media/materials/programs/ Axiom.SharpGorilla/trunk/bin/media/materials/scripts/ Axiom.SharpGorilla/trunk/bin/media/materials/textures/ Axiom.SharpGorilla/trunk/bin/media/models/ Axiom.SharpGorilla/trunk/bin/media/overlays/ Axiom.SharpGorilla/trunk/bin/media/thumbnails/ Axiom.SharpGorilla/trunk/bin/media/thumbnails/thumb_error.png Axiom.SharpGorilla/trunk/bin/samples/ Axiom.SharpGorilla/trunk/bin/win32/ Axiom.SharpGorilla/trunk/bin/win32/Axiom.Framework.dll Axiom.SharpGorilla/trunk/bin/win32/Axiom.Framework.pdb Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.dll Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.pdb Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.xml Axiom.SharpGorilla/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.dll Axiom.SharpGorilla/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.pdb Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.dll Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.pdb Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.xml Axiom.SharpGorilla/trunk/bin/win32/Axiom.Samples.Browser.exe Axiom.SharpGorilla/trunk/bin/win32/Axiom.Samples.Browser.exe.Config Axiom.SharpGorilla/trunk/bin/win32/Axiom.Samples.Browser.pdb Axiom.SharpGorilla/trunk/bin/win32/Axiom.Samples.Common.dll Axiom.SharpGorilla/trunk/bin/win32/Axiom.Samples.Common.pdb Axiom.SharpGorilla/trunk/bin/win32/Axiom.dll Axiom.SharpGorilla/trunk/bin/win32/Axiom.pdb Axiom.SharpGorilla/trunk/bin/win32/Axiom.xml Axiom.SharpGorilla/trunk/bin/win32/FreeImage.dll Axiom.SharpGorilla/trunk/bin/win32/FreeImageNET.dll Axiom.SharpGorilla/trunk/bin/win32/FreeImageNET.xml Axiom.SharpGorilla/trunk/bin/win32/ICSharpCode.SharpZipLib.dll Axiom.SharpGorilla/trunk/bin/win32/SharpInputSystem.dll Axiom.SharpGorilla/trunk/bin/win32/SharpInputSystem.pdb Axiom.SharpGorilla/trunk/bin/win32/axiom.log Axiom.SharpGorilla/trunk/bin/win32/freetype6.dll Axiom.SharpGorilla/trunk/bin/win32/log4net.dll Axiom.SharpGorilla/trunk/bin/win32/zlib1.dll Axiom.SharpGorilla/trunk/lib/Axiom.Framework.dll Axiom.SharpGorilla/trunk/lib/Axiom.Framework.pdb Added: Axiom.SharpGorilla/trunk/bin/media/archives/SdkTrays.zip =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/media/archives/SdkTrays.zip ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/media/gorilla/dejavu.png =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/media/gorilla/dejavu.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/media/gorilla/dejavue.gorilla =================================================================== --- Axiom.SharpGorilla/trunk/bin/media/gorilla/dejavue.gorilla (rev 0) +++ Axiom.SharpGorilla/trunk/bin/media/gorilla/dejavue.gorilla 2011-03-02 21:15:43 UTC (rev 270) @@ -0,0 +1,585 @@ +[Texture] +file dejavu.png +whitepixel 510 510 + +[Font.14] +lineheight 22 +spacelength 6 +baseline 18 +kerning -0.5 +monowidth 15 +range 33 126 +glyph_33 1 0 8 23 7 +glyph_34 9 0 10 23 8 +glyph_35 19 0 17 23 16 +glyph_36 36 0 13 23 12 +glyph_37 49 0 19 23 18 +glyph_38 68 0 16 23 14 +glyph_39 84 0 6 23 5 +glyph_40 90 0 8 23 7 +glyph_41 98 0 8 23 7 +glyph_42 106 0 10 23 9 +glyph_43 116 0 17 23 16 +glyph_44 133 0 7 23 6 +glyph_45 140 0 8 23 6 +glyph_46 148 0 7 23 6 +glyph_47 155 0 7 23 6 +glyph_48 162 0 13 23 12 +glyph_49 175 0 13 23 12 +glyph_50 188 0 13 23 12 +glyph_51 201 0 13 23 12 +glyph_52 214 0 13 23 12 +glyph_53 227 0 13 23 12 +glyph_54 240 0 13 23 12 +glyph_55 253 0 13 23 12 +glyph_56 266 0 13 23 12 +glyph_57 279 0 13 23 12 +glyph_58 292 0 7 23 6 +glyph_59 299 0 7 23 6 +glyph_60 306 0 17 23 16 +glyph_61 323 0 17 23 16 +glyph_62 340 0 17 23 16 +glyph_63 357 0 11 23 10 +glyph_64 368 0 20 23 19 +glyph_65 388 0 14 23 13 +glyph_66 402 0 14 23 13 +glyph_67 416 0 14 23 13 +glyph_68 430 0 16 23 14 +glyph_69 446 0 13 23 12 +glyph_70 459 0 12 23 11 +glyph_71 471 0 16 23 14 +glyph_72 487 0 15 23 14 +glyph_73 502 0 6 23 5 +glyph_74 0 23 6 23 5 +glyph_75 6 23 13 23 12 +glyph_76 19 23 12 23 10 +glyph_77 31 23 18 23 16 +glyph_78 49 23 15 23 14 +glyph_79 64 23 16 23 15 +glyph_80 80 23 12 23 11 +glyph_81 92 23 16 23 15 +glyph_82 108 23 14 23 13 +glyph_83 122 23 13 23 12 +glyph_84 135 23 13 23 11 +glyph_85 148 23 15 23 14 +glyph_86 163 23 14 23 13 +glyph_87 177 23 20 23 18 +glyph_88 197 23 14 23 13 +glyph_89 211 23 13 23 11 +glyph_90 224 23 14 23 13 +glyph_91 238 23 8 23 7 +glyph_92 246 23 7 23 6 +glyph_93 253 23 8 23 7 +glyph_94 261 23 17 23 16 +glyph_95 278 23 10 23 9 +glyph_96 288 23 10 23 9 +glyph_97 298 23 13 23 11 +glyph_98 311 23 13 23 12 +glyph_99 324 23 11 23 10 +glyph_100 335 23 13 23 12 +glyph_101 348 23 13 23 11 +glyph_102 361 23 8 23 6 +glyph_103 369 23 13 23 12 +glyph_104 382 23 13 23 12 +glyph_105 395 23 6 23 5 +glyph_106 401 23 6 23 5 +glyph_107 407 23 12 23 11 +glyph_108 419 23 6 23 5 +glyph_109 425 23 20 23 18 +glyph_110 445 23 13 23 12 +glyph_111 458 23 13 23 11 +glyph_112 471 23 13 23 12 +glyph_113 484 23 13 23 12 +glyph_114 497 23 9 23 7 +glyph_115 0 46 11 23 9 +glyph_116 11 46 8 23 7 +glyph_117 19 46 13 23 12 +glyph_118 32 46 12 23 11 +glyph_119 44 46 17 23 15 +glyph_120 61 46 12 23 11 +glyph_121 73 46 12 23 11 +glyph_122 85 46 11 23 10 +glyph_123 96 46 13 23 12 +glyph_124 109 46 7 23 6 +glyph_125 116 46 13 23 12 +glyph_126 129 46 17 23 16 +kerning_74 45 1 +kerning_84 45 -1 +kerning_86 45 -1 +kerning_89 45 -2 +kerning_84 65 -1 +kerning_86 65 -1 +kerning_87 65 -1 +kerning_89 65 -1 +kerning_118 65 -1 +kerning_121 65 -1 +kerning_89 66 -1 +kerning_89 68 -1 +kerning_46 70 -3 +kerning_58 70 -1 +kerning_65 70 -1 +kerning_97 70 -1 +kerning_101 70 -1 +kerning_105 70 -1 +kerning_114 70 -1 +kerning_117 70 -1 +kerning_121 70 -1 +kerning_45 75 -2 +kerning_67 75 -1 +kerning_79 75 -1 +kerning_84 75 -1 +kerning_121 75 -1 +kerning_84 76 -2 +kerning_86 76 -2 +kerning_87 76 -1 +kerning_89 76 -2 +kerning_121 76 -1 +kerning_88 79 -1 +kerning_89 79 -1 +kerning_46 80 -2 +kerning_65 80 -1 +kerning_84 82 -1 +kerning_86 82 -1 +kerning_89 82 -1 +kerning_121 82 -1 +kerning_45 84 -1 +kerning_46 84 -2 +kerning_58 84 -2 +kerning_65 84 -1 +kerning_67 84 -1 +kerning_97 84 -3 +kerning_99 84 -3 +kerning_101 84 -3 +kerning_111 84 -3 +kerning_114 84 -2 +kerning_115 84 -3 +kerning_117 84 -2 +kerning_119 84 -3 +kerning_121 84 -2 +kerning_45 86 -1 +kerning_46 86 -2 +kerning_58 86 -1 +kerning_65 86 -1 +kerning_97 86 -1 +kerning_101 86 -1 +kerning_111 86 -1 +kerning_117 86 -1 +kerning_46 87 -2 +kerning_58 87 -1 +kerning_65 87 -1 +kerning_97 87 -1 +kerning_101 87 -1 +kerning_111 87 -1 +kerning_67 88 -1 +kerning_79 88 -1 +kerning_45 89 -2 +kerning_46 89 -3 +kerning_58 89 -2 +kerning_65 89 -1 +kerning_67 89 -1 +kerning_79 89 -1 +kerning_97 89 -2 +kerning_101 89 -2 +kerning_111 89 -2 +kerning_117 89 -2 +kerning_45 102 -1 +kerning_46 102 -1 +kerning_45 114 -1 +kerning_46 114 -1 +kerning_46 118 -1 +kerning_58 118 -1 +kerning_46 119 -1 +kerning_58 119 -1 +kerning_46 121 -2 +kerning_58 121 -1 +kerning_112 112 -2 +kerning_103 105 -3 + + +[Font.9] +offset 0 80 +lineheight 16 +spacelength 3 +baseline 11 +letterspacing 0 +monowidth 10 +range 33 126 +glyph_33 0 0 5 14 4 +glyph_34 5 0 6 14 5 +glyph_35 11 0 11 14 10 +glyph_36 22 0 8 14 7 +glyph_37 30 0 12 14 11 +glyph_38 42 0 10 14 9 +glyph_39 52 0 4 14 3 +glyph_40 56 0 5 14 4 +glyph_41 61 0 5 14 4 +glyph_42 66 0 7 14 6 +glyph_43 73 0 11 14 10 +glyph_44 84 0 4 14 3 +glyph_45 88 0 5 14 4 +glyph_46 93 0 4 14 3 +glyph_47 97 0 5 14 4 +glyph_48 102 0 8 14 7 +glyph_49 110 0 8 14 7 +glyph_50 118 0 8 14 7 +glyph_51 126 0 8 14 7 +glyph_52 134 0 8 14 7 +glyph_53 142 0 8 14 7 +glyph_54 150 0 8 14 7 +glyph_55 158 0 8 14 7 +glyph_56 166 0 8 14 7 +glyph_57 174 0 8 14 7 +glyph_58 182 0 5 14 4 +glyph_59 187 0 5 14 4 +glyph_60 192 0 11 14 10 +glyph_61 203 0 11 14 10 +glyph_62 214 0 11 14 10 +glyph_63 225 0 7 14 6 +glyph_64 232 0 13 14 12 +glyph_65 245 0 9 14 8 +glyph_66 254 0 9 14 8 +glyph_67 263 0 9 14 8 +glyph_68 272 0 10 14 9 +glyph_69 282 0 8 14 7 +glyph_70 290 0 8 14 6 +glyph_71 298 0 10 14 9 +glyph_72 308 0 10 14 9 +glyph_73 318 0 4 14 3 +glyph_74 322 0 4 14 3 +glyph_75 326 0 9 14 7 +glyph_76 335 0 7 14 6 +glyph_77 342 0 11 14 10 +glyph_78 353 0 10 14 9 +glyph_79 363 0 10 14 9 +glyph_80 373 0 8 14 7 +glyph_81 381 0 10 14 9 +glyph_82 391 0 9 14 8 +glyph_83 400 0 8 14 7 +glyph_84 408 0 8 14 7 +glyph_85 416 0 10 14 8 +glyph_86 426 0 9 14 8 +glyph_87 435 0 13 14 11 +glyph_88 448 0 9 14 8 +glyph_89 457 0 8 14 7 +glyph_90 465 0 9 14 8 +glyph_91 474 0 5 14 4 +glyph_92 479 0 5 14 4 +glyph_93 484 0 5 14 4 +glyph_94 489 0 11 14 10 +glyph_95 500 0 7 14 6 +glyph_96 0 14 7 14 6 +glyph_97 7 14 8 14 7 +glyph_98 15 14 8 14 7 +glyph_99 23 14 7 14 6 +glyph_100 30 14 8 14 7 +glyph_101 38 14 8 14 7 +glyph_102 46 14 5 14 4 +glyph_103 51 14 8 14 7 +glyph_104 59 14 8 14 7 +glyph_105 67 14 4 14 3 +glyph_106 71 14 4 14 3 +glyph_107 75 14 8 14 6 +glyph_108 83 14 4 14 3 +glyph_109 87 14 13 14 11 +glyph_110 100 14 8 14 7 +glyph_111 108 14 8 14 7 +glyph_112 116 14 8 14 7 +glyph_113 124 14 8 14 7 +glyph_114 132 14 6 14 4 +glyph_115 138 14 7 14 6 +glyph_116 145 14 5 14 4 +glyph_117 150 14 8 14 7 +glyph_118 158 14 8 14 7 +glyph_119 166 14 11 14 9 +glyph_120 177 14 8 14 7 +glyph_121 185 14 8 14 7 +glyph_122 193 14 7 14 6 +glyph_123 200 14 8 14 7 +glyph_124 208 14 5 14 4 +glyph_125 213 14 8 14 7 +glyph_126 221 14 11 14 10 +kerning_84 45 -1 +kerning_89 45 -1 +kerning_46 70 -1 +kerning_65 70 -1 +kerning_97 70 -1 +kerning_121 70 -1 +kerning_45 75 -1 +kerning_84 76 -1 +kerning_86 76 -1 +kerning_87 76 -1 +kerning_89 76 -1 +kerning_121 76 -1 +kerning_46 80 -1 +kerning_45 84 -1 +kerning_46 84 -1 +kerning_58 84 -1 +kerning_97 84 -1 +kerning_99 84 -2 +kerning_101 84 -2 +kerning_111 84 -2 +kerning_114 84 -1 +kerning_115 84 -1 +kerning_117 84 -1 +kerning_119 84 -1 +kerning_121 84 -1 +kerning_46 86 -1 +kerning_46 87 -1 +kerning_45 89 -1 +kerning_46 89 -2 +kerning_58 89 -1 +kerning_97 89 -1 +kerning_101 89 -1 +kerning_111 89 -1 +kerning_117 89 -1 +kerning_46 114 -1 +kerning_46 119 -1 +kerning_46 121 -1 + +[Font.24] +offset 0 121 +lineheight 38 +spacelength 10 +baseline 30 +kerning -0.5 +monowidth 25 +range 33 126 +glyph_33 1 0 14 38 12 +glyph_34 15 0 16 38 14 +glyph_35 31 0 28 38 26 +glyph_36 59 0 22 38 20 +glyph_37 81 0 32 38 30 +glyph_38 113 0 27 38 24 +glyph_39 140 0 10 38 8 +glyph_40 150 0 14 38 12 +glyph_41 164 0 14 38 12 +glyph_42 178 0 17 38 16 +glyph_43 195 0 28 38 26 +glyph_44 223 0 11 38 10 +glyph_45 234 0 13 38 11 +glyph_46 247 0 11 38 10 +glyph_47 258 0 12 38 10 +glyph_48 270 0 22 38 20 +glyph_49 292 0 22 38 20 +glyph_50 314 0 22 38 20 +glyph_51 336 0 22 38 20 +glyph_52 358 0 22 38 20 +glyph_53 380 0 22 38 20 +glyph_54 402 0 22 38 20 +glyph_55 424 0 22 38 20 +glyph_56 446 0 22 38 20 +glyph_57 468 0 22 38 20 +glyph_58 490 0 12 38 10 +glyph_59 0 38 12 38 10 +glyph_60 12 38 28 38 26 +glyph_61 40 38 28 38 26 +glyph_62 68 38 28 38 26 +glyph_63 96 38 18 38 16 +glyph_64 114 38 34 38 32 +glyph_65 148 38 23 38 21 +glyph_66 171 38 23 38 21 +glyph_67 194 38 24 38 22 +glyph_68 218 38 26 38 24 +glyph_69 244 38 22 38 20 +glyph_70 266 38 20 38 18 +glyph_71 286 38 26 38 24 +glyph_72 312 38 26 38 24 +glyph_73 338 38 11 38 9 +glyph_74 349 38 11 38 9 +glyph_75 360 38 22 38 20 +glyph_76 382 38 19 38 17 +glyph_77 401 38 29 38 27 +glyph_78 430 38 25 38 23 +glyph_79 455 38 27 38 25 +glyph_80 482 38 21 38 19 +glyph_81 0 76 27 38 25 +glyph_82 27 76 24 38 22 +glyph_83 51 76 22 38 20 +glyph_84 73 76 21 38 19 +glyph_85 94 76 25 38 23 +glyph_86 119 76 23 38 21 +glyph_87 142 76 33 38 31 +glyph_88 175 76 23 38 21 +glyph_89 198 76 21 38 19 +glyph_90 219 76 23 38 21 +glyph_91 242 76 14 38 12 +glyph_92 256 76 12 38 10 +glyph_93 268 76 14 38 12 +glyph_94 282 76 28 38 26 +glyph_95 310 76 17 38 16 +glyph_96 327 76 17 38 16 +glyph_97 344 76 21 38 19 +glyph_98 365 76 22 38 20 +glyph_99 387 76 19 38 17 +glyph_100 406 76 22 38 20 +glyph_101 428 76 21 38 19 +glyph_102 449 76 12 38 11 +glyph_103 461 76 22 38 20 +glyph_104 483 76 22 38 20 +glyph_105 0 114 10 38 8 +glyph_106 10 114 10 38 8 +glyph_107 20 114 20 38 18 +glyph_108 40 114 10 38 8 +glyph_109 50 114 33 38 31 +glyph_110 83 114 22 38 20 +glyph_111 105 114 21 38 19 +glyph_112 126 114 22 38 20 +glyph_113 148 114 22 38 20 +glyph_114 170 114 14 38 13 +glyph_115 184 114 18 38 16 +glyph_116 202 114 14 38 12 +glyph_117 216 114 22 38 20 +glyph_118 238 114 20 38 18 +glyph_119 258 114 28 38 26 +glyph_120 286 114 20 38 18 +glyph_121 306 114 20 38 18 +glyph_122 326 114 18 38 16 +glyph_123 344 114 22 38 20 +glyph_124 366 114 12 38 10 +glyph_125 378 114 22 38 20 +glyph_126 400 114 28 38 26 +kerning_66 45 -1 +kerning_71 45 1 +kerning_74 45 1 +kerning_81 45 1 +kerning_84 45 -2 +kerning_86 45 -1 +kerning_87 45 -1 +kerning_88 45 -1 +kerning_89 45 -3 +kerning_84 65 -2 +kerning_86 65 -2 +kerning_87 65 -1 +kerning_89 65 -2 +kerning_102 65 -1 +kerning_118 65 -1 +kerning_119 65 -1 +kerning_121 65 -2 +kerning_87 66 -1 +kerning_89 66 -1 +kerning_89 68 -1 +kerning_46 70 -5 +kerning_58 70 -2 +kerning_65 70 -2 +kerning_97 70 -2 +kerning_101 70 -1 +kerning_105 70 -2 +kerning_111 70 -1 +kerning_114 70 -2 +kerning_117 70 -1 +kerning_121 70 -2 +kerning_84 71 -1 +kerning_89 71 -1 +kerning_45 74 -1 +kerning_45 75 -3 +kerning_67 75 -1 +kerning_79 75 -1 +kerning_84 75 -2 +kerning_87 75 -1 +kerning_89 75 -1 +kerning_101 75 -1 +kerning_111 75 -1 +kerning_117 75 -1 +kerning_121 75 -2 +kerning_79 76 -1 +kerning_84 76 -4 +kerning_85 76 -1 +kerning_86 76 -3 +kerning_87 76 -2 +kerning_89 76 -4 +kerning_121 76 -2 +kerning_46 79 -1 +kerning_88 79 -2 +kerning_89 79 -1 +kerning_46 80 -4 +kerning_65 80 -2 +kerning_97 80 -1 +kerning_101 80 -1 +kerning_111 80 -1 +kerning_45 82 -1 +kerning_46 82 -1 +kerning_65 82 -1 +kerning_67 82 -1 +kerning_84 82 -2 +kerning_86 82 -1 +kerning_87 82 -1 +kerning_89 82 -2 +kerning_101 82 -1 +kerning_111 82 -1 +kerning_117 82 -1 +kerning_121 82 -1 +kerning_45 84 -2 +kerning_46 84 -3 +kerning_58 84 -3 +kerning_65 84 -2 +kerning_67 84 -1 +kerning_97 84 -5 +kerning_99 84 -5 +kerning_101 84 -5 +kerning_111 84 -5 +kerning_114 84 -4 +kerning_115 84 -5 +kerning_117 84 -4 +kerning_119 84 -5 +kerning_121 84 -4 +kerning_45 86 -1 +kerning_46 86 -4 +kerning_58 86 -2 +kerning_65 86 -2 +kerning_97 86 -2 +kerning_101 86 -2 +kerning_111 86 -2 +kerning_117 86 -2 +kerning_45 87 -1 +kerning_46 87 -3 +kerning_58 87 -1 +kerning_65 87 -1 +kerning_97 87 -2 +kerning_101 87 -1 +kerning_111 87 -1 +kerning_114 87 -1 +kerning_117 87 -1 +kerning_45 88 -1 +kerning_67 88 -2 +kerning_79 88 -2 +kerning_101 88 -1 +kerning_45 89 -3 +kerning_46 89 -6 +kerning_58 89 -4 +kerning_65 89 -2 +kerning_67 89 -1 +kerning_79 89 -1 +kerning_97 89 -4 +kerning_101 89 -4 +kerning_105 89 -1 +kerning_111 89 -4 +kerning_117 89 -3 +kerning_45 102 -1 +kerning_46 102 -2 +kerning_58 102 -1 +kerning_101 107 -1 +kerning_111 107 -1 +kerning_121 107 -1 +kerning_45 114 -2 +kerning_46 114 -2 +kerning_46 118 -2 +kerning_58 118 -1 +kerning_46 119 -2 +kerning_58 119 -1 +kerning_46 121 -4 +kerning_58 121 -2 + + +[Sprites] +mousepointer 54 464 15 22 +ogrehead 0 464 48 48 +coco 3 367 64 64 +crosshair 49 487 22 22 +shadow_n 110 460 1 5 +shadow_ne 111 460 5 5 +shadow_e 111 465 5 1 +shadow_se 111 466 5 5 +shadow_s 110 466 1 5 +shadow_sw 105 466 5 5 +shadow_w 105 465 5 1 +shadow_nw 105 460 5 5 \ No newline at end of file Added: Axiom.SharpGorilla/trunk/bin/media/icons/AxiomIcon.ico =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/media/icons/AxiomIcon.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/media/thumbnails/thumb_error.png =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/media/thumbnails/thumb_error.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Framework.dll =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Framework.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Framework.pdb =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Framework.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.dll =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.pdb =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.xml =================================================================== --- Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.xml (rev 0) +++ Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.xml 2011-03-02 21:15:43 UTC (rev 270) @@ -0,0 +1,259 @@ +<?xml version="1.0"?> +<doc> + <assembly> + <name>Axiom.Platforms.Win32</name> + </assembly> + <members> + <member name="T:Axiom.Platforms.Win32.Win32InputReader"> + <summary> + Win32 input implementation using Managed DirectInput (tm). + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.BufferSize"> + <summary> + Size to use for DirectInput's input buffer. + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.dinput"> + <summary> + + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.keyboardState"> + <summary> + Holds a snapshot of DirectInput keyboard state. + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.mouseState"> + <summary> + Holds a snapshot of DirectInput mouse state. + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.keyboardDevice"> + <summary> + DirectInput keyboard device. + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.mouseDevice"> + <summary> + DirectInput mouse device. + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.winHandle"> + <summary> + Active host control that reserves control over the input. + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.control"> + <summary> + System.Windows.Forms.Form control to retrieve input from + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.ownMouse"> + <summary> + Do we want exclusive use of the mouse? + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.window"> + <summary> + Reference to the render window that is the target of the input. + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32InputReader.lastWindowActive"> + <summary> + Flag used to remember the state of the render window the last time input was captured. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.Capture"> + <summary> + Captures the state of all active input controllers. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.Initialize(Axiom.Graphics.RenderWindow,System.Boolean,System.Boolean,System.Boolean,System.Boolean)"> + <summary> + Intializes DirectInput for use on Win32 platforms. + </summary> + <param name="window"></param> + <param name="useKeyboard"></param> + <param name="useMouse"></param> + <param name="useGamepad"></param> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.IsKeyPressed(Axiom.Input.KeyCodes)"> + <summary> + + </summary> + <param name="key"></param> + <returns></returns> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.IsMousePressed(Axiom.Input.MouseButtons)"> + <summary> + Returns true if the specified mouse button is currently down. + </summary> + <param name="button">Mouse button to query.</param> + <returns>True if the mouse button is down, false otherwise.</returns> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.Dispose"> + <summary> + Called when the platform manager is shutting down. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.ClearInput"> + <summary> + Clear this class input buffers (those accesible to client through one of the public methods) + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.CaptureInput"> + <summary> + Capture buffered or unbuffered mouse and/or keyboard input. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.InitializeKeyboard"> + <summary> + Initializes the keyboard using either immediate mode or event based input. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.InitializeMouse"> + <summary> + Initializes the mouse using either immediate mode or event based input. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.InitializeImmediateKeyboard"> + <summary> + Initializes DirectInput for immediate input. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.InitializeBufferedKeyboard"> + <summary> + Prepares DirectInput for non-immediate input capturing. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.InitializeImmediateMouse"> + <summary> + Prepares DirectInput for immediate mouse input. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.InitializeBufferedMouse"> + <summary> + + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.ReadBufferedKeyboardData"> + <summary> + Reads buffered input data when in buffered mode. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.CaptureKeyboard"> + <summary> + Captures an immediate keyboard state snapshot (for non-buffered data). + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.CaptureMouse"> + <summary> + Captures the mouse input based on the preffered input mode. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.CaptureBufferedMouse"> + <summary> + Checks the buffered mouse events. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.CaptureImmediateMouse"> + <summary> + Takes a snapshot of the mouse state for immediate input checking. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.VerifyInputAcquired"> + <summary> + Verifies the state of the host window and reacquires input if the window was + previously minimized and has been brought back into focus. + </summary> + <returns>True if the input devices are acquired and input capturing can proceed, false otherwise.</returns> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.ConvertKeyEnum(Axiom.Input.KeyCodes)"> + <summary> + Used to convert an Axiom.Input.KeyCodes enum val to a DirectInput.Key enum val. + </summary> + <param name="key">Axiom keyboard code to query.</param> + <returns>The equivalent enum value in the DI.Key enum.</returns> + </member> + <member name="M:Axiom.Platforms.Win32.Win32InputReader.ConvertKeyEnum(SlimDX.DirectInput.Key)"> + <summary> + Used to convert a DirectInput.Key enum val to a Axiom.Input.KeyCodes enum val. + </summary> + <param name="key">DirectInput.Key code to query.</param> + <returns>The equivalent enum value in the Axiom.KeyCodes enum.</returns> + </member> + <member name="P:Axiom.Platforms.Win32.Win32InputReader.RelativeMouseX"> + <summary> + Retrieves the relative (compared to the last input poll) mouse movement + on the X (horizontal) axis. + </summary> + </member> + <member name="P:Axiom.Platforms.Win32.Win32InputReader.RelativeMouseY"> + <summary> + Retrieves the relative (compared to the last input poll) mouse movement + on the Y (vertical) axis. + </summary> + </member> + <member name="P:Axiom.Platforms.Win32.Win32InputReader.RelativeMouseZ"> + <summary> + Retrieves the relative (compared to the last input poll) mouse movement + on the Z (mouse wheel) axis. + </summary> + </member> + <member name="P:Axiom.Platforms.Win32.Win32InputReader.AbsoluteMouseX"> + <summary> + Retrieves the absolute mouse position on the X (horizontal) axis. + </summary> + </member> + <member name="P:Axiom.Platforms.Win32.Win32InputReader.AbsoluteMouseY"> + <summary> + Retrieves the absolute mouse position on the Y (vertical) axis. + </summary> + </member> + <member name="P:Axiom.Platforms.Win32.Win32InputReader.AbsoluteMouseZ"> + <summary> + Retrieves the absolute mouse position on the Z (mouse wheel) axis. + </summary> + </member> + <member name="P:Axiom.Platforms.Win32.Win32InputReader.UseKeyboardEvents"> + <summary> + Get/Set whether or not to use event based keyboard input notification. + </summary> + <value> + When true, events will be fired when keyboard input occurs on a call to <see cref="M:Axiom.Platforms.Win32.Win32InputReader.Capture"/>. + When false, the current keyboard state will be available via <see cref="M:Axiom.Platforms.Win32.Win32InputReader.IsKeyPressed(Axiom.Input.KeyCodes)"/> . + </value> + </member> + <member name="P:Axiom.Platforms.Win32.Win32InputReader.UseMouseEvents"> + <summary> + Get/Set whether or not to use event based mouse input notification. + </summary> + <value> + When true, events will be fired when mouse input occurs on a call to <see cref="M:Axiom.Platforms.Win32.Win32InputReader.Capture"/>. + When false, the current mouse state will be available via <see cref="M:Axiom.Platforms.Win32.Win32InputReader.IsMousePressed(Axiom.Input.MouseButtons)"/> . + </value> + </member> + <member name="T:Axiom.Platforms.Win32.Win32PlatformManager"> + <summary> + Platform management specialization for Microsoft Windows (r) platform. + </summary> + </member> + <member name="F:Axiom.Platforms.Win32.Win32PlatformManager.inputReader"> + <summary> + Reference to the current input reader. + </summary> + </member> + <member name="M:Axiom.Platforms.Win32.Win32PlatformManager.CreateInputReader"> + <summary> + Creates an InputReader implemented using Microsoft DirectInput (tm). + </summary> + <returns></returns> + </member> + <member name="M:Axiom.Platforms.Win32.Win32PlatformManager.Dispose"> + <summary> + Called when the engine is being shutdown. + </summary> + </member> + </members> +</doc> Property changes on: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Platforms.Win32.xml ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.dll =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.pdb =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.dll =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.pdb =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.xml =================================================================== --- Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.xml (rev 0) +++ Axiom.SharpGorilla/trunk/bin/win32/Axiom.RenderSystems.DirectX9.xml 2011-03-02 21:15:43 UTC (rev 270) @@ -0,0 +1,1498 @@ +<?xml version="1.0"?> +<doc> + <assembly> + <name>Axiom.RenderSystems.DirectX9</name> + </assembly> + <members> + <member name="T:Axiom.RenderSystems.DirectX9.D3DTexture"> + <summary> + Summary description for D3DTexture. + </summary> + <remarks> + When loading a cubic texture, the image with the texture base name plus the + "_rt", "_lf", "_up", "_dn", "_fr", "_bk" suffixes will automatically be loaded to construct it. + </remarks> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._device"> + <summary> + D3D Driver reference + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._manager"> + <summary> + D3d Direct3D reference + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._bbPixelFormat"> + <summary> + Back buffer pixel format. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._d3dPool"> + <summary> + The memory pool being used + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._devParms"> + <summary> + Direct3D device creation parameters. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._devCaps"> + <summary> + Direct3D device capability structure. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._dynamicTextures"> + <summary> + Dynamic textures? + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._surfaceList"> + <summary> + List of subsurfaces + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._managedObjects"> + <summary> + List of D3D resources in use ( surfaces and volumes ) + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._texture"> + <summary> + Actual texture reference. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._normTexture"> + <summary> + 1D/2D normal texture. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._cubeTexture"> + <summary> + Cubic texture reference. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTexture._volumeTexture"> + <summary> + 3D volume texture. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DTexture.dispose(System.Boolean)"> + <summary> + Implementation of IDisposable to determine how resources are disposed of. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.D3DTexture.DXTexture"> + <summary> + Gets the D3D Texture that is contained withing this Texture. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.D3DTexture.NormalTexture"> + <summary> + 1D/2D normal Texture + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.D3DTexture.CubeTexture"> + <summary> + Cubic texture reference. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.D3DTexture.VolumeTexture"> + <summary> + 3D Volume Teture + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.D3DGpuProgramManager"> + <summary> + Summary description for D3DGpuProgramManager. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DGpuProgramManager.CreateParameters"> + <summary> + Returns a specialized version of GpuProgramParameters. + </summary> + <returns></returns> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.VideoMode"> + <summary> + Summary description for D3DVideoMode. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.VideoMode.#ctor"> + <summary> + Default constructor. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.VideoMode.#ctor(Axiom.RenderSystems.DirectX9.VideoMode)"> + <summary> + Accepts a existing D3DVideoMode object. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.VideoMode.#ctor(SlimDX.Direct3D9.DisplayMode)"> + <summary> + Accepts a existing Direct3D.DisplayMode object. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.VideoMode.Finalize"> + <summary> + Destructor. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.VideoMode.ToString"> + <summary> + Returns a string representation of this video mode. + </summary> + <returns></returns> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.VideoMode.Width"> + <summary> + Width of this video mode. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.VideoMode.Height"> + <summary> + Height of this video mode. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.VideoMode.Format"> + <summary> + Format of this video mode. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.VideoMode.RefreshRate"> + <summary> + Refresh rate of this video mode. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.VideoMode.ColorDepth"> + <summary> + Color depth of this video mode. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.VideoMode.DisplayMode"> + <summary> + Gets the Direct3D.DisplayMode object associated with this video mode. + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.D3DVertexDeclaration"> + <summary> + Summary description for D3DVertexDeclaration. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.D3DVertexDeclaration.D3DVertexDecl"> + <summary> + + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.D3DTextureManager"> + <summary> + Summary description for D3DTextureManager. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTextureManager.device"> + <summary>Reference to the D3D device.</summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DTextureManager.manager"> + <summary> + Reference to the Direct3D object + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.D3DRenderWindow"> + <summary> + The Direct3D implementation of the RenderWindow class. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DRenderWindow.#ctor(Axiom.RenderSystems.DirectX9.Driver)"> + <summary> + + </summary> + <param name="driver">The root driver</param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DRenderWindow.#ctor(Axiom.RenderSystems.DirectX9.Driver,SlimDX.Direct3D9.Device)"> + <summary> + + </summary> + <param name="driver">The root driver</param> + <param name="deviceIfSwapChain">The existing D3D device to create an additional swap chain from, if this is not the first window.</param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DRenderWindow.Create(System.String,System.Int32,System.Int32,System.Boolean,Axiom.Collections.NamedParameterList)"> + <summary> + + </summary> + <param name="name"></param> + <param name="width"></param> + <param name="height"></param> + <param name="colorDepth"></param> + <param name="isFullScreen"></param> + <param name="left"></param> + <param name="top"></param> + <param name="depthBuffer"></param>height + <param name="miscParams"></param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DRenderWindow.Resize(System.Int32,System.Int32)"> + <summary> + + </summary> + <param name="width"></param> + <param name="height"></param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DRenderWindow.SwapBuffers(System.Boolean)"> + <summary> + + </summary> + <param name="waitForVSync"></param> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.D3DRenderWindow.Driver"> + <summary> + Get the current Driver + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.D3DRenderWindow.D3DDevice"> + <summary> + Gets the active DirectX Device + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.HLSL.HLSLIncludeHandler"> + <summary> + Specialized Include Handler for DX + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.HLSL.HLSLIncludeHandler.#ctor(Axiom.Core.Resource)"> + <summary> + Creates a new instance of <see cref="T:Axiom.RenderSystems.DirectX9.HLSL.HLSLIncludeHandler"/> + </summary> + <param name="sourceProgram"></param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.HLSL.HLSLIncludeHandler.Open(SlimDX.Direct3D9.IncludeType,System.String,System.IO.Stream@)"> + <summary> + Opens a requested include file + </summary> + <param name="type"></param> + <param name="fileName"></param> + <param name="fileStream"></param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.HLSL.HLSLIncludeHandler.Open(SlimDX.Direct3D9.IncludeType,System.String,System.IO.Stream,System.IO.Stream@)"> + <summary> + Opens a requested include file + </summary> + <param name="includeType"></param> + <param name="fileName"></param> + <param name="parentStream"></param> + <param name="stream"></param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.HLSL.HLSLIncludeHandler.Close(System.IO.Stream)"> + <summary> + Closes the include file + </summary> + <param name="fileStream"></param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.DefaultForm.DefaultForm_Deactivate(System.Object,System.EventArgs)"> + <summary> + + </summary> + <param name="source"></param> + <param name="e"></param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.DefaultForm.DefaultForm_Activated(System.Object,System.EventArgs)"> + <summary> + + </summary> + <param name="source"></param> + <param name="e"></param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.DefaultForm.DefaultForm_Close(System.Object,System.ComponentModel.CancelEventArgs)"> + <summary> + + </summary> + <param name="source"></param> + <param name="e"></param> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.DefaultForm.RenderWindow"> + <summary> + Get/Set the RenderWindow associated with this form. + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.D3DHardwareBufferManagerBase"> + <summary> + Summary description for D3DHardwareBufferManager. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHardwareBufferManagerBase.#ctor(SlimDX.Direct3D9.Device)"> + <summary> + + </summary> + <param name="device"></param> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.Win32MessageHandling.PM_REMOVE"> + <summary> + PeekMessage option to remove the message from the queue after processing. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.Win32MessageHandling.PeekMessage(Axiom.RenderSystems.DirectX9.Win32MessageHandling.Msg@,System.IntPtr,System.Int32,System.Int32,System.Int32)"> + <summary> + The PeekMessage function dispatches incoming sent messages, checks the thread message + queue for a posted message, and retrieves the message (if any exist). + </summary> + <param name="msg">A <see cref="T:Axiom.RenderSystems.DirectX9.Win32MessageHandling.Msg"/> structure that receives message information.</param> + <param name="handle"></param> + <param name="msgFilterMin"></param> + <param name="msgFilterMax"></param> + <param name="removeMsg"></param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.Win32MessageHandling.TranslateMessage(Axiom.RenderSystems.DirectX9.Win32MessageHandling.Msg@)"> + <summary> + The TranslateMessage function translates virtual-key messages into character messages. + </summary> + <param name="msg"> + an MSG structure that contains message information retrieved from the calling thread's message queue + by using the GetMessage or <see cref="M:Axiom.RenderSystems.DirectX9.Win32MessageHandling.PeekMessage(Axiom.RenderSystems.DirectX9.Win32MessageHandling.Msg@,System.IntPtr,System.Int32,System.Int32,System.Int32)"/> function. + </param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.Win32MessageHandling.DispatchMessage(Axiom.RenderSystems.DirectX9.Win32MessageHandling.Msg@)"> + <summary> + The DispatchMessage function dispatches a message to a window procedure. + </summary> + <param name="msg">A <see cref="T:Axiom.RenderSystems.DirectX9.Win32MessageHandling.Msg"/> structure containing the message.</param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.Win32MessageHandling.WndProc(Axiom.Graphics.RenderWindow,System.Windows.Forms.Message@)"> + <summary> + Internal winProc (RenderWindow's use this when creating the Win32 Window) + </summary> + <param name="m"></param> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.HLSL.HLSLProgramFactory"> + <summary> + Summary description for HLSLProgramFactory. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.HLSL.HLSLProgramFactory.Language"> + <summary> + Gets the high level language that this factory handles requests for. + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.DriverCollection"> + <summary> + Summary description for DriverCollection. + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.VideoModeCollection"> + <summary> + Summary description for VideoModeCollection. + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery"> + <summary> + Direct3D implementation of a hardware occlusion query. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery.device"> + <summary> + Reference to the current Direct3D device object. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery.query"> + <summary> + Reference to the query object being used. + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery.isSupported"> + <summary> + Flag that indicates whether hardware queries are supported + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery.#ctor(SlimDX.Direct3D9.Device)"> + <summary> + Default constructor. + </summary> + <param name="device">Reference to a Direct3D device.</param> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery.Begin"> + <summary> + Starts the hardware occlusion query + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery.PullResults"> + <summary> + Pulls the hardware occlusion query. + </summary> + <remarks> + Waits until the query result is available; use <see cref="M:Axiom.Graphics.HardwareOcclusionQuery.IsStillOutstanding"/> + if just want to test if the result is available. + </remarks> + <returns>the resulting number of fragments.</returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery.End"> + <summary> + Ends the hardware occlusion test + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery.IsStillOutstanding"> + <summary> + Lets you know when query is done, or still be processed by the Hardware + </summary> + <returns>true if query isn't finished.</returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHardwareOcclusionQuery.dispose(System.Boolean)"> + <summary> + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + </summary> + <filterpriority>2</filterpriority> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.Driver"> + <summary> + Helper class for dealing with D3D Devices. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.Driver.#ctor(SlimDX.Direct3D9.AdapterInformation)"> + <summary> + Default constructor. + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.Driver.Name"> + <summary> + + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.Driver.Description"> + <summary> + + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.Driver.AdapterNumber"> + <summary> + + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.Driver.AdapterIdentifier"> + <summary> + + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.Driver.DesktopMode"> + <summary> + + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.Driver.VideoModes"> + <summary> + + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.Driver.D3DDevice"> + <summary> + + </summary> + </member> + <member name="P:Axiom.RenderSystems.DirectX9.Driver.Direct3D"> + <summary> + This is the main Direct3D object + </summary> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.D3DHelper"> + <summary> + Helper class for Direct3D that includes conversion functions and things that are + specific to D3D. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.FromColor(System.Drawing.Color)"> + <summary> + Static method used to create a new <code>ColorEx</code> instance based + on an existing <see cref="T:System.Drawing.Color"/> structure. + </summary> + <param name="color">.Net color structure to use as a basis.</param> + <returns>A new <code>ColorEx instance.</code></returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.GetDriverInfo(SlimDX.Direct3D9.Direct3D)"> + <summary> + Enumerates driver information and their supported display modes. + </summary> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.ConvertEnum(Axiom.Graphics.FilterType,Axiom.Graphics.FilterOptions,SlimDX.Direct3D9.Capabilities,Axiom.RenderSystems.DirectX9.D3DTextureType)"> + <summary> + + </summary> + <param name="type"></param> + <param name="options"></param> + <param name="caps"></param> + <param name="texType"></param> + <returns></returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.ConvertEnum(Axiom.Graphics.LayerBlendOperationEx)"> + <summary> + Static method for converting LayerBlendOperationEx enum values to the Direct3D + TextureOperation enum. + </summary> + <param name="blendop"></param> + <returns></returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.ConvertEnum(Axiom.Graphics.SceneBlendFactor)"> + <summary> + Helper method to convert Axiom scene blend factors to D3D + </summary> + <param name="factor"></param> + <returns></returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.ConvertEnum(Axiom.Graphics.FogMode)"> + <summary> + + </summary> + <param name="mode"></param> + <returns></returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.ConvertEnum(Axiom.Graphics.CompareFunction)"> + <summary> + Converts our CompareFunction enum to the D3D.Compare equivalent. + </summary> + <param name="func"></param> + <returns></returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.ConvertEnum(Axiom.Graphics.Shading)"> + <summary> + Converts our Shading enum to the D3D ShadingMode equivalent. + </summary> + <param name="shading"></param> + <returns></returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.ConvertEnum(SlimDX.Direct3D9.ShadeMode)"> + <summary> + Converts the D3D ShadingMode to our Shading enum equivalent. + </summary> + <param name="shading"></param> + <returns></returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.ConvertEnum(Axiom.Graphics.StencilOperation,System.Boolean)"> + <summary> + Converts our StencilOperation enum to the D3D StencilOperation equivalent. + </summary> + <param name="op"></param> + <returns></returns> + </member> + <member name="M:Axiom.RenderSystems.DirectX9.D3DHelper.IsIdentity(SlimDX.Matrix@)"> + <summary> + Checks D3D matrix to see if it an identity matrix. + </summary> + <remarks> + For whatever reason, the equality operator overloads for the D3D Matrix + struct are extremely slow.... + </remarks> + <param name="matrix"></param> + <returns></returns> + </member> + <member name="T:Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer"> + <summary> + DirectX implementation of HardwarePixelBuffer + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer.device"> + <summary> + D3DDevice pointer + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer.surface"> + <summary> + Surface abstracted by this buffer + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer.fsaaSurface"> + <summary> + FSAA Surface abstracted by this buffer + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer.volume"> + <summary> + Volume abstracted by this buffer + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer.tempSurface"> + <summary> + Temporary surface in main memory if direct locking of mSurface is not possible + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer.tempVolume"> + <summary> + Temporary volume in main memory if direct locking of mVolume is not possible + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer.doMipmapGen"> + <summary> + Doing Mipmapping? + </summary> + </member> + <member name="F:Axiom.RenderSystems.DirectX9.D3DHardwarePixelBuffer.HWMipmaps"> + <summary> + Hardware Mipmaps? + </summary> + </member> + <member name="F:Axiom.Rend... [truncated message content] |
From: <bor...@us...> - 2011-03-02 21:05:12
|
Revision: 269 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=269&view=rev Author: borrillis Date: 2011-03-02 21:05:04 +0000 (Wed, 02 Mar 2011) Log Message: ----------- Added Sample Browser and 2 Samples Modified Paths: -------------- Axiom.SharpGorilla/trunk/lib/Axiom.dll Added Paths: ----------- Axiom.SharpGorilla/trunk/lib/Axiom.Samples.Common.dll Axiom.SharpGorilla/trunk/lib/SharpInputSystem.dll Axiom.SharpGorilla/trunk/src/SharpGorilla/Caption.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Colors/ Axiom.SharpGorilla/trunk/src/SharpGorilla/Converter.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/DynamicBuffer.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Enums.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Glyph.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/GlyphData.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Helper.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/ILayerContainer.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Layer.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/LayerContainer.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/LineList.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/MarkupText.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Polygon.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Properties/ Axiom.SharpGorilla/trunk/src/SharpGorilla/QuadList.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Rectangle.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Screen.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/ScreenRendable.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla.csproj Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla.sln Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla2008.csproj Axiom.SharpGorilla/trunk/src/SharpGorilla/Silverback.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Sprite.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/Structs.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/TextureAtlas.cs Axiom.SharpGorilla/trunk/src/SharpGorilla_2008.sln Axiom.SharpGorilla/trunk/src/SharpGorilla_2010.sln Removed Paths: ------------- Axiom.SharpGorilla/trunk/lib/Axiom.Platforms.Win32.dll Axiom.SharpGorilla/trunk/lib/Axiom.Plugins.CgProgramManager.dll Axiom.SharpGorilla/trunk/lib/Axiom.Plugins.DevILCodecs.dll Axiom.SharpGorilla/trunk/lib/Axiom.Plugins.ParticleFX.dll Axiom.SharpGorilla/trunk/lib/Axiom.RenderSystems.DirectX9.dll Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Caption.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Colors/ Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Converter.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/DynamicBuffer.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Enums.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Glyph.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/GlyphData.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Helper.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/ILayerContainer.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Layer.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/LayerContainer.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/LineList.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/MarkupText.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Polygon.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Properties/ Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/QuadList.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Rectangle.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Screen.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/ScreenRendable.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/SharpGorilla.csproj Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/SharpGorilla.sln Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/SharpGorilla2008.csproj Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Silverback.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Sprite.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Structs.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/TextureAtlas.cs Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla_2008.sln Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla_2010.sln Axiom.SharpGorilla/trunk/src/SharpGorilla.Demo/ Deleted: Axiom.SharpGorilla/trunk/lib/Axiom.Platforms.Win32.dll =================================================================== (Binary files differ) Deleted: Axiom.SharpGorilla/trunk/lib/Axiom.Plugins.CgProgramManager.dll =================================================================== (Binary files differ) Deleted: Axiom.SharpGorilla/trunk/lib/Axiom.Plugins.DevILCodecs.dll =================================================================== (Binary files differ) Deleted: Axiom.SharpGorilla/trunk/lib/Axiom.Plugins.ParticleFX.dll =================================================================== (Binary files differ) Deleted: Axiom.SharpGorilla/trunk/lib/Axiom.RenderSystems.DirectX9.dll =================================================================== (Binary files differ) Added: Axiom.SharpGorilla/trunk/lib/Axiom.Samples.Common.dll =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/lib/Axiom.Samples.Common.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: Axiom.SharpGorilla/trunk/lib/Axiom.dll =================================================================== (Binary files differ) Added: Axiom.SharpGorilla/trunk/lib/SharpInputSystem.dll =================================================================== (Binary files differ) Property changes on: Axiom.SharpGorilla/trunk/lib/SharpInputSystem.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Copied: Axiom.SharpGorilla/trunk/src/SharpGorilla/Caption.cs (from rev 268, Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Caption.cs) =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla/Caption.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla/Caption.cs 2011-03-02 21:05:04 UTC (rev 269) @@ -0,0 +1,473 @@ +#region License +/* + Gorilla + ------- + + Copyright (c) 2010 Robin Southern + + This is a c# (Axiom) port of Gorrilla, developed by Robin Southern, ported by me (bostich) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ +#endregion + +#region SVN Version Information +// <file> +// <id value="$Id: 2118 2010-09-26 23:56:56Z bostich $"/> +// </file> +#endregion SVN Version Information + +#region Namespace Declarations +using System; +using Axiom.Math; +using Axiom.Core; +#endregion + +namespace SharpGorilla +{ + /// <summary> + /// A single line piece of text + /// </summary> + public class Caption + { + protected Layer _layer; + protected GlyphData _glyphData; + protected Real _left; + protected Real _top; + protected Real _width; + protected Real _height; + protected TextAlignment _algignment; + protected VerticalAlignment _verticalAlignment; + protected string _text; + protected ColorEx _color; + protected ColorEx _backgroundColor; + internal bool _isDirty; + internal DynamicBuffer<Vertex> _vertices = new DynamicBuffer<Vertex>(); + protected int _clippedLeftIndex; + protected int _clippedRightIndex; + + /// <summary> + /// Gets or sets where the text should be drawn vertically. + /// Note:<para></para> + /// If the TextAlignment is Right Aligned, then this will be the right-side of the last character drawn (with in width limits).<para></para> + /// If the TextAlignment is Centre Aligned, then this will be the center of the drawn text drawn (with in width limits). + /// </summary> + public Real Left + { + get { return _left; } + set + { + _left = value; + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// Gets or sets where the text should be drawn vertically. + /// </summary> + public Real Top + { + get { return _top; } + set + { + _top = value; + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// Gets or sets the maximum width of the text can draw into. + /// </summary> + public Real Width + { + get { return _width; } + set + { + _width = value; + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// Gets or sets the maximum height of the text can draw into. + /// </summary> + public Real Height + { + get { return _height; } + set + { + _height = value; + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// Gets or sets the text indented to show. + /// </summary> + public string Text + { + get { return _text; } + set + { + _text = value; + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// Gets or sets the alignment of text. + /// </summary> + public TextAlignment HorizontalAlign + { + get { return _algignment; } + set + { + _algignment = value; + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// Gets or sets the vertical alignment of text. + /// </summary> + public VerticalAlignment VerticalAlign + { + get { return _verticalAlignment; } + set + { + _verticalAlignment = value; + _isDirty = true; + _layer.MarkDirty(); + + } + } + /// <summary> + /// Gets the index (character position), of the first character that could not be drawn due to the limits<para></para> + /// of the width of the text, to the left.<para></para> + /// Note:<para></para> + /// The index if the first clipped character, or -1 if there was no clipping and<para></para> + /// the text was drawn fully within the given space.<para></para> + /// </summary> + public int ClippedLeftIndex + { + get { return _clippedLeftIndex; } + } + /// <summary> + /// Gets the index (character position), of the first character that could not be drawn due to the limits<para></para> + /// of the width of the text, to the right.<para></para> + /// Note:<para></para> + /// The index if the first clipped character, or -1 if there was no clipping and<para></para> + /// the text was drawn fully within the given space.<para></para> + /// </summary> + public int ClippedRightIndex + { + get { return _clippedRightIndex; } + } + /// <summary> + /// Gets or sets the text color + /// </summary> + public ColorEx Color + { + get { return _color; } + set + { + _color = new ColorEx( value.r, value.g, value.b, value.a ); + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// Sets the color as web color + /// </summary> + public Colors.Color WebColor + { + set + { + ColorEx val = Converter.ToWebColor( value ); + _color = new ColorEx( val.r, val.g, val.b, val.a ); + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// Gets or sets the background color + /// </summary> + public ColorEx BackgroundColor + { + get { return _backgroundColor; } + set + { + _backgroundColor = value; + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// Sets the Background color as web color + /// </summary> + public Colors.Color BackgroundWebColor + { + set + { + if (value == Colors.Color.None) + _backgroundColor.a = 0; + else + _backgroundColor = Converter.ToWebColor(value); + + _isDirty = true; + _layer.MarkDirty(); + } + } + /// <summary> + /// + /// </summary> + /// <param name="glyphDataIndex"></param> + /// <param name="left"></param> + /// <param name="top"></param> + /// <param name="caption"></param> + /// <param name="parent"></param> + internal Caption(int glyphDataIndex, Real left, Real top, string caption, Layer parent) + { + _isDirty = true; + _layer = parent; + _layer.MarkDirty(); + _glyphData = _layer.GetGlyphData(glyphDataIndex); + _left = left; + _top = top; + _width = 0; + _height = 0; + _text = caption; + _color = ColorEx.White; + _backgroundColor.a = 0; + _algignment = TextAlignment.Left; + _verticalAlignment = VerticalAlignment.Top; + + } + /// <summary> + /// Does a set of coordinates lie within this caption? + /// </summary> + /// <param name="coordinates">coordinates to check for intersection</param> + /// <returns>true if intersects</returns> + public bool Intersects(Vector2 coordinates) + { + return ((coordinates.x >= _left && coordinates.x <= _left + _width) && (coordinates.y >= _top && coordinates.y <= _top + _height)); + } + /// <summary> + /// Set the maximum width and height of the text can draw into. + /// </summary> + /// <param name="width">width of the text</param> + /// <param name="height">height of the text</param> + public void SetSize(Real width, Real height) + { + _width = width; + _height = height; + _isDirty = true; + _layer.MarkDirty(); + } + internal void CalculateDrawSize(out Vector2 retSize) + { + Real cursor = 0; + Real kerning = 0; + char thisChar = (char)0; + char lastChar = (char)0; + Glyph glyph = null; + retSize = new Vector2(); + retSize.x = 0; + retSize.y = _glyphData.LineHeight; + + for (int i = 0; i < Text.Length; i++) + { + thisChar = Text[i]; + if (thisChar == ' ') + { + lastChar = thisChar; + cursor += _glyphData.SpaceLength; + continue; + } + + if (thisChar < _glyphData.RangeBegin || thisChar > _glyphData.RangeEnd) + { + lastChar = (char)0; + continue; + } + + glyph = _glyphData.GetGlyph((int)thisChar); + kerning = glyph.GetKerning(lastChar); + if (kerning == 0) + kerning = _glyphData.LetterSpacing; + + cursor += glyph.GlyphAdvance + kerning; + lastChar = thisChar; + }//end for i + + retSize.x = cursor - kerning; + } + + /// <summary> + /// + /// </summary> + public void Redraw() + { + if (!_isDirty) + return; + + _vertices.Clear(); + + Vector2 uv = _layer.SolidUV; + Vertex temp = new Vertex(); + if (BackgroundColor.a > 0) + { + Vector2 a, b, c, d = Vector2.Zero; + a.x = _left; a.y = _top; + b.x = _left + _width; b.y = _top; + c.x = _left; c.y = _top + _height; + d.x = _left + _width; d.y = c.y = _top + _height; + + Helper.AddTriangle(ref _vertices, temp, c, b, a, uv, _backgroundColor); + Helper.AddTriangle(ref _vertices, temp, c, d, b, uv, _backgroundColor); + } + + Real left = 0, top = 0, right = 0, bottom = 0, cursorX = 0, cursorY = 0, kerning = 0, texelOffsetX = _layer.TexelX, texelOffsetY = _layer.TexelY; + Vector2 knownSize = Vector2.Zero; + Glyph glyph = null; + bool clipleft = false, clipRight = false; + Real clipLeftPos = 0, clipRightPos = 0; + + if (_algignment == TextAlignment.Left) + { + cursorX = _left; + if (_width != 0) + { + clipRight = true; + clipRightPos = _left + _width; + } + } + else if (_algignment == TextAlignment.Center) + { + CalculateDrawSize(out knownSize); + cursorX = _left + (_width * 0.5f) - (knownSize.x * 0.5f); + + if (_width != 0) + { + clipleft = true; + clipLeftPos = _left; + clipRight = true; + clipRightPos = _left + _width; + } + } + else if (_algignment == TextAlignment.Right) + { + CalculateDrawSize(out knownSize); + cursorX = _left + _width - knownSize.x; + if (_width != 0) + { + clipleft = true; + clipLeftPos = _left; + } + } + + if (_verticalAlignment == VerticalAlignment.Top) + { + cursorY = _top; + } + else if (_verticalAlignment == VerticalAlignment.Middle) + { + cursorY = _top + (_height * 0.5f) - (_glyphData.LineHeight * 0.5f); + } + else if (_verticalAlignment == VerticalAlignment.Bottom) + { + cursorY = _top + _height - _glyphData.LineHeight; + } + + char thisChar = (char)0; + char lastChar = (char)0; + _clippedLeftIndex = -1; + _clippedRightIndex = -1; + + for (int i = 0; i < _text.Length; i++) + { + thisChar = _text[i]; + + if (thisChar == ' ') + { + lastChar = thisChar; + cursorX += _glyphData.SpaceLength; + continue; + } + if (thisChar < _glyphData.RangeBegin || thisChar > _glyphData.RangeEnd) + { + lastChar = (char)0; + continue; + } + + glyph = _glyphData.GetGlyph((int)thisChar); + kerning = glyph.GetKerning(lastChar); + if (kerning == 0) + kerning = _glyphData.LetterSpacing; + + left = cursorX - texelOffsetX; + top = cursorY - texelOffsetY; + right = left + glyph.GlyphWidth + texelOffsetX; + bottom = top + glyph.GlyphHeight + texelOffsetY; + + if (clipleft) + { + if (left < clipLeftPos) + { + if (_clippedLeftIndex == -1) + _clippedLeftIndex = i; + + cursorX += glyph.GlyphAdvance + kerning; + lastChar = thisChar; + continue; + } + } + + if (clipRight) + { + if (right > clipRightPos) + { + if (_clippedRightIndex == -1) + _clippedRightIndex = i; + + cursorX += glyph.GlyphAdvance + kerning; + lastChar = thisChar; + continue; + } + } + + // Triangle A + Helper.AddVertex(ref _vertices, temp, left, bottom, glyph.TexCoords[(int)QuadCorner.BottomLeft], _color); // Left/Bottom 3 + Helper.AddVertex(ref _vertices, temp, right, top, glyph.TexCoords[(int)QuadCorner.TopRight], _color); // Right/Top 1 + Helper.AddVertex(ref _vertices, temp, left, top, glyph.TexCoords[(int)QuadCorner.TopLeft], _color); // Left/Top 0 + + // Triangle B + Helper.AddVertex(ref _vertices, temp, left, bottom, glyph.TexCoords[(int)QuadCorner.BottomLeft], _color); // Left/Bottom 3 + Helper.AddVertex(ref _vertices, temp, right, bottom, glyph.TexCoords[(int)QuadCorner.BottomRight], _color); // Right/Bottom 2 + Helper.AddVertex(ref _vertices, temp, right, top, glyph.TexCoords[(int)QuadCorner.TopRight], _color); // Right/Top 1 + + + cursorX += glyph.GlyphAdvance + kerning; + lastChar = thisChar; + }//end for + + _isDirty = false; + } + } +} Copied: Axiom.SharpGorilla/trunk/src/SharpGorilla/Converter.cs (from rev 268, Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Converter.cs) =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla/Converter.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla/Converter.cs 2011-03-02 21:05:04 UTC (rev 269) @@ -0,0 +1,108 @@ +#region License +/* + Gorilla + ------- + + Copyright (c) 2010 Robin Southern + + This is a c# (Axiom) port of Gorrilla, developed by Robin Southern, ported by me (bostich) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ +#endregion + +#region SVN Version Information +// <file> +// <id value="$Id: 2118 2010-09-26 23:56:56Z bostich $"/> +// </file> +#endregion SVN Version Information + +#region Namespace Declarations + +using System; +using SharpGorilla.Colors; +using Axiom.Core; +using Axiom.Math; + +#endregion +namespace SharpGorilla +{ + public class Converter + { + public static Real Inv255 = new Real(0.00392156863); + public static Double InvHight = 0.00392156863; + + /// <summary> + /// Convert three/four RGBA values into an ColorEx + /// </summary> + /// <param name="r"></param> + /// <param name="g"></param> + /// <param name="b"></param> + /// <returns></returns> + public static ColorEx ToRGB(byte r, byte g, byte b) + { + return ToRGB(r,g,b,255); + } + /// <summary> + /// Convert three/four RGBA values into an ColorEx + /// </summary> + /// <param name="r"></param> + /// <param name="g"></param> + /// <param name="b"></param> + /// <param name="a"></param> + /// <returns></returns> + public static ColorEx ToRGB(byte r, byte g, byte b, byte a) + { + double av = a *InvHight; + double gv = g * InvHight; + double rv = r * InvHight; + double bv = b * InvHight; + ColorEx ret = new ColorEx( new Real( r ) * Inv255, new Real( g ) * Inv255, new Real( b ) * Inv255, new Real( a ) * Inv255 ); + //ColorEx ret = new ColorEx( new Real( a ) * Inv255, new Real( r ) * Inv255, new Real( r ) * Inv255, new Real( b ) * Inv255 ); + return ret; + } + + /// <summary> + /// Turn a webcolor from the SharpGorilla.Colors.Color enum into an ColorEx + /// </summary> + /// <param name="color"></param> + /// <returns></returns> + public static ColorEx ToWebColor( Color color) + { + return ToWebColor(color,1.0f); + } + + /// <summary> + /// Turn a webcolor from the SharpGorilla.Colors.Color enum into an ColorEx + /// </summary> + /// <param name="color"></param> + /// <param name="alpha"></param> + /// <returns></returns> + public static ColorEx ToWebColor( Color color, float alpha ) + { + int intCol = (int)color; + ColorEx ret = new ColorEx(); + ret.b = ( intCol & 0xFF ) * Inv255; + ret.g = ( ( intCol >> 8 ) & 0xFF ) * Inv255; + ret.r = ( ( intCol >> 16 ) & 0xFF ) * Inv255; + ret.a = alpha; + return ret; + } + } +} Copied: Axiom.SharpGorilla/trunk/src/SharpGorilla/DynamicBuffer.cs (from rev 268, Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/DynamicBuffer.cs) =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla/DynamicBuffer.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla/DynamicBuffer.cs 2011-03-02 21:05:04 UTC (rev 269) @@ -0,0 +1,341 @@ +#region License +/* + Gorilla + ------- + + Copyright (c) 2010 Robin Southern + + This is a c# (Axiom) port of Gorrilla, developed by Robin Southern, ported by me (bostich) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ +#endregion + +#region SVN Version Information +// <file> +// <id value="$Id: 2118 2010-09-26 23:56:56Z bostich $"/> +// </file> +#endregion SVN Version Information + +#region Namespace Declarations +using System; + +#endregion +namespace SharpGorilla +{ + //public class DynamicBuffer + //{ + // /// <summary> + // /// + // /// </summary> + // protected dynamic _buffer; + // /// <summary> + // /// + // /// </summary> + // protected int _used; + // /// <summary> + // /// + // /// </summary> + // protected int _capacity; + // /// <summary> + // /// + // /// </summary> + // public int Size + // { + // get + // { + // return _used; + // } + // } + // /// <summary> + // /// + // /// </summary> + // public int Capacity + // { + // get + // { + // return _capacity; + // } + // } + // /// <summary> + // /// + // /// </summary> + // public dynamic First + // { + // get + // { + // return _buffer == null ? null :_buffer[0]; + // } + // } + // /// <summary> + // /// + // /// </summary> + // public dynamic Last + // { + // get + // { + // return _buffer == null ? null : _buffer[_used - 1]; + // } + // } + // /// <summary> + // /// + // /// </summary> + // /// <param name="index"></param> + // /// <returns></returns> + // public dynamic this[int index] + // { + // get + // { + // return _buffer[index]; + // } + // } + // /// <summary> + // /// + // /// </summary> + // /// <param name="index"></param> + // /// <returns></returns> + // public dynamic At(int index) + // { + // return _buffer[index]; + // } + // /// <summary> + // /// + // /// </summary> + // public void Clear() + // { + // _used = 0; + // } + // /// <summary> + // /// + // /// </summary> + // /// <param name="capacity"></param> + // public void Resize(int capacity) + // { + // dynamic newBuffer = new dynamic[capacity]; + + // if (_used != 0) + // { + // if (_used < capacity)// copy all + // { + // for (int i = 0; i < _used; i++) + // { + // newBuffer[i] = _buffer[i]; + // } + // } + // else if (_used >= capacity) // copy some + // { + // for (int i = 0; i < _capacity;i++ ) + // { + // newBuffer[i] = _buffer[i]; + // } + // } + // } + + // _capacity = capacity; + // _buffer = newBuffer; + // } + // /// <summary> + // /// + // /// </summary> + // /// <param name="value"></param> + // public void Add(dynamic value) + // { + // if (_used == _capacity) + // { + // Resize(_used == 0 ? 1 : _used * 2); + // } + + // _buffer[_used] = value; + // _used++; + // } + // /// <summary> + // /// + // /// </summary> + // public void PopBack() + // { + // if (_used != 0) + // _used--; + // } + // /// <summary> + // /// + // /// </summary> + // /// <param name="index"></param> + // public void Remove(int index) + // { + // _buffer[index] = _buffer[_used - 1]; + // _used--; + // } + //} + + public class DynamicBuffer<T> + { + /// <summary> + /// + /// </summary> + protected T[] _buffer; + /// <summary> + /// + /// </summary> + protected int _used; + /// <summary> + /// + /// </summary> + protected int _capacity; + /// <summary> + /// + /// </summary> + public int Size + { + get + { + return _used; + } + } + /// <summary> + /// + /// </summary> + public int Capacity + { + get + { + return _capacity; + } + } + /// <summary> + /// + /// </summary> + public T First + { + get + { + return _buffer == null ? default(T) : _buffer[0]; + } + } + /// <summary> + /// + /// </summary> + public T Last + { + get + { + return _buffer == null ? default(T) : _buffer[_used - 1]; + } + } + /// <summary> + /// + /// </summary> + /// <param name="index"></param> + /// <returns></returns> + public T this[int index] + { + get + { + return _buffer[index]; + } + set + { + _buffer[index] = value; + } + } + public T[] ToArray() + { + return _buffer; + } + public void SetData( T[] data ) + { + _buffer = data; + } + /// <summary> + /// + /// </summary> + /// <param name="index"></param> + /// <returns></returns> + public T At(int index) + { + return _buffer[index]; + } + /// <summary> + /// + /// </summary> + public void Clear() + { + _used = 0; + } + /// <summary> + /// + /// </summary> + /// <param name="capacity"></param> + public void Resize(int capacity) + { + T[] newBuffer = new T[capacity]; + + if (_used != 0) + { + if (_used < capacity)// copy all + { + for (int i = 0; i < _used; i++) + { + newBuffer[i] = _buffer[i]; + } + } + else if (_used >= capacity) // copy some + { + for (int i = 0; i < _capacity; i++) + { + newBuffer[i] = _buffer[i]; + } + } + } + + _capacity = capacity; + _buffer = newBuffer; + } + /// <summary> + /// + /// </summary> + /// <param name="value"></param> + public void Add(T value) + { + if (_used == _capacity) + { + Resize(_used == 0 ? 1 : _used * 2); + } + + _buffer[_used] = value; + _used++; + } + /// <summary> + /// + /// </summary> + public void PopBack() + { + if (_used != 0) + _used--; + } + /// <summary> + /// + /// </summary> + /// <param name="index"></param> + public void Remove(int index) + { + _buffer[index] = _buffer[_used - 1]; + _used--; + } + } +} Copied: Axiom.SharpGorilla/trunk/src/SharpGorilla/Enums.cs (from rev 268, Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Enums.cs) =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla/Enums.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla/Enums.cs 2011-03-02 21:05:04 UTC (rev 269) @@ -0,0 +1,113 @@ +#region License +/* + Gorilla + ------- + + Copyright (c) 2010 Robin Southern + + This is a c# (Axiom) port of Gorrilla, developed by Robin Southern, ported by me (bostich) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ +#endregion + +#region SVN Version Information +// <file> +// <id value="$Id: 2118 2010-09-26 23:56:56Z bostich $"/> +// </file> +#endregion SVN Version Information + +#region Namespace Declarations +#endregion +namespace SharpGorilla +{ + /// <summary> + /// Directions for background gradients + /// </summary> + public enum Gradient + { + NorthSouth, + WestEast, + Diagonal, + } + /// <summary> + /// Border Directions + /// <remarks> + /// <para>+---------------------+</para> + /// <para>|\ NORTH /|</para> + /// <para>| \ / |</para> + /// <para>| +---------------+ |</para> + /// <para>| | | |</para> + /// <para>| W| |E |</para> + /// <para>| E| |A |</para> + /// <para>| S| |S |</para> + /// <para>| T| |T |</para> + /// <para>| | | |</para> + /// <para>| +---------------+ |</para> + /// <para>| / SOUTH \ |</para> + /// <para>|/ \|</para> + /// <para>+---------------------+</para> + /// </remarks> + /// </summary> + public enum Border + { + North = 0, + South = 1, + East = 2, + West = 3, + } + /// <summary> + /// Names of each corner/vertex of a Quad + /// </summary> + public enum QuadCorner + { + TopLeft = 0, + TopRight = 1, + BottomRight = 2, + BottomLeft = 3, + } + /// <summary> + /// Horizontal text alignment for captions. + /// </summary> + public enum TextAlignment + { + /// <summary> + /// Place the text to where left is (X = left) + /// </summary> + Left, + /// <summary> + /// Place the text to the right of left (X = left - text_width) + /// </summary> + Right, + /// <summary> + /// Place the text centered at left (X = left - (text_width / 2 ) ) + /// </summary> + Center + } + /// <summary> + /// Vertical text alignment for captions. + /// </summary> + public enum VerticalAlignment + { + Top, + Middle, + Bottom, + } + +} Copied: Axiom.SharpGorilla/trunk/src/SharpGorilla/Glyph.cs (from rev 268, Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Glyph.cs) =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla/Glyph.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla/Glyph.cs 2011-03-02 21:05:04 UTC (rev 269) @@ -0,0 +1,159 @@ +#region License +/* + Gorilla + ------- + + Copyright (c) 2010 Robin Southern + + This is a c# (Axiom) port of Gorrilla, developed by Robin Southern, ported by me (bostich) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ +#endregion + +#region SVN Version Information +// <file> +// <id value="$Id: 2118 2010-09-26 23:56:56Z bostich $"/> +// </file> +#endregion SVN Version Information + +#region Namespace Declarations +using System; +using Axiom.Math; +#endregion +namespace SharpGorilla +{ + /// <summary> + /// Texture and size information about a single character loaded from a TextureAtlas. + /// </summary> + public class Glyph + { + private Vector2[] _texCoords = new Vector2[4]; + /// <summary> + /// + /// </summary> + public DynamicBuffer<Kerning> Kerning + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Vector2[] TexCoords + { + get { return _texCoords; } + set { _texCoords = value; } + } + /// <summary> + /// + /// </summary> + public Real UVTop + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real UVWidth + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real UVBottom + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real UVHeight + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real UVLeft + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real UVRight + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real GlyphWidth + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real GlyphHeight + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real GlyphAdvance + { + get; + set; + } + public Glyph() + { + Kerning = new DynamicBuffer<Kerning>(); + } + /// <summary> + /// + /// </summary> + /// <param name="leftof"></param> + /// <returns></returns> + public Real GetKerning(char leftof) + { + if (Kerning.Size == 0) + return 0; + + for (int i = 0; i < Kerning.Size; i++) + { + if (Kerning[i].Character == leftof) + return Kerning[i].kerning; + } + + return 0; + } + } +} Copied: Axiom.SharpGorilla/trunk/src/SharpGorilla/GlyphData.cs (from rev 268, Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/GlyphData.cs) =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla/GlyphData.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla/GlyphData.cs 2011-03-02 21:05:04 UTC (rev 269) @@ -0,0 +1,136 @@ +#region License +/* + Gorilla + ------- + + Copyright (c) 2010 Robin Southern + + This is a c# (Axiom) port of Gorrilla, developed by Robin Southern, ported by me (bostich) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ +#endregion + +#region SVN Version Information +// <file> +// <id value="$Id: 2118 2010-09-26 23:56:56Z bostich $"/> +// </file> +#endregion SVN Version Information + +#region Namespace Declarations +using System; +using System.Collections.Generic; + +using Axiom.Math; +#endregion +namespace SharpGorilla +{ + /// <summary> + /// Collection of glyphs of the same size. + /// </summary> + public class GlyphData + { + /// <summary> + /// + /// </summary> + public List<Glyph> Glyphs + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real RangeBegin + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real RangeEnd + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real SpaceLength + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real LineHeight + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real Baseline + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real LetterSpacing + { + get; + set; + } + /// <summary> + /// + /// </summary> + public Real MonoWidth + { + get; + set; + } + /// <summary> + /// + /// </summary> + public GlyphData() + { + Glyphs = new List<Glyph>(); + } + /// <summary> + /// Get a glyph (character information) from a specific character. + /// </summary> + /// <param name="character"></param> + /// <returns> + /// If the character doesn't exist then a null pointer is returned. + /// Do not delete the Glyph pointer. + /// </returns> + public Glyph GetGlyph(int character) + { + character = character - (int)RangeBegin; + if (character > RangeEnd) + return null; + return Glyphs[character]; + } + } +} Copied: Axiom.SharpGorilla/trunk/src/SharpGorilla/Helper.cs (from rev 268, Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Helper.cs) =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla/Helper.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla/Helper.cs 2011-03-02 21:05:04 UTC (rev 269) @@ -0,0 +1,117 @@ +#region License +/* + Gorilla + ------- + + Copyright (c) 2010 Robin Southern + + This is a c# (Axiom) port of Gorrilla, developed by Robin Southern, ported by me (bostich) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ +#endregion + +#region SVN Version Information +// <file> +// <id value="$Id: 2118 2010-09-26 23:56:56Z bostich $"/> +// </file> +#endregion SVN Version Information + +#region Namespace Declarations +using System; +using Axiom.Math; +using Axiom.Core; +#endregion +namespace SharpGorilla +{ + public static class Helper + { + /// <summary> + /// + /// </summary> + /// <param name="vertices"></param> + /// <param name="vertex"></param> + /// <param name="x"></param> + /// <param name="y"></param> + /// <param name="uv"></param> + /// <param name="color"></param> + public static void AddVertex(ref DynamicBuffer<Vertex> vertices, Vertex vertex, Real x, Real y, Vector2 uv, ColorEx color) + { + vertex.Position.x = x; + vertex.Position.y = y; + vertex.Position.z = 0; + vertex.UV.x = uv.x; + vertex.UV.y = uv.y; + vertex.Color = color; + vertices.Add(vertex); + } + /// <summary> + /// + /// </summary> + /// <param name="vertices"></param> + /// <param name="vertex"></param> + /// <param name="a"></param> + /// <param name="b"></param> + /// <param name="c"></param> + /// <param name="uv"></param> + /// <param name="color"></param> + public static void AddTriangle(ref DynamicBuffer<Vertex> vertices, Vertex vertex, Vector2 a, Vector2 b, Vector2 c, Vector2 uv, ColorEx color) + { + AddVertex(ref vertices, vertex, a.x, a.y, uv, color); + AddVertex(ref vertices, vertex, b.x, b.y, uv, color); + AddVertex(ref vertices, vertex, c.x, c.y, uv, color); + } + /// <summary> + /// + /// </summary> + /// <param name="vertices"></param> + /// <param name="vertex"></param> + /// <param name="positions"></param> + /// <param name="colors"></param> + /// <param name="uv"></param> + public static void AddQuad(ref DynamicBuffer<Vertex> vertices, Vertex vertex, Vector2[] positions, ColorEx[] colors, Vector2[] uv) + { + AddVertex(ref vertices, vertex, positions[3].x, positions[3].y, uv[3], colors[3]); + AddVertex(ref vertices, vertex, positions[1].x, positions[1].y, uv[1], colors[1]); + AddVertex(ref vertices, vertex, positions[0].x, positions[0].y, uv[0], colors[0]); + + AddVertex(ref vertices, vertex, positions[3].x, positions[3].y, uv[3], colors[3]); + AddVertex(ref vertices, vertex, positions[2].x, positions[2].y, uv[2], colors[2]); + AddVertex(ref vertices, vertex, positions[1].x, positions[1].y, uv[1], colors[1]); + } + /// <summary> + /// + /// </summary> + /// <param name="vertices"></param> + /// <param name="vertex"></param> + /// <param name="positions"></param> + /// <param name="colors"></param> + /// <param name="uv"></param> + public static void AddQuad2(ref DynamicBuffer<Vertex> vertices, Vertex vertex, Vector2[] positions, ColorEx color, Vector2[] uv) + { + AddVertex(ref vertices, vertex, positions[3].x, positions[3].y, uv[3], color); + AddVertex(ref vertices, vertex, positions[1].x, positions[1].y, uv[1], color); + AddVertex(ref vertices, vertex, positions[0].x, positions[0].y, uv[0], color); + + AddVertex(ref vertices, vertex, positions[3].x, positions[3].y, uv[3], color); + AddVertex(ref vertices, vertex, positions[2].x, positions[2].y, uv[2], color); + AddVertex(ref vertices, vertex, positions[1].x, positions[1].y, uv[1], color); + } + } +} Copied: Axiom.SharpGorilla/trunk/src/SharpGorilla/ILayerContainer.cs (from rev 268, Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/ILayerContainer.cs) =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla/ILayerContainer.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla/ILayerContainer.cs 2011-03-02 21:05:04 UTC (rev 269) @@ -0,0 +1,127 @@ +#region License +/* + Gorilla + ------- + + Copyright (c) 2010 Robin Southern + + This is a c# (Axiom) port of Gorrilla, developed by Robin Southern, ported by me (bostich) + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + */ +#endregion + +#region SVN Version Information +// <file> +// <id value="$Id: 2118 2010-09-26 23:56:56Z bostich $"/> +// </file> +#endregion SVN Version Information + +#region Namespace Declarations +using System; +using Axiom.Math; +#endregion + +namespace SharpGorilla +{ + public interface ILayerContainer + { + /// <summary> + /// + /// </summary> + TextureAtlas Atlas + { + get; + } + /// <summary> + /// + /// </summary> + Real TexelOffsetX + { + get; + } + /// <summary> + /// + /// </summary> + Real TexelOffsetY + { + get; + } + /// <summary> + /// + /// </summary> + /// <param name="index"></param> + /// <returns></returns> + Layer CreateLayer(int index); + /// <summary> + /// + /// </summary> + /// <param name="layer"></param> + void Destroy(ref Layer layer); + /// <summary> + /// + /// </summary> + /// <param name="initialSize"></param> + void CreateVertexBuffer(int initialSize); + /// <summary> + /// + /// </summary> + void DestroyVertexBuffer(); + /// <summary> + /// + /// </summary> + void ResizeVertexBuffer(int requestedSize); + /// <summary> + /// + /// </summary> + void ReCalculateIndexes(); + /// <summary> + /// + /// </summary> + /// <param name="id"></param> + /// <param name="force"></param> + void RedrawIndex(int id, bool force); + /// <summary> + /// + /// </summary> + /// <param name="force"></param> + void RedrawAllIndexs(bool force); + /// <summary> + /// + /// </summary> + /// <param name="index"></param> + void RequestIndexRedraw(int index); + /// <summary> + /// + /// </summary> + /// <param name="force"></param> + void RenderVertices(bool force); + /// <summary> + /// + /// </summary> + void RenderOnce(); + /// <summary> + /// + /// </summary> + /// <param name="vertices"></param> + /// <param name="begin"></param> + /// <param name="end"></param> + void Transform(ref DynamicBuffer<Vertex> vertices, int begin, int end); + } +} Copied: Axiom.SharpGorilla/trunk/src/SharpGorilla/Layer.cs (from rev 268, Axiom.SharpGorilla/trunk/src/SharpGorilla/SharpGorilla/Layer.cs) =================================================================== --- Axiom.SharpGorilla/trunk/src/SharpGorilla/Layer.cs (rev 0) +++ Axiom.SharpGorilla/trunk/src/SharpGorilla/Layer.cs 2011-03-02 21:05:04 UTC (rev 269) @@ -0,0 +1,617 @@ +#region License +/* + Gorilla + ------- + + Copyright... [truncated message content] |
From: <bor...@us...> - 2011-02-16 20:46:30
|
Revision: 267 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=267&view=rev Author: borrillis Date: 2011-02-16 20:46:24 +0000 (Wed, 16 Feb 2011) Log Message: ----------- Updated Stats Panels Modified Paths: -------------- AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj Added Paths: ----------- AxiomContrib.Samples/trunk/bin/media/overlays/ AxiomContrib.Samples/trunk/bin/media/overlays/JitterSampleDisplay.overlay Modified: AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj =================================================================== --- AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj 2011-02-16 16:14:10 UTC (rev 266) +++ AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj 2011-02-16 20:46:24 UTC (rev 267) @@ -59,6 +59,7 @@ <None Include="models\car.mesh" /> <None Include="models\ogrehead.mesh" /> <None Include="models\wheel.mesh" /> + <None Include="overlays\JitterSampleDisplay.overlay" /> </ItemGroup> <ItemGroup> <Content Include="icons\AxiomIcon.ico" /> Added: AxiomContrib.Samples/trunk/bin/media/overlays/JitterSampleDisplay.overlay =================================================================== --- AxiomContrib.Samples/trunk/bin/media/overlays/JitterSampleDisplay.overlay (rev 0) +++ AxiomContrib.Samples/trunk/bin/media/overlays/JitterSampleDisplay.overlay 2011-02-16 20:46:24 UTC (rev 267) @@ -0,0 +1,12 @@ + +template container Panel(JitterSample/JitterLogo) +{ + metrics_mode pixels + horz_align left + vert_align top + top 0 + left 0 + width 100 + height 91 + material JitterSample/Logo +} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-02-16 16:14:19
|
Revision: 266 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=266&view=rev Author: borrillis Date: 2011-02-16 16:14:10 +0000 (Wed, 16 Feb 2011) Log Message: ----------- Updated Stats Panels removed unused materials Updated Browser Binaries to latest svn Modified Paths: -------------- AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.pdb AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj.user AxiomContrib.Samples/trunk/Source/Jitter/JitterSample.cs AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/GeometricPrimitive.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Scene.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Terrain.cs AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj AxiomContrib.Samples/trunk/bin/media/archives/SdkTrays.zip AxiomContrib.Samples/trunk/bin/media/materials/scripts/JitterSample.material AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.pdb Added Paths: ----------- AxiomContrib.Samples/trunk/Source/Jitter/JitterSampleController.cs AxiomContrib.Samples/trunk/Source/OpenNI/ AxiomContrib.Samples/trunk/Source/OpenNI/Axiom.Samples.OpenNI.csproj AxiomContrib.Samples/trunk/Source/OpenNI/AxiomContrib.Samples.OpenNI.2010.csproj AxiomContrib.Samples/trunk/Source/OpenNI/OpenNISample.cs AxiomContrib.Samples/trunk/Source/OpenNI/Plugin.cs AxiomContrib.Samples/trunk/Source/OpenNI/Properties/ AxiomContrib.Samples/trunk/Source/OpenNI/Properties/AssemblyInfo.cs AxiomContrib.Samples/trunk/Source/OpenNI/SinbadCharacterController.cs AxiomContrib.Samples/trunk/Source/OpenNI/SkeletonPoseDetector.cs AxiomContrib.Samples/trunk/Source/OpenNI/bin/ AxiomContrib.Samples/trunk/Source/OpenNI/bin/Debug/ AxiomContrib.Samples/trunk/Source/OpenNI/bin/Release/ AxiomContrib.Samples/trunk/Source/OpenNI/obj/ AxiomContrib.Samples/trunk/Source/OpenNI/obj/x86/ AxiomContrib.Samples/trunk/Source/OpenNI/obj/x86/Debug/ AxiomContrib.Samples/trunk/Source/OpenNI/obj/x86/Debug/AxiomContrib.Samples.OpenNI.2010.csproj.FileListAbsolute.txt AxiomContrib.Samples/trunk/Source/OpenNI/obj/x86/Debug/AxiomContrib.Samples.OpenNISample.dll AxiomContrib.Samples/trunk/Source/OpenNI/obj/x86/Debug/AxiomContrib.Samples.OpenNISample.pdb AxiomContrib.Samples/trunk/Source/OpenNI/obj/x86/Debug/DesignTimeResolveAssemblyReferencesInput.cache AxiomContrib.Samples/trunk/Source/OpenNI/obj/x86/Debug/TempPE/ Removed Paths: ------------- AxiomContrib.Samples/trunk/Source/Jitter/JitterStatsHandler.cs AxiomContrib.Samples/trunk/bin/media/materials/scripts/JitterSampleDisplay.overlay AxiomContrib.Samples/trunk/bin/media/materials/scripts/Rockwall.material AxiomContrib.Samples/trunk/bin/media/materials/textures/rockwall.tga Property Changed: ---------------- AxiomContrib.Samples/trunk/Source/ Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.pdb =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.pdb =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.pdb =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Source ___________________________________________________________________ Added: svn:ignore + *.suo Modified: AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj 2011-02-16 10:24:37 UTC (rev 265) +++ AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj 2011-02-16 16:14:10 UTC (rev 266) @@ -69,7 +69,7 @@ <ItemGroup> <Compile Include="Conversion.cs" /> <Compile Include="DebugDrawer.cs" /> - <Compile Include="JitterStatsHandler.cs" /> + <Compile Include="JitterSampleController.cs" /> <Compile Include="JitterSample.cs" /> <Compile Include="PhysicsObjects\ConvexHullObject.cs" /> <Compile Include="PhysicsObjects\TerrainObject.cs" /> Modified: AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj.user =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj.user 2011-02-16 10:24:37 UTC (rev 265) +++ AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj.user 2011-02-16 16:14:10 UTC (rev 266) @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> - <StartProgram>..\bin\win32\Axiom.Samples.Browser.exe</StartProgram> - <StartWorkingDirectory>..\win32\</StartWorkingDirectory> + <StartProgram>C:\Projects\axiomcontrib\AxiomContrib.Samples\trunk\bin\win32\Axiom.Samples.Browser.exe</StartProgram> + <StartWorkingDirectory>C:\Projects\axiomcontrib\AxiomContrib.Samples\trunk\bin\win32</StartWorkingDirectory> <StartAction>Program</StartAction> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> Modified: AxiomContrib.Samples/trunk/Source/Jitter/JitterSample.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/JitterSample.cs 2011-02-16 10:24:37 UTC (rev 265) +++ AxiomContrib.Samples/trunk/Source/Jitter/JitterSample.cs 2011-02-16 16:14:10 UTC (rev 266) @@ -13,10 +13,10 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -50,58 +50,58 @@ namespace AxiomContrib.Samples.Jitter { - public enum BodyTag { DrawMe, DontDrawMe } + public enum BodyTag { DrawMe, DontDrawMe } - public class JitterSample : SdkSample - { - private GeometricPrimitive[] _primitives = new GeometricPrimitive[ (int)PrimitiveType.Count ]; + public class JitterSample : SdkSample + { + private GeometricPrimitive[] _primitives = new GeometricPrimitive[ (int)PrimitiveType.Count ]; - private int _currentScene = 0; - private bool _multithreadingEnabled = true; - private bool _leftMouseButtonDown = false; - private Vector2 _currentMousePos; + private int _currentScene = 0; + private bool _multithreadingEnabled = true; + private bool _leftMouseButtonDown = false; + private Vector2 _currentMousePos; - private Random random = new Random(); - private RigidBody lastBody = null; - private int _activeBodiesCount = 0; - private List<ConvexHullObject> _convexHulls = new List<ConvexHullObject>(); + private Random random = new Random(); + private RigidBody lastBody = null; + private int _activeBodiesCount = 0; + private List<ConvexHullObject> _convexHulls = new List<ConvexHullObject>(); - // Store information for drag and drop - private JVector hitPoint, hitNormal; - private WorldPointConstraint grabConstraint; - private RigidBody grabBody; - private float hitDistance = 0.0f; - //private int scrollWheel = 0; + // Store information for drag and drop + private JVector hitPoint, hitNormal; + private WorldPointConstraint grabConstraint; + private RigidBody grabBody; + private float hitDistance = 0.0f; + //private int scrollWheel = 0; - //public DebugDrawer DebugDrawer { get; private set; } - public World PhysicWorld { get; private set; } - public IList<Scene> PhysicScenes { get; private set; } - public JitterStatsHandler StatsHandler { get; private set; } + //public DebugDrawer DebugDrawer { get; private set; } + public World PhysicWorld { get; private set; } + public IList<Scene> PhysicScenes { get; private set; } + public JitterSampleController StatsHandler { get; private set; } - public JitterSample() - { - Metadata[ "Title" ] = "Jitter Sample"; - Metadata[ "Description" ] = "Demonstrates how to use Jitter Physics Engine with Axiom."; - Metadata[ "Thumbnail" ] = "thumb_Jitter.png"; - Metadata[ "Category" ] = "Physics"; - } + public JitterSample() + { + Metadata[ "Title" ] = "Jitter Sample"; + Metadata[ "Description" ] = "Demonstrates how to use Jitter Physics Engine with Axiom."; + Metadata[ "Thumbnail" ] = "thumb_Jitter.png"; + Metadata[ "Category" ] = "Physics"; + } - public override bool FrameRenderingQueued( FrameEventArgs evt ) - { - float step = evt.TimeSinceLastFrame; - if ( step > 1.0f / 100.0f ) - step = 1.0f / 100.0f; + public override bool FrameRenderingQueued( FrameEventArgs evt ) + { + float step = evt.TimeSinceLastFrame; + if ( step > 1.0f / 100.0f ) + step = 1.0f / 100.0f; - PhysicWorld.Step( step, _multithreadingEnabled ); - _activeBodiesCount = 0; + PhysicWorld.Step( step, _multithreadingEnabled ); + _activeBodiesCount = 0; - foreach ( RigidBody body in PhysicWorld.RigidBodies ) - { - if ( body.IsActive ) - _activeBodiesCount++; + foreach ( RigidBody body in PhysicWorld.RigidBodies ) + { + if ( body.IsActive ) + _activeBodiesCount++; - _addBodyToUpdateList( body ); - } + _addBodyToUpdateList( body ); + } foreach ( GeometricPrimitive prim in _primitives ) { @@ -118,386 +118,368 @@ if ( _currentScene > 0 && _currentScene < PhysicScenes.Count && null != PhysicScenes[ _currentScene ] ) PhysicScenes[ _currentScene ].PhysicUpdate(); - #region drag and drop physical objects with the mouse - if ( _leftMouseButtonDown ) - { - if ( grabBody != null ) - { - Vector3 ray = _rayTo( _currentMousePos.x, _currentMousePos.y ); - ray.Normalize(); - grabConstraint.Anchor = Conversion.ToJitterVector( Camera.Position + ray * hitDistance ); - } - } - else - { - grabBody = null; + #region drag and drop physical objects with the mouse + if ( _leftMouseButtonDown ) + { + if ( grabBody != null ) + { + Vector3 ray = _rayTo( _currentMousePos.x, _currentMousePos.y ); + ray.Normalize(); + grabConstraint.Anchor = Conversion.ToJitterVector( Camera.Position + ray * hitDistance ); + } + } + else + { + grabBody = null; - if ( grabConstraint != null ) - PhysicWorld.RemoveConstraint( grabConstraint ); - } - #endregion + if ( grabConstraint != null ) + PhysicWorld.RemoveConstraint( grabConstraint ); + } + #endregion - // Draw the debug data provided by Jitter - //DrawIslands(); - //DrawJitterDebugInfo(); + // Draw the debug data provided by Jitter + //DrawIslands(); + //DrawJitterDebugInfo(); - //Update Stats - if ( StatsHandler.AreStatsVisible ) - { - int contactCount = 0; - int entries = (int)World.DebugType.num; - double total = 0; + //Update Stats + if ( StatsHandler.AreStatsVisible ) + { + int contactCount = 0; + int entries = (int)World.DebugType.num; + double total = 0; - for ( int i = 0; i < entries; i++ ) - { - World.DebugType type = (World.DebugType)i; - StatsHandler.SetValue( type.ToString(), PhysicWorld.DebugTimes[ i ] ); - total += PhysicWorld.DebugTimes[ i ]; - } + for ( int i = 0; i < entries; i++ ) + { + World.DebugType type = (World.DebugType)i; + StatsHandler.SetValue( type.ToString(), PhysicWorld.DebugTimes[ i ] ); + total += PhysicWorld.DebugTimes[ i ]; + } - foreach ( Arbiter ar in PhysicWorld.ArbiterMap.Values ) - contactCount += ar.ContactList.Count; + foreach ( Arbiter ar in PhysicWorld.ArbiterMap.Values ) + contactCount += ar.ContactList.Count; - StatsHandler.SetValue( "ArbiterCount", PhysicWorld.ArbiterMap.Values.Count ); - StatsHandler.SetValue( "ContactCount", contactCount ); - StatsHandler.SetValue( "IslandCount", PhysicWorld.Islands.Count ); - StatsHandler.SetValue( "BodyCount", string.Format( "{0} ( {1} )", PhysicWorld.RigidBodies.Count, _activeBodiesCount ) ); - StatsHandler.SetValue( "MultiThreaded", _multithreadingEnabled ); - StatsHandler.SetValue( "Gen", string.Format( "gen0: {0} gen1: {1} gen2: {2}", GC.CollectionCount( 0 ), GC.CollectionCount( 1 ), GC.CollectionCount( 2 ) ) ); + StatsHandler.SetValue( "ArbiterCount", PhysicWorld.ArbiterMap.Values.Count ); + StatsHandler.SetValue( "ContactCount", contactCount ); + StatsHandler.SetValue( "IslandCount", PhysicWorld.Islands.Count ); + StatsHandler.SetValue( "BodyCount", string.Format( "{0} ( {1} )", PhysicWorld.RigidBodies.Count, _activeBodiesCount ) ); + StatsHandler.SetValue( "MultiThreaded", _multithreadingEnabled ); + StatsHandler.SetValue( "Gen", string.Format( "gen0: {0} gen1: {1} gen2: {2}", GC.CollectionCount( 0 ), GC.CollectionCount( 1 ), GC.CollectionCount( 2 ) ) ); - StatsHandler.SetValue( "TotalPhysicsTime", total ); - StatsHandler.SetValue( "PhysicsFramerate", ( 1000.0d / total ).ToString( "0" ) + " fps" ); + StatsHandler.SetValue( "TotalPhysicsTime", total ); + StatsHandler.SetValue( "PhysicsFramerate", ( 1000.0d / total ).ToString( "0" ) + " fps" ); - StatsHandler.Update(); - } + StatsHandler.Update(); + } - return base.FrameRenderingQueued( evt ); // don't forget the parent class updates! - } + return base.FrameRenderingQueued( evt ); // don't forget the parent class updates! + } - private Vector3 _rayTo( float x, float y ) - { - Ray mouseRay = Camera.GetCameraToViewportRay( x, y ); - return mouseRay.Direction; - } + private Vector3 _rayTo( float x, float y ) + { + Ray mouseRay = Camera.GetCameraToViewportRay( x, y ); + return mouseRay.Direction; + } - private bool _raycastCallback( RigidBody body, JVector normal, float fraction ) - { - return !body.IsStatic; - } + private bool _raycastCallback( RigidBody body, JVector normal, float fraction ) + { + return !body.IsStatic; + } - public override bool MouseMoved( SharpInputSystem.MouseEventArgs evt ) - { - float x = evt.State.X.Absolute / (float)Camera.Viewport.ActualWidth; - float y = evt.State.Y.Absolute / (float)Camera.Viewport.ActualHeight; - _currentMousePos = new Vector2( x, y ); + public override bool MouseMoved( SharpInputSystem.MouseEventArgs evt ) + { + float x = evt.State.X.Absolute / (float)Camera.Viewport.ActualWidth; + float y = evt.State.Y.Absolute / (float)Camera.Viewport.ActualHeight; + _currentMousePos = new Vector2( x, y ); - return base.MouseMoved( evt ); - } + return base.MouseMoved( evt ); + } - public override bool MousePressed( SharpInputSystem.MouseEventArgs evt, SharpInputSystem.MouseButtonID id ) - { - if ( id == SharpInputSystem.MouseButtonID.Left ) - { - _leftMouseButtonDown = true; + public override bool MousePressed( SharpInputSystem.MouseEventArgs evt, SharpInputSystem.MouseButtonID id ) + { + if ( id == SharpInputSystem.MouseButtonID.Left ) + { + _leftMouseButtonDown = true; - JVector ray = Conversion.ToJitterVector( _rayTo( _currentMousePos.x, _currentMousePos.y ) ); - JVector camp = Conversion.ToJitterVector( Camera.Position ); + JVector ray = Conversion.ToJitterVector( _rayTo( _currentMousePos.x, _currentMousePos.y ) ); + JVector camp = Conversion.ToJitterVector( Camera.Position ); - ray = JVector.Normalize( ray ) * 100; + ray = JVector.Normalize( ray ) * 100; - float fraction; - bool result = PhysicWorld.CollisionSystem.Raycast( camp, ray, _raycastCallback, out grabBody, out hitNormal, out fraction ); + float fraction; + bool result = PhysicWorld.CollisionSystem.Raycast( camp, ray, _raycastCallback, out grabBody, out hitNormal, out fraction ); - if ( result ) - { - hitPoint = camp + fraction * ray; + if ( result ) + { + hitPoint = camp + fraction * ray; - if ( grabConstraint != null ) - PhysicWorld.RemoveConstraint( grabConstraint ); + if ( grabConstraint != null ) + PhysicWorld.RemoveConstraint( grabConstraint ); - JVector lanchor = hitPoint - grabBody.Position; - lanchor = JVector.Transform( lanchor, JMatrix.Transpose( grabBody.Orientation ) ); + JVector lanchor = hitPoint - grabBody.Position; + lanchor = JVector.Transform( lanchor, JMatrix.Transpose( grabBody.Orientation ) ); - grabConstraint = new WorldPointConstraint( grabBody, lanchor ); + grabConstraint = new WorldPointConstraint( grabBody, lanchor ); - PhysicWorld.AddConstraint( grabConstraint ); - hitDistance = ( Conversion.ToVector3( hitPoint ) - Camera.Position ).Length; - //scrollWheel = evt.State. mouseState.ScrollWheelValue; - grabConstraint.Anchor = hitPoint; - } - } + PhysicWorld.AddConstraint( grabConstraint ); + hitDistance = ( Conversion.ToVector3( hitPoint ) - Camera.Position ).Length; + //scrollWheel = evt.State. mouseState.ScrollWheelValue; + grabConstraint.Anchor = hitPoint; + } + } - if ( id == SharpInputSystem.MouseButtonID.Right ) - { - this.DragLook = false; - } + if ( id == SharpInputSystem.MouseButtonID.Right ) + { + this.DragLook = false; + } - return base.MousePressed( evt, id ); ; - } + return base.MousePressed( evt, id ); ; + } - public override bool MouseReleased( SharpInputSystem.MouseEventArgs evt, SharpInputSystem.MouseButtonID id ) - { - if ( id == SharpInputSystem.MouseButtonID.Left ) - { - _leftMouseButtonDown = false; - } + public override bool MouseReleased( SharpInputSystem.MouseEventArgs evt, SharpInputSystem.MouseButtonID id ) + { + if ( id == SharpInputSystem.MouseButtonID.Left ) + { + _leftMouseButtonDown = false; + } - if ( id == SharpInputSystem.MouseButtonID.Right ) - { - this.CameraManager.manualStop(); - this.DragLook = true; - } + if ( id == SharpInputSystem.MouseButtonID.Right ) + { + this.CameraManager.manualStop(); + this.DragLook = true; + } - return base.MouseReleased( evt, id ); - } + return base.MouseReleased( evt, id ); + } - public override bool KeyPressed( SharpInputSystem.KeyEventArgs evt ) - { - bool baseRetValue = base.KeyPressed( evt ); + public override bool KeyPressed( SharpInputSystem.KeyEventArgs evt ) + { + bool baseRetValue = base.KeyPressed( evt ); - // change threading mode - if ( evt.Key == SharpInputSystem.KeyCode.Key_M ) - _multithreadingEnabled = !_multithreadingEnabled; + // change threading mode + if ( evt.Key == SharpInputSystem.KeyCode.Key_M ) + _multithreadingEnabled = !_multithreadingEnabled; - // create random primitives - if ( evt.Key == SharpInputSystem.KeyCode.Key_SPACE ) - { - _spawnRandomPrimitive( Conversion.ToJitterVector( Camera.Position ), - Conversion.ToJitterVector( Camera.Direction * 40.0f ) ); - } + // create random primitives + if ( evt.Key == SharpInputSystem.KeyCode.Key_SPACE ) + { + _spawnRandomPrimitive( Conversion.ToJitterVector( Camera.Position ), + Conversion.ToJitterVector( Camera.Direction * 40.0f ) ); + } - // Show/Hide physics stats - if ( evt.Key == SharpInputSystem.KeyCode.Key_F12 ) - { - StatsHandler.AreStatsVisible = !StatsHandler.AreStatsVisible; - } + // Show/Hide physics stats + if ( evt.Key == SharpInputSystem.KeyCode.Key_F12 ) + { + StatsHandler.AreStatsVisible = !StatsHandler.AreStatsVisible; + } - return baseRetValue; - } + return baseRetValue; + } - private void _sceneSelector_SelectedIndexChanged( object sender, EventArgs e ) - { - SelectMenu menu = sender as SelectMenu; + public void ChangeCurrentScene( int newSceneIndex, bool skipDestroy ) + { + if ( !skipDestroy ) + { + PhysicScenes[ _currentScene ].Destroy(); + this.SceneManager.ClearScene(); + this.SceneManager.DestroyAllMovableObjectsByType( "ManualObject" ); + } - if ( menu == null ) - return; + _initPrimitives(); + _convexHulls.Clear(); - _changeCurrentScene( menu.SelectionIndex, false ); - } + _currentScene = newSceneIndex; + PhysicScenes[ _currentScene ].Build(); + StatsHandler.SetValue( "CurrentScene", this.PhysicScenes[ _currentScene ].GetType().Name ); - private void _changeCurrentScene( int newSceneIndex, bool skipDestroy ) - { - if ( !skipDestroy ) - { - PhysicScenes[ _currentScene ].Destroy(); - this.SceneManager.ClearScene(); - this.SceneManager.DestroyAllMovableObjectsByType( "ManualObject" ); - } + // add a skybox (disabled for now due to an issue when switching from scenes) + //SceneManager.SetSkyBox( true, "Examples/StormySkyBox", 5000 ); - _initPrimitives(); - _convexHulls.Clear(); + // setup some basic lighting for our scene + SceneManager.AmbientLight = new ColorEx( 0.5f, 0.5f, 0.5f ); + SceneManager.CreateLight( "Light1" ).Position = new Vector3( 20, 80, 50 ); - _currentScene = newSceneIndex; - PhysicScenes[ _currentScene ].Build(); - StatsHandler.SetValue( "CurrentScene", this.PhysicScenes[ _currentScene ].GetType().Name ); + // set initial camera position and style + this.DragLook = true; + CameraManager.TopSpeed = 10; + Camera.Position = new Vector3( 15, 15, 30 ); + } - // add a skybox (disabled for now due to an issue when switching from scenes) - //SceneManager.SetSkyBox( true, "Examples/StormySkyBox", 5000 ); + private void _addBodyToUpdateList( RigidBody rb ) + { + if ( rb.Tag is BodyTag && ( (BodyTag)rb.Tag ) == BodyTag.DontDrawMe ) + return; - // setup some basic lighting for our scene - SceneManager.AmbientLight = new ColorEx( 0.5f, 0.5f, 0.5f ); - SceneManager.CreateLight( "Light1" ).Position = new Vector3( 20, 80, 50 ); + bool isCompoundShape = ( rb.Shape is CompoundShape ); - // set initial camera position and style - this.DragLook = true; - CameraManager.TopSpeed = 10; - Camera.Position = new Vector3( 15, 15, 30 ); - } + if ( !isCompoundShape ) + { + _addShapeToUpdateList( rb.Shape, rb.Orientation, rb.Position ); + } + else + { + CompoundShape cShape = rb.Shape as CompoundShape; + JMatrix orientation = rb.Orientation; + JVector position = rb.Position; - private void _addBodyToUpdateList( RigidBody rb ) - { - if ( rb.Tag is BodyTag && ( (BodyTag)rb.Tag ) == BodyTag.DontDrawMe ) - return; + foreach ( var ts in cShape.Shapes ) + { + JVector pos = ts.Position; + JMatrix ori = ts.Orientation; - bool isCompoundShape = ( rb.Shape is CompoundShape ); + JVector.Transform( ref pos, ref orientation, out pos ); + JVector.Add( ref pos, ref position, out pos ); - if ( !isCompoundShape ) - { - _addShapeToUpdateList( rb.Shape, rb.Orientation, rb.Position ); - } - else - { - CompoundShape cShape = rb.Shape as CompoundShape; - JMatrix orientation = rb.Orientation; - JVector position = rb.Position; + JMatrix.Multiply( ref ori, ref orientation, out ori ); - foreach ( var ts in cShape.Shapes ) - { - JVector pos = ts.Position; - JMatrix ori = ts.Orientation; + _addShapeToUpdateList( ts.Shape, ori, pos ); + } + } + } - JVector.Transform( ref pos, ref orientation, out pos ); - JVector.Add( ref pos, ref position, out pos ); + private void _addShapeToUpdateList( Shape shape, JMatrix ori, JVector pos ) + { + GeometricPrimitive primitive = null; + Vector3 scale = Vector3.UnitScale; - JMatrix.Multiply( ref ori, ref orientation, out ori ); + if ( shape is BoxShape ) + { + primitive = _primitives[ (int)PrimitiveType.Box ]; + scale = Conversion.ToVector3( ( shape as BoxShape ).Size ); + } + else if ( shape is SphereShape ) + { + primitive = _primitives[ (int)PrimitiveType.Sphere ]; + scale = new Vector3( ( shape as SphereShape ).Radius ); + } + else if ( shape is CylinderShape ) + { + primitive = _primitives[ (int)PrimitiveType.Cylinder ]; + CylinderShape cs = shape as CylinderShape; + scale = new Vector3( cs.Radius, cs.Height, cs.Radius ); + } + else if ( shape is CapsuleShape ) + { + primitive = _primitives[ (int)PrimitiveType.Capsule ]; + CapsuleShape cs = shape as CapsuleShape; + scale = new Vector3( cs.Radius * 2, cs.Length, cs.Radius * 2 ); - _addShapeToUpdateList( ts.Shape, ori, pos ); - } - } - } + } + else if ( shape is ConeShape ) + { + primitive = _primitives[ (int)PrimitiveType.Cone ]; + ConeShape cs = shape as ConeShape; + scale = new Vector3( cs.Radius, cs.Height, cs.Radius ); + } - private void _addShapeToUpdateList( Shape shape, JMatrix ori, JVector pos ) - { - GeometricPrimitive primitive = null; - Vector3 scale = Vector3.UnitScale; + primitive.PhysicUpdate( Conversion.ToVector3( pos ), Conversion.ToQuat( ori ), scale ); + } - if ( shape is BoxShape ) - { - primitive = _primitives[ (int)PrimitiveType.Box ]; - scale = Conversion.ToVector3( ( shape as BoxShape ).Size ); - } - else if ( shape is SphereShape ) - { - primitive = _primitives[ (int)PrimitiveType.Sphere ]; - scale = new Vector3( ( shape as SphereShape ).Radius ); - } - else if ( shape is CylinderShape ) - { - primitive = _primitives[ (int)PrimitiveType.Cylinder ]; - CylinderShape cs = shape as CylinderShape; - scale = new Vector3( cs.Radius, cs.Height, cs.Radius ); - } - else if ( shape is CapsuleShape ) - { - primitive = _primitives[ (int)PrimitiveType.Capsule ]; - CapsuleShape cs = shape as CapsuleShape; - scale = new Vector3( cs.Radius * 2, cs.Length, cs.Radius * 2 ); + private void _spawnRandomPrimitive( JVector position, JVector velocity ) + { + RigidBody body = null; + int rndn = random.Next( 7 ); - } - else if ( shape is ConeShape ) - { - primitive = _primitives[ (int)PrimitiveType.Cone ]; - ConeShape cs = shape as ConeShape; - scale = new Vector3( cs.Radius, cs.Height, cs.Radius ); - } + // less of the more advanced objects + if ( rndn == 5 || rndn == 6 || rndn == 7 ) + rndn = random.Next( 7 ); - primitive.PhysicUpdate( Conversion.ToVector3( pos ), Conversion.ToQuat( ori ), scale ); - } + switch ( rndn ) + { + case 0: + body = new RigidBody( new ConeShape( (float)random.Next( 5, 50 ) / 20.0f, (float)random.Next( 10, 20 ) / 20.0f ) ); + break; - private void _spawnRandomPrimitive( JVector position, JVector velocity ) - { - RigidBody body = null; - int rndn = random.Next( 7 ); + case 1: + body = new RigidBody( new BoxShape( (float)random.Next( 10, 30 ) / 20.0f, (float)random.Next( 10, 30 ) / 20.0f, (float)random.Next( 10, 30 ) / 20.0f ) ); + break; - // less of the more advanced objects - if ( rndn == 5 || rndn == 6 || rndn == 7 ) - rndn = random.Next( 7 ); + case 2: + body = new RigidBody( new SphereShape( (float)random.Next( 30, 100 ) / 100.0f ) ); + break; - switch ( rndn ) - { - case 0: - body = new RigidBody( new ConeShape( (float)random.Next( 5, 50 ) / 20.0f, (float)random.Next( 10, 20 ) / 20.0f ) ); - break; + case 3: + body = new RigidBody( new CylinderShape( 1.0f, 0.5f ) ); + break; - case 1: - body = new RigidBody( new BoxShape( (float)random.Next( 10, 30 ) / 20.0f, (float)random.Next( 10, 30 ) / 20.0f, (float)random.Next( 10, 30 ) / 20.0f ) ); - break; + case 4: + body = new RigidBody( new CapsuleShape( 1.0f, 0.5f ) ); + break; - case 2: - body = new RigidBody( new SphereShape( (float)random.Next( 30, 100 ) / 100.0f ) ); - break; + case 5: + Shape b1 = new BoxShape( new JVector( 3, 1, 1 ) ); + Shape b2 = new BoxShape( new JVector( 1, 1, 3 ) ); + Shape b3 = new CylinderShape( 3.0f, 0.5f ); - case 3: - body = new RigidBody( new CylinderShape( 1.0f, 0.5f ) ); - break; + CompoundShape.TransformedShape t1 = new CompoundShape.TransformedShape( b1, JMatrix.Identity, JVector.Zero ); + CompoundShape.TransformedShape t2 = new CompoundShape.TransformedShape( b2, JMatrix.Identity, JVector.Zero ); + CompoundShape.TransformedShape t3 = new CompoundShape.TransformedShape( b3, JMatrix.Identity, new JVector( 0, 0, 0 ) ); - case 4: - body = new RigidBody( new CapsuleShape( 1.0f, 0.5f ) ); - break; + CompoundShape ms = new CompoundShape( new CompoundShape.TransformedShape[ 3 ] { t1, t2, t3 } ); - case 5: - Shape b1 = new BoxShape( new JVector( 3, 1, 1 ) ); - Shape b2 = new BoxShape( new JVector( 1, 1, 3 ) ); - Shape b3 = new CylinderShape( 3.0f, 0.5f ); + body = new RigidBody( ms ); + break; - CompoundShape.TransformedShape t1 = new CompoundShape.TransformedShape( b1, JMatrix.Identity, JVector.Zero ); - CompoundShape.TransformedShape t2 = new CompoundShape.TransformedShape( b2, JMatrix.Identity, JVector.Zero ); - CompoundShape.TransformedShape t3 = new CompoundShape.TransformedShape( b3, JMatrix.Identity, new JVector( 0, 0, 0 ) ); + case 6: + ConvexHullObject obj2 = new ConvexHullObject( this ); + body = obj2.body; + body.Restitution = 0.2f; + body.StaticFriction = 0.8f; + _convexHulls.Add( obj2 ); + break; + } - CompoundShape ms = new CompoundShape( new CompoundShape.TransformedShape[ 3 ] { t1, t2, t3 } ); + PhysicWorld.AddBody( body ); - body = new RigidBody( ms ); - break; + body.Position = position; + body.LinearVelocity = velocity; - case 6: - ConvexHullObject obj2 = new ConvexHullObject( this ); - body = obj2.body; - body.Restitution = 0.2f; - body.StaticFriction = 0.8f; - _convexHulls.Add( obj2 ); - break; - } + lastBody = body; + } - PhysicWorld.AddBody( body ); + private void _initPrimitives() + { + for ( int i = 0; i < (int)PrimitiveType.Count; ++i ) + { + if ( _primitives[ i ] == null ) + continue; - body.Position = position; - body.LinearVelocity = velocity; + if ( !_primitives[ i ].IsDisposed ) + _primitives[ i ].Dispose(); - lastBody = body; - } + _primitives[ i ] = null; + } - private void _initPrimitives() - { - for ( int i = 0; i < (int)PrimitiveType.Count; ++i ) - { - if ( _primitives[ i ] == null ) - continue; + _primitives[ (int)PrimitiveType.Box ] = new BoxPrimitive( this ); + _primitives[ (int)PrimitiveType.Capsule ] = new CapsulePrimitive( this ); + _primitives[ (int)PrimitiveType.Cone ] = new ConePrimitive( this ); + _primitives[ (int)PrimitiveType.Cylinder ] = new CylinderPrimitive( this ); + _primitives[ (int)PrimitiveType.Sphere ] = new SpherePrimitive( this ); + } - if ( !_primitives[ i ].IsDisposed ) - _primitives[ i ].Dispose(); + protected override void SetupContent() + { + //Setting Up Physics System + CollisionSystem collision = new CollisionSystemSAP(); + PhysicWorld = new World( collision ); + PhysicWorld.AllowDeactivation = true; - _primitives[ i ] = null; - } + //DebugDrawer = new DebugDrawer(); - _primitives[ (int)PrimitiveType.Box ] = new BoxPrimitive( this ); - _primitives[ (int)PrimitiveType.Capsule ] = new CapsulePrimitive( this ); - _primitives[ (int)PrimitiveType.Cone ] = new ConePrimitive( this ); - _primitives[ (int)PrimitiveType.Cylinder ] = new CylinderPrimitive( this ); - _primitives[ (int)PrimitiveType.Sphere ] = new SpherePrimitive( this ); - } - protected override void SetupContent() - { - //Setting Up Physics System - CollisionSystem collision = new CollisionSystemSAP(); - PhysicWorld = new World( collision ); - PhysicWorld.AllowDeactivation = true; + //Get available scenes and add them into the scene selector + PhysicScenes = new List<Scene>(); + foreach ( Type type in Assembly.GetExecutingAssembly().GetTypes() ) + { + if ( type.Namespace == "AxiomContrib.Samples.Jitter.Scenes" && !type.IsAbstract ) + { + Scene scene = (Scene)Activator.CreateInstance( type, this ); + this.PhysicScenes.Add( scene ); + } + } - //DebugDrawer = new DebugDrawer(); + StatsHandler = new JitterSampleController( this, TrayManager ); + StatsHandler.Initialize(); - StatsHandler = new JitterStatsHandler( this, true ); - StatsHandler.Initialize(); - - //Get available scenes and add them into the scene selector - SelectMenu sceneSelector = TrayManager.CreateLongSelectMenu( TrayLocation.Bottom, "SceneSelector", "Select Scene", 250, 140, 15 ); - PhysicScenes = new List<Scene>(); - - foreach ( Type type in Assembly.GetExecutingAssembly().GetTypes() ) - { - if ( type.Namespace == "AxiomContrib.Samples.Jitter.Scenes" && !type.IsAbstract ) - { - Scene scene = (Scene)Activator.CreateInstance( type, this ); - this.PhysicScenes.Add( scene ); - sceneSelector.AddItem( scene.GetType().Name ); - } - } - - if ( PhysicScenes.Count > 0 ) - { - sceneSelector.SelectItem( 0 ); - sceneSelector.SelectedIndexChanged += _sceneSelector_SelectedIndexChanged; - _changeCurrentScene( 0, true ); - } - } - } + } + } } Copied: AxiomContrib.Samples/trunk/Source/Jitter/JitterSampleController.cs (from rev 255, AxiomContrib.Samples/trunk/Source/Jitter/JitterStatsHandler.cs) =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/JitterSampleController.cs (rev 0) +++ AxiomContrib.Samples/trunk/Source/Jitter/JitterSampleController.cs 2011-02-16 16:14:10 UTC (rev 266) @@ -0,0 +1,164 @@ +#region MIT License +/* +----------------------------------------------------------------------------- +This source file is part of the Jitter Sample +Jitter Physics Engine Copyright (c) 2010 Thorben Linneweber (ad...@ji...) + +This a port for Axiom of samples using Jitter Physics Engine, +developed by Thorben Linneweber and ported by Francesco Guastella (aka romeoxbm). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +----------------------------------------------------------------------------- +*/ +#endregion + +#region Using Statements + +using System.Collections.Generic; +using Axiom.Collections; +using Axiom.Overlays; +using Axiom.Overlays.Elements; +using Axiom.Samples; +using AxiomContrib.Samples.Jitter.Scenes; +using System; + +#endregion + +namespace AxiomContrib.Samples.Jitter +{ + public class JitterSampleController + { + private JitterSample _sample; + private ParamsPanel _statsPanel; + private SortedList<string, string> _stats; + private Queue<string> _updatedStats = new Queue<string>(); + + private SdkTrayManager TrayManager; + + public bool AreStatsVisible + { + get; + set; + } + + public JitterSampleController( JitterSample sample , SdkTrayManager trayManager ) + { + _sample = sample; + AreStatsVisible = true; + TrayManager = trayManager; + } + + public void Initialize() + { + DecorWidget logo = TrayManager.CreateLogoWidget( TrayLocation.TopLeft, "Jitter/Logo", "Panel", "JitterSample/JitterLogo" ); + SelectMenu sceneSelector = TrayManager.CreateLongSelectMenu( TrayLocation.TopLeft, "SceneSelector", "Scene:", 250, 140, 15 ); + + foreach ( Scene scene in _sample.PhysicScenes ) + { + sceneSelector.AddItem( scene.GetType().Name ); + } + + _stats = new SortedList<string, string>() { + {"ArbiterCount" , string.Empty}, + {"ContactCount" , string.Empty}, + {"IslandCount" , string.Empty}, + {"BodyCount" , string.Empty}, + {"MultiThreaded" , string.Empty}, + {"Gen" , string.Empty}, + {"CollisionDetect" , string.Empty}, + {"BuildIslands" , string.Empty}, + {"HandleArbiter" , string.Empty}, + {"UpdateContacts" , string.Empty}, + {"PreStep" , string.Empty}, + {"DeactivateBodies" , string.Empty}, + {"IntegrateForces" , string.Empty}, + {"Integrate" , string.Empty}, + {"PostStep" , string.Empty}, + {"TotalPhysicsTime" , string.Empty}, + {"PhysicsFramerate" , string.Empty} + }; + _statsPanel = TrayManager.CreateParamsPanel( TrayLocation.TopLeft, "Jitter/StatsPanel", 250, _stats.Keys ); + + // Enqueue all of available stats to force the first time update + foreach ( string key in _stats.Keys ) + { + _updatedStats.Enqueue( key ); + } + + sceneSelector.SelectedIndexChanged += sceneSelector_SelectedIndexChanged; + + if ( _sample.PhysicScenes.Count > 0 ) + { + sceneSelector.SelectItem( 0 ); + } + + } + + public void SetValue( string key, int value ) + { + SetValue( key, value.ToString() ); + } + + public void SetValue( string key, float value ) + { + SetValue( key, value.ToString( "F2" ) ); + } + + public void SetValue( string key, double value ) + { + SetValue( key, value.ToString( "0.00" ) ); + } + + public void SetValue( string key, bool value ) + { + SetValue( key, value ? "true" : "false" ); + } + + public void SetValue( string key, string value ) + { + if ( !_stats.ContainsKey( key ) || !AreStatsVisible ) + return; + + _stats[ key ] = value; + + if ( !_updatedStats.Contains( key ) ) + _updatedStats.Enqueue( key ); + } + + public void Update() + { + if ( _updatedStats.Count == 0 || !AreStatsVisible ) + return; + + _statsPanel.ParamValues = _stats.Values; + } + + private void sceneSelector_SelectedIndexChanged( object sender, EventArgs e ) + { + SelectMenu menu = sender as SelectMenu; + + if ( menu == null ) + return; + + _sample.ChangeCurrentScene( menu.SelectionIndex, false ); + } + + + } +} Deleted: AxiomContrib.Samples/trunk/Source/Jitter/JitterStatsHandler.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/JitterStatsHandler.cs 2011-02-16 10:24:37 UTC (rev 265) +++ AxiomContrib.Samples/trunk/Source/Jitter/JitterStatsHandler.cs 2011-02-16 16:14:10 UTC (rev 266) @@ -1,164 +0,0 @@ -#region MIT License -/* ------------------------------------------------------------------------------ -This source file is part of the Jitter Sample -Jitter Physics Engine Copyright (c) 2010 Thorben Linneweber (ad...@ji...) - -This a port for Axiom of samples using Jitter Physics Engine, -developed by Thorben Linneweber and ported by Francesco Guastella (aka romeoxbm). - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ------------------------------------------------------------------------------ -*/ -#endregion - -#region Using Statements - -using System.Collections.Generic; -using Axiom.Collections; -using Axiom.Overlays; -using Axiom.Overlays.Elements; - -#endregion - -namespace AxiomContrib.Samples.Jitter -{ - public class JitterStatsHandler - { - private JitterSample _sample; - private BorderPanel _statsPanel; - private NameValuePairList _stats; - private Queue<string> _updatedStats; - private bool _areStatsVisible; - - public bool AreStatsVisible - { - get - { - return _areStatsVisible; - } - - set - { - _areStatsVisible = value; - _statsPanel.IsVisible = value; - } - } - - public JitterStatsHandler( JitterSample sample , bool areStatsVisible ) - { - _sample = sample; - _stats = new NameValuePairList(); - _updatedStats = new Queue<string>(); - _areStatsVisible = areStatsVisible; - } - - public void Initialize() - { - _stats.Add( "CurrentScene", string.Empty ); - _stats.Add( "ArbiterCount", string.Empty ); - _stats.Add( "ContactCount", string.Empty ); - _stats.Add( "IslandCount", string.Empty ); - _stats.Add( "BodyCount", string.Empty ); - _stats.Add( "MultiThreaded", string.Empty ); - _stats.Add( "Gen", string.Empty ); - _stats.Add( "CollisionDetect", string.Empty ); - _stats.Add( "BuildIslands", string.Empty ); - _stats.Add( "HandleArbiter", string.Empty ); - _stats.Add( "UpdateContacts", string.Empty ); - _stats.Add( "PreStep", string.Empty ); - _stats.Add( "DeactivateBodies", string.Empty ); - _stats.Add( "IntegrateForces", string.Empty ); - _stats.Add( "Integrate", string.Empty ); - _stats.Add( "PostStep", string.Empty ); - _stats.Add( "TotalPhysicsTime", string.Empty ); - _stats.Add( "PhysicsFramerate", string.Empty ); - - // Enqueue all of available stats to force the first time update - foreach ( string key in _stats.Keys ) - _updatedStats.Enqueue( key ); - - Overlay ov = OverlayManager.Instance.GetByName( "JitterSample/StatesOverlay" ); - if ( ov == null ) - { - ov = OverlayManager.Instance.Create( "JitterSample/StatesOverlay" ); - - _statsPanel = (BorderPanel)OverlayManager.Instance.Elements.CreateElementFromTemplate( "JitterSample/StatPanel", "BorderPanel", "StatPanel" ); - ov.AddElement( _statsPanel ); - - Panel logo = (Panel)OverlayManager.Instance.Elements.CreateElementFromTemplate( "JitterSample/JitterLogo", "Panel", "Logo" ); - ov.AddElement( logo ); - } - else - _statsPanel = (BorderPanel)OverlayManager.Instance.Elements.GetElement( "StatPanel" ); - - ov.ZOrder = 10; - ov.IsVisible = true; - - _statsPanel.IsVisible = _areStatsVisible; - } - - public void SetValue( string key, int value ) - { - SetValue( key, value.ToString() ); - } - - public void SetValue( string key, float value ) - { - SetValue( key, value.ToString( "F2" ) ); - } - - public void SetValue( string key, double value ) - { - SetValue( key, value.ToString( "0.00" ) ); - } - - public void SetValue( string key, bool value ) - { - SetValue( key, value ? "true" : "false" ); - } - - public void SetValue( string key, string value ) - { - if ( !_stats.ContainsKey( key ) || !_areStatsVisible ) - return; - - _stats[ key ] = value; - - if ( !_updatedStats.Contains( key ) ) - _updatedStats.Enqueue( key ); - } - - public void Update() - { - if ( _updatedStats.Count == 0 || !_areStatsVisible ) - return; - - TextArea currentTextarea = null; - string currentKey = null; - - while ( _updatedStats.Count != 0 ) - { - currentKey = _updatedStats.Dequeue(); - currentTextarea = (TextArea)_statsPanel.GetChild( "StatPanel/" + currentKey ); - currentTextarea.Text = string.Format( "{0}: {1}", currentKey, _stats[ currentKey ] ); - } - } - } -} Modified: AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/GeometricPrimitive.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/GeometricPrimitive.cs 2011-02-16 10:24:37 UTC (rev 265) +++ AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/GeometricPrimitive.cs 2011-02-16 16:14:10 UTC (rev 266) @@ -13,10 +13,10 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE @@ -40,151 +40,151 @@ namespace AxiomContrib.Samples.Jitter.Primitives3D { - public enum PrimitiveType : int - { - Box = 0, - Sphere = 1, - Cylinder = 2, - Cone = 3, - Capsule = 4, - Count = 5 - } + public enum PrimitiveType : int + { + Box = 0, + Sphere = 1, + Cylinder = 2, + Cone = 3, + Capsule = 4, + Count = 5 + } - /// <summary> - /// Base class for simple geometric primitive models. This provides a vertex - /// buffer, an index buffer, plus methods for drawing the model. Classes for - /// specific types of primitive (CubePrimitive, SpherePrimitive, etc.) are - /// derived from this common base, and use the AddVertex and AddIndex methods - /// to specify their geometry. - /// </summary> - public abstract class GeometricPrimitive : IDisposable - { - #region Fields + /// <summary> + /// Base class for simple geometric primitive models. This provides a vertex + /// buffer, an index buffer, plus methods for drawing the model. Classes for + /// specific types of primitive (CubePrimitive, SpherePrimitive, etc.) are + /// derived from this common base, and use the AddVertex and AddIndex methods + /// to specify their geometry. + /// </summary> + public abstract class GeometricPrimitive : IDisposable + { + #region Fields - private List<SceneNode> _nodes = new List<SceneNode>(); - private int _currentIndex = 0; + private List<SceneNode> _nodes = new List<SceneNode>(); + private int _currentIndex = 0; - protected JitterSample _sample { get; private set; } + protected JitterSample _sample { get; private set; } - // During the process of constructing a primitive model, vertex - // and index data is stored on the CPU in these managed lists. - private List<Vector3> _vertexNormalSet = new List<Vector3>(); - private List<ushort> _indexSet = new List<ushort>(); + // During the process of constructing a primitive model, vertex + // and index data is stored on the CPU in these managed lists. + private List<Vector3> _vertexNormalSet = new List<Vector3>(); + private List<ushort> _indexSet = new List<ushort>(); - #endregion + #endregion - public PrimitiveType Type { get; private set; } + public PrimitiveType Type { get; private set; } - protected GeometricPrimitive( JitterSample sample, PrimitiveType type ) - { - this._sample = sample; - this.IsDisposed = false; - this.Type = type; - } + protected GeometricPrimitive( JitterSample sample, PrimitiveType type ) + { + this._sample = sample; + this.IsDisposed = false; + this.Type = type; + } - /// <summary> - /// Adds a new vertex to the primitive model. This should only be called - /// during the initialization process, before InitializePrimitive. - /// </summary> - protected void AddVertex( Vector3 position, Vector3 normal ) - { - _vertexNormalSet.Add( position ); - _vertexNormalSet.Add( normal ); - } + /// <summary> + /// Adds a new vertex to the primitive model. This should only be called + /// during the initialization process, before InitializePrimitive. + /// </summary> + protected void AddVertex( Vector3 position, Vector3 normal ) + { + _vertexNormalSet.Add( position ); + _vertexNormalSet.Add( normal ); + } - /// <summary> - /// Adds a new index to the primitive model. This should only be called - /// during the initialization process, before InitializePrimitive. - /// </summary> - protected void AddIndex( int index ) - { - if ( index > ushort.MaxValue ) - throw new ArgumentOutOfRangeException( "index" ); + /// <summary> + /// Adds a new index to the primitive model. This should only be called + /// during the initialization process, before InitializePrimitive. + /// </summary> + protected void AddIndex( int index ) + { + if ( index > ushort.MaxValue ) + throw new ArgumentOutOfRangeException( "index" ); - _indexSet.Add( (ushort)index ); - } + _indexSet.Add( (ushort)index ); + } - /// <summary> - /// Queries the index of the current vertex. This starts at - /// zero, and increments every time AddVertex is called. - /// </summary> - protected int CurrentVertex - { - get { return _vertexNormalSet.Count / 2; } - } + /// <summary> + /// Queries the index of the current vertex. This starts at + /// zero, and increments every time AddVertex is called. + /// </summary> + protected int CurrentVertex + { + get { return _vertexNormalSet.Count / 2; } + } - /// <summary> - /// Once all the geometry has been specified by calling AddVertex and AddIndex, - /// this method copies the vertex and index data into GPU format buffers, ready - /// for efficient rendering. - private ManualObject InitializePrimitive() - { - ManualObject primitive = _sample.SceneManager.CreateManualObject( this.GetType().Name + this._nodes.Count ); - primitive.Begin( "BaseWhite", OperationType.TriangleList ); + /// <summary> + /// Once all the geometry has been specified by calling AddVertex and AddIndex, + /// this method copies the vertex and index data into GPU format buffers, ready + /// for efficient rendering. + private ManualObject InitializePrimitive() + { + ManualObject primitive = _sample.SceneManager.CreateManualObject( this.GetType().Name + this._nodes.Count ); + primitive.Begin( "JitterSample/Geometries", OperationType.TriangleList ); - //Vertices and normals - for ( int i = 0; i < _vertexNormalSet.Count; i += 2 ) - { - primitive.Position( _vertexNormalSet[ i ] ); - primitive.Normal( _vertexNormalSet[ i + 1 ] ); - } + //Vertices and normals + for ( int i = 0; i < _vertexNormalSet.Count; i += 2 ) + { + primitive.Position( _vertexNormalSet[ i ] ); + primitive.Normal( _vertexNormalSet[ i + 1 ] ); + } - //Indices - foreach ( ushort idx in _indexSet ) - { - primitive.Index( idx ); - } + //Indices + foreach ( ushort idx in _indexSet ) + { + primitive.Index( idx ); + } - primitive.End(); - return primitive; - } + primitive.End(); + return primitive; + } - public void PhysicUpdate( Vector3 pos, Quaternion orientation, Vector3 scale ) - { - if ( _currentIndex == _nodes.Count ) - { - SceneNode n = this._sample.SceneManager.RootSceneNode.CreateChildSceneNode(); - n.AttachObject( this.InitializePrimitive() ); - _nodes.Add( n ); - } + public void PhysicUpdate( Vector3 pos, Quaternion orientation, Vector3 scale ) + { + if ( _currentIndex == _nodes.Count ) + { + SceneNode n = this._sample.SceneManager.RootSceneNode.CreateChildSceneNode(); + n.AttachObject( this.InitializePrimitive() ); + _nodes.Add( n ); + } - _nodes[ _currentIndex ].Scale = scale; - _nodes[ _currentIndex ].Orientation = orientation; - _nodes[ _currentIndex ].Position = pos; - _currentIndex++; - } + _nodes[ _currentIndex ].Scale = scale; + _nodes[ _currentIndex ].O... [truncated message content] |
From: <bor...@us...> - 2011-02-15 15:36:09
|
Revision: 264 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=264&view=rev Author: borrillis Date: 2011-02-15 15:36:03 +0000 (Tue, 15 Feb 2011) Log Message: ----------- Added .user file to configure debug settings. Added Paths: ----------- AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj.user Added: AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj.user =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj.user (rev 0) +++ AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj.user 2011-02-15 15:36:03 UTC (rev 264) @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> + <StartProgram>..\bin\win32\Axiom.Samples.Browser.exe</StartProgram> + <StartWorkingDirectory>..\win32\</StartWorkingDirectory> + <StartAction>Program</StartAction> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> + <StartProgram>..\bin\win32\Axiom.Samples.Browser.exe</StartProgram> + <StartWorkingDirectory>..\win32\</StartWorkingDirectory> + <StartAction>Program</StartAction> + </PropertyGroup> +</Project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-02-15 15:27:35
|
Revision: 263 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=263&view=rev Author: borrillis Date: 2011-02-15 15:27:29 +0000 (Tue, 15 Feb 2011) Log Message: ----------- Adding missing model Modified Paths: -------------- AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj Modified: AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj =================================================================== --- AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj 2011-02-15 15:26:27 UTC (rev 262) +++ AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj 2011-02-15 15:27:29 UTC (rev 263) @@ -59,6 +59,7 @@ <None Include="materials\scripts\JitterSampleDisplay.overlay" /> <None Include="materials\scripts\Rockwall.material" /> <None Include="models\car.mesh" /> + <None Include="models\ogrehead.mesh" /> <None Include="models\wheel.mesh" /> </ItemGroup> <ItemGroup> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-02-15 15:26:33
|
Revision: 262 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=262&view=rev Author: borrillis Date: 2011-02-15 15:26:27 +0000 (Tue, 15 Feb 2011) Log Message: ----------- Adding missing model Added Paths: ----------- AxiomContrib.Samples/trunk/bin/media/models/ogrehead.mesh Added: AxiomContrib.Samples/trunk/bin/media/models/ogrehead.mesh =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/media/models/ogrehead.mesh ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-02-15 15:16:51
|
Revision: 260 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=260&view=rev Author: borrillis Date: 2011-02-15 15:16:40 +0000 (Tue, 15 Feb 2011) Log Message: ----------- Updated Samples Browser to latest Axiom Samples Modified Paths: -------------- AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.OpenGL.OpenTK.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.OpenGL.OpenTK.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.Content.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.Content.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.pdb Removed Paths: ------------- AxiomContrib.Samples/trunk/Source/Jitter/Jitter.XML AxiomContrib.Samples/trunk/Source/Jitter/Jitter.dll AxiomContrib.Samples/trunk/Source/Jitter/Jitter.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.DevILCodecs.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.DevILCodecs.pdb Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.pdb =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.pdb =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.pdb =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.pdb =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.pdb =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.pdb =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.dll =================================================================== (Binary files differ) Modified: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.pdb =================================================================== (Binary files differ) Deleted: AxiomContrib.Samples/trunk/Source/Jitter/Jitter.XML =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Jitter.XML 2011-02-15 15:00:41 UTC (rev 259) +++ AxiomContrib.Samples/trunk/Source/Jitter/Jitter.XML 2011-02-15 15:16:40 UTC (rev 260) @@ -1,3118 +0,0 @@ -<?xml version="1.0"?> -<doc> - <assembly> - <name>Jitter</name> - </assembly> - <members> - <member name="T:Jitter.WorldStep"> - <summary> - </summary> - <param name="timeStep">The timestep of the step.</param> - </member> - <member name="T:Jitter.World"> - <summary> - This class brings 'dynamics' and 'collisions' together. It handles - all bodies and constraints. - </summary> - </member> - <member name="F:Jitter.World.ContactBreakThreshold"> - <summary> - If a contact exceeds this breakThreshold it - gets removed from the <see cref="T:Jitter.Dynamics.ContactList"/> of an <see cref="T:Jitter.Dynamics.Arbiter"/>. - </summary> - </member> - <member name="M:Jitter.World.#ctor(Jitter.Collision.CollisionSystem)"> - <summary> - Create a new instance of the <see cref="T:Jitter.World"/> class. - </summary> - <param name="collision">The collisionSystem which is used to detect - collisions. See for example: <see cref="T:Jitter.Collision.CollisionSystemSAP"/> - or <see cref="T:Jitter.Collision.CollisionSystemBrute"/>. - </param> - </member> - <member name="M:Jitter.World.ResetResourcePools"> - <summary> - In Jitter many objects get added to stacks after they were used. - If a new object is needed the old object gets removed from the stack - and is reused. This saves some time and also garbage collections. - Calling this method removes all cached objects from all - stacks. - </summary> - </member> - <member name="M:Jitter.World.Clear"> - <summary> - Removes all objects from the world and removes all memory cached objects. - </summary> - </member> - <member name="M:Jitter.World.SetDampingFactors(System.Single,System.Single)"> - <summary> - Every computation <see cref="M:Jitter.World.Step(System.Single,System.Boolean)"/> the angular and linear velocity - of a <see cref="T:Jitter.Dynamics.RigidBody"/> gets multiplied by this value. - </summary> - <param name="angularDamping">The factor multiplied with the angular velocity. - The default value is 0.8.</param> - <param name="linearDamping">The factor multiplied with the linear velocity. - The default value is 0.9</param> - </member> - <member name="M:Jitter.World.SetInactivityThreshold(System.Single,System.Single,System.Single)"> - <summary> - Sets parameters for the <see cref="T:Jitter.Dynamics.RigidBody"/> deactivation process. - If the bodies angular velocity is less than the angular velocity threshold - and its linear velocity is lower then the linear velocity threshold for a - specific time the body gets deactivated. A body can be reactivated by setting - <see cref="P:Jitter.Dynamics.RigidBody.IsActive"/> to true. A body gets also automatically - reactivated if another moving object hits it or the <see cref="T:Jitter.Collision.CollisionIsland"/> - the object is in gets activated. - </summary> - <param name="angularVelocity">The threshold value for the angular velocity. The default value - is 0.1.</param> - <param name="linearVelocity">The threshold value for the linear velocity. The default value - is 0.1</param> - <param name="time">The threshold value for the time in seconds. The default value is 2.</param> - </member> - <member name="M:Jitter.World.SetIterations(System.Int32)"> - <summary> - Jitter uses an iterativ approach to solve collisions and contacts. You can set the number of - iterations Jitter should do. In general the more iterations the more stable a simulation gets - but also costs computation time. - </summary> - <param name="iterations">The number of contact iterations. Default value 6.</param> - <remarks>The number of iterations for collision and contact should be between 3 - 15. - More iterations means more stability and also a longer calculation time.</remarks> - </member> - <member name="M:Jitter.World.RemoveBody(Jitter.Dynamics.RigidBody)"> - <summary> - Removes a <see cref="T:Jitter.Dynamics.RigidBody"/> from the world. - </summary> - <param name="body">The body which should be removed.</param> - <returns>Returns false if the body could not be removed from the world.</returns> - </member> - <member name="M:Jitter.World.AddBody(Jitter.Dynamics.RigidBody)"> - <summary> - Adds a <see cref="T:Jitter.Dynamics.RigidBody"/> to the world. - </summary> - <param name="body">The body which should be added.</param> - </member> - <member name="M:Jitter.World.RemoveConstraint(Jitter.Dynamics.Constraints.Constraint)"> - <summary> - Add a <see cref="T:Jitter.Dynamics.Constraints.Constraint"/> to the world. Fast, O(log(N)). - </summary> - <param name="constraint">The constraint which should be added.</param> - <returns>True if the constraint was successfully removed.</returns> - </member> - <member name="M:Jitter.World.AddConstraint(Jitter.Dynamics.Constraints.Constraint)"> - <summary> - Add a <see cref="T:Jitter.Dynamics.Constraints.Constraint"/> to the world. Fast, O(log(N)). - </summary> - <param name="constraint">The constraint which should be removed.</param> - </member> - <member name="M:Jitter.World.Step(System.Single,System.Boolean)"> - <summary> - Integrates the whole world a timestep further in time. - </summary> - <param name="timestep">The timestep in seconds. - It should be small as possible to keep the simulation stable. - The physics simulation shouldn't run slower than 60fps. - (timestep=1/60).</param> - <param name="multithread">If true the engine uses several threads to - integrate the world. This is faster on multicore CPUs.</param> - </member> - <member name="P:Jitter.World.Solver"> - <summary> - Set the solver which is used. Simultaneuos means that all collisions - get solved together. For nearly all practical purposes this is the - solver you want to use - it's more stable. Using the Sequential solver - comes closer to real world physics and also handles cases like - the Newton Cradle but it took alot more iterations to get stacking stable. - </summary> - </member> - <member name="P:Jitter.World.CollisionSystem"> - <summary> - Gets the <see cref="P:Jitter.World.CollisionSystem"/> used - to detect collisions. - </summary> - </member> - <member name="E:Jitter.World.PreStep"> - <summary> - It's a good idea to add force and torque here. - </summary> - </member> - <member name="E:Jitter.World.PostStep"> - <summary> - Called at the end of every step. - </summary> - </member> - <member name="P:Jitter.World.ArbiterMap"> - <summary> - Holds a list of <see cref="T:Jitter.Dynamics.Arbiter"/>. All currently - active arbiter in the <see cref="T:Jitter.World"/> are stored in this map. - </summary> - </member> - <member name="P:Jitter.World.RigidBodies"> - <summary> - Gets a read only collection of the <see cref="T:Jitter.Dynamics.RigidBody"/> objects managed by - this class. - </summary> - </member> - <member name="P:Jitter.World.Constraints"> - <summary> - Gets a read only collection of the <see cref="T:Jitter.Dynamics.Constraints.Constraint"/> objects managed by - this class. - </summary> - </member> - <member name="P:Jitter.World.Islands"> - <summary> - Gets a read only collection of the <see cref="T:Jitter.Collision.CollisionIsland"/> objects managed by - this class. - </summary> - </member> - <member name="P:Jitter.World.Gravity"> - <summary> - Gets or sets the gravity in this <see cref="T:Jitter.World"/>. The default gravity - is (0,-9.81,0) - </summary> - </member> - <member name="P:Jitter.World.AllowDeactivation"> - <summary> - Global sets or gets if a body is able to be temporarily deactivated by the engine to - safe computation time. Use <see cref="M:Jitter.World.SetInactivityThreshold(System.Single,System.Single,System.Single)"/> to set parameters - of the deactivation process. - </summary> - </member> - <member name="T:Jitter.Dynamics.Joints.Joint"> - <summary> - A joint is a collection of internally handled constraints. - </summary> - </member> - <member name="M:Jitter.Dynamics.Joints.Joint.#ctor(Jitter.World)"> - <summary> - Creates a new instance of the Joint class. - </summary> - <param name="world">The world class to which the internal constraints - should be added.</param> - </member> - <member name="M:Jitter.Dynamics.Joints.Joint.Activate"> - <summary> - Adds the internal constraints of this joint to the world class. - </summary> - </member> - <member name="M:Jitter.Dynamics.Joints.Joint.Deactivate"> - <summary> - Removes the internal constraints of this joint from the world class. - </summary> - </member> - <member name="P:Jitter.Dynamics.Joints.Joint.World"> - <summary> - The world class to which the internal constraints - should be added. - </summary> - </member> - <member name="T:Jitter.Collision.Shapes.Multishape"> - <summary> - Represents a variable form of a shape. - </summary> - </member> - <member name="T:Jitter.Collision.Shapes.Shape"> - <summary> - Represents the collision part of the RigidBody. A shape is mainly definied through it's supportmap. - Shapes represent convex objects. Inherited classes have to overwrite the supportmap function. - To implement you own shape: derive a class from <see cref="T:Jitter.Collision.Shapes.Shape"/>, implement the support map function - and call 'UpdateShape' within the constructor. GeometricCenter, Mass, BoundingBox and Inertia is calculated numerically - based on your SupportMap implementation. - </summary> - </member> - <member name="T:Jitter.Collision.ISupportMappable"> - <summary> - The implementation of the ISupportMappable interface defines the form - of a shape. <seealso cref="T:Jitter.Collision.GJKCollide"/> <seealso cref="T:Jitter.Collision.XenoCollide"/> - </summary> - </member> - <member name="M:Jitter.Collision.ISupportMappable.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> - <summary> - SupportMapping. Finds the point in the shape furthest away from the given direction. - Imagine a plane with a normal in the search direction. Now move the plane along the normal - until the plane does not intersect the shape. The last intersection point is the result. - </summary> - <param name="direction">The direction.</param> - <param name="result">The result.</param> - </member> - <member name="M:Jitter.Collision.ISupportMappable.SupportCenter(Jitter.LinearMath.JVector@)"> - <summary> - The center of the SupportMap. - </summary> - <param name="center"></param> - </member> - <member name="M:Jitter.Collision.Shapes.Shape.RaiseShapeUpdated"> - <summary> - Informs all listener that the shape changed. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.Shape.#ctor"> - <summary> - Creates a new instance of a shape. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.Shape.GetBoundingBox(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JBBox@)"> - <summary> - Uses the supportMapping to calculate the bounding box. Should be overidden - to make this faster. - </summary> - <param name="orientation">The orientation of the shape.</param> - <param name="box">The resulting axis aligned bounding box.</param> - </member> - <member name="M:Jitter.Collision.Shapes.Shape.UpdateShape"> - <summary> - This method uses the <see cref="T:Jitter.Collision.ISupportMappable"/> implementation - to calculate the local bounding box, the mass, geometric center and - the inertia of the shape. In custom shapes this method should be overidden - to compute this values faster. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.Shape.CalculateMassInertia(Jitter.Collision.Shapes.Shape,Jitter.LinearMath.JVector@,Jitter.LinearMath.JMatrix@)"> - <summary> - Calculated the inertia of the shape relative to the center of mass. - </summary> - <param name="shape"></param> - <param name="centerOfMass"></param> - <param name="inertia"></param> - <returns></returns> - </member> - <member name="M:Jitter.Collision.Shapes.Shape.CalculateMassInertia"> - <summary> - Numerically calculates the inertia, mass and geometric center of the shape. - This gets a good value for "normal" shapes. The algorithm isn't very accurate - for very flat shapes. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.Shape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> - <summary> - SupportMapping. Finds the point in the shape furthest away from the given direction. - Imagine a plane with a normal in the search direction. Now move the plane along the normal - until the plane does not intersect the shape. The last intersection point is the result. - </summary> - <param name="direction">The direction.</param> - <param name="result">The result.</param> - </member> - <member name="M:Jitter.Collision.Shapes.Shape.SupportCenter(Jitter.LinearMath.JVector@)"> - <summary> - The center of the SupportMap. - </summary> - <param name="geomCenter">The center of the SupportMap.</param> - </member> - <member name="E:Jitter.Collision.Shapes.Shape.ShapeUpdated"> - <summary> - Gets called when the shape changes one of the parameters. - </summary> - </member> - <member name="P:Jitter.Collision.Shapes.Shape.Inertia"> - <summary> - Returns the inertia of the untransformed shape. - </summary> - </member> - <member name="P:Jitter.Collision.Shapes.Shape.Mass"> - <summary> - Gets the mass of the shape. This is the volume. (density = 1) - </summary> - </member> - <member name="P:Jitter.Collision.Shapes.Shape.AABBMin"> - <summary> - Returns the minimum point of the axis aligned bounding box - of the untransformed shape. - </summary> - </member> - <member name="P:Jitter.Collision.Shapes.Shape.AABBMax"> - <summary> - Returns the maximum point of the axis aligned bounding box - of the untransformed shape. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.Multishape.SetCurrentShape(System.Int32)"> - <summary> - Sets the current shape. First <see cref="M:Jitter.Collision.Shapes.Multishape.Prepare(Jitter.LinearMath.JBBox@)"/> has to be called. - After SetCurrentShape the shape immitates another shape. - </summary> - <param name="index"></param> - </member> - <member name="M:Jitter.Collision.Shapes.Multishape.Prepare(Jitter.LinearMath.JBBox@)"> - <summary> - Passes a axis aligned bounding box to the shape where collision - could occour. - </summary> - <param name="box">The bounding box where collision could occur.</param> - <returns>The upper index with which <see cref="M:Jitter.Collision.Shapes.Multishape.SetCurrentShape(System.Int32)"/> can be - called.</returns> - </member> - <member name="M:Jitter.Collision.Shapes.Multishape.Prepare(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> - <summary> - - </summary> - <param name="rayOrigin"></param> - <param name="rayDelta"></param> - <returns></returns> - </member> - <member name="M:Jitter.Collision.Shapes.Multishape.GetBoundingBox(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JBBox@)"> - <summary> - Gets the axis aligned bounding box of the orientated shape. This includes - the whole shape. - </summary> - <param name="orientation">The orientation of the shape.</param> - <param name="box">The axis aligned bounding box of the shape.</param> - </member> - <member name="M:Jitter.Collision.Shapes.Multishape.CalculateMassInertia"> - <summary> - Calculates the inertia of a box with the sides of the multishape. - </summary> - </member> - <member name="T:Jitter.Collision.Shapes.CylinderShape"> - <summary> - A <see cref="T:Jitter.Collision.Shapes.Shape"/> representing a cylinder. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.CylinderShape.#ctor(System.Single,System.Single)"> - <summary> - Initializes a new instance of the CylinderShape class. - </summary> - <param name="height">The height of the cylinder.</param> - <param name="radius">The radius of the cylinder.</param> - </member> - <member name="M:Jitter.Collision.Shapes.CylinderShape.CalculateMassInertia"> - <summary> - - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.CylinderShape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> - <summary> - SupportMapping. Finds the point in the shape furthest away from the given direction. - Imagine a plane with a normal in the search direction. Now move the plane along the normal - until the plane does not intersect the shape. The last intersection point is the result. - </summary> - <param name="direction">The direction.</param> - <param name="result">The result.</param> - </member> - <member name="P:Jitter.Collision.Shapes.CylinderShape.Height"> - <summary> - Sets the height of the cylinder. - </summary> - </member> - <member name="P:Jitter.Collision.Shapes.CylinderShape.Radius"> - <summary> - Sets the radius of the cylinder. - </summary> - </member> - <member name="T:Jitter.Collision.Shapes.CapsuleShape"> - <summary> - A <see cref="T:Jitter.Collision.Shapes.Shape"/> representing a capsule. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.CapsuleShape.#ctor(System.Single,System.Single)"> - <summary> - Create a new instance of the capsule. - </summary> - <param name="length">The length of the capsule (exclusive the round endcaps).</param> - <param name="radius">The radius of the endcaps.</param> - </member> - <member name="M:Jitter.Collision.Shapes.CapsuleShape.CalculateMassInertia"> - <summary> - - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.CapsuleShape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> - <summary> - SupportMapping. Finds the point in the shape furthest away from the given direction. - Imagine a plane with a normal in the search direction. Now move the plane along the normal - until the plane does not intersect the shape. The last intersection point is the result. - </summary> - <param name="direction">The direction.</param> - <param name="result">The result.</param> - </member> - <member name="P:Jitter.Collision.Shapes.CapsuleShape.Length"> - <summary> - Gets or sets the length of the capsule (exclusive the round endcaps). - </summary> - </member> - <member name="P:Jitter.Collision.Shapes.CapsuleShape.Radius"> - <summary> - Gets or sets the radius of the endcaps. - </summary> - </member> - <member name="T:Jitter.Collision.CollisionIsland"> - <summary> - Holds a list of bodies which are in contact with each other. - </summary> - </member> - <member name="F:Jitter.Collision.CollisionIsland.Pool"> - <summary> - A CollisionIsland pool. - </summary> - </member> - <member name="M:Jitter.Collision.CollisionIsland.#ctor"> - <summary> - Constructor of CollisionIsland class. - </summary> - </member> - <member name="M:Jitter.Collision.CollisionIsland.IsActive"> - <summary> - Whether the island is active or not. - </summary> - <returns>Returns true if the island is active, otherwise false.</returns> - <seealso cref="P:Jitter.Dynamics.RigidBody.IsActive"/> - </member> - <member name="M:Jitter.Collision.CollisionIsland.SetStatus(System.Boolean)"> - <summary> - Sets the status of every body in this island to active or inactive. - </summary> - <param name="active">If true the island gets activated, if false it - gets deactivated. </param> - <seealso cref="P:Jitter.Dynamics.RigidBody.IsActive"/> - </member> - <member name="P:Jitter.Collision.CollisionIsland.Bodies"> - <summary> - Gets a read only list of <see cref="T:Jitter.Dynamics.RigidBody"/> which are in contact with each other. - </summary> - </member> - <member name="P:Jitter.Collision.CollisionIsland.Arbiter"> - <summary> - Gets a read only list of <see cref="P:Jitter.Collision.CollisionIsland.Arbiter"/> which are involved in this island. - </summary> - </member> - <member name="P:Jitter.Collision.CollisionIsland.Constraints"> - <summary> - Gets a read only list of <see cref="T:Jitter.Dynamics.Constraints.Constraint"/> which are involved in this island. - </summary> - </member> - <member name="T:Jitter.Dynamics.Arbiter"> - <summary> - An arbiter holds all contact information of two bodies. - </summary> - </member> - <member name="F:Jitter.Dynamics.Arbiter.Pool"> - <summary> - A arbiter resource pool. - </summary> - </member> - <member name="M:Jitter.Dynamics.Arbiter.#ctor(Jitter.Dynamics.RigidBody,Jitter.Dynamics.RigidBody)"> - <summary> - Initializes a new instance of the Arbiter class. - </summary> - <param name="body1">The first body.</param> - <param name="body2">The second body.</param> - </member> - <member name="M:Jitter.Dynamics.Arbiter.#ctor"> - <summary> - Initializes a new instance of the Arbiter class. - </summary> - </member> - <member name="M:Jitter.Dynamics.Arbiter.AddContact(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@,System.Single)"> - <summary> - Adds a contact to the arbiter. No more than four contacts - are stored in the contactList. When adding a new contact - to the arbiter the existing are checked and the best are kept. - </summary> - <param name="point">Collision point in world space.</param> - <param name="n">The normal pointing to body2.</param> - <param name="p">The estimated penetration depth.</param> - </member> - <member name="P:Jitter.Dynamics.Arbiter.Body1"> - <summary> - The first body. - </summary> - </member> - <member name="P:Jitter.Dynamics.Arbiter.Body2"> - <summary> - The second body. - </summary> - </member> - <member name="P:Jitter.Dynamics.Arbiter.ContactList"> - <summary> - The contact list containing all contacts of both bodies. - </summary> - </member> - <member name="T:Jitter.LinearMath.JQuaternion"> - <summary> - A Quaternion representing an orientation. Member of the math - namespace, so every method has it's 'by reference' equivalent - to speed up time critical math operations. - </summary> - </member> - <member name="F:Jitter.LinearMath.JQuaternion.X"> - <summary>The X component of the quaternion.</summary> - </member> - <member name="F:Jitter.LinearMath.JQuaternion.Y"> - <summary>The Y component of the quaternion.</summary> - </member> - <member name="F:Jitter.LinearMath.JQuaternion.Z"> - <summary>The Z component of the quaternion.</summary> - </member> - <member name="F:Jitter.LinearMath.JQuaternion.W"> - <summary>The W component of the quaternion.</summary> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.#ctor(System.Single,System.Single,System.Single,System.Single)"> - <summary> - Initializes a new instance of the JQuaternion structure. - </summary> - <param name="x">The X component of the quaternion.</param> - <param name="y">The Y component of the quaternion.</param> - <param name="z">The Z component of the quaternion.</param> - <param name="w">The W component of the quaternion.</param> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.Add(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> - <summary> - Quaternions are added. - </summary> - <param name="quaternion1">The first quaternion.</param> - <param name="quaternion2">The second quaternion.</param> - <returns>The sum of both quaternions.</returns> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.Add(Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@)"> - <summary> - Quaternions are added. - </summary> - <param name="quaternion1">The first quaternion.</param> - <param name="quaternion2">The second quaternion.</param> - <param name="result">The sum of both quaternions.</param> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.Subtract(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> - <summary> - Quaternions are subtracted. - </summary> - <param name="quaternion1">The first quaternion.</param> - <param name="quaternion2">The second quaternion.</param> - <returns>The difference of both quaternions.</returns> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.Subtract(Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@)"> - <summary> - Quaternions are subtracted. - </summary> - <param name="quaternion1">The first quaternion.</param> - <param name="quaternion2">The second quaternion.</param> - <param name="result">The difference of both quaternions.</param> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.Multiply(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> - <summary> - Multiply two quaternions. - </summary> - <param name="quaternion1">The first quaternion.</param> - <param name="quaternion2">The second quaternion.</param> - <returns>The product of both quaternions.</returns> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.Multiply(Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@)"> - <summary> - Multiply two quaternions. - </summary> - <param name="quaternion1">The first quaternion.</param> - <param name="quaternion2">The second quaternion.</param> - <param name="result">The product of both quaternions.</param> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.Multiply(Jitter.LinearMath.JQuaternion,System.Single)"> - <summary> - Scale a quaternion - </summary> - <param name="quaternion1">The quaternion to scale.</param> - <param name="scaleFactor">Scale factor.</param> - <returns>The scaled quaternion.</returns> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.Multiply(Jitter.LinearMath.JQuaternion@,System.Single,Jitter.LinearMath.JQuaternion@)"> - <summary> - Scale a quaternion - </summary> - <param name="quaternion1">The quaternion to scale.</param> - <param name="scaleFactor">Scale factor.</param> - <param name="result">The scaled quaternion.</param> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.Normalize"> - <summary> - Sets the length of the quaternion to one. - </summary> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.CreateFromMatrix(Jitter.LinearMath.JMatrix)"> - <summary> - Creates a quaternion from a matrix. - </summary> - <param name="matrix">A matrix representing an orientation.</param> - <returns>JQuaternion representing an orientation.</returns> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.CreateFromMatrix(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JQuaternion@)"> - <summary> - Creates a quaternion from a matrix. - </summary> - <param name="matrix">A matrix representing an orientation.</param> - <param name="result">JQuaternion representing an orientation.</param> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.op_Multiply(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> - <summary> - Multiply two quaternions. - </summary> - <param name="value1">The first quaternion.</param> - <param name="value2">The second quaternion.</param> - <returns>The product of both quaternions.</returns> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.op_Addition(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> - <summary> - Add two quaternions. - </summary> - <param name="value1">The first quaternion.</param> - <param name="value2">The second quaternion.</param> - <returns>The sum of both quaternions.</returns> - </member> - <member name="M:Jitter.LinearMath.JQuaternion.op_Subtraction(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> - <summary> - Subtract two quaternions. - </summary> - <param name="value1">The first quaternion.</param> - <param name="value2">The second quaternion.</param> - <returns>The difference of both quaternions.</returns> - </member> - <member name="T:Jitter.LinearMath.JBBox"> - <summary> - Bounding Box defined through min and max vectors. Member - of the math namespace, so every method has it's 'by reference' - equivalent to speed up time critical math operations. - </summary> - </member> - <member name="F:Jitter.LinearMath.JBBox.CornersPool"> - <summary> - Resource pool for JVector arrays. - </summary> - </member> - <member name="F:Jitter.LinearMath.JBBox.Min"> - <summary> - The maximum point of the box. - </summary> - </member> - <member name="F:Jitter.LinearMath.JBBox.Max"> - <summary> - The minimum point of the box. - </summary> - </member> - <member name="F:Jitter.LinearMath.JBBox.LargeBox"> - <summary> - Returns the largest box possible. - </summary> - </member> - <member name="F:Jitter.LinearMath.JBBox.SmallBox"> - <summary> - Returns the smalltest box possible. - </summary> - </member> - <member name="M:Jitter.LinearMath.JBBox.#ctor(Jitter.LinearMath.JVector,Jitter.LinearMath.JVector)"> - <summary> - Constructor - </summary> - <param name="min">The minimum point of the box.</param> - <param name="max">The maximum point of the box.</param> - </member> - <member name="M:Jitter.LinearMath.JBBox.Intersect1D(System.Single,System.Single,System.Single,System.Single,System.Single@,System.Single@)"> - <summary> - Checks whether a point is inside, outside or intersecting - a point. - </summary> - <returns>The ContainmentType of the point.</returns> - </member> - <member name="M:Jitter.LinearMath.JBBox.Contains(Jitter.LinearMath.JVector)"> - <summary> - Checks wether a point is within a box or not. - </summary> - <param name="point"></param> - <returns></returns> - </member> - <member name="M:Jitter.LinearMath.JBBox.Contains(Jitter.LinearMath.JVector@)"> - <summary> - Checks whether a point is inside, outside or intersecting - a point. - </summary> - <param name="point">A point in space.</param> - <returns>The ContainmentType of the point.</returns> - </member> - <member name="M:Jitter.LinearMath.JBBox.GetCorners(Jitter.LinearMath.JVector[])"> - <summary> - Retrieves the 8 corners of the box. - </summary> - <returns>An array of 8 JVector entries.</returns> - </member> - <member name="M:Jitter.LinearMath.JBBox.CreateFromPoints(Jitter.LinearMath.JVector[])"> - <summary> - Expands a bounding box with the volume 0 by all points - given. - </summary> - <param name="points">A array of JVector.</param> - <returns>The resulting bounding box containing all points.</returns> - </member> - <member name="M:Jitter.LinearMath.JBBox.Contains(Jitter.LinearMath.JBBox)"> - <summary> - Checks whether another bounding box is inside, outside or intersecting - this box. - </summary> - <param name="box">The other bounding box to check.</param> - <returns>The ContainmentType of the box.</returns> - </member> - <member name="M:Jitter.LinearMath.JBBox.Contains(Jitter.LinearMath.JBBox@)"> - <summary> - Checks whether another bounding box is inside, outside or intersecting - this box. - </summary> - <param name="box">The other bounding box to check.</param> - <returns>The ContainmentType of the box.</returns> - </member> - <member name="M:Jitter.LinearMath.JBBox.CreateMerged(Jitter.LinearMath.JBBox,Jitter.LinearMath.JBBox)"> - <summary> - Creates a new box containing the two given ones. - </summary> - <param name="original">First box.</param> - <param name="additional">Second box.</param> - <returns>A JBBox containing the two given boxes.</returns> - </member> - <member name="M:Jitter.LinearMath.JBBox.CreateMerged(Jitter.LinearMath.JBBox@,Jitter.LinearMath.JBBox@,Jitter.LinearMath.JBBox@)"> - <summary> - Creates a new box containing the two given ones. - </summary> - <param name="original">First box.</param> - <param name="additional">Second box.</param> - <param name="result">A JBBox containing the two given boxes.</param> - </member> - <member name="T:Jitter.LinearMath.JBBox.ContainmentType"> - <summary> - Containment type used within the <see cref="T:Jitter.LinearMath.JBBox"/> structure. - </summary> - </member> - <member name="F:Jitter.LinearMath.JBBox.ContainmentType.Disjoint"> - <summary> - The objects don't intersect. - </summary> - </member> - <member name="F:Jitter.LinearMath.JBBox.ContainmentType.Contains"> - <summary> - One object is within the other. - </summary> - </member> - <member name="F:Jitter.LinearMath.JBBox.ContainmentType.Intersects"> - <summary> - The two objects intersect. - </summary> - </member> - <member name="T:Jitter.Collision.Shapes.TriangleMeshShape"> - <summary> - A <see cref="T:Jitter.Collision.Shapes.Shape"/> representing a triangleMesh. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.#ctor(Jitter.LinearMath.JOctree)"> - <summary> - Creates a new istance if the TriangleMeshShape class. - </summary> - <param name="octree">The octree which holds the triangles - of a mesh.</param> - </member> - <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.Prepare(Jitter.LinearMath.JBBox@)"> - <summary> - Passes a axis aligned bounding box to the shape where collision - could occour. - </summary> - <param name="box">The bounding box where collision could occur.</param> - <returns>The upper index with which <see cref="M:Jitter.Collision.Shapes.TriangleMeshShape.SetCurrentShape(System.Int32)"/> can be - called.</returns> - </member> - <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.Prepare(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> - <summary> - - </summary> - <param name="rayOrigin"></param> - <param name="rayDelta"></param> - <returns></returns> - </member> - <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> - <summary> - SupportMapping. Finds the point in the shape furthest away from the given direction. - Imagine a plane with a normal in the search direction. Now move the plane along the normal - until the plane does not intersect the shape. The last intersection point is the result. - </summary> - <param name="direction">The direction.</param> - <param name="result">The result.</param> - </member> - <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.GetBoundingBox(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JBBox@)"> - <summary> - Gets the axis aligned bounding box of the orientated shape. This includes - the whole shape. - </summary> - <param name="orientation">The orientation of the shape.</param> - <param name="box">The axis aligned bounding box of the shape.</param> - </member> - <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.SetCurrentShape(System.Int32)"> - <summary> - Sets the current shape. First <see cref="M:Jitter.Collision.Shapes.TriangleMeshShape.Prepare(Jitter.LinearMath.JBBox@)"/> has to be called. - After SetCurrentShape the shape immitates another shape. - </summary> - <param name="index"></param> - </member> - <member name="T:Jitter.Collision.Shapes.BoxShape"> - <summary> - A <see cref="T:Jitter.Collision.Shapes.Shape"/> representing a box. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.BoxShape.#ctor(Jitter.LinearMath.JVector)"> - <summary> - Creates a new instance of the BoxShape class. - </summary> - <param name="size">The size of the box.</param> - </member> - <member name="M:Jitter.Collision.Shapes.BoxShape.#ctor(System.Single,System.Single,System.Single)"> - <summary> - Creates a new instance of the BoxShape class. - </summary> - <param name="length">The length of the box.</param> - <param name="height">The height of the box.</param> - <param name="width">The width of the box</param> - </member> - <member name="M:Jitter.Collision.Shapes.BoxShape.GetBoundingBox(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JBBox@)"> - <summary> - Gets the axis aligned bounding box of the orientated shape. - </summary> - <param name="orientation">The orientation of the shape.</param> - <param name="box">The axis aligned bounding box of the shape.</param> - </member> - <member name="M:Jitter.Collision.Shapes.BoxShape.CalculateMassInertia"> - <summary> - This method uses the <see cref="T:Jitter.Collision.ISupportMappable"/> implementation - to calculate the local bounding box, the mass, geometric center and - the inertia of the shape. In custom shapes this method should be overidden - to compute this values faster. - </summary> - </member> - <member name="M:Jitter.Collision.Shapes.BoxShape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> - <summary> - SupportMapping. Finds the point in the shape furthest away from the given direction. - Imagine a plane with a normal in the search direction. Now move the plane along the normal - until the plane does not intersect the shape. The last intersection point is the result. - </summary> - <param name="direction">The direction.</param> - <param name="result">The result.</param> - </member> - <member name="P:Jitter.Collision.Shapes.BoxShape.Size"> - <summary> - The sidelength of the box. - </summary> - </member> - <member name="T:Jitter.Collision.GJKCollide"> - <summary> - GJK based implementation of Raycasting. - </summary> - </member> - <member name="M:Jitter.Collision.GJKCollide.Pointcast(Jitter.Collision.ISupportMappable,Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> - <summary> - Checks if given point is within a shape. - </summary> - <param name="support">The supportmap implementation representing the shape.</param> - <param name="orientation">The orientation of the shape.</param> - <param name="invOrientation">The inverse orientation of the shape.</param> - <param name="position">The position of the shape.</param> - <param name="point">The point to check.</param> - <returns>Returns true if the point is within the shape, otherwise false.</returns> - </member> - <member name="M:Jitter.Collision.GJKCollide.Raycast(Jitter.Collision.ISupportMappable,Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@,System.Single@,Jitter.LinearMath.JVector@)"> - <summary> - Checks if a ray definied through it's origin and direction collides - with a shape. - </summary> - <param name="support">The supportmap implementation representing the shape.</param> - <param name="orientation">The orientation of the shape.</param> - <param name="invOrientation">The inverse orientation of the shape.</param> - <param name="position">The position of the shape.</param> - <param name="origin">The origin of the ray.</param> - <param name="direction">The direction of the ray.</param> - <param name="fraction">The fraction which gives information where at the - ray the collision occured. The hitPoint is calculated by: origin+friction*direction.</param> - <param name="normal">The normal from the ray collision.</param> - <returns>Returns true if the ray hit the shape, false otherwise.</returns> - </member> - <member name="T:Jitter.Collision.GJKCollide.VoronoiSimplexSolver"> - VoronoiSimplexSolver is an implementation of the closest point distance - algorithm from a 1-4 points simplex to the origin. - Can be used with GJK, as an alternative to Johnson distance algorithm. - </member> - <member name="M:Jitter.Collision.GJKCollide.VoronoiSimplexSolver.PointOutsideOfPlane(Jitter.LinearMath.JVector,Jitter.LinearMath.JVector,Jitter.LinearMath.JVector,Jitter.LinearMath.JVector,Jitter.LinearMath.JVector)"> - Test if point p and d lie on opposite sides of plane through abc - </member> - <member name="T:Jitter.Forces.ForceGenerator"> - <summary> - Base class for physic effect. - </summary> - </member> - <member name="F:Jitter.Forces.ForceGenerator.world"> - <summary> - - </summary> - </member> - <member name="M:Jitter.Forces.ForceGenerator.#ctor(Jitter.World)"> - <summary> - - </summary> - <param name="world"></param> - </member> - <member name="M:Jitter.Forces.ForceGenerator.PreStep(System.Single)"> - <summary> - - </summary> - <param name="timeStep"></param> - </member> - <member name="M:Jitter.Forces.ForceGenerator.PostStep(System.Single)"> - <summary> - - </summary> - <param name="timeStep"></param> - </member> - <member name="M:Jitter.Forces.ForceGenerator.RemoveEffect"> - <summary> - - </summary> - </member> - <member name="T:Jitter.Dynamics.Constraints.Constraint"> - <summary> - A constraints forces a body to behave in a specific way. - </summary> - </member> - <member name="T:Jitter.IDebugDraw"> - <summary> - Interface for providing the possibility to get drawable debug information - from an object. - </summary> - </member> - <member name="M:Jitter.IDebugDraw.AddToDebugDrawList(System.Collections.Generic.List{Jitter.LinearMath.JVector},System.Collections.Generic.List{Jitter.LinearMath.JVector})"> - <summary> - This method is used to debug draw the object. - </summary> - <param name="lineList">A list of <see cref="T:Jitter.LinearMath.JVector"/> to which lines (definied trough two points) - are added.</param> - <param name="pointList">A list of <see cref="T:Jitter.LinearMath.JVector"/> defining points.</param> - </member> - <member name="M:Jitter.Dynamics.Constraints.Constraint.#ctor(Jitter.Dynamics.RigidBody,Jitter.Dynamics.RigidBody)"> - <summary> - Constructor. - </summary> - <param name="body1">The first body which should get constrained. Can be null.</param> - <param name="body2">The second body which should get constrained. Can be null.</param> - </member> - <member name="M:Jitter.Dynamics.Constraints.Constraint.AddToDebugDrawList(System.Collections.Generic.List{Jitter.LinearMath.JVector},System.Collections.Generic.List{Jitter.LinearMath.JVector})"> - <summary> - This method is used to debug draw the constraints. - </summary> - <param name="lineList">A list of <see cref="T:Jitter.LinearMath.JVector"/> to which lines (definied trough two points) - are added.</param> - <param name="pointList">A list of <see cref="T:Jitter.LinearMath.JVector"/> defining points.</param> - </member> - <member name="M:Jitter.Dynamics.Constraints.Constraint.BuildKMatrix(Jitter.Dynamics.RigidBody,Jitter.LinearMath.JVector@,Jitter.LinearMath.JMatrix@)"> - <summary> - Builds the KMatrix which calculates the impulse needed to get a specific velocity in a - point. - </summary> - <param name="body">The body to calculate the KMatrix for.</param> - <param name="relativePosition">The position on the body.</param> - <param name="k">The KMatrix.</param> - </member> - <member name="M:Jitter.Dynamics.Constraints.Constraint.ApplyImpulse(Jitter.LinearMath.JVector,Jitter.LinearMath.JVector,Jitter.LinearMath.JVector)"> - <summary> - Applies an impulse on both bodies. - </summary> - <param name="relativePos1">The position on body1 where the -impulse is applied.</param> - <param name="relativePos2">The position on body2 wehre the +impulse is applied</param> - <param name="impulse"></param> - </member> - <member name="M:Jitter.Dynamics.Constraints.Constraint.PrepareForIteration(System.Single)"> - <summary> - Called once before iteration starts. - </summary> - <param name="timestep">The simulation timestep</param> - </member> - <member name="M:Jitter.Dynamics.Constraints.Constraint.Iterate"> - <summary> - Iteratively solve this constraint. - </summary> - </member> - <member name="P:Jitter.Dynamics.Constraints.Constraint.Body1"> - <summary> - Gets the first body. Can be null. - </summary> - </member> - <member name="P:Jitter.Dynamics.Constraints.Constraint.Body2"> - <summary> - Gets the second body. Can be null. - </summary> - </member> - <member name="T:Jitter.ResourcePool`1"> - <summary> - A thread safe resource pool. - </summary> - <typeparam name="T">The type of the object to cache. The type T must - have a parameterless constructor.</typeparam> - </member> - <member name="M:Jitter.ResourcePool`1.#ctor"> - <summary> - Creates a new instance of the ResourcePool class. - </summary> - </member> - <member name="M:Jitter.ResourcePool`1.ResetResourcePool"> - <summary> - Removes all cached resources. - So they can get garbage collected. - </summary> - </member> - <member name="M:Jitter.ResourcePool`1.GiveBack(`0)"> - <summary> - Gives a resource back to the pool. - </summary> - <param name="obj">The resource to give back</param> - </member> - <member name="M:Jitter.ResourcePool`1.GetNew"> - <summary> - Get a free resource. - </summary> - <returns>The free resource.</returns> - </member> - <member name="T:Jitter.ArrayResourcePool`1"> - <summary> - A thread safe resource pool. - </summary> - <typeparam name="T">The type of the array of objects to cache. The type T must - have a parameterless constructor. Do not specify [].</typeparam> - </member> - <member name="F:Jitter.ArrayResourcePool`1.arrayLength"> - <summary> - The length of each array object to be created in the pool. - </summary> - </m... [truncated message content] |
From: <bor...@us...> - 2011-02-15 15:00:47
|
Revision: 259 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=259&view=rev Author: borrillis Date: 2011-02-15 15:00:41 +0000 (Tue, 15 Feb 2011) Log Message: ----------- updated bin and media Removed Paths: ------------- AxiomContrib.Samples/trunk/bin/media/Meshes/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-02-15 15:00:20
|
Revision: 258 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=258&view=rev Author: borrillis Date: 2011-02-15 15:00:14 +0000 (Tue, 15 Feb 2011) Log Message: ----------- updated bin and media Modified Paths: -------------- AxiomContrib.Samples/trunk/bin/media/materials/scripts/JitterSampleDisplay.overlay AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config Added Paths: ----------- AxiomContrib.Samples/trunk/bin/media/models/ AxiomContrib.Samples/trunk/bin/win32/FreeImage.dll AxiomContrib.Samples/trunk/bin/win32/FreeImageNET.dll Modified: AxiomContrib.Samples/trunk/bin/media/materials/scripts/JitterSampleDisplay.overlay =================================================================== --- AxiomContrib.Samples/trunk/bin/media/materials/scripts/JitterSampleDisplay.overlay 2011-02-15 14:54:19 UTC (rev 257) +++ AxiomContrib.Samples/trunk/bin/media/materials/scripts/JitterSampleDisplay.overlay 2011-02-15 15:00:14 UTC (rev 258) @@ -21,13 +21,13 @@ border_bottom_uv 0.25 0.75 0.75 1.00 border_bottomright_uv 0.75 0.75 1.00 1.00 - element TextArea(CurrentScene) + element TextArea(CurrentScene) { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 7 left 7 } @@ -36,9 +36,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 37 left 7 } @@ -47,9 +47,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 52 left 7 } @@ -58,9 +58,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 67 left 7 } @@ -69,9 +69,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 82 left 7 } @@ -80,9 +80,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 97 left 7 } @@ -91,10 +91,10 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 caption gen0:6 gen1:1 gen2:0 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 112 left 7 } @@ -103,9 +103,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 142 left 7 } @@ -114,9 +114,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 157 left 7 } @@ -125,9 +125,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 172 left 7 } @@ -136,9 +136,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 187 left 7 } @@ -147,9 +147,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 202 left 7 } @@ -158,9 +158,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 217 left 7 } @@ -169,9 +169,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 232 left 7 } @@ -180,9 +180,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 247 left 7 } @@ -191,9 +191,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 262 left 7 } @@ -202,10 +202,10 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 caption ------------------------------------------------ - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 277 left 7 } @@ -214,9 +214,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 292 left 7 } @@ -225,9 +225,9 @@ { metrics_mode pixels font_name SdkTrays/Caption - char_height 15 - space_width 7 - colour 1 1 1 + char_height 18 + space_width 9 + colour 0.9 1 0.7 top 307 left 7 } Modified: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config =================================================================== --- AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config 2011-02-15 14:54:19 UTC (rev 257) +++ AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config 2011-02-15 15:00:14 UTC (rev 258) @@ -21,30 +21,30 @@ recurse="false" group="Popular" /> <resourceLocation path="../media/materials/textures" type="Folder" recurse="false" group="Popular" /> + <resourceLocation path="../media/models" type="Folder" recurse="false" + group="Popular" /> </resourceLocations> <renderSystems> - <renderSystem name="Xna"> + <renderSystem name="DirectX9"> <options> - <option name="Rendering Device" value="NVIDIA NVS 3100M " /> - <option name="Video Mode" value="800 x 600 @ 32-bit color" /> + <option name="Video Mode" value="1280 x 720 @ 32-bit color" /> <option name="Full Screen" value="No" /> <option name="VSync" value="No" /> <option name="Anti aliasing" value="None" /> <option name="Floating-point mode" value="Fastest" /> <option name="Allow NVPerfHUD" value="No" /> - <option name="Save Generated Shaders" value="No" /> - <option name="Use Content Pipeline" value="No" /> </options> </renderSystem> - <renderSystem name="DirectX9"> + <renderSystem name="Xna"> <options> - <option name="Rendering Device" value="NVIDIA NVS 3100M " /> - <option name="Video Mode" value="1280 x 720 @ 32-bit color" /> + <option name="Video Mode" value="800 x 600 @ 32-bit color" /> <option name="Full Screen" value="No" /> <option name="VSync" value="No" /> <option name="Anti aliasing" value="None" /> <option name="Floating-point mode" value="Fastest" /> <option name="Allow NVPerfHUD" value="No" /> + <option name="Save Generated Shaders" value="No" /> + <option name="Use Content Pipeline" value="No" /> </options> </renderSystem> </renderSystems> Added: AxiomContrib.Samples/trunk/bin/win32/FreeImage.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/FreeImage.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/FreeImageNET.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/FreeImageNET.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-02-15 14:51:16
|
Revision: 256 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=256&view=rev Author: borrillis Date: 2011-02-15 14:51:07 +0000 (Tue, 15 Feb 2011) Log Message: ----------- added Jitter assemblies Added Paths: ----------- AxiomContrib.Samples/trunk/Reference Assemblies/Jitter.XML AxiomContrib.Samples/trunk/Reference Assemblies/Jitter.dll AxiomContrib.Samples/trunk/Reference Assemblies/Jitter.pdb Copied: AxiomContrib.Samples/trunk/Reference Assemblies/Jitter.XML (from rev 254, AxiomContrib.Samples/trunk/Source/Jitter/Jitter.XML) =================================================================== --- AxiomContrib.Samples/trunk/Reference Assemblies/Jitter.XML (rev 0) +++ AxiomContrib.Samples/trunk/Reference Assemblies/Jitter.XML 2011-02-15 14:51:07 UTC (rev 256) @@ -0,0 +1,3118 @@ +<?xml version="1.0"?> +<doc> + <assembly> + <name>Jitter</name> + </assembly> + <members> + <member name="T:Jitter.WorldStep"> + <summary> + </summary> + <param name="timeStep">The timestep of the step.</param> + </member> + <member name="T:Jitter.World"> + <summary> + This class brings 'dynamics' and 'collisions' together. It handles + all bodies and constraints. + </summary> + </member> + <member name="F:Jitter.World.ContactBreakThreshold"> + <summary> + If a contact exceeds this breakThreshold it + gets removed from the <see cref="T:Jitter.Dynamics.ContactList"/> of an <see cref="T:Jitter.Dynamics.Arbiter"/>. + </summary> + </member> + <member name="M:Jitter.World.#ctor(Jitter.Collision.CollisionSystem)"> + <summary> + Create a new instance of the <see cref="T:Jitter.World"/> class. + </summary> + <param name="collision">The collisionSystem which is used to detect + collisions. See for example: <see cref="T:Jitter.Collision.CollisionSystemSAP"/> + or <see cref="T:Jitter.Collision.CollisionSystemBrute"/>. + </param> + </member> + <member name="M:Jitter.World.ResetResourcePools"> + <summary> + In Jitter many objects get added to stacks after they were used. + If a new object is needed the old object gets removed from the stack + and is reused. This saves some time and also garbage collections. + Calling this method removes all cached objects from all + stacks. + </summary> + </member> + <member name="M:Jitter.World.Clear"> + <summary> + Removes all objects from the world and removes all memory cached objects. + </summary> + </member> + <member name="M:Jitter.World.SetDampingFactors(System.Single,System.Single)"> + <summary> + Every computation <see cref="M:Jitter.World.Step(System.Single,System.Boolean)"/> the angular and linear velocity + of a <see cref="T:Jitter.Dynamics.RigidBody"/> gets multiplied by this value. + </summary> + <param name="angularDamping">The factor multiplied with the angular velocity. + The default value is 0.8.</param> + <param name="linearDamping">The factor multiplied with the linear velocity. + The default value is 0.9</param> + </member> + <member name="M:Jitter.World.SetInactivityThreshold(System.Single,System.Single,System.Single)"> + <summary> + Sets parameters for the <see cref="T:Jitter.Dynamics.RigidBody"/> deactivation process. + If the bodies angular velocity is less than the angular velocity threshold + and its linear velocity is lower then the linear velocity threshold for a + specific time the body gets deactivated. A body can be reactivated by setting + <see cref="P:Jitter.Dynamics.RigidBody.IsActive"/> to true. A body gets also automatically + reactivated if another moving object hits it or the <see cref="T:Jitter.Collision.CollisionIsland"/> + the object is in gets activated. + </summary> + <param name="angularVelocity">The threshold value for the angular velocity. The default value + is 0.1.</param> + <param name="linearVelocity">The threshold value for the linear velocity. The default value + is 0.1</param> + <param name="time">The threshold value for the time in seconds. The default value is 2.</param> + </member> + <member name="M:Jitter.World.SetIterations(System.Int32)"> + <summary> + Jitter uses an iterativ approach to solve collisions and contacts. You can set the number of + iterations Jitter should do. In general the more iterations the more stable a simulation gets + but also costs computation time. + </summary> + <param name="iterations">The number of contact iterations. Default value 6.</param> + <remarks>The number of iterations for collision and contact should be between 3 - 15. + More iterations means more stability and also a longer calculation time.</remarks> + </member> + <member name="M:Jitter.World.RemoveBody(Jitter.Dynamics.RigidBody)"> + <summary> + Removes a <see cref="T:Jitter.Dynamics.RigidBody"/> from the world. + </summary> + <param name="body">The body which should be removed.</param> + <returns>Returns false if the body could not be removed from the world.</returns> + </member> + <member name="M:Jitter.World.AddBody(Jitter.Dynamics.RigidBody)"> + <summary> + Adds a <see cref="T:Jitter.Dynamics.RigidBody"/> to the world. + </summary> + <param name="body">The body which should be added.</param> + </member> + <member name="M:Jitter.World.RemoveConstraint(Jitter.Dynamics.Constraints.Constraint)"> + <summary> + Add a <see cref="T:Jitter.Dynamics.Constraints.Constraint"/> to the world. Fast, O(log(N)). + </summary> + <param name="constraint">The constraint which should be added.</param> + <returns>True if the constraint was successfully removed.</returns> + </member> + <member name="M:Jitter.World.AddConstraint(Jitter.Dynamics.Constraints.Constraint)"> + <summary> + Add a <see cref="T:Jitter.Dynamics.Constraints.Constraint"/> to the world. Fast, O(log(N)). + </summary> + <param name="constraint">The constraint which should be removed.</param> + </member> + <member name="M:Jitter.World.Step(System.Single,System.Boolean)"> + <summary> + Integrates the whole world a timestep further in time. + </summary> + <param name="timestep">The timestep in seconds. + It should be small as possible to keep the simulation stable. + The physics simulation shouldn't run slower than 60fps. + (timestep=1/60).</param> + <param name="multithread">If true the engine uses several threads to + integrate the world. This is faster on multicore CPUs.</param> + </member> + <member name="P:Jitter.World.Solver"> + <summary> + Set the solver which is used. Simultaneuos means that all collisions + get solved together. For nearly all practical purposes this is the + solver you want to use - it's more stable. Using the Sequential solver + comes closer to real world physics and also handles cases like + the Newton Cradle but it took alot more iterations to get stacking stable. + </summary> + </member> + <member name="P:Jitter.World.CollisionSystem"> + <summary> + Gets the <see cref="P:Jitter.World.CollisionSystem"/> used + to detect collisions. + </summary> + </member> + <member name="E:Jitter.World.PreStep"> + <summary> + It's a good idea to add force and torque here. + </summary> + </member> + <member name="E:Jitter.World.PostStep"> + <summary> + Called at the end of every step. + </summary> + </member> + <member name="P:Jitter.World.ArbiterMap"> + <summary> + Holds a list of <see cref="T:Jitter.Dynamics.Arbiter"/>. All currently + active arbiter in the <see cref="T:Jitter.World"/> are stored in this map. + </summary> + </member> + <member name="P:Jitter.World.RigidBodies"> + <summary> + Gets a read only collection of the <see cref="T:Jitter.Dynamics.RigidBody"/> objects managed by + this class. + </summary> + </member> + <member name="P:Jitter.World.Constraints"> + <summary> + Gets a read only collection of the <see cref="T:Jitter.Dynamics.Constraints.Constraint"/> objects managed by + this class. + </summary> + </member> + <member name="P:Jitter.World.Islands"> + <summary> + Gets a read only collection of the <see cref="T:Jitter.Collision.CollisionIsland"/> objects managed by + this class. + </summary> + </member> + <member name="P:Jitter.World.Gravity"> + <summary> + Gets or sets the gravity in this <see cref="T:Jitter.World"/>. The default gravity + is (0,-9.81,0) + </summary> + </member> + <member name="P:Jitter.World.AllowDeactivation"> + <summary> + Global sets or gets if a body is able to be temporarily deactivated by the engine to + safe computation time. Use <see cref="M:Jitter.World.SetInactivityThreshold(System.Single,System.Single,System.Single)"/> to set parameters + of the deactivation process. + </summary> + </member> + <member name="T:Jitter.Dynamics.Joints.Joint"> + <summary> + A joint is a collection of internally handled constraints. + </summary> + </member> + <member name="M:Jitter.Dynamics.Joints.Joint.#ctor(Jitter.World)"> + <summary> + Creates a new instance of the Joint class. + </summary> + <param name="world">The world class to which the internal constraints + should be added.</param> + </member> + <member name="M:Jitter.Dynamics.Joints.Joint.Activate"> + <summary> + Adds the internal constraints of this joint to the world class. + </summary> + </member> + <member name="M:Jitter.Dynamics.Joints.Joint.Deactivate"> + <summary> + Removes the internal constraints of this joint from the world class. + </summary> + </member> + <member name="P:Jitter.Dynamics.Joints.Joint.World"> + <summary> + The world class to which the internal constraints + should be added. + </summary> + </member> + <member name="T:Jitter.Collision.Shapes.Multishape"> + <summary> + Represents a variable form of a shape. + </summary> + </member> + <member name="T:Jitter.Collision.Shapes.Shape"> + <summary> + Represents the collision part of the RigidBody. A shape is mainly definied through it's supportmap. + Shapes represent convex objects. Inherited classes have to overwrite the supportmap function. + To implement you own shape: derive a class from <see cref="T:Jitter.Collision.Shapes.Shape"/>, implement the support map function + and call 'UpdateShape' within the constructor. GeometricCenter, Mass, BoundingBox and Inertia is calculated numerically + based on your SupportMap implementation. + </summary> + </member> + <member name="T:Jitter.Collision.ISupportMappable"> + <summary> + The implementation of the ISupportMappable interface defines the form + of a shape. <seealso cref="T:Jitter.Collision.GJKCollide"/> <seealso cref="T:Jitter.Collision.XenoCollide"/> + </summary> + </member> + <member name="M:Jitter.Collision.ISupportMappable.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> + <summary> + SupportMapping. Finds the point in the shape furthest away from the given direction. + Imagine a plane with a normal in the search direction. Now move the plane along the normal + until the plane does not intersect the shape. The last intersection point is the result. + </summary> + <param name="direction">The direction.</param> + <param name="result">The result.</param> + </member> + <member name="M:Jitter.Collision.ISupportMappable.SupportCenter(Jitter.LinearMath.JVector@)"> + <summary> + The center of the SupportMap. + </summary> + <param name="center"></param> + </member> + <member name="M:Jitter.Collision.Shapes.Shape.RaiseShapeUpdated"> + <summary> + Informs all listener that the shape changed. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.Shape.#ctor"> + <summary> + Creates a new instance of a shape. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.Shape.GetBoundingBox(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JBBox@)"> + <summary> + Uses the supportMapping to calculate the bounding box. Should be overidden + to make this faster. + </summary> + <param name="orientation">The orientation of the shape.</param> + <param name="box">The resulting axis aligned bounding box.</param> + </member> + <member name="M:Jitter.Collision.Shapes.Shape.UpdateShape"> + <summary> + This method uses the <see cref="T:Jitter.Collision.ISupportMappable"/> implementation + to calculate the local bounding box, the mass, geometric center and + the inertia of the shape. In custom shapes this method should be overidden + to compute this values faster. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.Shape.CalculateMassInertia(Jitter.Collision.Shapes.Shape,Jitter.LinearMath.JVector@,Jitter.LinearMath.JMatrix@)"> + <summary> + Calculated the inertia of the shape relative to the center of mass. + </summary> + <param name="shape"></param> + <param name="centerOfMass"></param> + <param name="inertia"></param> + <returns></returns> + </member> + <member name="M:Jitter.Collision.Shapes.Shape.CalculateMassInertia"> + <summary> + Numerically calculates the inertia, mass and geometric center of the shape. + This gets a good value for "normal" shapes. The algorithm isn't very accurate + for very flat shapes. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.Shape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> + <summary> + SupportMapping. Finds the point in the shape furthest away from the given direction. + Imagine a plane with a normal in the search direction. Now move the plane along the normal + until the plane does not intersect the shape. The last intersection point is the result. + </summary> + <param name="direction">The direction.</param> + <param name="result">The result.</param> + </member> + <member name="M:Jitter.Collision.Shapes.Shape.SupportCenter(Jitter.LinearMath.JVector@)"> + <summary> + The center of the SupportMap. + </summary> + <param name="geomCenter">The center of the SupportMap.</param> + </member> + <member name="E:Jitter.Collision.Shapes.Shape.ShapeUpdated"> + <summary> + Gets called when the shape changes one of the parameters. + </summary> + </member> + <member name="P:Jitter.Collision.Shapes.Shape.Inertia"> + <summary> + Returns the inertia of the untransformed shape. + </summary> + </member> + <member name="P:Jitter.Collision.Shapes.Shape.Mass"> + <summary> + Gets the mass of the shape. This is the volume. (density = 1) + </summary> + </member> + <member name="P:Jitter.Collision.Shapes.Shape.AABBMin"> + <summary> + Returns the minimum point of the axis aligned bounding box + of the untransformed shape. + </summary> + </member> + <member name="P:Jitter.Collision.Shapes.Shape.AABBMax"> + <summary> + Returns the maximum point of the axis aligned bounding box + of the untransformed shape. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.Multishape.SetCurrentShape(System.Int32)"> + <summary> + Sets the current shape. First <see cref="M:Jitter.Collision.Shapes.Multishape.Prepare(Jitter.LinearMath.JBBox@)"/> has to be called. + After SetCurrentShape the shape immitates another shape. + </summary> + <param name="index"></param> + </member> + <member name="M:Jitter.Collision.Shapes.Multishape.Prepare(Jitter.LinearMath.JBBox@)"> + <summary> + Passes a axis aligned bounding box to the shape where collision + could occour. + </summary> + <param name="box">The bounding box where collision could occur.</param> + <returns>The upper index with which <see cref="M:Jitter.Collision.Shapes.Multishape.SetCurrentShape(System.Int32)"/> can be + called.</returns> + </member> + <member name="M:Jitter.Collision.Shapes.Multishape.Prepare(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> + <summary> + + </summary> + <param name="rayOrigin"></param> + <param name="rayDelta"></param> + <returns></returns> + </member> + <member name="M:Jitter.Collision.Shapes.Multishape.GetBoundingBox(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JBBox@)"> + <summary> + Gets the axis aligned bounding box of the orientated shape. This includes + the whole shape. + </summary> + <param name="orientation">The orientation of the shape.</param> + <param name="box">The axis aligned bounding box of the shape.</param> + </member> + <member name="M:Jitter.Collision.Shapes.Multishape.CalculateMassInertia"> + <summary> + Calculates the inertia of a box with the sides of the multishape. + </summary> + </member> + <member name="T:Jitter.Collision.Shapes.CylinderShape"> + <summary> + A <see cref="T:Jitter.Collision.Shapes.Shape"/> representing a cylinder. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.CylinderShape.#ctor(System.Single,System.Single)"> + <summary> + Initializes a new instance of the CylinderShape class. + </summary> + <param name="height">The height of the cylinder.</param> + <param name="radius">The radius of the cylinder.</param> + </member> + <member name="M:Jitter.Collision.Shapes.CylinderShape.CalculateMassInertia"> + <summary> + + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.CylinderShape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> + <summary> + SupportMapping. Finds the point in the shape furthest away from the given direction. + Imagine a plane with a normal in the search direction. Now move the plane along the normal + until the plane does not intersect the shape. The last intersection point is the result. + </summary> + <param name="direction">The direction.</param> + <param name="result">The result.</param> + </member> + <member name="P:Jitter.Collision.Shapes.CylinderShape.Height"> + <summary> + Sets the height of the cylinder. + </summary> + </member> + <member name="P:Jitter.Collision.Shapes.CylinderShape.Radius"> + <summary> + Sets the radius of the cylinder. + </summary> + </member> + <member name="T:Jitter.Collision.Shapes.CapsuleShape"> + <summary> + A <see cref="T:Jitter.Collision.Shapes.Shape"/> representing a capsule. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.CapsuleShape.#ctor(System.Single,System.Single)"> + <summary> + Create a new instance of the capsule. + </summary> + <param name="length">The length of the capsule (exclusive the round endcaps).</param> + <param name="radius">The radius of the endcaps.</param> + </member> + <member name="M:Jitter.Collision.Shapes.CapsuleShape.CalculateMassInertia"> + <summary> + + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.CapsuleShape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> + <summary> + SupportMapping. Finds the point in the shape furthest away from the given direction. + Imagine a plane with a normal in the search direction. Now move the plane along the normal + until the plane does not intersect the shape. The last intersection point is the result. + </summary> + <param name="direction">The direction.</param> + <param name="result">The result.</param> + </member> + <member name="P:Jitter.Collision.Shapes.CapsuleShape.Length"> + <summary> + Gets or sets the length of the capsule (exclusive the round endcaps). + </summary> + </member> + <member name="P:Jitter.Collision.Shapes.CapsuleShape.Radius"> + <summary> + Gets or sets the radius of the endcaps. + </summary> + </member> + <member name="T:Jitter.Collision.CollisionIsland"> + <summary> + Holds a list of bodies which are in contact with each other. + </summary> + </member> + <member name="F:Jitter.Collision.CollisionIsland.Pool"> + <summary> + A CollisionIsland pool. + </summary> + </member> + <member name="M:Jitter.Collision.CollisionIsland.#ctor"> + <summary> + Constructor of CollisionIsland class. + </summary> + </member> + <member name="M:Jitter.Collision.CollisionIsland.IsActive"> + <summary> + Whether the island is active or not. + </summary> + <returns>Returns true if the island is active, otherwise false.</returns> + <seealso cref="P:Jitter.Dynamics.RigidBody.IsActive"/> + </member> + <member name="M:Jitter.Collision.CollisionIsland.SetStatus(System.Boolean)"> + <summary> + Sets the status of every body in this island to active or inactive. + </summary> + <param name="active">If true the island gets activated, if false it + gets deactivated. </param> + <seealso cref="P:Jitter.Dynamics.RigidBody.IsActive"/> + </member> + <member name="P:Jitter.Collision.CollisionIsland.Bodies"> + <summary> + Gets a read only list of <see cref="T:Jitter.Dynamics.RigidBody"/> which are in contact with each other. + </summary> + </member> + <member name="P:Jitter.Collision.CollisionIsland.Arbiter"> + <summary> + Gets a read only list of <see cref="P:Jitter.Collision.CollisionIsland.Arbiter"/> which are involved in this island. + </summary> + </member> + <member name="P:Jitter.Collision.CollisionIsland.Constraints"> + <summary> + Gets a read only list of <see cref="T:Jitter.Dynamics.Constraints.Constraint"/> which are involved in this island. + </summary> + </member> + <member name="T:Jitter.Dynamics.Arbiter"> + <summary> + An arbiter holds all contact information of two bodies. + </summary> + </member> + <member name="F:Jitter.Dynamics.Arbiter.Pool"> + <summary> + A arbiter resource pool. + </summary> + </member> + <member name="M:Jitter.Dynamics.Arbiter.#ctor(Jitter.Dynamics.RigidBody,Jitter.Dynamics.RigidBody)"> + <summary> + Initializes a new instance of the Arbiter class. + </summary> + <param name="body1">The first body.</param> + <param name="body2">The second body.</param> + </member> + <member name="M:Jitter.Dynamics.Arbiter.#ctor"> + <summary> + Initializes a new instance of the Arbiter class. + </summary> + </member> + <member name="M:Jitter.Dynamics.Arbiter.AddContact(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@,System.Single)"> + <summary> + Adds a contact to the arbiter. No more than four contacts + are stored in the contactList. When adding a new contact + to the arbiter the existing are checked and the best are kept. + </summary> + <param name="point">Collision point in world space.</param> + <param name="n">The normal pointing to body2.</param> + <param name="p">The estimated penetration depth.</param> + </member> + <member name="P:Jitter.Dynamics.Arbiter.Body1"> + <summary> + The first body. + </summary> + </member> + <member name="P:Jitter.Dynamics.Arbiter.Body2"> + <summary> + The second body. + </summary> + </member> + <member name="P:Jitter.Dynamics.Arbiter.ContactList"> + <summary> + The contact list containing all contacts of both bodies. + </summary> + </member> + <member name="T:Jitter.LinearMath.JQuaternion"> + <summary> + A Quaternion representing an orientation. Member of the math + namespace, so every method has it's 'by reference' equivalent + to speed up time critical math operations. + </summary> + </member> + <member name="F:Jitter.LinearMath.JQuaternion.X"> + <summary>The X component of the quaternion.</summary> + </member> + <member name="F:Jitter.LinearMath.JQuaternion.Y"> + <summary>The Y component of the quaternion.</summary> + </member> + <member name="F:Jitter.LinearMath.JQuaternion.Z"> + <summary>The Z component of the quaternion.</summary> + </member> + <member name="F:Jitter.LinearMath.JQuaternion.W"> + <summary>The W component of the quaternion.</summary> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.#ctor(System.Single,System.Single,System.Single,System.Single)"> + <summary> + Initializes a new instance of the JQuaternion structure. + </summary> + <param name="x">The X component of the quaternion.</param> + <param name="y">The Y component of the quaternion.</param> + <param name="z">The Z component of the quaternion.</param> + <param name="w">The W component of the quaternion.</param> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.Add(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> + <summary> + Quaternions are added. + </summary> + <param name="quaternion1">The first quaternion.</param> + <param name="quaternion2">The second quaternion.</param> + <returns>The sum of both quaternions.</returns> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.Add(Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@)"> + <summary> + Quaternions are added. + </summary> + <param name="quaternion1">The first quaternion.</param> + <param name="quaternion2">The second quaternion.</param> + <param name="result">The sum of both quaternions.</param> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.Subtract(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> + <summary> + Quaternions are subtracted. + </summary> + <param name="quaternion1">The first quaternion.</param> + <param name="quaternion2">The second quaternion.</param> + <returns>The difference of both quaternions.</returns> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.Subtract(Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@)"> + <summary> + Quaternions are subtracted. + </summary> + <param name="quaternion1">The first quaternion.</param> + <param name="quaternion2">The second quaternion.</param> + <param name="result">The difference of both quaternions.</param> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.Multiply(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> + <summary> + Multiply two quaternions. + </summary> + <param name="quaternion1">The first quaternion.</param> + <param name="quaternion2">The second quaternion.</param> + <returns>The product of both quaternions.</returns> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.Multiply(Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@,Jitter.LinearMath.JQuaternion@)"> + <summary> + Multiply two quaternions. + </summary> + <param name="quaternion1">The first quaternion.</param> + <param name="quaternion2">The second quaternion.</param> + <param name="result">The product of both quaternions.</param> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.Multiply(Jitter.LinearMath.JQuaternion,System.Single)"> + <summary> + Scale a quaternion + </summary> + <param name="quaternion1">The quaternion to scale.</param> + <param name="scaleFactor">Scale factor.</param> + <returns>The scaled quaternion.</returns> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.Multiply(Jitter.LinearMath.JQuaternion@,System.Single,Jitter.LinearMath.JQuaternion@)"> + <summary> + Scale a quaternion + </summary> + <param name="quaternion1">The quaternion to scale.</param> + <param name="scaleFactor">Scale factor.</param> + <param name="result">The scaled quaternion.</param> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.Normalize"> + <summary> + Sets the length of the quaternion to one. + </summary> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.CreateFromMatrix(Jitter.LinearMath.JMatrix)"> + <summary> + Creates a quaternion from a matrix. + </summary> + <param name="matrix">A matrix representing an orientation.</param> + <returns>JQuaternion representing an orientation.</returns> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.CreateFromMatrix(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JQuaternion@)"> + <summary> + Creates a quaternion from a matrix. + </summary> + <param name="matrix">A matrix representing an orientation.</param> + <param name="result">JQuaternion representing an orientation.</param> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.op_Multiply(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> + <summary> + Multiply two quaternions. + </summary> + <param name="value1">The first quaternion.</param> + <param name="value2">The second quaternion.</param> + <returns>The product of both quaternions.</returns> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.op_Addition(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> + <summary> + Add two quaternions. + </summary> + <param name="value1">The first quaternion.</param> + <param name="value2">The second quaternion.</param> + <returns>The sum of both quaternions.</returns> + </member> + <member name="M:Jitter.LinearMath.JQuaternion.op_Subtraction(Jitter.LinearMath.JQuaternion,Jitter.LinearMath.JQuaternion)"> + <summary> + Subtract two quaternions. + </summary> + <param name="value1">The first quaternion.</param> + <param name="value2">The second quaternion.</param> + <returns>The difference of both quaternions.</returns> + </member> + <member name="T:Jitter.LinearMath.JBBox"> + <summary> + Bounding Box defined through min and max vectors. Member + of the math namespace, so every method has it's 'by reference' + equivalent to speed up time critical math operations. + </summary> + </member> + <member name="F:Jitter.LinearMath.JBBox.CornersPool"> + <summary> + Resource pool for JVector arrays. + </summary> + </member> + <member name="F:Jitter.LinearMath.JBBox.Min"> + <summary> + The maximum point of the box. + </summary> + </member> + <member name="F:Jitter.LinearMath.JBBox.Max"> + <summary> + The minimum point of the box. + </summary> + </member> + <member name="F:Jitter.LinearMath.JBBox.LargeBox"> + <summary> + Returns the largest box possible. + </summary> + </member> + <member name="F:Jitter.LinearMath.JBBox.SmallBox"> + <summary> + Returns the smalltest box possible. + </summary> + </member> + <member name="M:Jitter.LinearMath.JBBox.#ctor(Jitter.LinearMath.JVector,Jitter.LinearMath.JVector)"> + <summary> + Constructor + </summary> + <param name="min">The minimum point of the box.</param> + <param name="max">The maximum point of the box.</param> + </member> + <member name="M:Jitter.LinearMath.JBBox.Intersect1D(System.Single,System.Single,System.Single,System.Single,System.Single@,System.Single@)"> + <summary> + Checks whether a point is inside, outside or intersecting + a point. + </summary> + <returns>The ContainmentType of the point.</returns> + </member> + <member name="M:Jitter.LinearMath.JBBox.Contains(Jitter.LinearMath.JVector)"> + <summary> + Checks wether a point is within a box or not. + </summary> + <param name="point"></param> + <returns></returns> + </member> + <member name="M:Jitter.LinearMath.JBBox.Contains(Jitter.LinearMath.JVector@)"> + <summary> + Checks whether a point is inside, outside or intersecting + a point. + </summary> + <param name="point">A point in space.</param> + <returns>The ContainmentType of the point.</returns> + </member> + <member name="M:Jitter.LinearMath.JBBox.GetCorners(Jitter.LinearMath.JVector[])"> + <summary> + Retrieves the 8 corners of the box. + </summary> + <returns>An array of 8 JVector entries.</returns> + </member> + <member name="M:Jitter.LinearMath.JBBox.CreateFromPoints(Jitter.LinearMath.JVector[])"> + <summary> + Expands a bounding box with the volume 0 by all points + given. + </summary> + <param name="points">A array of JVector.</param> + <returns>The resulting bounding box containing all points.</returns> + </member> + <member name="M:Jitter.LinearMath.JBBox.Contains(Jitter.LinearMath.JBBox)"> + <summary> + Checks whether another bounding box is inside, outside or intersecting + this box. + </summary> + <param name="box">The other bounding box to check.</param> + <returns>The ContainmentType of the box.</returns> + </member> + <member name="M:Jitter.LinearMath.JBBox.Contains(Jitter.LinearMath.JBBox@)"> + <summary> + Checks whether another bounding box is inside, outside or intersecting + this box. + </summary> + <param name="box">The other bounding box to check.</param> + <returns>The ContainmentType of the box.</returns> + </member> + <member name="M:Jitter.LinearMath.JBBox.CreateMerged(Jitter.LinearMath.JBBox,Jitter.LinearMath.JBBox)"> + <summary> + Creates a new box containing the two given ones. + </summary> + <param name="original">First box.</param> + <param name="additional">Second box.</param> + <returns>A JBBox containing the two given boxes.</returns> + </member> + <member name="M:Jitter.LinearMath.JBBox.CreateMerged(Jitter.LinearMath.JBBox@,Jitter.LinearMath.JBBox@,Jitter.LinearMath.JBBox@)"> + <summary> + Creates a new box containing the two given ones. + </summary> + <param name="original">First box.</param> + <param name="additional">Second box.</param> + <param name="result">A JBBox containing the two given boxes.</param> + </member> + <member name="T:Jitter.LinearMath.JBBox.ContainmentType"> + <summary> + Containment type used within the <see cref="T:Jitter.LinearMath.JBBox"/> structure. + </summary> + </member> + <member name="F:Jitter.LinearMath.JBBox.ContainmentType.Disjoint"> + <summary> + The objects don't intersect. + </summary> + </member> + <member name="F:Jitter.LinearMath.JBBox.ContainmentType.Contains"> + <summary> + One object is within the other. + </summary> + </member> + <member name="F:Jitter.LinearMath.JBBox.ContainmentType.Intersects"> + <summary> + The two objects intersect. + </summary> + </member> + <member name="T:Jitter.Collision.Shapes.TriangleMeshShape"> + <summary> + A <see cref="T:Jitter.Collision.Shapes.Shape"/> representing a triangleMesh. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.#ctor(Jitter.LinearMath.JOctree)"> + <summary> + Creates a new istance if the TriangleMeshShape class. + </summary> + <param name="octree">The octree which holds the triangles + of a mesh.</param> + </member> + <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.Prepare(Jitter.LinearMath.JBBox@)"> + <summary> + Passes a axis aligned bounding box to the shape where collision + could occour. + </summary> + <param name="box">The bounding box where collision could occur.</param> + <returns>The upper index with which <see cref="M:Jitter.Collision.Shapes.TriangleMeshShape.SetCurrentShape(System.Int32)"/> can be + called.</returns> + </member> + <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.Prepare(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> + <summary> + + </summary> + <param name="rayOrigin"></param> + <param name="rayDelta"></param> + <returns></returns> + </member> + <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> + <summary> + SupportMapping. Finds the point in the shape furthest away from the given direction. + Imagine a plane with a normal in the search direction. Now move the plane along the normal + until the plane does not intersect the shape. The last intersection point is the result. + </summary> + <param name="direction">The direction.</param> + <param name="result">The result.</param> + </member> + <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.GetBoundingBox(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JBBox@)"> + <summary> + Gets the axis aligned bounding box of the orientated shape. This includes + the whole shape. + </summary> + <param name="orientation">The orientation of the shape.</param> + <param name="box">The axis aligned bounding box of the shape.</param> + </member> + <member name="M:Jitter.Collision.Shapes.TriangleMeshShape.SetCurrentShape(System.Int32)"> + <summary> + Sets the current shape. First <see cref="M:Jitter.Collision.Shapes.TriangleMeshShape.Prepare(Jitter.LinearMath.JBBox@)"/> has to be called. + After SetCurrentShape the shape immitates another shape. + </summary> + <param name="index"></param> + </member> + <member name="T:Jitter.Collision.Shapes.BoxShape"> + <summary> + A <see cref="T:Jitter.Collision.Shapes.Shape"/> representing a box. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.BoxShape.#ctor(Jitter.LinearMath.JVector)"> + <summary> + Creates a new instance of the BoxShape class. + </summary> + <param name="size">The size of the box.</param> + </member> + <member name="M:Jitter.Collision.Shapes.BoxShape.#ctor(System.Single,System.Single,System.Single)"> + <summary> + Creates a new instance of the BoxShape class. + </summary> + <param name="length">The length of the box.</param> + <param name="height">The height of the box.</param> + <param name="width">The width of the box</param> + </member> + <member name="M:Jitter.Collision.Shapes.BoxShape.GetBoundingBox(Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JBBox@)"> + <summary> + Gets the axis aligned bounding box of the orientated shape. + </summary> + <param name="orientation">The orientation of the shape.</param> + <param name="box">The axis aligned bounding box of the shape.</param> + </member> + <member name="M:Jitter.Collision.Shapes.BoxShape.CalculateMassInertia"> + <summary> + This method uses the <see cref="T:Jitter.Collision.ISupportMappable"/> implementation + to calculate the local bounding box, the mass, geometric center and + the inertia of the shape. In custom shapes this method should be overidden + to compute this values faster. + </summary> + </member> + <member name="M:Jitter.Collision.Shapes.BoxShape.SupportMapping(Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> + <summary> + SupportMapping. Finds the point in the shape furthest away from the given direction. + Imagine a plane with a normal in the search direction. Now move the plane along the normal + until the plane does not intersect the shape. The last intersection point is the result. + </summary> + <param name="direction">The direction.</param> + <param name="result">The result.</param> + </member> + <member name="P:Jitter.Collision.Shapes.BoxShape.Size"> + <summary> + The sidelength of the box. + </summary> + </member> + <member name="T:Jitter.Collision.GJKCollide"> + <summary> + GJK based implementation of Raycasting. + </summary> + </member> + <member name="M:Jitter.Collision.GJKCollide.Pointcast(Jitter.Collision.ISupportMappable,Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@)"> + <summary> + Checks if given point is within a shape. + </summary> + <param name="support">The supportmap implementation representing the shape.</param> + <param name="orientation">The orientation of the shape.</param> + <param name="invOrientation">The inverse orientation of the shape.</param> + <param name="position">The position of the shape.</param> + <param name="point">The point to check.</param> + <returns>Returns true if the point is within the shape, otherwise false.</returns> + </member> + <member name="M:Jitter.Collision.GJKCollide.Raycast(Jitter.Collision.ISupportMappable,Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JMatrix@,Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@,Jitter.LinearMath.JVector@,System.Single@,Jitter.LinearMath.JVector@)"> + <summary> + Checks if a ray definied through it's origin and direction collides + with a shape. + </summary> + <param name="support">The supportmap implementation representing the shape.</param> + <param name="orientation">The orientation of the shape.</param> + <param name="invOrientation">The inverse orientation of the shape.</param> + <param name="position">The position of the shape.</param> + <param name="origin">The origin of the ray.</param> + <param name="direction">The direction of the ray.</param> + <param name="fraction">The fraction which gives information where at the + ray the collision occured. The hitPoint is calculated by: origin+friction*direction.</param> + <param name="normal">The normal from the ray collision.</param> + <returns>Returns true if the ray hit the shape, false otherwise.</returns> + </member> + <member name="T:Jitter.Collision.GJKCollide.VoronoiSimplexSolver"> + VoronoiSimplexSolver is an implementation of the closest point distance + algorithm from a 1-4 points simplex to the origin. + Can be used with GJK, as an alternative to Johnson distance algorithm. + </member> + <member name="M:Jitter.Collision.GJKCollide.VoronoiSimplexSolver.PointOutsideOfPlane(Jitter.LinearMath.JVector,Jitter.LinearMath.JVector,Jitter.LinearMath.JVector,Jitter.LinearMath.JVector,Jitter.LinearMath.JVector)"> + Test if point p and d lie on opposite sides of plane through abc + </member> + <member name="T:Jitter.Forces.ForceGenerator"> + <summary> + Base class for physic effect. + </summary> + </member> + <member name="F:Jitter.Forces.ForceGenerator.world"> + <summary> + + </summary> + </member> + <member name="M:Jitter.Forces.ForceGenerator.#ctor(Jitter.World)"> + <summary> + + </summary> + <param name="world"></param> + </member> + <member name="M:Jitter.Forces.ForceGenerator.PreStep(System.Single)"> + <summary> + + </summary> + <param name="timeStep"></param> + </member> + <member name="M:Jitter.Forces.ForceGenerator.PostStep(System.Single)"> + <summary> + + </summary> + <param name="timeStep"></param> + </member> + <member name="M:Jitter.Forces.ForceGenerator.RemoveEffect"> + <summary> + + </summary> + </member> + <member name="T:Jitter.Dynamics.Constraints.Constraint"> + <summary> + A constraints forces a body to behave in a specific way. + </summary> + </member> + <member name="T:Jitter.IDebugDraw"> + <summary> + Interface for providing the possibility to get drawable debug information + from an object. + </summary> + </member> + <member name="M:Jitter.IDebugDraw.AddToDebugDrawList(System.Collections.Generic.List{Jitter.LinearMath.JVector},System.Collections.Generic.List{Jitter.LinearMath.JVector})"> + <summary> + This method is used to debug draw the object. + </summary> + <param name="lineList">A list of <see cref="T:Jitter.LinearMath.JVector"/> to which lines (definied trough two points) + are added.</param> + <param name="pointList">A list of <see cref="T:Jitter.LinearMath.JVector"/> defining points.</param> + </member> + <member name="M:Jitter.Dynamics.Constraints.Constraint.#ctor(Jitter.Dynamics.RigidBody,Jitter.Dynamics.RigidBody)"> + <summary> + Constructor. + </summary> + <param name="body1">The first body which should get constrained. Can be null.</param> + <param name="body2">The second body which should get constrained. Can be null.</param> + </member> + <member name="M:Jitter.Dynamics.Constraints.Constraint.AddToDebugDrawList(System.Collections.Generic.List{Jitter.LinearMath.JVector},System.Collections.Generic.List{Jitter.LinearMath.JVector})"> + <summary> + This method is used to debug draw the constraints. + </summary> + <param name="lineList">A list of <see cref="T:Jitter.LinearMath.JVector"/> to which lines (definied trough two points) + are added.</param> + <param name="pointList">A list of <see cref="T:Jitter.LinearMath.JVector"/> defining points.</param> + </member> + <member name="M:Jitter.Dynamics.Constraints.Constraint.BuildKMatrix(Jitter.Dynamics.RigidBody,Jitter.LinearMath.JVector@,Jitter.LinearMath.JMatrix@)"> + <summary> + Builds the KMatrix which calculates the impulse needed to get a specific velocity in a + point. + </summary> + <param name="body">The body to calculate the KMatrix for.</param> + <param name="relativePosition">The position on the body.</param> + <param name="k">The KMatrix.</param> + </member> + <member name="M:Jitter.Dynamics.Constraints.Constraint.ApplyImpulse(Jitter.LinearMath.JVector,Jitter.LinearMath.JVector,Jitter.LinearMath.JVector)"> + <summary> + Applies an impulse on both bodies. + </summary> + <param name="relativePos1">The position on body1 where the -impulse is applied.</param> + <param name="relativePos2">The position on body2 wehre the +impulse is applied</param> + <param name="impulse"></param> + </member> + <member name="M:Jitter.Dynamics.Constraints.Constraint.PrepareForIteration(System.Single)"> + <summary> + Called once before iteration starts. + </summary> + <param name="timestep">The simulation timestep</param> + </member> + <member name="M:Jitter.Dynamics.Constraints.Constraint.Iterate"> + <summary> + Iteratively solve this constraint. + </summary> + </member> + <member name="P:Jitter.Dynamics.Constraints.Constraint.Body1"> + <summary> + Gets the first body. Can be null. + </summary> + </member> + <member name="P:Jitter.Dynamics.Constraints.Constraint.Body2"> + <summary> + Gets the second body. Can be null. + </summary> + </member> + <member name="T:Jitter.ResourcePool`1"> + <summary> + A thread safe resource pool. + </summary> + <typeparam name="T">The type of the object to cache. The type T must + have a parameterless constructor.</typeparam> + </member> + <member name="M:Jitter.ResourcePool`1.#ctor"> + <summary> + Creates a new instance of the ResourcePool class. + </summary> + </member> + <member name="M:Jitter.ResourcePool`1.ResetResourcePool"> + <summary> + Removes all cached resources. + So they can get garbage collected. + </summary> + </member> + <member name="M:Jitter.ResourcePool`1.GiveBack(`0)"> + <summary> + Gives a resource back to the pool. + </summary> + <param name="obj">The resource to give back</param> + </member> + <member name="M:Jitter.ResourcePool`1.GetNew"> + <summary> + Get a free resource. + </summary> + <returns>The free resource.</returns> + </member> + <member name="T:Jitter.ArrayResourcePool`1"> + <summary> + A thread safe resource pool. + </summary> + <typeparam name="T">The type of the array of objects to cache. The type T must + have a parameterless constructor. Do not specify [].</typeparam> + </member> + <member name="F:Jitter.ArrayResourcePool`1.arrayLength"> + <summary> + The length of each array object to be created in the pool. + </summary> + </member> + <member name="M:Jitter.ArrayResourcePool`1.#ctor(System.Int32)"> + <summary> + Creates a new instance of the ResourcePool class. + </summary> + </member> + <member name="M:Jitter.ArrayResourcePool`1.ResetResourcePool"> + <summary> + Removes all cached resources. + So they can get garbage collected. + </summary> + </member> + <member name="M:Jitter.ArrayResourcePool`1.GiveBack(`0[])"> + <summary> + Gives a resource back to the pool. + </summary> + <param name="obj">The resource to give back</param> + </member> + <member name="M:Jitter.ArrayResourcePool`1.GetNew"> + <summary> + Get a free resource. + </summary> + <returns>The free resource.</returns> + </member> + <member name="T:Jitter.LinearMath.JConvexHull"> + <summary> + Stable but slow convex hull creation. Should be used for simple meshes. For more + advanced convex hull creation: http://www.qhull.org + </summary> + </member> + <member name="T:Jitter.Collision.CollisionDetectedHandler"> + <summary> + A delegate for collision detection. + </summary> + <param name="body1">The first body colliding with the second one.</param> + <param name="body2">The second body colliding with the first one.</param> + <param name="point">The point on body in world coordinates, where collision occur.</param> + <param name="normal">The normal pointing from body2 to body1.</param> + <param name="penetration">Estimated penetration depth of the collision.</param> + <seealso cref="M:Jitter.Collision.CollisionSystem.Detect(System.Boolean)"/> + <seealso cref="M:Jitter.Collision.CollisionSystem.Detect(Jitter.Dynamics.RigidBody,Jitter.Dynamics.RigidBody)"/> + </member> + <member name="T:Jitter.Collision.PassedBroadphaseHandler"> + <summary> + A delegate to inform the user that a pair of bodies passed the broadsphase + system of the engine. + </summary> + <param name="body1">The first body.</param> + <param name="body2">The second body.</param> + <returns>If false is returned the collision information is dropped. The CollisionDetectedHandler + is never called.</returns> + </member> + <member name="T:Jitter.Collision.PassedNarrowphaseHandler"> + <summary> + A delegate to inform the user that a pair of bodies passed the narrowphase + system of the engine. + </summary> + <param name="body1">The first body.</param> + <param name="body2">The second body.</param> + <returns>If false is returned the collision information is dropped. The CollisionDetectedHandler + is never called.</returns> + </member> + <member name="T:Jitter.Collision.RaycastCallback"> + <summary> + A delegate for raycasting. + </summary> + <param name="body">The body for which collision with the ray is detected.</param> + <param name="normal">The normal of the collision.</param> + <param name="fraction">The fraction which gives information where at the + ray the collision occured. The hitPoint is calculated by: rayStart+friction*direction.</param> + <returns>If false is returned the collision information is dropped.</returns> + </member> + <member name="T:Jitter.Collision.CollisionSystem"> + <summary> + CollisionSystem. Used by the world class to detect all collisions. + Can be used seperatly from the physics. + </summary> + </member> + <member name="M:Jitter.Collision.CollisionSystem.RemoveBody(Jitter.Dynamics.RigidBody)"> + <summary> + Remove a body from the collision system. Removing a body from the world + does automatically remove it from the collision system. + </summary> + <param name="body">The body to remove.</param> + <returns>Returns true if the body was successfully removed, otherwise false.</returns> + </member> + <member name="M:Jitter.Collision.CollisionSystem.AddBody(Jitter.Dynamics.RigidBody)"> + <summary> + Add a body to the collision system. Adding a body to the world + does automatically add it to the collision system. + </summary> + <param name="body">The body to remove.</param> + </member> + <member name="M:Jitter.Collision.CollisionSystem.#ctor"> + <summary> + Initializes a new instance of the CollisionSystem. + </summary> + </member> + <member name="M:Jitter.Collision.CollisionSystem.Detect(Jitter.Dynamics.RigidBody,Jitter.Dynamics.RigidBody)"> + <summary> + Checks two bodies for collisions using narrowphase. + </summary> + <param name="body1">The first body.</param> + <param name="body2">The second body.</param> + </member> + <member name="M:Jitter.Collision.Collisi... [truncated message content] |
From: <bor...@us...> - 2011-02-15 00:41:47
|
Revision: 255 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=255&view=rev Author: borrillis Date: 2011-02-15 00:41:39 +0000 (Tue, 15 Feb 2011) Log Message: ----------- Updated Namespace, Added Media Project, Modified Paths: -------------- AxiomContrib.Samples/trunk/Source/Jitter/Conversion.cs AxiomContrib.Samples/trunk/Source/Jitter/DebugDrawer.cs AxiomContrib.Samples/trunk/Source/Jitter/JitterSample.cs AxiomContrib.Samples/trunk/Source/Jitter/JitterStatsHandler.cs AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/ConvexHullObject.cs AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/TerrainObject.cs AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/CarObject.cs AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/DefaultCar.cs AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/Wheel.cs AxiomContrib.Samples/trunk/Source/Jitter/Plugin.cs AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/BoxPrimitive.cs AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/CapsulePrimitive.cs AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/ConePrimitive.cs AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/CylinderPrimitive.cs AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/DrawManager.cs AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/GeometricPrimitive.cs AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/SpherePrimitive.cs AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/TerrainPrimitive.cs AxiomContrib.Samples/trunk/Source/Jitter/QuadDrawer.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/CylinderWall.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Domino.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/EmptyScene.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Jenga.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/NewtonCradle.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Pyramid.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Ragdoll.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Restitution.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Rope.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Scene.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Terrain.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Tower.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/TriangleMesh.cs AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Wall.cs Added Paths: ----------- AxiomContrib.Samples/trunk/Source/AxiomContrib.Samples.2010.sln AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj Removed Paths: ------------- AxiomContrib.Samples/trunk/Source/Jitter/Axiom.Samples.Jitter.2010.csproj Added: AxiomContrib.Samples/trunk/Source/AxiomContrib.Samples.2010.sln =================================================================== --- AxiomContrib.Samples/trunk/Source/AxiomContrib.Samples.2010.sln (rev 0) +++ AxiomContrib.Samples/trunk/Source/AxiomContrib.Samples.2010.sln 2011-02-15 00:41:39 UTC (rev 255) @@ -0,0 +1,24 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AxiomContrib.Samples.Jitter.2010", "Jitter\AxiomContrib.Samples.Jitter.2010.csproj", "{049909A7-FA5D-4AC1-AFF9-0EAB6DB683E0}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AxiomContrib.Samples.Media.2010", "..\bin\media\AxiomContrib.Samples.Media.2010.csproj", "{82D00A5B-1943-4DDF-859A-7552F75CBF1F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x86 = Debug|x86 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {049909A7-FA5D-4AC1-AFF9-0EAB6DB683E0}.Debug|x86.ActiveCfg = Debug|x86 + {049909A7-FA5D-4AC1-AFF9-0EAB6DB683E0}.Debug|x86.Build.0 = Debug|x86 + {049909A7-FA5D-4AC1-AFF9-0EAB6DB683E0}.Release|x86.ActiveCfg = Release|x86 + {049909A7-FA5D-4AC1-AFF9-0EAB6DB683E0}.Release|x86.Build.0 = Release|x86 + {82D00A5B-1943-4DDF-859A-7552F75CBF1F}.Debug|x86.ActiveCfg = Debug|x86 + {82D00A5B-1943-4DDF-859A-7552F75CBF1F}.Release|x86.ActiveCfg = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Property changes on: AxiomContrib.Samples/trunk/Source/AxiomContrib.Samples.2010.sln ___________________________________________________________________ Added: svn:eol-style + native Deleted: AxiomContrib.Samples/trunk/Source/Jitter/Axiom.Samples.Jitter.2010.csproj =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Axiom.Samples.Jitter.2010.csproj 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Axiom.Samples.Jitter.2010.csproj 2011-02-15 00:41:39 UTC (rev 255) @@ -1,97 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> - <PropertyGroup> - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ProductVersion>8.0.30703</ProductVersion> - <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{049909A7-FA5D-4AC1-AFF9-0EAB6DB683E0}</ProjectGuid> - <OutputType>Library</OutputType> - <AppDesignerFolder>Properties</AppDesignerFolder> - <RootNamespace>Axiom.Samples.Jitter</RootNamespace> - <AssemblyName>Axiom.Samples.Jitter.2010</AssemblyName> - <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> - <FileAlignment>512</FileAlignment> - <TargetFrameworkProfile /> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> - <DebugSymbols>true</DebugSymbols> - <DebugType>full</DebugType> - <Optimize>false</Optimize> - <OutputPath>..\..\bin\samples\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - <PlatformTarget>x86</PlatformTarget> - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> - </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> - <DebugType>pdbonly</DebugType> - <Optimize>true</Optimize> - <OutputPath>bin\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> - <ErrorReport>prompt</ErrorReport> - <WarningLevel>4</WarningLevel> - </PropertyGroup> - <ItemGroup> - <Reference Include="Axiom"> - <HintPath>..\..\Reference Assemblies\Axiom.dll</HintPath> - </Reference> - <Reference Include="Axiom.Samples.Common"> - <HintPath>..\..\Reference Assemblies\Axiom.Samples.Common.dll</HintPath> - </Reference> - <Reference Include="Jitter"> - <HintPath>.\Jitter.dll</HintPath> - </Reference> - <Reference Include="SharpInputSystem"> - <HintPath>..\..\Reference Assemblies\SharpInputSystem.dll</HintPath> - </Reference> - <Reference Include="System" /> - <Reference Include="System.Xml" /> - </ItemGroup> - <ItemGroup> - <Compile Include="Conversion.cs" /> - <Compile Include="DebugDrawer.cs" /> - <Compile Include="JitterStatsHandler.cs" /> - <Compile Include="JitterSample.cs" /> - <Compile Include="PhysicsObjects\ConvexHullObject.cs" /> - <Compile Include="PhysicsObjects\TerrainObject.cs" /> - <Compile Include="PhysicsObjects\Vehicle\CarObject.cs" /> - <Compile Include="PhysicsObjects\Vehicle\DefaultCar.cs" /> - <Compile Include="PhysicsObjects\Vehicle\Wheel.cs" /> - <Compile Include="Plugin.cs" /> - <Compile Include="Primitives3D\BoxPrimitive.cs" /> - <Compile Include="Primitives3D\CapsulePrimitive.cs" /> - <Compile Include="Primitives3D\ConePrimitive.cs" /> - <Compile Include="Primitives3D\ConvexHullPrimitive.cs" /> - <Compile Include="Primitives3D\CylinderPrimitive.cs" /> - <Compile Include="Primitives3D\DrawManager.cs" /> - <Compile Include="Primitives3D\GeometricPrimitive.cs" /> - <Compile Include="Primitives3D\SpherePrimitive.cs" /> - <Compile Include="Primitives3D\TerrainPrimitive.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> - <Compile Include="QuadDrawer.cs" /> - <Compile Include="Scenes\CylinderWall.cs" /> - <Compile Include="Scenes\Domino.cs" /> - <Compile Include="Scenes\EmptyScene.cs" /> - <Compile Include="Scenes\Jenga.cs" /> - <Compile Include="Scenes\NewtonCradle.cs" /> - <Compile Include="Scenes\Pyramid.cs" /> - <Compile Include="Scenes\Ragdoll.cs" /> - <Compile Include="Scenes\Restitution.cs" /> - <Compile Include="Scenes\Rope.cs" /> - <Compile Include="Scenes\Scene.cs" /> - <Compile Include="Scenes\Terrain.cs" /> - <Compile Include="Scenes\Tower.cs" /> - <Compile Include="Scenes\TriangleMesh.cs" /> - <Compile Include="Scenes\Wall.cs" /> - </ItemGroup> - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> - <!-- To modify your build process, add your task inside one of the targets below and uncomment it. - Other similar extension points exist, see Microsoft.Common.targets. - <Target Name="BeforeBuild"> - </Target> - <Target Name="AfterBuild"> - </Target> - --> -</Project> \ No newline at end of file Added: AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj (rev 0) +++ AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj 2011-02-15 00:41:39 UTC (rev 255) @@ -0,0 +1,114 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{049909A7-FA5D-4AC1-AFF9-0EAB6DB683E0}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>AxiomContrib.Samples.Jitter</RootNamespace> + <AssemblyName>AxiomContrib.Samples.Jitter</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>..\..\bin\samples\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisLogFile>..\..\bin\samples\Axiom.Samples.Jitter.2010.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> + <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets> + <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> + <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> + <OutputPath>..\..\bin\samples\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisLogFile>bin\Release\AxiomContrib.Samples.Jitter.2010.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> + <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> + <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules> + <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> + </PropertyGroup> + <ItemGroup> + <Reference Include="Axiom"> + <HintPath>..\..\Reference Assemblies\Axiom.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="Axiom.Samples.Common"> + <HintPath>..\..\Reference Assemblies\Axiom.Samples.Common.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="Jitter"> + <HintPath>..\..\Reference Assemblies\Jitter.dll</HintPath> + </Reference> + <Reference Include="SharpInputSystem"> + <HintPath>..\..\Reference Assemblies\SharpInputSystem.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Conversion.cs" /> + <Compile Include="DebugDrawer.cs" /> + <Compile Include="JitterStatsHandler.cs" /> + <Compile Include="JitterSample.cs" /> + <Compile Include="PhysicsObjects\ConvexHullObject.cs" /> + <Compile Include="PhysicsObjects\TerrainObject.cs" /> + <Compile Include="PhysicsObjects\Vehicle\CarObject.cs" /> + <Compile Include="PhysicsObjects\Vehicle\DefaultCar.cs" /> + <Compile Include="PhysicsObjects\Vehicle\Wheel.cs" /> + <Compile Include="Plugin.cs" /> + <Compile Include="Primitives3D\BoxPrimitive.cs" /> + <Compile Include="Primitives3D\CapsulePrimitive.cs" /> + <Compile Include="Primitives3D\ConePrimitive.cs" /> + <Compile Include="Primitives3D\ConvexHullPrimitive.cs" /> + <Compile Include="Primitives3D\CylinderPrimitive.cs" /> + <Compile Include="Primitives3D\DrawManager.cs" /> + <Compile Include="Primitives3D\GeometricPrimitive.cs" /> + <Compile Include="Primitives3D\SpherePrimitive.cs" /> + <Compile Include="Primitives3D\TerrainPrimitive.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="QuadDrawer.cs" /> + <Compile Include="Scenes\CylinderWall.cs" /> + <Compile Include="Scenes\Domino.cs" /> + <Compile Include="Scenes\EmptyScene.cs" /> + <Compile Include="Scenes\Jenga.cs" /> + <Compile Include="Scenes\NewtonCradle.cs" /> + <Compile Include="Scenes\Pyramid.cs" /> + <Compile Include="Scenes\Ragdoll.cs" /> + <Compile Include="Scenes\Restitution.cs" /> + <Compile Include="Scenes\Rope.cs" /> + <Compile Include="Scenes\Scene.cs" /> + <Compile Include="Scenes\Terrain.cs" /> + <Compile Include="Scenes\Tower.cs" /> + <Compile Include="Scenes\TriangleMesh.cs" /> + <Compile Include="Scenes\Wall.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Property changes on: AxiomContrib.Samples/trunk/Source/Jitter/AxiomContrib.Samples.Jitter.2010.csproj ___________________________________________________________________ Added: svn:eol-style + native Modified: AxiomContrib.Samples/trunk/Source/Jitter/Conversion.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Conversion.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Conversion.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -35,7 +35,7 @@ #endregion -namespace Axiom.Samples.JitterSample +namespace AxiomContrib.Samples.Jitter { public sealed class Conversion { Modified: AxiomContrib.Samples/trunk/Source/Jitter/DebugDrawer.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/DebugDrawer.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/DebugDrawer.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -36,7 +36,7 @@ #endregion -namespace Axiom.Samples.JitterSample +namespace AxiomContrib.Samples.Jitter { /// <summary> /// Draw axis aligned bounding boxes, points and lines. Modified: AxiomContrib.Samples/trunk/Source/Jitter/JitterSample.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/JitterSample.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/JitterSample.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -35,9 +35,10 @@ using System.Reflection; using Axiom.Core; using Axiom.Math; -using Axiom.Samples.JitterSample.PhysicsObjects; -using Axiom.Samples.JitterSample.Primitives3D; -using Axiom.Samples.JitterSample.Scenes; +using Axiom.Samples; +using AxiomContrib.Samples.Jitter.PhysicsObjects; +using AxiomContrib.Samples.Jitter.Primitives3D; +using AxiomContrib.Samples.Jitter.Scenes; using Jitter; using Jitter.Collision; using Jitter.Collision.Shapes; @@ -47,7 +48,7 @@ #endregion -namespace Axiom.Samples.JitterSample +namespace AxiomContrib.Samples.Jitter { public enum BodyTag { DrawMe, DontDrawMe } @@ -83,7 +84,6 @@ Metadata[ "Description" ] = "Demonstrates how to use Jitter Physics Engine with Axiom."; Metadata[ "Thumbnail" ] = "thumb_Jitter.png"; Metadata[ "Category" ] = "Physics"; - Metadata[ "Help" ] = "<Missing help>"; } public override bool FrameRenderingQueued( FrameEventArgs evt ) @@ -103,13 +103,20 @@ _addBodyToUpdateList( body ); } - foreach ( GeometricPrimitive prim in _primitives ) - prim.ResetIndex(); + foreach ( GeometricPrimitive prim in _primitives ) + { + if ( null != prim ) + prim.ResetIndex(); + } - foreach ( ConvexHullObject prim in _convexHulls ) - prim.PhysicUpdate(); + foreach ( ConvexHullObject prim in _convexHulls ) + { + if ( null != prim ) + prim.PhysicUpdate(); + } - PhysicScenes[ _currentScene ].PhysicUpdate(); + if ( _currentScene > 0 && _currentScene < PhysicScenes.Count && null != PhysicScenes[ _currentScene ] ) + PhysicScenes[ _currentScene ].PhysicUpdate(); #region drag and drop physical objects with the mouse if ( _leftMouseButtonDown ) @@ -476,7 +483,7 @@ foreach ( Type type in Assembly.GetExecutingAssembly().GetTypes() ) { - if ( type.Namespace == "Axiom.Samples.JitterSample.Scenes" && !type.IsAbstract ) + if ( type.Namespace == "AxiomContrib.Samples.Jitter.Scenes" && !type.IsAbstract ) { Scene scene = (Scene)Activator.CreateInstance( type, this ); this.PhysicScenes.Add( scene ); Modified: AxiomContrib.Samples/trunk/Source/Jitter/JitterStatsHandler.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/JitterStatsHandler.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/JitterStatsHandler.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -37,7 +37,7 @@ #endregion -namespace Axiom.Samples.JitterSample +namespace AxiomContrib.Samples.Jitter { public class JitterStatsHandler { Modified: AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/ConvexHullObject.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/ConvexHullObject.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/ConvexHullObject.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -41,7 +41,7 @@ #endregion -namespace Axiom.Samples.JitterSample.PhysicsObjects +namespace AxiomContrib.Samples.Jitter.PhysicsObjects { public class ConvexHullObject { Modified: AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/TerrainObject.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/TerrainObject.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/TerrainObject.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -31,13 +31,13 @@ #region Using Statements using Axiom.Math; -using Axiom.Samples.JitterSample.Primitives3D; +using AxiomContrib.Samples.Jitter.Primitives3D; using Jitter.Collision.Shapes; using Jitter.Dynamics; #endregion -namespace Axiom.Samples.JitterSample.PhysicsObjects +namespace AxiomContrib.Samples.Jitter.PhysicsObjects { public class TerrainObject { Modified: AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/CarObject.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/CarObject.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/CarObject.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -37,7 +37,7 @@ #endregion -namespace Axiom.Samples.JitterSample.PhysicsObjects.Vehicle +namespace AxiomContrib.Samples.Jitter.PhysicsObjects.Vehicle { public class CarObject { Modified: AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/DefaultCar.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/DefaultCar.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/DefaultCar.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -37,7 +37,7 @@ #endregion -namespace Axiom.Samples.JitterSample.PhysicsObjects.Vehicle +namespace AxiomContrib.Samples.Jitter.PhysicsObjects.Vehicle { /// <summary> /// Enumeration for the four car wheels. Modified: AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/Wheel.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/Wheel.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/PhysicsObjects/Vehicle/Wheel.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -34,7 +34,7 @@ #endregion -namespace Axiom.Samples.JitterSample.PhysicsObjects.Vehicle +namespace AxiomContrib.Samples.Jitter.PhysicsObjects.Vehicle { /// <summary> /// A wheel which adds drive forces to a body. Modified: AxiomContrib.Samples/trunk/Source/Jitter/Plugin.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Plugin.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Plugin.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -31,10 +31,11 @@ #region Using Statements using System; +using Axiom.Samples; #endregion -namespace Axiom.Samples.JitterSample +namespace AxiomContrib.Samples.Jitter { public class JitterPlugin : SamplePlugin { Modified: AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/BoxPrimitive.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/BoxPrimitive.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/BoxPrimitive.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -34,7 +34,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Primitives3D +namespace AxiomContrib.Samples.Jitter.Primitives3D { /// <summary> /// Geometric primitive class for drawing cubes. Modified: AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/CapsulePrimitive.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/CapsulePrimitive.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/CapsulePrimitive.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -35,7 +35,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Primitives3D +namespace AxiomContrib.Samples.Jitter.Primitives3D { /// <summary> /// Geometric primitive class for drawing capsules. Modified: AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/ConePrimitive.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/ConePrimitive.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/ConePrimitive.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -34,7 +34,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Primitives3D +namespace AxiomContrib.Samples.Jitter.Primitives3D { /// <summary> /// Geometric primitive class for drawing cones. Modified: AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/CylinderPrimitive.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/CylinderPrimitive.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/CylinderPrimitive.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -35,7 +35,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Primitives3D +namespace AxiomContrib.Samples.Jitter.Primitives3D { /// <summary> /// Geometric primitive class for drawing cylinders. Modified: AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/DrawManager.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/DrawManager.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/DrawManager.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -28,7 +28,7 @@ */ #endregion -namespace Axiom.Samples.JitterSample.Primitives3D +namespace AxiomContrib.Samples.Jitter.Primitives3D { //public class DrawManager : DrawableGameComponent //{ Modified: AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/GeometricPrimitive.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/GeometricPrimitive.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/GeometricPrimitive.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -38,7 +38,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Primitives3D +namespace AxiomContrib.Samples.Jitter.Primitives3D { public enum PrimitiveType : int { Modified: AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/SpherePrimitive.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/SpherePrimitive.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/SpherePrimitive.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -35,7 +35,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Primitives3D +namespace AxiomContrib.Samples.Jitter.Primitives3D { /// <summary> /// Geometric primitive class for drawing spheres. Modified: AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/TerrainPrimitive.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/TerrainPrimitive.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Primitives3D/TerrainPrimitive.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -34,7 +34,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Primitives3D +namespace AxiomContrib.Samples.Jitter.Primitives3D { public class TerrainPrimitive : GeometricPrimitive { Modified: AxiomContrib.Samples/trunk/Source/Jitter/QuadDrawer.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/QuadDrawer.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/QuadDrawer.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -37,7 +37,7 @@ #endregion -namespace Axiom.Samples.JitterSample +namespace AxiomContrib.Samples.Jitter { public class QuadDrawer : IDisposable { @@ -91,7 +91,7 @@ private void InitializePrimitive() { ManualObject primitive = _sample.SceneManager.CreateManualObject( this.GetType().Name ); - primitive.Begin( "JitterSample/QuadDrawer", OperationType.TriangleList ); + primitive.Begin( @"JitterSample/QuadDrawer", OperationType.TriangleList ); //Vertices and normals foreach ( VertexPositionNormalTexture current in vertices ) Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/CylinderWall.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/CylinderWall.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/CylinderWall.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -36,7 +36,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { class Wall : Scene { Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Domino.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Domino.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Domino.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -36,11 +36,11 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { public class Domino : Scene { - public Domino( JitterSample demo ) + public Domino( JitterSample demo ) : base( demo ) { } Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/EmptyScene.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/EmptyScene.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/EmptyScene.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -28,11 +28,11 @@ */ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { public class EmptyScene : Scene { - public EmptyScene( JitterSample demo ) + public EmptyScene( JitterSample demo ) : base( demo ) { } Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Jenga.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Jenga.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Jenga.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -36,11 +36,11 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { class Jenga : Scene { - public Jenga( JitterSample demo ) + public Jenga( JitterSample demo ) : base( demo ) { } Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/NewtonCradle.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/NewtonCradle.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/NewtonCradle.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -38,11 +38,11 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { public class NewtonCradle : Scene { - public NewtonCradle( JitterSample demo ) + public NewtonCradle( JitterSample demo ) : base( demo ) { } @@ -60,7 +60,7 @@ boxb.IsStatic = true; - this.Sample.PhysicWorld.Solver = Jitter.World.SolverType.Sequential; + this.Sample.PhysicWorld.Solver = global::Jitter.World.SolverType.Sequential; SphereShape shape = new SphereShape( 0.501f ); Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Pyramid.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Pyramid.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Pyramid.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -36,7 +36,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { class Pyramid : Scene { Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Ragdoll.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Ragdoll.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Ragdoll.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -39,11 +39,11 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { class Ragdoll : Scene { - public Ragdoll( JitterSample demo ) + public Ragdoll( JitterSample demo ) : base( demo ) { } Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Restitution.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Restitution.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Restitution.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -36,11 +36,11 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { class Restitution : Scene { - public Restitution( JitterSample demo ) + public Restitution( JitterSample demo ) : base( demo ) { } Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Rope.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Rope.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Rope.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -37,11 +37,11 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { class Rope : Scene { - public Rope( JitterSample demo ) + public Rope( JitterSample demo ) : base( demo ) { } Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Scene.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Scene.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Scene.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -36,7 +36,7 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { public abstract class Scene { Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Terrain.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Terrain.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Terrain.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -31,21 +31,21 @@ #region Using Statements using Axiom.Core; -using Axiom.Samples.JitterSample.Primitives3D; +using Axiom.Math; +using AxiomContrib.Samples.Jitter.Primitives3D; using Jitter.Collision.Shapes; using Jitter.Dynamics; using Jitter.LinearMath; -using Axiom.Math; #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { public class Terrain : Scene { TerrainPrimitive terrain; - public Terrain( JitterSample demo ) + public Terrain( JitterSample demo ) : base( demo ) { } Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Tower.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Tower.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Tower.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -37,11 +37,11 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { class Tower : Scene { - public Tower( JitterSample demo ) + public Tower( JitterSample demo ) : base( demo ) { } Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/TriangleMesh.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/TriangleMesh.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/TriangleMesh.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -39,13 +39,13 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { public class TriangleMesh : Scene { private SceneNode modelNode; - public TriangleMesh( JitterSample demo ) + public TriangleMesh( JitterSample demo ) : base( demo ) { } Modified: AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Wall.cs =================================================================== --- AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Wall.cs 2011-02-14 18:56:21 UTC (rev 254) +++ AxiomContrib.Samples/trunk/Source/Jitter/Scenes/Wall.cs 2011-02-15 00:41:39 UTC (rev 255) @@ -36,11 +36,11 @@ #endregion -namespace Axiom.Samples.JitterSample.Scenes +namespace AxiomContrib.Samples.Jitter.Scenes { class CylinderWall : Scene { - public CylinderWall( JitterSample demo ) + public CylinderWall( JitterSample demo ) : base( demo ) { } Added: AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj =================================================================== --- AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj (rev 0) +++ AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj 2011-02-15 00:41:39 UTC (rev 255) @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{82D00A5B-1943-4DDF-859A-7552F75CBF1F}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>AxiomContrib.Samples.Media</RootNamespace> + <AssemblyName>AxiomContrib.Samples.Media</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <TargetFrameworkProfile /> + <PublishUrl>publish\</PublishUrl> + <Install>true</Install> + <InstallFrom>Disk</InstallFrom> + <UpdateEnabled>false</UpdateEnabled> + <UpdateMode>Foreground</UpdateMode> + <UpdateInterval>7</UpdateInterval> + <UpdateIntervalUnits>Days</UpdateIntervalUnits> + <UpdatePeriodically>false</UpdatePeriodically> + <UpdateRequired>false</UpdateRequired> + <MapFileExtensions>true</MapFileExtensions> + <ApplicationRevision>0</ApplicationRevision> + <ApplicationVersion>1.0.0.%2a</ApplicationVersion> + <IsWebBootstrapper>false</IsWebBootstrapper> + <UseApplicationTrust>false</UseApplicationTrust> + <BootstrapperEnabled>true</BootstrapperEnabled> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> + <DebugSymbols>true</DebugSymbols> + <OutputPath>..\bin\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> + <OutputPath>..\bin\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet> + </PropertyGroup> + <ItemGroup> + <None Include="archives\SdkTrays.zip" /> + <None Include="archives\Sinbad.zip" /> + <None Include="archives\skybox.zip" /> + <None Include="materials\scripts\JitterSample.material" /> + <None Include="materials\scripts\JitterSampleDisplay.overlay" /> + <None Include="materials\scripts\Rockwall.material" /> + <None Include="models\car.mesh" /> + <None Include="models\wheel.mesh" /> + </ItemGroup> + <ItemGroup> + <Content Include="icons\AxiomIcon.ico" /> + <Content Include="materials\textures\Car.png" /> + <Content Include="materials\textures\checker.png" /> + <Content Include="materials\textures\JitterLogo.png" /> + <Content Include="materials\textures\rockwall.tga" /> + <Content Include="thumbnails\thumb_char.png" /> + <Content Include="thumbnails\thumb_Jitter.png" /> + </ItemGroup> + <ItemGroup> + <Folder Include="materials\programs\" /> + </ItemGroup> + <Target Name="Build"> + </Target> + <Target Name="Rebuild"> + </Target> + <Target Name="Clean"> + </Target> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Property changes on: AxiomContrib.Samples/trunk/bin/media/AxiomContrib.Samples.Media.2010.csproj ___________________________________________________________________ Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-02-04 17:14:36
|
Revision: 252 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=252&view=rev Author: borrillis Date: 2011-02-04 17:14:30 +0000 (Fri, 04 Feb 2011) Log Message: ----------- Fixed DX Driver issue Modified Paths: -------------- PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Samples.Browser.exe.Config Modified: PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Samples.Browser.exe.Config =================================================================== --- PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Samples.Browser.exe.Config 2011-02-04 16:08:18 UTC (rev 251) +++ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Samples.Browser.exe.Config 2011-02-04 17:14:30 UTC (rev 252) @@ -21,7 +21,6 @@ <renderSystems> <renderSystem name="DirectX9"> <options> - <option name="Rendering Device" value="NVIDIA NVS 3100M " /> <option name="Video Mode" value="1280 x 720 @ 32-bit color" /> <option name="Full Screen" value="No" /> <option name="VSync" value="No" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2011-02-04 16:08:29
|
Revision: 251 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=251&view=rev Author: borrillis Date: 2011-02-04 16:08:18 +0000 (Fri, 04 Feb 2011) Log Message: ----------- Updated to Axiom svn v0.8.0.0 branch Added vs 2010 project files ( no vs 2008 yet ) removed legacy build files Added new Sample for use with Axiom Sample Browser Modified Paths: -------------- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Page/Page.cs PagingLandscape/trunk/PagingLandscape/PagingLandscape/Plugin.cs PagingLandscape/trunk/PagingLandscape/PagingLandscape/Query/IntersectionSceneQuery.cs PagingLandscape/trunk/PagingLandscape/PagingLandscape/Renderable/IndexBuffer.cs PagingLandscape/trunk/PagingLandscape/PagingLandscape/Renderable/Renderable.cs PagingLandscape/trunk/PagingLandscape/PagingLandscape/SceneManager.cs PagingLandscape/trunk/PagingLandscape/PagingLandscape/Texture/Texture_Image.cs PagingLandscape/trunk/PagingLandscape/PagingLandscape/Texture/Texture_Splatting5.cs PagingLandscape/trunk/PagingLandscape/PagingLandscape/Tile/Tile.cs Added Paths: ----------- PagingLandscape/trunk/PagingLandscape/Axiom.PagingLandscape.sln PagingLandscape/trunk/PagingLandscape/PagingLandscape/Axiom.SceneManagers.PagingLandscape.2010.csproj PagingLandscape/trunk/PagingLandscape/PagingLandscape/Properties/ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Properties/AssemblyInfo.cs PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Axiom.Samples.PagingLandscape.2010.csproj PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Archives/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Archives/SdkTrays.zip PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Archives/Sinbad.zip PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Archives/cubemapsJS.zip PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Axiom.Samples.Media.2010.csproj PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Axiom.Samples.Media.2010.csproj.user PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Icons/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Icons/Archives/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Materials/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Materials/CloudySkyBox.material PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Materials/EveningSkyBox.material PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/Splat.cg PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/Splatting5.material PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/gcanyon_height_4k2k.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/gcanyon_texture_4k2k.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.0.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.0.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.0.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.0.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.1.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.1.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.1.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.1.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.2.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.2.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.2.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.2.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.3.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.3.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.3.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.0.3.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.0.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.0.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.0.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.0.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.1.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.1.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.1.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.1.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.2.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.2.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.2.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.2.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.3.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.3.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.3.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.1.3.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.0.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.0.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.0.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.0.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.1.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.1.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.1.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.1.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.2.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.2.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.2.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.2.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.3.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.3.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.3.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.2.3.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.0.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.0.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.0.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.0.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.1.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.1.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.1.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.1.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.2.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.2.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.2.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.2.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.3.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.3.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.3.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.AlphaSplatRGBAMaps.3.3.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.0.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.0.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.0.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.0.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.1.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.1.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.1.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.1.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.2.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.2.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.2.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.2.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.3.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.3.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.3.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Base.3.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.0.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.0.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.0.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.0.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.1.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.1.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.1.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.1.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.2.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.2.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.2.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.2.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.3.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.3.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.3.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.Coverage.3.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.0.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.0.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.0.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.0.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.1.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.1.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.1.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.1.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.2.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.2.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.2.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.2.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.3.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.3.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.3.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_height_1k.HN.3.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.0.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.0.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.0.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.0.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.1.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.1.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.1.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.1.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.2.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.2.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.2.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.2.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.3.0.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.3.1.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.3.2.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k/ps_texture_1k.3.3.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_height_1k.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/ps_texture_1k.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/splatting_grass.jpg PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/splatting_rock.jpg PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/splatting_sand.jpg PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/PagingLandscape/splatting_snow.jpg PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Textures/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Textures/axiomlogo.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Textures/clouds.jpg PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Thumbnails/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Thumbnails/thumb_error.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Media/Thumbnails/thumb_terrain.png PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/PLSample.cs PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Plugin.cs PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Properties/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Properties/AssemblyInfo.cs PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/SinbadCharacterController.cs PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Framework.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Framework.pdb PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Platforms.Win32.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Platforms.Win32.pdb PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Platforms.Win32.xml PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Plugins.FreeImageCodecs.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Plugins.FreeImageCodecs.pdb PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.RenderSystems.DirectX9.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.RenderSystems.DirectX9.pdb PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.RenderSystems.DirectX9.xml PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Samples.Browser.exe PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Samples.Browser.exe.Config PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Samples.Browser.pdb PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Samples.Common.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.Samples.Common.pdb PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.pdb PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Axiom.xml PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/FreeImage.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/FreeImageNET.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/FreeImageNET.xml PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/ICSharpCode.SharpZipLib.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/Landscape.xml PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/SharpInputSystem.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/SharpInputSystem.pdb PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/axiom.log PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/freetype6.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/log4net.dll PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/meshmagick.log PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/bin/Win32/zlib1.dll PagingLandscape/trunk/Reference Libraries/ PagingLandscape/trunk/Reference Libraries/Axiom.Framework.dll PagingLandscape/trunk/Reference Libraries/Axiom.Framework.pdb PagingLandscape/trunk/Reference Libraries/Axiom.Samples.Common.dll PagingLandscape/trunk/Reference Libraries/Axiom.Samples.Common.pdb PagingLandscape/trunk/Reference Libraries/Axiom.dll PagingLandscape/trunk/Reference Libraries/Axiom.pdb PagingLandscape/trunk/Reference Libraries/ICSharpCode.SharpZipLib.dll PagingLandscape/trunk/Reference Libraries/SharpInputSystem.dll PagingLandscape/trunk/Reference Libraries/SharpInputSystem.pdb PagingLandscape/trunk/Reference Libraries/log4net.dll Removed Paths: ------------- PagingLandscape/trunk/PagingLandscape/SampleData/ PagingLandscape/trunk/PagingLandscape/TerrainDemo/ Added: PagingLandscape/trunk/PagingLandscape/Axiom.PagingLandscape.sln =================================================================== --- PagingLandscape/trunk/PagingLandscape/Axiom.PagingLandscape.sln (rev 0) +++ PagingLandscape/trunk/PagingLandscape/Axiom.PagingLandscape.sln 2011-02-04 16:08:18 UTC (rev 251) @@ -0,0 +1,44 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Axiom.SceneManagers.PagingLandscape.2010", "PagingLandscape\Axiom.SceneManagers.PagingLandscape.2010.csproj", "{673DBDF4-6EA4-4A2C-A511-5E3FB637A402}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Axiom.Samples.PagingLandscape.2010", "Sample.PagingLandscape\Axiom.Samples.PagingLandscape.2010.csproj", "{0B82823F-D5F9-4A45-913C-D326EE183F67}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Axiom.Samples.Media.2010", "Sample.PagingLandscape\Media\Axiom.Samples.Media.2010.csproj", "{82D00A5B-1943-4DDF-859A-7552F75CBF1F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {673DBDF4-6EA4-4A2C-A511-5E3FB637A402}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {673DBDF4-6EA4-4A2C-A511-5E3FB637A402}.Debug|Any CPU.Build.0 = Debug|Any CPU + {673DBDF4-6EA4-4A2C-A511-5E3FB637A402}.Debug|x86.ActiveCfg = Debug|x86 + {673DBDF4-6EA4-4A2C-A511-5E3FB637A402}.Debug|x86.Build.0 = Debug|x86 + {673DBDF4-6EA4-4A2C-A511-5E3FB637A402}.Release|Any CPU.ActiveCfg = Release|Any CPU + {673DBDF4-6EA4-4A2C-A511-5E3FB637A402}.Release|Any CPU.Build.0 = Release|Any CPU + {673DBDF4-6EA4-4A2C-A511-5E3FB637A402}.Release|x86.ActiveCfg = Release|x86 + {673DBDF4-6EA4-4A2C-A511-5E3FB637A402}.Release|x86.Build.0 = Release|x86 + {0B82823F-D5F9-4A45-913C-D326EE183F67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0B82823F-D5F9-4A45-913C-D326EE183F67}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0B82823F-D5F9-4A45-913C-D326EE183F67}.Debug|x86.ActiveCfg = Debug|x86 + {0B82823F-D5F9-4A45-913C-D326EE183F67}.Debug|x86.Build.0 = Debug|x86 + {0B82823F-D5F9-4A45-913C-D326EE183F67}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0B82823F-D5F9-4A45-913C-D326EE183F67}.Release|Any CPU.Build.0 = Release|Any CPU + {0B82823F-D5F9-4A45-913C-D326EE183F67}.Release|x86.ActiveCfg = Release|x86 + {0B82823F-D5F9-4A45-913C-D326EE183F67}.Release|x86.Build.0 = Release|x86 + {82D00A5B-1943-4DDF-859A-7552F75CBF1F}.Debug|Any CPU.ActiveCfg = Debug|x86 + {82D00A5B-1943-4DDF-859A-7552F75CBF1F}.Debug|x86.ActiveCfg = Debug|x86 + {82D00A5B-1943-4DDF-859A-7552F75CBF1F}.Debug|x86.Build.0 = Debug|x86 + {82D00A5B-1943-4DDF-859A-7552F75CBF1F}.Release|Any CPU.ActiveCfg = Release|x86 + {82D00A5B-1943-4DDF-859A-7552F75CBF1F}.Release|x86.ActiveCfg = Release|x86 + {82D00A5B-1943-4DDF-859A-7552F75CBF1F}.Release|x86.Build.0 = Release|x86 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Property changes on: PagingLandscape/trunk/PagingLandscape/Axiom.PagingLandscape.sln ___________________________________________________________________ Added: svn:eol-style + native Added: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Axiom.SceneManagers.PagingLandscape.2010.csproj =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Axiom.SceneManagers.PagingLandscape.2010.csproj (rev 0) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Axiom.SceneManagers.PagingLandscape.2010.csproj 2011-02-04 16:08:18 UTC (rev 251) @@ -0,0 +1,128 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{673DBDF4-6EA4-4A2C-A511-5E3FB637A402}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Axiom.SceneMangers.PagingLandscape</RootNamespace> + <AssemblyName>Axiom.SceneManagers.PagingLandscape</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>bin\x86\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisLogFile>bin\Debug\Axiom.PagingLandscape.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> + <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> + <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> + <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> + <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> + <OutputPath>bin\x86\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisLogFile>bin\Release\Axiom.PagingLandscape.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> + <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets> + <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> + <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> + <CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules> + </PropertyGroup> + <ItemGroup> + <Reference Include="Axiom"> + <HintPath>..\..\Reference Libraries\Axiom.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="AssemblyInfo.cs" /> + <Compile Include="Camera.cs" /> + <Compile Include="Collections\Data2DPages.cs" /> + <Compile Include="Collections\Data2DRow.cs" /> + <Compile Include="Collections\PageQueue.cs" /> + <Compile Include="Collections\PageRow.cs" /> + <Compile Include="Collections\Pages.cs" /> + <Compile Include="Collections\RenderableQueue.cs" /> + <Compile Include="Collections\TexturePages.cs" /> + <Compile Include="Collections\TextureRow.cs" /> + <Compile Include="Collections\TileQueue.cs" /> + <Compile Include="Collections\TileRow.cs" /> + <Compile Include="Collections\Tiles.cs" /> + <Compile Include="Collections\UnsortedCollection.cs" /> + <Compile Include="Data2D\Data2D.cs" /> + <Compile Include="Data2D\Data2DManager.cs" /> + <Compile Include="Data2D\Data2D_ClientGen.cs" /> + <Compile Include="Data2D\Data2D_HeightField.cs" /> + <Compile Include="Data2D\Data2D_HeightFieldN.cs" /> + <Compile Include="Options.cs" /> + <Compile Include="Page\Page.cs" /> + <Compile Include="Page\PageManager.cs" /> + <Compile Include="Plugin.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="Query\IntersectionSceneQuery.cs" /> + <Compile Include="Query\RaySceneQuery.cs" /> + <Compile Include="Renderable\IndexBuffer.cs" /> + <Compile Include="Renderable\Renderable.cs" /> + <Compile Include="Renderable\RenderableManager.cs" /> + <Compile Include="SceneManager.cs" /> + <Compile Include="Texture\Texture.cs" /> + <Compile Include="Texture\TextureManager.cs" /> + <Compile Include="Texture\Texture_Image.cs" /> + <Compile Include="Texture\Texture_Splatting.cs" /> + <Compile Include="Texture\Texture_Splatting5.cs" /> + <Compile Include="Tile\Tile.cs" /> + <Compile Include="Tile\TileInfo.cs" /> + <Compile Include="Tile\TileManager.cs" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Property changes on: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Axiom.SceneManagers.PagingLandscape.2010.csproj ___________________________________________________________________ Added: svn:eol-style + native Modified: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Page/Page.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Page/Page.cs 2010-12-15 16:45:40 UTC (rev 250) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Page/Page.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -147,8 +147,16 @@ public Page GetNeighbor( Neighbor n ) { return neighbors[ (int)n ]; + GetTile( 0, 0 ); } - + /// <summary> + /// Test tile <c>sample</c> + ///<param name="myParm">Desc</param> + ///<remarks>Determines if <paramref name="myParm"/> is either <c>null</c> or <c>empty</c>.</remarks> + /// </summary> + /// <param name="i"></param> + /// <param name="j"></param> + /// <returns></returns> public Tile.Tile GetTile ( long i , long j) { if ( isLoaded ) @@ -369,7 +377,7 @@ if ( pageNode != null ) { // Unload the nodes - pageNode.Clear(); + //pageNode.Clear(); //pageNoderemoveAndDestroyAllChildren(); //mPageNode->getParent()->removeChild( mPageNode->getName() ); Modified: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Plugin.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Plugin.cs 2010-12-15 16:45:40 UTC (rev 250) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Plugin.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -40,16 +40,27 @@ { private PagingLandscapeSceneManagerFactory m_factory; - public void Start() - { - //SceneManagerEnumerator.Instance.SetSceneManager(SceneType.ExteriorFar, new SceneManager("noName")); - m_factory = new PagingLandscapeSceneManagerFactory(); - Root.Instance.AddSceneManagerFactory(m_factory); - } + //public void Start() + //{ + // //SceneManagerEnumerator.Instance.SetSceneManager(SceneType.ExteriorFar, new SceneManager("noName")); + // m_factory = new PagingLandscapeSceneManagerFactory(); + // Root.Instance.AddSceneManagerFactory(m_factory); + //} - public void Stop() + //public void Stop() + //{ + // Root.Instance.RemoveSceneManagerFactory(m_factory); + //} + + public void Shutdown() { - Root.Instance.RemoveSceneManagerFactory(m_factory); - } + Root.Instance.RemoveSceneManagerFactory( m_factory ); + } + + public void Initialize() + { + m_factory = new PagingLandscapeSceneManagerFactory(); + Root.Instance.AddSceneManagerFactory( m_factory ); + } } } Added: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Properties/AssemblyInfo.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Properties/AssemblyInfo.cs (rev 0) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Properties/AssemblyInfo.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -0,0 +1,36 @@ +//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( "Axiom.PagingLandscape" )] +//[assembly: AssemblyDescription( "" )] +//[assembly: AssemblyConfiguration( "" )] +//[assembly: AssemblyCompany( "Microsoft" )] +//[assembly: AssemblyProduct( "Axiom.PagingLandscape" )] +//[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. +//[assembly: ComVisible( false )] + +//// The following GUID is for the ID of the typelib if this project is exposed to COM +//[assembly: Guid( "6abc638b-d01e-4a91-b10a-e32f0be62386" )] + +//// Version information for an assembly consists of the following four values: +//// +//// Major Version +//// Minor Version +//// Build Number +//// Revision +//// +//// You can specify all the values or you can default the Build and Revision Numbers +//// by using the '*' as shown below: +//// [assembly: AssemblyVersion("1.0.*")] +//[assembly: AssemblyVersion( "1.0.0.0" )] +//[assembly: AssemblyFileVersion( "1.0.0.0" )] Property changes on: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Properties/AssemblyInfo.cs ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Modified: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Query/IntersectionSceneQuery.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Query/IntersectionSceneQuery.cs 2010-12-15 16:45:40 UTC (rev 250) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Query/IntersectionSceneQuery.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -28,6 +28,7 @@ using System; using System.Collections; +using System.Collections.Generic; using Axiom.Core; using Axiom.Math; @@ -65,11 +66,13 @@ // Do entities to world SceneManager sceneMgr = (SceneManager)( this.creator ); + Axiom.Collections.MovableObjectCollection entites = sceneMgr.GetMovableObjectCollection( "Entity" ); - for(int i = 0; i < sceneMgr.Entities.Count; i++) + for (int i = 0; i < entites.Count; i++) { - Entity entityA = sceneMgr.Entities[i]; + Entity entityA = (Entity)entites[ i ];//sceneMgr.Entities[i]; + // Apply mask if ( ( entityA.QueryFlags & queryMask) == 0 ) { Modified: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Renderable/IndexBuffer.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Renderable/IndexBuffer.cs 2010-12-15 16:45:40 UTC (rev 250) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Renderable/IndexBuffer.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -28,6 +28,7 @@ using System; using System.Collections; +using System.Collections.Generic; using System.Diagnostics; using Axiom.Core; @@ -69,7 +70,7 @@ protected ArrayList cache; /// Shared array of IndexData (reuse indexes across tiles) - protected ArrayList levelIndex; + protected List<Dictionary<int, IndexData>> levelIndex; // Store the indexes for every combination protected long numIndexes; #endregion Fields @@ -91,10 +92,10 @@ numIndexes = Options.Instance.MaxRenderLevel + 1; //mLevelIndex.reserve (mNumIndexes); cache = new ArrayList(); - levelIndex = new ArrayList((int)numIndexes); + levelIndex = new List<Dictionary<int, IndexData>>();//= new ArrayList((int)numIndexes); for ( long i = 0; i < numIndexes; i++ ) { - levelIndex.Add( new Map() ); + levelIndex.Add( new Dictionary<int,IndexData>() ); } } @@ -298,19 +299,26 @@ /// Gets the index data for this tile based on current settings public IndexData GetIndexData( long stitchFlags, long RenderLevel, Renderable[] neighbors) { + Dictionary<int, ArrayList> ll; + + Debug.Assert (levelIndex[ (int)RenderLevel ] != null); - IEnumerator ii = ((Axiom.Collections.Map)(levelIndex[ (int)RenderLevel ])).Find( (long)stitchFlags ); + IndexData ii = null; + levelIndex[(int)RenderLevel].TryGetValue( (int)stitchFlags, out ii ); + // IEnumerator ii = ((Axiom.Collections.Map)(levelIndex[ (int)RenderLevel ])).Find( (long)stitchFlags ); if ( ii == null) { // Create IndexData indexData = GenerateTriListIndexes((long)stitchFlags, RenderLevel, neighbors); - ((Axiom.Collections.Map)(levelIndex[ (int)RenderLevel ])).Insert((long) stitchFlags, indexData ); + //( (IDictionary)( levelIndex[ (int)RenderLevel ] ) ).Add( (long)stitchFlags, indexData ); + levelIndex[(int)RenderLevel].Add( (int)stitchFlags, indexData ); return indexData; } else { - ii.MoveNext(); - return (IndexData)ii.Current; + //ii.MoveNext(); + //return (IndexData)ii.Current; + return ii; } } Modified: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Renderable/Renderable.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Renderable/Renderable.cs 2010-12-15 16:45:40 UTC (rev 250) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Renderable/Renderable.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -402,13 +402,13 @@ } } - public override void GetRenderOperation(RenderOperation op) + public override RenderOperation RenderOperation { - op.useIndices = this.renderOp.useIndices; - op.operationType = this.renderOp.operationType; - op.vertexData = this.renderOp.vertexData; - op.indexData = this.renderOp.indexData; - } + get + { + return this.renderOp; + } + } public override void NotifyCurrentCamera( Axiom.Core.Camera cam ) { Modified: PagingLandscape/trunk/PagingLandscape/PagingLandscape/SceneManager.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/SceneManager.cs 2010-12-15 16:45:40 UTC (rev 250) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/SceneManager.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -584,7 +584,7 @@ /// looking for objects which fall along a ray. See SceneQuery and RaySceneQuery /// for full details. /// </remarks> - public override Axiom.Core.RaySceneQuery CreateRayQuery(Ray ray, ulong mask) + public override Axiom.Core.RaySceneQuery CreateRayQuery(Ray ray, uint mask) { Axiom.Core.RaySceneQuery q = new Query.RaySceneQuery(this); q.Ray = ray; @@ -592,7 +592,6 @@ return q; } - /// <summary> /// Creates an IntersectionSceneQuery for this scene manager. /// </summary> @@ -608,7 +607,7 @@ /// intersecting objects. See SceneQuery and IntersectionSceneQuery /// for full details. /// </remarks> - public override Axiom.Core.IntersectionSceneQuery CreateIntersectionQuery(ulong mask) + public override Axiom.Core.IntersectionSceneQuery CreateIntersectionQuery(uint mask) { Axiom.Core.IntersectionSceneQuery q = new Query.IntersectionSceneQuery(this); q.QueryMask = mask; @@ -765,18 +764,19 @@ #endregion Methods #region Properties + + ///// <summary> + ///// + ///// </summary> + //new internal EntityList Entities + //{ + // get + // { + + // return base.entityList; + // } + //} - /// <summary> - /// - /// </summary> - new internal EntityList Entities - { - get - { - return base.entityList; - } - } - #endregion } Modified: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Texture/Texture_Image.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Texture/Texture_Image.cs 2010-12-15 16:45:40 UTC (rev 250) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Texture/Texture_Image.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -46,58 +46,59 @@ /// <summary> /// Summary description for Texture_Image. /// </summary> - public class Texture_Image: Texture + public class Texture_Image : Texture { - public Texture_Image(): base() + public Texture_Image() + : base() { // // TODO: Add constructor logic here // } - protected override void loadMaterial() - { - if (material == null) - { + protected override void loadMaterial() + { + if ( material == null ) + { - if (Options.Instance.ImageNameLoad) - { - // JEFF - all material settings configured through material script - //material = (Material)(MaterialManager.Instance.GetByName("PagingLandScape.0.0")); + if ( Options.Instance.ImageNameLoad ) + { + // JEFF - all material settings configured through material script + //material = (Material)(MaterialManager.Instance.GetByName("PagingLandScape.0.0")); - string commonName = dataZ.ToString() + "." + dataX.ToString(); - string matname = "Image." + commonName; - //material = material.Clone(matname); - material = CreateMaterial(matname); - //if (material.GetTechnique(0).GetPass(0).NumTextureUnitStages == 0 ) - //{ - // material.GetTechnique(0).GetPass(0).AddTextureUnitState(material.GetTechnique(0).GetPass(0).CreateTextureUnitState("gcanyon_texture_4k2k.0.0.png",0)); - // material.GetTechnique(0).GetPass(0).GetTextureUnitState(0).TextureAddressing = TextureAddressing.Clamp; - // material.GetTechnique(0).GetPass(0).AddTextureUnitState(material.GetTechnique(0).GetPass(0).CreateTextureUnitState("gcanyon_texture_4k2k.0.0.png",0)); - // material.GetTechnique(0).GetPass(0).GetTextureUnitState(1).SetTextureName("detail3.jpg"); - // material.GetTechnique(0).GetPass(0).GetTextureUnitState(1).SetTextureScaleU(0.03F); - // material.GetTechnique(0).GetPass(0).GetTextureUnitState(1).SetTextureScaleV(0.03F); - // - //} + string commonName = dataZ.ToString() + "." + dataX.ToString(); + string matname = "Image." + commonName; + //material = material.Clone(matname); + material = CreateMaterial( matname ); + //if (material.GetTechnique(0).GetPass(0).NumTextureUnitStages == 0 ) + //{ + // material.GetTechnique(0).GetPass(0).AddTextureUnitState(material.GetTechnique(0).GetPass(0).CreateTextureUnitState("gcanyon_texture_4k2k.0.0.png",0)); + // material.GetTechnique(0).GetPass(0).GetTextureUnitState(0).TextureAddressing = TextureAddressing.Clamp; + // material.GetTechnique(0).GetPass(0).AddTextureUnitState(material.GetTechnique(0).GetPass(0).CreateTextureUnitState("gcanyon_texture_4k2k.0.0.png",0)); + // material.GetTechnique(0).GetPass(0).GetTextureUnitState(1).SetTextureName("detail3.jpg"); + // material.GetTechnique(0).GetPass(0).GetTextureUnitState(1).SetTextureScaleU(0.03F); + // material.GetTechnique(0).GetPass(0).GetTextureUnitState(1).SetTextureScaleV(0.03F); + // + //} - string texname = Options.Instance.Image_Filename + "." + - commonName + "." + Options.Instance.Landscape_Extension; - // assign this texture to the material + string texname = Options.Instance.Image_Filename + "." + + commonName + "." + Options.Instance.Landscape_Extension; + // assign this texture to the material - material.GetTechnique(0).GetPass(0).CreateTextureUnitState(texname, 0); - material.GetTechnique(0).GetPass(0).GetTextureUnitState(0).TextureAddressing = TextureAddressing.Clamp; - } - else - { - // JEFF - all material settings configured through material script - material = (Material)(MaterialManager.Instance.GetByName("PagingLandScape." + dataX.ToString() + "." + dataZ.ToString())); - } + material.GetTechnique( 0 ).GetPass( 0 ).CreateTextureUnitState( texname, 0 ); + material.GetTechnique( 0 ).GetPass( 0 ).GetTextureUnitState( 0 ).SetTextureAddressingMode( TextureAddressing.Clamp );//TextureAddressingMode = new = TextureAddressing.Clamp; + } + else + { + // JEFF - all material settings configured through material script + material = (Material)( MaterialManager.Instance.GetByName( "PagingLandScape." + dataX.ToString() + "." + dataZ.ToString() ) ); + } - material.Load(); - material.Lighting = Options.Instance.Lit; - } - } + material.Load(); + material.Lighting = Options.Instance.Lit; + } + } protected override void unloadMaterial() { @@ -112,9 +113,9 @@ /// </summary> /// <param name="name"></param> /// <returns></returns> - public virtual Material CreateMaterial(string name) + public virtual Material CreateMaterial( string name ) { - Material material = (Material) MaterialManager.Instance.Create(name, ResourceGroupManager.DefaultResourceGroupName); + Material material = (Material)MaterialManager.Instance.Create( name, ResourceGroupManager.DefaultResourceGroupName ); material.CreateTechnique().CreatePass(); return material; } Modified: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Texture/Texture_Splatting5.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Texture/Texture_Splatting5.cs 2010-12-15 16:45:40 UTC (rev 250) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Texture/Texture_Splatting5.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -57,13 +57,16 @@ } protected override void loadMaterial() { + LogManager.Instance.Write( "LoadMat" ); + LogManager.Instance.Write( "Is NULL == " + material == null ? "true" : "false" ); if ( material == null ) { material = (Material) MaterialManager.Instance.GetByName("SplattingMaterial5"); - + LogManager.Instance.Write( "Is NULL == " + material == null ? "true" : "false" ); material.Load(); material.Lighting = Options.Instance.Lit; } + LogManager.Instance.Write( "Loaded" ); } protected override void unloadMaterial() Modified: PagingLandscape/trunk/PagingLandscape/PagingLandscape/Tile/Tile.cs =================================================================== --- PagingLandscape/trunk/PagingLandscape/PagingLandscape/Tile/Tile.cs 2010-12-15 16:45:40 UTC (rev 250) +++ PagingLandscape/trunk/PagingLandscape/PagingLandscape/Tile/Tile.cs 2011-02-04 16:08:18 UTC (rev 251) @@ -301,7 +301,7 @@ { init = true; - Vector3 ParentPos = ((IRenderable)ParentSceneNode).WorldPosition; + Vector3 ParentPos = ParentSceneNode.DerivedPosition;//((IRenderable)ParentSceneNode).WorldPosition; info.PageX = tableX; info.PageZ = tableZ; @@ -476,7 +476,7 @@ if ( tileSceneNode != null) { - tileSceneNode.Clear(); + //tileSceneNode.Clear(); } //Queue it for loading RenderableManager.Instance.QueueRenderableLoading( renderable, this ); @@ -508,7 +508,8 @@ if ( Axiom.Math.Utility.Intersects(box, bounds ) != Intersection.None ) { RenderOperation rend = new RenderOperation(); - renderable.GetRenderOperation( rend ); + //renderable.GetRenderOperation( rend ); + rend = renderable.RenderOperation; opList.Add( rend ); } } Added: PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Axiom.Samples.PagingLandscape.2010.csproj =================================================================== --- PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Axiom.Samples.PagingLandscape.2010.csproj (rev 0) +++ PagingLandscape/trunk/PagingLandscape/Sample.PagingLandscape/Axiom.Samples.PagingLandscape.2010.csproj 2011-02-04 16:08:18 UTC (rev 251) @@ -0,0 +1,106 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.30703</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{0B82823F-D5F9-4A45-913C-D326EE183F67}</ProjectGuid> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>Axiom.Samples.PagingLandscape</RootNamespace> + <AssemblyName>Axiom.Samples.PagingLandscape</AssemblyName> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\samples\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <PlatformTarget>x86</PlatformTarget> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> + <DebugSymbols>true</DebugSymbols> + <OutputPath>..\Samples\bin\win32\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <DebugType>full</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisLogFile>bin\Debug\Axiom.Samples.PagingLandscape.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> + <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets> + <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> + <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'"> + <OutputPath>bin\x86\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <Optimize>true</Optimize> + <DebugType>pdbonly</DebugType> + <PlatformTarget>x86</PlatformTarget> + <CodeAnalysisLogFile>bin\Release\Axiom.Samples.PagingLandscape.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile> + <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression> + <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile> + <ErrorReport>prompt</ErrorReport> + <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet> + <CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories> + <CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories> + <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules> + </PropertyGroup> + <ItemGroup> + <Reference Include="Axiom"> + <HintPath>..\..\Reference Libraries\Axiom.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="Axiom.Samples.Common"> + <HintPath>..\..\Reference Libraries\Axiom.Samples.Common.dll</HintPath> + <Private>False</Private> + </Reference> + <Reference Include="SharpInputSystem,... [truncated message content] |
From: <bor...@us...> - 2010-12-15 16:45:49
|
Revision: 250 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=250&view=rev Author: borrillis Date: 2010-12-15 16:45:40 +0000 (Wed, 15 Dec 2010) Log Message: ----------- - Created new project ( AxiomContrib.Samples ) to house samples that are not part of the core Useful for external projects that can integrate with Axiom ( Physics, Sound, AI, etc ) Added Paths: ----------- AxiomContrib.Samples/ AxiomContrib.Samples/branches/ AxiomContrib.Samples/tags/ AxiomContrib.Samples/trunk/ AxiomContrib.Samples/trunk/Documentation/ AxiomContrib.Samples/trunk/Reference Assemblies/ AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.pdb AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.dll AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.pdb AxiomContrib.Samples/trunk/Reference Assemblies/ManagedNite.dll AxiomContrib.Samples/trunk/Reference Assemblies/SharpInputSystem.dll AxiomContrib.Samples/trunk/Reference Assemblies/SharpInputSystem.pdb AxiomContrib.Samples/trunk/Source/ AxiomContrib.Samples/trunk/bin/ AxiomContrib.Samples/trunk/bin/media/ AxiomContrib.Samples/trunk/bin/media/archives/ AxiomContrib.Samples/trunk/bin/media/archives/SdkTrays.zip AxiomContrib.Samples/trunk/bin/media/archives/Sinbad.zip AxiomContrib.Samples/trunk/bin/media/archives/skybox.zip AxiomContrib.Samples/trunk/bin/media/icons/ AxiomContrib.Samples/trunk/bin/media/icons/AxiomIcon.ico AxiomContrib.Samples/trunk/bin/media/materials/ AxiomContrib.Samples/trunk/bin/media/materials/programs/ AxiomContrib.Samples/trunk/bin/media/materials/scripts/ AxiomContrib.Samples/trunk/bin/media/materials/scripts/Rockwall.material AxiomContrib.Samples/trunk/bin/media/materials/textures/ AxiomContrib.Samples/trunk/bin/media/materials/textures/rockwall.tga AxiomContrib.Samples/trunk/bin/media/thumbnails/ AxiomContrib.Samples/trunk/bin/media/thumbnails/thumb_char.png AxiomContrib.Samples/trunk/bin/samples/ AxiomContrib.Samples/trunk/bin/win32/ AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.DevILCodecs.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.DevILCodecs.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.OpenGL.OpenTK.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.OpenGL.OpenTK.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.Content.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.Content.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.pdb AxiomContrib.Samples/trunk/bin/win32/Axiom.dll AxiomContrib.Samples/trunk/bin/win32/Axiom.pdb AxiomContrib.Samples/trunk/bin/win32/DevIL.dll AxiomContrib.Samples/trunk/bin/win32/ICSharpCode.SharpZipLib.dll AxiomContrib.Samples/trunk/bin/win32/ILU.dll AxiomContrib.Samples/trunk/bin/win32/SharpInputSystem.dll AxiomContrib.Samples/trunk/bin/win32/SharpInputSystem.pdb AxiomContrib.Samples/trunk/bin/win32/Tao.Cg.dll AxiomContrib.Samples/trunk/bin/win32/Tao.Cg.xml AxiomContrib.Samples/trunk/bin/win32/Tao.DevIl.dll AxiomContrib.Samples/trunk/bin/win32/Tao.DevIl.xml AxiomContrib.Samples/trunk/bin/win32/cg.dll AxiomContrib.Samples/trunk/bin/win32/freetype6.dll AxiomContrib.Samples/trunk/bin/win32/log4net.dll AxiomContrib.Samples/trunk/bin/win32/zlib1.dll Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Framework.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.DirectX9.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.OpenGL.OpenTK.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.Content.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.RenderSystems.Xna.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.Samples.Common.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/Axiom.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/ManagedNite.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/ManagedNite.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/SharpInputSystem.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/SharpInputSystem.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/Reference Assemblies/SharpInputSystem.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/Reference Assemblies/SharpInputSystem.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/media/archives/SdkTrays.zip =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/media/archives/SdkTrays.zip ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/media/archives/Sinbad.zip =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/media/archives/Sinbad.zip ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/media/archives/skybox.zip =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/media/archives/skybox.zip ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/media/icons/AxiomIcon.ico =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/media/icons/AxiomIcon.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/media/materials/scripts/Rockwall.material =================================================================== --- AxiomContrib.Samples/trunk/bin/media/materials/scripts/Rockwall.material (rev 0) +++ AxiomContrib.Samples/trunk/bin/media/materials/scripts/Rockwall.material 2010-12-15 16:45:40 UTC (rev 250) @@ -0,0 +1,13 @@ +material Examples/Rockwall +{ + technique + { + pass + { + texture_unit + { + texture rockwall.tga + } + } + } +} \ No newline at end of file Added: AxiomContrib.Samples/trunk/bin/media/materials/textures/rockwall.tga =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/media/materials/textures/rockwall.tga ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/media/thumbnails/thumb_char.png =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/media/thumbnails/thumb_char.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Framework.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Platforms.Win32.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.CgProgramManager.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.DevILCodecs.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.DevILCodecs.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.DevILCodecs.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.DevILCodecs.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.FreeImageCodecs.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Plugins.ParticleFX.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.DirectX9.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.OpenGL.OpenTK.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.OpenGL.OpenTK.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.OpenGL.OpenTK.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.OpenGL.OpenTK.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.Content.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.Content.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.Content.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.Content.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.RenderSystems.Xna.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config =================================================================== --- AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config (rev 0) +++ AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.exe.Config 2010-12-15 16:45:40 UTC (rev 250) @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8" ?> +<configuration> + <configSections> + <section name="axiom" type="Axiom.Framework.Configuration.AxiomConfigurationSection, Axiom.Framework"/> + </configSections> + <axiom xmlns="http://www.axiom3d.net/schemas/configuration/v1.0"> + <resourceLocations> + <resourceLocation path="../media/archives/SdkTrays.zip" type="ZipFile" + recurse="false" group="Essential" /> + <resourceLocation path="../media/thumbnails" type="Folder" recurse="false" + group="Essential" /> + <resourceLocation path="../media/icons" type="Folder" recurse="false" + group="Essential" /> + <resourceLocation path="../media/archives/skybox.zip" type="ZipFile" + recurse="false" group="Popular" /> + <resourceLocation path="../media/archives/sinbad.zip" type="ZipFile" + recurse="false" group="Popular" /> + <resourceLocation path="../media/materials/programs" type="Folder" + recurse="false" group="Popular" /> + <resourceLocation path="../media/materials/scripts" type="Folder" + recurse="false" group="Popular" /> + <resourceLocation path="../media/materials/textures" type="Folder" + recurse="false" group="Popular" /> + </resourceLocations> + <renderSystems> + <renderSystem name="Xna"> + <options> + <option name="Rendering Device" value="NVIDIA NVS 3100M " /> + <option name="Video Mode" value="800 x 600 @ 32-bit color" /> + <option name="Full Screen" value="No" /> + <option name="VSync" value="No" /> + <option name="Anti aliasing" value="None" /> + <option name="Floating-point mode" value="Fastest" /> + <option name="Allow NVPerfHUD" value="No" /> + <option name="Save Generated Shaders" value="No" /> + <option name="Use Content Pipeline" value="No" /> + </options> + </renderSystem> + <renderSystem name="DirectX9"> + <options> + <option name="Rendering Device" value="NVIDIA NVS 3100M " /> + <option name="Video Mode" value="1280 x 720 @ 32-bit color" /> + <option name="Full Screen" value="No" /> + <option name="VSync" value="No" /> + <option name="Anti aliasing" value="None" /> + <option name="Floating-point mode" value="Fastest" /> + <option name="Allow NVPerfHUD" value="No" /> + </options> + </renderSystem> + </renderSystems> + </axiom> +</configuration> \ No newline at end of file Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Browser.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.Samples.Common.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Axiom.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Axiom.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/DevIL.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/DevIL.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/ICSharpCode.SharpZipLib.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/ICSharpCode.SharpZipLib.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/ILU.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/ILU.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/SharpInputSystem.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/SharpInputSystem.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/SharpInputSystem.pdb =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/SharpInputSystem.pdb ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Tao.Cg.dll =================================================================== (Binary files differ) Property changes on: AxiomContrib.Samples/trunk/bin/win32/Tao.Cg.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: AxiomContrib.Samples/trunk/bin/win32/Tao.Cg.xml =================================================================== --- AxiomContrib.Samples/trunk/bin/win32/Tao.Cg.xml (rev 0) +++ AxiomContrib.Samples/trunk/bin/win32/Tao.Cg.xml 2010-12-15 16:45:40 UTC (rev 250) @@ -0,0 +1,5886 @@ +<?xml version="1.0"?> +<doc> + <assembly> + <name>Tao.Cg</name> + </assembly> + <members> + <member name="T:Tao.Cg.Cg"> + <summary> + Cg core runtime binding for .NET, implementing Cg 1.4.1. + </summary> + <remarks> + Binds functions and definitions in cg.dll or libcg.so. + </remarks> + </member> + <member name="F:Tao.Cg.Cg.CG_NATIVE_LIBRARY"> + <summary> + Specifies CG's native library archive. + </summary> + <remarks> + Specifies cg.dll everywhere; will be mapped via .config for mono. + </remarks> + </member> + <member name="F:Tao.Cg.Cg.CALLING_CONVENTION"> + <summary> + Specifies the calling convention. + </summary> + <remarks> + Specifies <see cref="F:System.Runtime.InteropServices.CallingConvention.Cdecl"/> for Windows and Linux. + </remarks> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT0"> + <summary> + Texture unit. + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEXUNIT15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_ATTR15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_C"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEX0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEX1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEX2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEX3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEX4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEX5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEX6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TEX7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_HPOS"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COL0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COL1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COL2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COL3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZ"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_WPOS"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_POSITION15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DIFFUSE0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_TANGENT15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SPECULAR0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDINDICES15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_COLOR15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_PSIZE15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BINORMAL15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_FOG15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_DEPTH15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_SAMPLE15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT14"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_BLENDWEIGHT15"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL0"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL1"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL2"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL3"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL4"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL5"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL6"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL7"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL8"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL9"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL10"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL11"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL12"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL13"> + <summary> + + </summary> + </member> + <member name="F:Tao.Cg.Cg.CG_NORMAL14"> + <summary> + ... [truncated message content] |
From: <bor...@us...> - 2010-11-04 20:05:03
|
Revision: 235 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=235&view=rev Author: borrillis Date: 2010-11-04 20:04:56 +0000 (Thu, 04 Nov 2010) Log Message: ----------- Added missing media updated EngineConfig.xml Modified Paths: -------------- DotScene/trunk/DotScene.Test/DotScene.Test.csproj DotScene/trunk/DotScene.Test/EngineConfig.xml Added Paths: ----------- DotScene/trunk/DotScene.Test/Media/Archives/ DotScene/trunk/DotScene.Test/Media/Archives/AxiomCore.zip DotScene/trunk/DotScene.Test/Media/Materials/ DotScene/trunk/DotScene.Test/Media/Materials/Scripts/ DotScene/trunk/DotScene.Test/Media/Materials/Scripts/OgreHead.material DotScene/trunk/DotScene.Test/Media/Materials/Scripts/Skys.material DotScene/trunk/DotScene.Test/Media/Materials/Textures/ DotScene/trunk/DotScene.Test/Media/Materials/Textures/AxiomIcon.ico DotScene/trunk/DotScene.Test/Media/Materials/Textures/GreenSkin.jpg DotScene/trunk/DotScene.Test/Media/Materials/Textures/SkyBoxes.zip DotScene/trunk/DotScene.Test/Media/Materials/Textures/WeirdEye.png DotScene/trunk/DotScene.Test/Media/Materials/Textures/spheremap.png DotScene/trunk/DotScene.Test/Media/Materials/Textures/tusk.jpg DotScene/trunk/DotScene.Test/Media/Models/ DotScene/trunk/DotScene.Test/Media/Models/ogrehead.mesh Modified: DotScene/trunk/DotScene.Test/DotScene.Test.csproj =================================================================== --- DotScene/trunk/DotScene.Test/DotScene.Test.csproj 2010-11-04 17:42:37 UTC (rev 234) +++ DotScene/trunk/DotScene.Test/DotScene.Test.csproj 2010-11-04 20:04:56 UTC (rev 235) @@ -68,6 +68,21 @@ <DesignTime>True</DesignTime> </Compile> <None Include="app.config" /> + <None Include="Media\Archives\AxiomCore.zip"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + <None Include="Media\Materials\Scripts\OgreHead.material"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + <None Include="Media\Materials\Scripts\Skys.material"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + <None Include="Media\Materials\Textures\SkyBoxes.zip"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + <None Include="Media\Models\ogrehead.mesh"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> <None Include="Media\Scene\test.scene"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> @@ -175,7 +190,23 @@ <Content Include="EngineConfig.xml"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </Content> + <Content Include="Media\Materials\Textures\AxiomIcon.ico"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + <Content Include="Media\Materials\Textures\GreenSkin.jpg"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + <Content Include="Media\Materials\Textures\spheremap.png"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + <Content Include="Media\Materials\Textures\tusk.jpg"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + <Content Include="Media\Materials\Textures\WeirdEye.png"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> </ItemGroup> + <ItemGroup /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. Modified: DotScene/trunk/DotScene.Test/EngineConfig.xml =================================================================== --- DotScene/trunk/DotScene.Test/EngineConfig.xml 2010-11-04 17:42:37 UTC (rev 234) +++ DotScene/trunk/DotScene.Test/EngineConfig.xml 2010-11-04 20:04:56 UTC (rev 235) @@ -1,21 +1,12 @@ <?xml version="1.0" standalone="yes"?> <EngineConfig xmlns="http://tempuri.org/EngineConfig.xsd"> <FilePath group="bootstrap" src="Media/Archives/AxiomCore.zip" type="ZipFile" /> - <FilePath group="General" src="Media/Configuration" type="Folder" /> - <FilePath group="General" src="Media/Textures" type="Folder" /> - <FilePath group="General" src="Media/BrowserImages" type="Folder" /> - <FilePath group="General" src="Media/Icons" type="Folder" /> - <FilePath group="General" src="Media/Fonts" type="Folder" /> - <FilePath group="General" src="Media/Meshes" type="Folder" /> - <FilePath group="General" src="Media/PCZAppMedia" type="Folder" /> - <FilePath group="General" src="Media/Skeletons" type="Folder" /> - <FilePath group="General" src="Media/Materials" type="Folder" /> - <FilePath group="General" src="Media/Overlays" type="Folder" /> - <FilePath group="General" src="Media/GpuPrograms" type="Folder" /> + <FilePath group="General" src="Media/Models" type="Folder" /> + <FilePath group="General" src="Media/Materials/Textures/SkyBoxes.zip" type="ZipFile" /> + <FilePath group="General" src="Media/Materials/Textures" type="Folder" /> + <FilePath group="General" src="Media/Materials/Scripts" type="Folder" /> <FilePath group="General" src="Media/Scene" type="Folder" /> - <FilePath group="General" src="Media/Archives/Fresnel.zip" type="ZipFile" /> - <FilePath group="General" src="Media/Textures/SkyBoxes.zip" type="ZipFile" /> - <FilePath group="General" src="Media/Archives/Water.zip" type="ZipFile" /> + <ConfigOption RenderSystem="Axiom.RenderSystems.OpenGL.GLRenderSystem" Name="Video Mode" Value="1280 x 720" /> <ConfigOption RenderSystem="Axiom.RenderSystems.OpenGL.GLRenderSystem" Name="Color Depth" Value="32" /> <ConfigOption RenderSystem="Axiom.RenderSystems.OpenGL.GLRenderSystem" Name="Display Frequency" Value="N/A" /> @@ -37,5 +28,4 @@ <ConfigOption RenderSystem="Axiom.RenderSystems.Xna.XnaRenderSystem" Name="Allow NVPerfHUD" Value="No" /> <ConfigOption RenderSystem="Axiom.RenderSystems.Xna.XnaRenderSystem" Name="Save Generated Shaders" Value="No" /> <ConfigOption RenderSystem="Axiom.RenderSystems.Xna.XnaRenderSystem" Name="Use Content Pipeline" Value="No" /> - <ConfigOption RenderSystem="Axiom.RenderSystems.DirectX9.D3DRenderSystem" Name="Rendering Device" Value="NVIDIA GeForce 8600 GTS" /> </EngineConfig> \ No newline at end of file Added: DotScene/trunk/DotScene.Test/Media/Archives/AxiomCore.zip =================================================================== (Binary files differ) Property changes on: DotScene/trunk/DotScene.Test/Media/Archives/AxiomCore.zip ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: DotScene/trunk/DotScene.Test/Media/Materials/Scripts/OgreHead.material =================================================================== --- DotScene/trunk/DotScene.Test/Media/Materials/Scripts/OgreHead.material (rev 0) +++ DotScene/trunk/DotScene.Test/Media/Materials/Scripts/OgreHead.material 2010-11-04 20:04:56 UTC (rev 235) @@ -0,0 +1,66 @@ +material Ogre/Earring +{ + technique + { + pass + { + ambient 0.7 0.7 0 + diffuse 0.7 0.7 0 + + texture_unit + { + texture spheremap.png + colour_op_ex add src_texture src_current + colour_op_multipass_fallback one one + env_map spherical + } + } + } +} + +material Ogre/Skin +{ + technique + { + pass + { + ambient 0.3 0.8 0.3 + + texture_unit + { + texture GreenSkin.jpg + tex_address_mode mirror + } + } + } +} + +material Ogre/Tusks +{ + technique + { + pass + { + ambient 0.7 0.7 0.6 + + texture_unit + { + texture tusk.jpg + scale 0.2 0.2 + } + } + } +} + +material Ogre/Eyes +{ + technique + { + pass + { + ambient 1 0.4 0.4 + diffuse 1 0.7 0 + emissive 0.3 0.1 0 + } + } +} \ No newline at end of file Added: DotScene/trunk/DotScene.Test/Media/Materials/Scripts/Skys.material =================================================================== --- DotScene/trunk/DotScene.Test/Media/Materials/Scripts/Skys.material (rev 0) +++ DotScene/trunk/DotScene.Test/Media/Materials/Scripts/Skys.material 2010-11-04 20:04:56 UTC (rev 235) @@ -0,0 +1,104 @@ + +material Skybox/CloudyHills +{ + technique + { + pass + { + lighting off + depth_write off + + texture_unit + { + cubic_texture CloudyHills_fr.png CloudyHills_bk.png CloudyHills_lf.png CloudyHills_rt.png CloudyHills_up.png CloudyHills_dn.png separateUV + tex_address_mode clamp + } + } + } +} +material Skybox/Space +{ + technique + { + pass + { + lighting off + depth_write off + + texture_unit + { + cubic_texture stevecube_fr.jpg stevecube_bk.jpg stevecube_lf.jpg stevecube_rt.jpg stevecube_up.jpg stevecube_dn.jpg separateUV + tex_address_mode clamp + } + } + } +} +material Skyplane/Space +{ + technique + { + pass + { + lighting off + depth_write off + + texture_unit + { + texture spacesky.jpg + } + } + } +} +material Examples/CloudySky +{ + technique + { + pass + { + lighting off + depth_write off + + texture_unit + { + texture clouds.jpg + scroll_anim 0.15 0 + } + } + } +} + +material Skybox/Stormy +{ + technique + { + pass + { + lighting off + depth_write off + + texture_unit + { + cubic_texture stormy.jpg separateUV + tex_address_mode clamp + } + } + } +} + +material Skybox/Morning +{ + technique + { + pass + { + lighting off + depth_write off + + texture_unit + { + cubic_texture morning.jpg separateUV + tex_address_mode clamp + } + } + } +} \ No newline at end of file Added: DotScene/trunk/DotScene.Test/Media/Materials/Textures/AxiomIcon.ico =================================================================== (Binary files differ) Property changes on: DotScene/trunk/DotScene.Test/Media/Materials/Textures/AxiomIcon.ico ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: DotScene/trunk/DotScene.Test/Media/Materials/Textures/GreenSkin.jpg =================================================================== (Binary files differ) Property changes on: DotScene/trunk/DotScene.Test/Media/Materials/Textures/GreenSkin.jpg ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: DotScene/trunk/DotScene.Test/Media/Materials/Textures/SkyBoxes.zip =================================================================== (Binary files differ) Property changes on: DotScene/trunk/DotScene.Test/Media/Materials/Textures/SkyBoxes.zip ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: DotScene/trunk/DotScene.Test/Media/Materials/Textures/WeirdEye.png =================================================================== (Binary files differ) Property changes on: DotScene/trunk/DotScene.Test/Media/Materials/Textures/WeirdEye.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: DotScene/trunk/DotScene.Test/Media/Materials/Textures/spheremap.png =================================================================== (Binary files differ) Property changes on: DotScene/trunk/DotScene.Test/Media/Materials/Textures/spheremap.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: DotScene/trunk/DotScene.Test/Media/Materials/Textures/tusk.jpg =================================================================== (Binary files differ) Property changes on: DotScene/trunk/DotScene.Test/Media/Materials/Textures/tusk.jpg ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: DotScene/trunk/DotScene.Test/Media/Models/ogrehead.mesh =================================================================== (Binary files differ) Property changes on: DotScene/trunk/DotScene.Test/Media/Models/ogrehead.mesh ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2010-10-20 08:18:00
|
Revision: 225 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=225&view=rev Author: borrillis Date: 2010-10-20 08:17:41 +0000 (Wed, 20 Oct 2010) Log Message: ----------- Added unit tests, requires mbUnit Modified Paths: -------------- OpenAsset/trunk/src/OpenAsset2010.sln Added Paths: ----------- OpenAsset/trunk/src/OpenAsset.Import.Tests/ OpenAsset/trunk/src/OpenAsset.Import.Tests/AssetTestFixture.cs OpenAsset/trunk/src/OpenAsset.Import.Tests/ColladaTestFixture.cs OpenAsset/trunk/src/OpenAsset.Import.Tests/OpenAsset.Import.Collada.Tests.csproj OpenAsset/trunk/src/OpenAsset.Import.Tests/Properties/ OpenAsset/trunk/src/OpenAsset.Import.Tests/Properties/AssemblyInfo.cs Added: OpenAsset/trunk/src/OpenAsset.Import.Tests/AssetTestFixture.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Tests/AssetTestFixture.cs (rev 0) +++ OpenAsset/trunk/src/OpenAsset.Import.Tests/AssetTestFixture.cs 2010-10-20 08:17:41 UTC (rev 225) @@ -0,0 +1,124 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.IO; +using System.Xml.Serialization; + +using Gallio.Framework; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace OpenAsset.Import.Collada.Tests +{ + [TestFixture] + public class AssetTestFixture + { + #region Helpers + private static global::Collada Deserialize( string collada ) + { + byte[] bytes = ( new System.Text.UTF8Encoding() ).GetBytes( collada ); + + var stream = new MemoryStream( bytes ); + + var serializer = new XmlSerializer( typeof( global::Collada ) ); + // Declare an object variable of the type to be deserialized. + global::Collada i; + + // Call the Deserialize method to restore the object's state. + i = (global::Collada)serializer.Deserialize( stream ); + return i; + } + #endregion Helpers + + [Test] + public void contributorElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset><contributor></contributor></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i.asset ); + Assert.IsNotNull( i.asset.contributor ); + } + + [Test] + public void createdElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset><created>2009-01-18T04:21:00Z</created></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i.asset ); + Assert.IsNotNull( i.asset.created ); + } + + [Test] + public void keywordsElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset><keywords></keywords></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i.asset ); + Assert.IsNotNull( i.asset.keywords ); + } + + [Test] + public void modifiedElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset><modified>2009-01-18T04:21:00Z</modified></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i.asset ); + Assert.IsNotNull( i.asset.modified ); + } + + [Test] + public void revisionElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset><revision></revision></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i.asset ); + Assert.IsNotNull( i.asset.revision ); + } + + [Test] + public void subjectElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset><subject></subject></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i.asset ); + Assert.IsNotNull( i.asset.subject ); + } + + [Test] + public void titleElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset><title></title></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i.asset ); + Assert.IsNotNull( i.asset.title ); + } + + [Test] + public void unitElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset><unit></unit></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i.asset ); + Assert.IsNotNull( i.asset.unit ); + } + + [Test] + public void up_axisElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset><up_axis>Y_UP</up_axis></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i.asset ); + Assert.IsNotNull( i.asset.up_axis ); + } + + } +} Property changes on: OpenAsset/trunk/src/OpenAsset.Import.Tests/AssetTestFixture.cs ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: OpenAsset/trunk/src/OpenAsset.Import.Tests/ColladaTestFixture.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Tests/ColladaTestFixture.cs (rev 0) +++ OpenAsset/trunk/src/OpenAsset.Import.Tests/ColladaTestFixture.cs 2010-10-20 08:17:41 UTC (rev 225) @@ -0,0 +1,77 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.IO; +using System.Xml.Serialization; + +using Gallio.Framework; +using MbUnit.Framework; +using MbUnit.Framework.ContractVerifiers; + +namespace OpenAsset.Import.Collada.Tests +{ + [TestFixture] + public class ColladaTestFixture + { + #region Helpers + private static global::Collada Deserialize( string collada ) + { + byte[] bytes = ( new System.Text.UTF8Encoding() ).GetBytes( collada ); + + var stream = new MemoryStream( bytes ); + + var serializer = new XmlSerializer( typeof( global::Collada ) ); + // Declare an object variable of the type to be deserialized. + global::Collada i; + + // Call the Deserialize method to restore the object's state. + i = (global::Collada)serializer.Deserialize( stream ); + return i; + } + #endregion Helpers + + [Test] + [ExpectedArgumentNullException()] + public void versionRequired_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema'></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i ); + } + + [Test] + public void versionAttribute_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i ); + Assert.AreEqual( "1.4.1", i.version ); + } + + [Test] + public void assetElement_Required_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i ); + Assert.AreEqual( "1.4.1", i.version ); + Assert.IsNotNull( i.asset ); + } + + [Test] + public void assetElement_Test() + { + string collada = "<?xml version='1.0'?><COLLADA xmlns='http://www.collada.org/2005/11/COLLADASchema' version='1.4.1'><asset></asset></COLLADA>"; + global::Collada i = Deserialize( collada ); + + Assert.IsNotNull( i ); + Assert.AreEqual( "1.4.1", i.version ); + Assert.IsNotNull( i.asset ); + } + + + } +} Property changes on: OpenAsset/trunk/src/OpenAsset.Import.Tests/ColladaTestFixture.cs ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Added: OpenAsset/trunk/src/OpenAsset.Import.Tests/OpenAsset.Import.Collada.Tests.csproj =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Tests/OpenAsset.Import.Collada.Tests.csproj (rev 0) +++ OpenAsset/trunk/src/OpenAsset.Import.Tests/OpenAsset.Import.Collada.Tests.csproj 2010-10-20 08:17:41 UTC (rev 225) @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>9.0.21022</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{BADFE3D0-E593-4E6E-843F-CAED1690FC74}</ProjectGuid> + <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <OutputType>Library</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>OpenAsset.Import.Tests</RootNamespace> + <AssemblyName>OpenAsset.Import.Tests</AssemblyName> + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="Axiom"> + <HintPath>..\..\lib\Axiom.dll</HintPath> + </Reference> + <Reference Include="Gallio" /> + <Reference Include="MbUnit" /> + <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /> + <Reference Include="System" /> + <Reference Include="System.Data" /> + <Reference Include="System.Xml" /> + <Reference Include="Gallio35" /> + <Reference Include="MbUnit35" /> + <Reference Include="System.Core"> + <RequiredTargetFramework>4.0</RequiredTargetFramework> + </Reference> + <Reference Include="System.Xml.Linq"> + <RequiredTargetFramework>4.0</RequiredTargetFramework> + </Reference> + <Reference Include="System.Data.DataSetExtensions"> + <RequiredTargetFramework>4.0</RequiredTargetFramework> + </Reference> + </ItemGroup> + <ItemGroup> + <Compile Include="AssetTestFixture.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="ColladaTestFixture.cs" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\OpenAsset.Import.Collada\OpenAsset.Import.Collada.csproj"> + <Project>{D4B24520-EEFE-4780-872D-E64B6AA2ABBE}</Project> + <Name>OpenAsset.Import.Collada</Name> + </ProjectReference> + <ProjectReference Include="..\OpenAsset.Import\OpenAsset.Import.csproj"> + <Project>{A9E148C0-69E0-4300-8AA5-DA2934A7B7C6}</Project> + <Name>OpenAsset.Import</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> +</Project> \ No newline at end of file Property changes on: OpenAsset/trunk/src/OpenAsset.Import.Tests/OpenAsset.Import.Collada.Tests.csproj ___________________________________________________________________ Added: svn:eol-style + native Added: OpenAsset/trunk/src/OpenAsset.Import.Tests/Properties/AssemblyInfo.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Tests/Properties/AssemblyInfo.cs (rev 0) +++ OpenAsset/trunk/src/OpenAsset.Import.Tests/Properties/AssemblyInfo.cs 2010-10-20 08:17:41 UTC (rev 225) @@ -0,0 +1,35 @@ +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( "OpenAsset.Import.Tests" )] +[assembly: AssemblyDescription( "" )] +[assembly: AssemblyConfiguration( "" )] +[assembly: AssemblyCompany( "Microsoft" )] +[assembly: AssemblyProduct( "OpenAsset.Import.Tests" )] +[assembly: AssemblyCopyright( "Copyright © Microsoft 2010" )] +[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. +[assembly: ComVisible( false )] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid( "04bca801-9670-4c00-8212-5eb92d0bd72c" )] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion( "1.0.0.0" )] +[assembly: AssemblyFileVersion( "1.0.0.0" )] Property changes on: OpenAsset/trunk/src/OpenAsset.Import.Tests/Properties/AssemblyInfo.cs ___________________________________________________________________ Added: svn:keywords + Author Date Id Revision Added: svn:eol-style + native Modified: OpenAsset/trunk/src/OpenAsset2010.sln =================================================================== --- OpenAsset/trunk/src/OpenAsset2010.sln 2010-10-20 03:37:18 UTC (rev 224) +++ OpenAsset/trunk/src/OpenAsset2010.sln 2010-10-20 08:17:41 UTC (rev 225) @@ -7,6 +7,8 @@ EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenAsset.Import.DotScene", "OpenAsset.Import.DotScene\OpenAsset.Import.DotScene.csproj", "{908D43FC-58F9-45A4-9804-36E561693BA1}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenAsset.Import.Collada.Tests", "OpenAsset.Import.Tests\OpenAsset.Import.Collada.Tests.csproj", "{BADFE3D0-E593-4E6E-843F-CAED1690FC74}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -47,6 +49,16 @@ {908D43FC-58F9-45A4-9804-36E561693BA1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU {908D43FC-58F9-45A4-9804-36E561693BA1}.Release|Mixed Platforms.Build.0 = Release|Any CPU {908D43FC-58F9-45A4-9804-36E561693BA1}.Release|x86.ActiveCfg = Release|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Debug|x86.ActiveCfg = Debug|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Release|Any CPU.Build.0 = Release|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {BADFE3D0-E593-4E6E-843F-CAED1690FC74}.Release|x86.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2010-10-20 03:37:26
|
Revision: 224 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=224&view=rev Author: borrillis Date: 2010-10-20 03:37:18 +0000 (Wed, 20 Oct 2010) Log Message: ----------- Clean code Modified Paths: -------------- OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/Collada.cs Modified: OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/Collada.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/Collada.cs 2010-10-19 18:41:37 UTC (rev 223) +++ OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/Collada.cs 2010-10-20 03:37:18 UTC (rev 224) @@ -1,305 +1,314 @@ using System.Xml.Serialization; using System.Collections.Generic; +using System; +[System.Xml.Serialization.XmlTypeAttribute( Namespace = "http://www.collada.org/2005/11/COLLADASchema" )] +[System.Xml.Serialization.XmlRootAttribute( "COLLADA", Namespace = "http://www.collada.org/2005/11/COLLADASchema", IsNullable = false )] public class Collada : ColladaBase - { - private Asset assetField; +{ - private List<LibraryAnimations> libraryAnimationsField; - private List<LibraryAnimationClips> libraryAnimationClipsField; + private string versionField; + [XmlAttribute( "version")] + public string version + { + get + { + return this.versionField; + } + set + { + if ( value == null ) + throw new ArgumentNullException( "version", "version attribute is required." ); + this.versionField = value; + this.RaisePropertyChanged( "version" ); + } + } - private List<LibraryCameras> libraryCamerasField; + private Asset assetField; + [XmlElement( "asset")] + public Asset asset + { + get + { + return this.assetField; + } + set + { + this.assetField = value; + this.RaisePropertyChanged( "asset" ); + } + } - private List<LibraryControllers> libraryControllersField; + //private List<LibraryAnimations> libraryAnimationsField; - private List<LibraryGeometries> libraryGeometriesField; + //private List<LibraryAnimationClips> libraryAnimationClipsField; - private List<LibraryEffects> libraryEffectsField; + //private List<LibraryCameras> libraryCamerasField; - private List<LibraryForceFields> libraryForceFieldsField; + //private List<LibraryControllers> libraryControllersField; - private List<LibraryImages> libraryImagesField; + //private List<LibraryGeometries> libraryGeometriesField; - private List<LibraryLights> libraryLightsField; + //private List<LibraryEffects> libraryEffectsField; - private List<LibraryMaterials> libraryMaterialsField; + //private List<LibraryForceFields> libraryForceFieldsField; - private List<LibraryNodes> libraryNodesField; + //private List<LibraryImages> libraryImagesField; - private List<LibraryPhysicsMaterials> libraryPhysicsMaterialsField; + //private List<LibraryLights> libraryLightsField; - private List<LibraryPhysicsModels> libraryPhysicsModelsField; + //private List<LibraryMaterials> libraryMaterialsField; - private List<LibraryPhysicsScenes> libraryPhysicsScenesField; + //private List<LibraryNodes> libraryNodesField; - private List<LibraryVisualScenes> libraryVisualScenesField; + //private List<LibraryPhysicsMaterials> libraryPhysicsMaterialsField; - private Scene sceneField; + //private List<LibraryPhysicsModels> libraryPhysicsModelsField; - private List<Extra> extraField; + //private List<LibraryPhysicsScenes> libraryPhysicsScenesField; - private string versionField; + //private List<LibraryVisualScenes> libraryVisualScenesField; + //private Scene sceneField; - [XmlElement("asset")] - public Asset asset - { - get { - return this.assetField; - } - set { - this.assetField = value; - this.RaisePropertyChanged("asset"); - } - } + //private List<Extra> extraField; - [XmlElement("library_animations")] - public List<LibraryAnimations> libraryanimations - { - get { - return this.libraryAnimationsField; - } - set { - this.libraryAnimationsField = value; - this.RaisePropertyChanged("libraryanimations"); - } - } + //[XmlElement("library_animations")] + //public List<LibraryAnimations> libraryanimations + //{ + // get { + // return this.libraryAnimationsField; + // } + // set { + // this.libraryAnimationsField = value; + // this.RaisePropertyChanged("libraryanimations"); + // } + //} - [XmlElement("library_animation_clips")] - public List<LibraryAnimationClips> libraryanimationclips - { - get - { - return this.libraryAnimationClipsField; - } - set - { - this.libraryAnimationClipsField = value; - this.RaisePropertyChanged("libraryanimationclips"); - } - } + //[XmlElement("library_animation_clips")] + //public List<LibraryAnimationClips> libraryanimationclips + //{ + // get + // { + // return this.libraryAnimationClipsField; + // } + // set + // { + // this.libraryAnimationClipsField = value; + // this.RaisePropertyChanged("libraryanimationclips"); + // } + //} - [XmlElement("library_cameras")] - public List<LibraryCameras> librarycameras - { - get - { - return this.libraryCamerasField; - } - set - { - this.libraryCamerasField = value; - this.RaisePropertyChanged("librarycameras"); - } - } + //[XmlElement("library_cameras")] + //public List<LibraryCameras> librarycameras + //{ + // get + // { + // return this.libraryCamerasField; + // } + // set + // { + // this.libraryCamerasField = value; + // this.RaisePropertyChanged("librarycameras"); + // } + //} - [XmlElement("library_controllers")] - public List<LibraryControllers> librarycontrollers - { - get - { - return this.libraryControllersField; - } - set - { - this.libraryControllersField = value; - this.RaisePropertyChanged("librarycontrollers"); - } - } + //[XmlElement("library_controllers")] + //public List<LibraryControllers> librarycontrollers + //{ + // get + // { + // return this.libraryControllersField; + // } + // set + // { + // this.libraryControllersField = value; + // this.RaisePropertyChanged("librarycontrollers"); + // } + //} - [XmlElement("library_geometries")] - public List<LibraryGeometries> librarygeometries - { - get - { - return this.libraryGeometriesField; - } - set - { - this.libraryGeometriesField = value; - this.RaisePropertyChanged("librarygeometries"); - } - } + //[XmlElement("library_geometries")] + //public List<LibraryGeometries> librarygeometries + //{ + // get + // { + // return this.libraryGeometriesField; + // } + // set + // { + // this.libraryGeometriesField = value; + // this.RaisePropertyChanged("librarygeometries"); + // } + //} - [XmlElement("library_effects")] - public List<LibraryEffects> libraryeffects - { - get - { - return this.libraryEffectsField; - } - set - { - this.libraryEffectsField = value; - this.RaisePropertyChanged("libraryeffects"); - } - } + //[XmlElement("library_effects")] + //public List<LibraryEffects> libraryeffects + //{ + // get + // { + // return this.libraryEffectsField; + // } + // set + // { + // this.libraryEffectsField = value; + // this.RaisePropertyChanged("libraryeffects"); + // } + //} - [XmlElement("library_force_fields")] - public List<LibraryForceFields> libraryforcefields - { - get - { - return this.libraryForceFieldsField; - } - set - { - this.libraryForceFieldsField = value; - this.RaisePropertyChanged("libraryforcefields"); - } - } + //[XmlElement("library_force_fields")] + //public List<LibraryForceFields> libraryforcefields + //{ + // get + // { + // return this.libraryForceFieldsField; + // } + // set + // { + // this.libraryForceFieldsField = value; + // this.RaisePropertyChanged("libraryforcefields"); + // } + //} - [XmlElement("library_images")] - public List<LibraryImages> libraryImages - { - get - { - return this.libraryImagesField; - } - set - { - this.libraryImagesField = value; - this.RaisePropertyChanged("libraryimagesfield"); - } - } + //[XmlElement("library_images")] + //public List<LibraryImages> libraryImages + //{ + // get + // { + // return this.libraryImagesField; + // } + // set + // { + // this.libraryImagesField = value; + // this.RaisePropertyChanged("libraryimagesfield"); + // } + //} - [XmlElement("library_lights")] - public List<LibraryLights> librarylights - { - get - { - return this.libraryLightsField; - } - set - { - this.libraryLightsField = value; - this.RaisePropertyChanged("librarylights"); - } - } + //[XmlElement("library_lights")] + //public List<LibraryLights> librarylights + //{ + // get + // { + // return this.libraryLightsField; + // } + // set + // { + // this.libraryLightsField = value; + // this.RaisePropertyChanged("librarylights"); + // } + //} - [XmlElement("library_materials")] - public List<LibraryMaterials> librarymaterials - { - get - { - return this.libraryMaterialsField; - } - set - { - this.libraryMaterialsField = value; - this.RaisePropertyChanged("librarymaterials"); - } - } + //[XmlElement("library_materials")] + //public List<LibraryMaterials> librarymaterials + //{ + // get + // { + // return this.libraryMaterialsField; + // } + // set + // { + // this.libraryMaterialsField = value; + // this.RaisePropertyChanged("librarymaterials"); + // } + //} - [XmlElement("library_nodes")] - public List<LibraryNodes> librarynodes - { - get - { - return this.libraryNodesField; - } - set - { - this.libraryNodesField = value; - this.RaisePropertyChanged("librarynodes"); - } - } + //[XmlElement("library_nodes")] + //public List<LibraryNodes> librarynodes + //{ + // get + // { + // return this.libraryNodesField; + // } + // set + // { + // this.libraryNodesField = value; + // this.RaisePropertyChanged("librarynodes"); + // } + //} - [XmlElement("library_physics_materials")] - public List<LibraryPhysicsMaterials> libraryphysicsmaterials - { - get - { - return this.libraryPhysicsMaterialsField; - } - set - { - this.libraryPhysicsMaterialsField = value; - this.RaisePropertyChanged("libraryphysicsmaterials"); - } - } + //[XmlElement("library_physics_materials")] + //public List<LibraryPhysicsMaterials> libraryphysicsmaterials + //{ + // get + // { + // return this.libraryPhysicsMaterialsField; + // } + // set + // { + // this.libraryPhysicsMaterialsField = value; + // this.RaisePropertyChanged("libraryphysicsmaterials"); + // } + //} - [XmlElement("library_physics_models")] - public List<LibraryPhysicsModels> libraryphysicsmodels - { - get - { - return this.libraryPhysicsModelsField; - } - set - { - this.libraryPhysicsModelsField = value; - this.RaisePropertyChanged("libraryphysicsmodels"); - } - } + //[XmlElement("library_physics_models")] + //public List<LibraryPhysicsModels> libraryphysicsmodels + //{ + // get + // { + // return this.libraryPhysicsModelsField; + // } + // set + // { + // this.libraryPhysicsModelsField = value; + // this.RaisePropertyChanged("libraryphysicsmodels"); + // } + //} - [XmlElement("library_physics_scenes")] - public List<LibraryPhysicsScenes> libraryphysicsscenes - { - get - { - return this.libraryPhysicsScenesField; - } - set - { - this.libraryPhysicsScenesField = value; - this.RaisePropertyChanged("libraryphysicsscenes"); - } - } + //[XmlElement("library_physics_scenes")] + //public List<LibraryPhysicsScenes> libraryphysicsscenes + //{ + // get + // { + // return this.libraryPhysicsScenesField; + // } + // set + // { + // this.libraryPhysicsScenesField = value; + // this.RaisePropertyChanged("libraryphysicsscenes"); + // } + //} - [XmlElement("library_visual_scenes")] - public List<LibraryVisualScenes> libraryvisualscenes - { - get - { - return this.libraryVisualScenesField; - } - set - { - this.libraryVisualScenesField = value; - this.RaisePropertyChanged("libraryvisualscenes"); - } - } + //[XmlElement("library_visual_scenes")] + //public List<LibraryVisualScenes> libraryvisualscenes + //{ + // get + // { + // return this.libraryVisualScenesField; + // } + // set + // { + // this.libraryVisualScenesField = value; + // this.RaisePropertyChanged("libraryvisualscenes"); + // } + //} - [XmlElement("scene")] - public Scene scene - { - get - { - return this.sceneField; - } - set - { - this.sceneField = value; - this.RaisePropertyChanged("scene"); - } - } + //[XmlElement("scene")] + //public Scene scene + //{ + // get + // { + // return this.sceneField; + // } + // set + // { + // this.sceneField = value; + // this.RaisePropertyChanged("scene"); + // } + //} - [XmlElement("extra")] - public List<Extra> extra - { - get - { - return this.extraField; - } - set - { - this.extraField = value; - this.RaisePropertyChanged("extra"); - } - } + //[XmlElement("extra")] + //public List<Extra> extra + //{ + // get + // { + // return this.extraField; + // } + // set + // { + // this.extraField = value; + // this.RaisePropertyChanged("extra"); + // } + //} - [XmlElement("version")] - public string version - { - get { - return this.versionField; - } - set { - this.versionField = value; - this.RaisePropertyChanged("version"); - } - } - } \ No newline at end of file +} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bor...@us...> - 2010-10-19 18:41:44
|
Revision: 223 http://axiomcontrib.svn.sourceforge.net/axiomcontrib/?rev=223&view=rev Author: borrillis Date: 2010-10-19 18:41:37 +0000 (Tue, 19 Oct 2010) Log Message: ----------- Fixed references to Axiom Fixed Spelling erro in class name Fixed visibility of constructor Added need constructor Modified Paths: -------------- OpenAsset/trunk/src/OpenAsset.Import/OpenAsset.Import.csproj OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/ColladaBase.cs OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/FxNewParamCommon.cs OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/LibraryGeometries.cs OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/LibraryMaterials.cs OpenAsset/trunk/src/OpenAsset.Import.Collada/OpenAsset.Import.Collada.csproj OpenAsset/trunk/src/OpenAsset.Import.Collada/ParsingEngine/Parser.cs OpenAsset/trunk/src/OpenAsset.Import.Collada/Plugin/AssetImporter.cs OpenAsset/trunk/src/OpenAsset.Import.Collada/Plugin/AssetPlugin.cs OpenAsset/trunk/src/OpenAsset.Import.DotScene/OpenAsset.Import.DotScene.csproj Added Paths: ----------- OpenAsset/trunk/src/OpenAsset.Import/AssetParserBase.cs Removed Paths: ------------- OpenAsset/trunk/src/OpenAsset.Import/AssetParcerBase.cs Deleted: OpenAsset/trunk/src/OpenAsset.Import/AssetParcerBase.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import/AssetParcerBase.cs 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import/AssetParcerBase.cs 2010-10-19 18:41:37 UTC (rev 223) @@ -1,33 +0,0 @@ -using System; -using System.IO; -using System.Xml; - -namespace OpenAsset.Import -{ - public abstract class AssetParcerBase - { - protected Stream _Stream; - protected string _GroupName; - protected string _FileName; - - AssetParcerBase(Stream stream, string groupName, string fileName) - { - _Stream = stream; - _GroupName = groupName; - _FileName = fileName; - - //if (OpenFile()) - //{ - // ReadContents(); - //} - } - - ~AssetParcerBase() - { - //_Stream.Close; - } - - public abstract void OpenFile(); - public abstract void ReadContents(); - } -} Copied: OpenAsset/trunk/src/OpenAsset.Import/AssetParserBase.cs (from rev 221, OpenAsset/trunk/src/OpenAsset.Import/AssetParcerBase.cs) =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import/AssetParserBase.cs (rev 0) +++ OpenAsset/trunk/src/OpenAsset.Import/AssetParserBase.cs 2010-10-19 18:41:37 UTC (rev 223) @@ -0,0 +1,33 @@ +using System; +using System.IO; +using System.Xml; + +namespace OpenAsset.Import +{ + public abstract class AssetParserBase + { + protected Stream _Stream; + protected string _GroupName; + protected string _FileName; + + public AssetParserBase(Stream stream, string groupName, string fileName) + { + _Stream = stream; + _GroupName = groupName; + _FileName = fileName; + + //if (OpenFile()) + //{ + // ReadContents(); + //} + } + + ~AssetParserBase() + { + //_Stream.Close; + } + + public abstract void OpenFile(); + public abstract void ReadContents(); + } +} Modified: OpenAsset/trunk/src/OpenAsset.Import/OpenAsset.Import.csproj =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import/OpenAsset.Import.csproj 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import/OpenAsset.Import.csproj 2010-10-19 18:41:37 UTC (rev 223) @@ -36,7 +36,7 @@ </PropertyGroup> <ItemGroup> <Reference Include="Axiom"> - <HintPath>..\..\..\..\..\axiomengine\Projects\Axiom\Engine\bin\x86\Axiom.dll</HintPath> + <HintPath>..\..\lib\Axiom.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.Core"> @@ -53,7 +53,7 @@ </ItemGroup> <ItemGroup> <Compile Include="AssetImporterBase.cs" /> - <Compile Include="AssetParcerBase.cs" /> + <Compile Include="AssetParserBase.cs" /> <Compile Include="AssetPluginFramework\AssetPluginAttribute.cs" /> <Compile Include="Plugin.cs" /> <Compile Include="AssetPluginFramework\IAssetPlugin.cs" /> Modified: OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/ColladaBase.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/ColladaBase.cs 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/ColladaBase.cs 2010-10-19 18:41:37 UTC (rev 223) @@ -1,6 +1,6 @@ using System.ComponentModel; -public abstract class ColladaBase: ColladaBase +public abstract class ColladaBase { public event PropertyChangedEventHandler PropertyChanged; Modified: OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/FxNewParamCommon.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/FxNewParamCommon.cs 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/FxNewParamCommon.cs 2010-10-19 18:41:37 UTC (rev 223) @@ -33,7 +33,7 @@ /// <remarks/> [XmlElement("semantic")] - public string sid + public string semantic { get { @@ -41,7 +41,7 @@ } set { - this.sidField = value; + this.semanticField = value; this.RaisePropertyChanged("semantic"); } } Modified: OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/LibraryGeometries.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/LibraryGeometries.cs 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/LibraryGeometries.cs 2010-10-19 18:41:37 UTC (rev 223) @@ -1,4 +1,5 @@ using System.Xml.Serialization; +using System.Collections.Generic; /// <remarks/> [System.SerializableAttribute()] Modified: OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/LibraryMaterials.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/LibraryMaterials.cs 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import.Collada/Collada_1_4/LibraryMaterials.cs 2010-10-19 18:41:37 UTC (rev 223) @@ -1,4 +1,5 @@ using System.Xml.Serialization; +using System.Collections.Generic; /// <remarks/> [System.SerializableAttribute()] Modified: OpenAsset/trunk/src/OpenAsset.Import.Collada/OpenAsset.Import.Collada.csproj =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Collada/OpenAsset.Import.Collada.csproj 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import.Collada/OpenAsset.Import.Collada.csproj 2010-10-19 18:41:37 UTC (rev 223) @@ -50,6 +50,9 @@ <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> + <Reference Include="Axiom"> + <HintPath>..\..\lib\Axiom.dll</HintPath> + </Reference> <Reference Include="System" /> <Reference Include="System.Core"> <RequiredTargetFramework>3.5</RequiredTargetFramework> @@ -209,12 +212,6 @@ <Compile Include="Collada_1_4\SourceTechniqueCommon.cs" /> </ItemGroup> <ItemGroup> - <ProjectReference Include="..\OpenAsset.Import\OpenAsset.Import.csproj"> - <Project>{A9E148C0-69E0-4300-8AA5-DA2934A7B7C6}</Project> - <Name>OpenAsset.Import</Name> - </ProjectReference> - </ItemGroup> - <ItemGroup> <None Include="Collada_1_4\collada_schema_1_4.xsd"> <SubType>Designer</SubType> </None> @@ -236,6 +233,12 @@ <Install>true</Install> </BootstrapperPackage> </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\OpenAsset.Import\OpenAsset.Import.csproj"> + <Project>{A9E148C0-69E0-4300-8AA5-DA2934A7B7C6}</Project> + <Name>OpenAsset.Import</Name> + </ProjectReference> + </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. Modified: OpenAsset/trunk/src/OpenAsset.Import.Collada/ParsingEngine/Parser.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Collada/ParsingEngine/Parser.cs 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import.Collada/ParsingEngine/Parser.cs 2010-10-19 18:41:37 UTC (rev 223) @@ -2,18 +2,22 @@ using System.Xml; using OpenAsset.Import; +using System.IO; namespace OpenAsset.Import.Collada { - public class Parser:AssetParcerBase + public class Parser:AssetParserBase { private XmlReader _Reader; private XmlNode _RootNode; private float _UnitSize = 1.0f; private UpDirection _UpDirection = UpDirection.Z; - private FormatVersion _Format = FormatVersion.v1_5; + private FormatVersion _Format = FormatVersion.v1_5; - public override bool OpenFile() + Parser( Stream stream, string groupName, string fileName ) : base(stream, groupName, fileName ) + {} + + public override void OpenFile() { } Modified: OpenAsset/trunk/src/OpenAsset.Import.Collada/Plugin/AssetImporter.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Collada/Plugin/AssetImporter.cs 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import.Collada/Plugin/AssetImporter.cs 2010-10-19 18:41:37 UTC (rev 223) @@ -1,7 +1,5 @@ using System; -using Axiom.Core; -using Axiom.Scripting; using OpenAsset.Import; namespace OpenAsset.Import Modified: OpenAsset/trunk/src/OpenAsset.Import.Collada/Plugin/AssetPlugin.cs =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.Collada/Plugin/AssetPlugin.cs 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import.Collada/Plugin/AssetPlugin.cs 2010-10-19 18:41:37 UTC (rev 223) @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using Axiom.Core; using OpenAsset.Import; namespace OpenAsset.Import.Collada Modified: OpenAsset/trunk/src/OpenAsset.Import.DotScene/OpenAsset.Import.DotScene.csproj =================================================================== --- OpenAsset/trunk/src/OpenAsset.Import.DotScene/OpenAsset.Import.DotScene.csproj 2010-10-19 18:40:13 UTC (rev 222) +++ OpenAsset/trunk/src/OpenAsset.Import.DotScene/OpenAsset.Import.DotScene.csproj 2010-10-19 18:41:37 UTC (rev 223) @@ -35,6 +35,9 @@ <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> + <Reference Include="Axiom"> + <HintPath>..\..\lib\Axiom.dll</HintPath> + </Reference> <Reference Include="System" /> <Reference Include="System.Core"> <RequiredTargetFramework>3.5</RequiredTargetFramework> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |