58 Commits

Author SHA1 Message Date
Konstantin Koch
85322e2363 Migrated Primitives, RecordingSample, RenderTarget and SimpleSprite. Also implemented DynamicBuffers and fixed many Dispose functions
increased the amount of shared code between vertex and index buffers
fixed GraphicsDevice.Reset() which didn't save the provided presentation
parameters and the backbuffer was still bound after the recent changes
about the rendertargets
Vertex and IndexBuffers that get dynamically generated for the UserDraw
methods dispose the buffers now
Added DebugNames to Index and VertexBuffers and their Dynamic version.
2015-10-04 21:30:00 +02:00
Konstantin Koch
8287c54432 Included the Visual Studio extension and made the necessary changes to make it run.
Replaced the old VS templates with ones that offer more flexiblity.
Started replacing the Content Project for the samples with our custom project type.
Inlcuded a basic not yet working AssimpImporter.
2015-04-08 14:50:03 +02:00
Konstantin Koch
f081f8632a two commits were missing, both by KorsarNek:
"Removed the SupportedPlatformsImpl classes and replaced them with a new SupportedPlatforms attribute on the assembly level.
Removed a few class constructors which could cause problems when loading a game.
Made ResetElapsedTime in the game class reset to 0 instead of TimeSpan.MinValue.
Removed the restriction in the InputDeviceFactory for which InputDevices are supported.
Added a Logger for Metro which works with the current Logger implementation.
Changed that when a platform is recognized that is higher than Windows 8, it gets treated like Windows 8, not like Windows 7.
Due to the SupportedPlatforms change, the assembly loader is now faster in finding out which assemblies contains addIns. For not Metro system, it's also added that a warning gets written if an AddIn references a different ANX version than that of the running assembly.
OpenGL and DirectX have been updated to the newest versions.
XAudio system uses now the same SharpDX version as all the other systems.
ParameterBuffer for WindowsMetro gets now correctly created by considering the size constraints for constant buffers.
Fixed an erroneous finalizer in the xaudio system.
Made the metro projects convert to Windows 8.1, as Windows 8.0 is not supported by the newer SharpDX versions. It's now also necessary to use at least Visual Studio 2013 to build the Metro versions.
Made the samples work again on Windows."

"Fixed the creation of the swap chain for windows metro and removed the dependency of the Metro Rendersystem onto the Metro Platformsytem.
All occurrences of WindowHandles have been replaced with a custom WindowHandle type which should work out of the box in most cases, but does still represent a breaking change to XNA.
The ProjectConverter for Metro was adjusted so that with just changing the way the application is initialized, most projects that worked with ANX before should now work under win rt. The sample SimpleNoContent does now work out of the box for win rt, after a project conversion.
The application name for win rt apps is now a guid, the display name stayed the same though. That's to be more compliant with the way win rt apps are normally created.
The default namespace and namespace of the classes for the Sample "SimpleNoContent" is renamed from "SimpleModernUI" to "SimpleNoContent".
With the new way win rt apps are initialized for ANX, it's necessary to first create the WindowsGameHost for WinRT with a handler how to create the game instance and give that to the CoreApplication object to run it.
Also took care of a few annoying bugs when working with win rt and ANX where no InputDevices could be created on the first frame (Issue #1164 ) and that it wasn't possible to use the localfolder of the application on the first update and all the other stuff for which an instance of the Application class was necessary."
2015-03-29 13:48:33 +02:00
Glatzemann
99216ca254 - Fixed some bugs in build system
- Build system optimizations
- Extended ProjectConverter: DX and SharpDX assemblies are now removed from linux projects to prevent errors
- Fixed a bunch of compiler warnings
- Removed DX11MetroShaderGenerator assembly. It is now included in ANX.Framework.Content.Pipeline
- Removed HLSLParser assembly. It is now included in ANX.Framework.Content.Pipeline.
- Removed shader parser from GL3-RenderSystem. It is now included in ANX.Framework.Content.Pipeline.
- Removed RenderSystem dependencies from StockShaderCodeGenerator (sscg) tool
2015-03-15 01:12:04 +01:00
Glatzemann
e5ac8228ca some more build tweaking for Windows 8 2015-03-15 01:11:26 +01:00
Glatzemann
7ec2f356dc - some more work on build system for Windows 8
- minor tweaking in ProjectConverter for ModernUI / Metro
2015-03-15 01:11:23 +01:00
SND\AstrorEnales_cp
18152ade3e Implemented Feature #1010 by replacing the MsBuild sln-Parsing with our own parser which
enables us to run the project converter on linux. Updated all projects via ProjectConverter.
2015-03-15 01:11:14 +01:00
Glatzemann
694b1a6810 Worked on issue #993: Partly solved. DrawOrder is still open... 2015-03-15 01:11:10 +01:00
SND\eagleeyestudios_cp
6aea2f0fc4 - Updated all Linux projects using the ProjectConverter. (-> This created the missing Linux version of GL3-Rendersystem) 2015-03-15 01:11:02 +01:00
SND\eagleeyestudios_cp
ae61d9850c Fixed some Linux Reference Issues. Linux version of GL3 system still missing 2015-03-15 01:11:00 +01:00
Glatzemann
d98c0890f9 - fixed some issues in build system
- removed ANX.BaseDirectX and replaced it using shared source files
- renamed ANX.Framework.Windows.DX10 to ANX.RenderSystem.Windows.DX10
- some refactoring in ANX.RenderSystem.Windows.DX10
- some refactoring in ANX.RenderSystem.Windows.DX11
- fixed some minor issues in DX10 stock shader generation
- fixed sample projects

There's still an issue with the AddIn-System: The WindowsGame sample does not work currently.
2015-03-15 01:10:50 +01:00
Glatzemann
df1f49462f renamed ANX.RenderSystem.Windows.GL3 to ANX.RenderSystem.GL3 as it is not windows specific (it runs on MacOs X, Linux and Windows) 2015-03-15 01:10:48 +01:00
SND\AstrorEnales_cp
0ef016dc71 - Finished Dx10, Dx11 and Metro AlphaTest.fx and EnvironmentMap.fx shader
- Implemented AlphaTestEffect and EnvironmentMapEffect classes
- Added a lightmap.png and improved the DualTextureSample to show the real deal
- Removed old Metro configurations from csproj-files and converted them anew
- Added DualTextureSample to SampleCatalog.xml
- Fixed a compile error in the PsVitaGameTimer
- PsVitaConverter now removes the not available System.Net reference from projects
2012-09-09 07:55:45 +00:00
SND\AstrorEnales_cp
0fc4409e58 - Fixed the Texture2DReader to correctly fill the texture with the mipmaps
- Implemented Mipmap textures for Dx10, Dx11, GL3. Metro is implemented but has still some problems with mipmaps (probably cause of the vm)
- Added Sample dds texture
- Fixed compiler error in MetroGameTimer
2012-09-08 09:07:23 +00:00
SND\AstrorEnales_cp
32af20abf4 Fixed bug 569: Setting graphics.SynchronizeWithVerticalRetrace in ctor fails 2012-09-03 21:33:45 +00:00
SND\AstrorEnales_cp
2745521141 Refactored the XInput FormatConverter and unknown keys are now ignored instead of throwing NotImplementedException 2012-08-31 16:02:52 +00:00
SND\AstrorEnales_cp
4e3ae6867b Fixed logging in AddInSystemFactory 2012-08-30 14:11:31 +00:00
SND\AstrorEnales_cp
4ec1977383 - Fixed compile errors in the AddInSystem under Metro
- Added OpenAL libraries
- Updated solutions and projects
2012-08-30 09:28:02 +00:00
Glatzemann
0fed6457b9 - Included ProjectConverter in samples build script. Projects are converted, but there are still issues with building sample content for the samples when using psvita or linux e.g. 2012-08-29 19:55:56 +00:00
Glatzemann
aa75450b34 - added samples to build file
- improved error handling and logging during AddIn loading
2012-08-29 18:29:57 +00:00
SND\AstrorEnales_cp
67c9efa6cf - Moved the Wave loading/conversion to an extra project (WaveUtils)
- Started implementation of the Wave Content Pipeline
- Fixed GraphicsDeviceWindowsGL3
2012-08-29 18:07:54 +00:00
SND\AstrorEnales_cp
e23261bfc3 Implemented a lot of basic behaviour in the Media namespace 2012-08-26 10:31:54 +00:00
SND\AstrorEnales_cp
9164b2297e Removed the MediaSystem cause it isn't needed any more. Any stuff that was planned to go in there, will now be in the other systems 2012-08-25 21:22:30 +00:00
SND\AstrorEnales_cp
734679616b - Added ILRepack
- Refactored the AddIn-System to allow merged assemblies (for metro, android, etc. later on)
- Added empty PsVita Sound and Media System modules
- Fixed 2 small missing excludes in the build script
- Cleaned the License headers in the shader files
- Some other refactorings
2012-08-25 17:27:45 +00:00
SND\AstrorEnales_cp
eccbb00742 - Implemented ContentManager.OpenStream for Metro (Texture loading works already)
- Started refactoring all the Metro rendering classes
- Fixed some missing License headers
2012-08-14 08:44:12 +00:00
SND\AstrorEnales_cp
6736698b5c - Added Default Metro Assets to the media path
- The ProjectConverter now adds the default assets to metro projects
- Excluded the Tools projects from the converter
2012-08-13 17:31:28 +00:00
SND\AstrorEnales_cp
67a2c482fd - Working on Metro conversion (adding the AppxManifest automatically)
- Working on Graphics initialization on Metro (already clearing with a bit of hacking!)
2012-08-13 11:23:26 +00:00
SND\AstrorEnales_cp
8881369976 Fixed the Metro converter so that executables are correctly converted. Still need to generate the certificate and add the Assets 2012-08-12 22:17:56 +00:00
SND\AstrorEnales_cp
bf97e6ba69 Updated Metro Converter and fixed a missing project reference 2012-08-12 21:43:28 +00:00
SND\AstrorEnales_cp
ca0d730bbb - Working on Metro Platform and Rendering
- Further implementations in the PsVita RenderSystem
2012-08-12 20:00:19 +00:00
SND\AstrorEnales_cp
5505f7dcbf - Added PlatformSystem Plugins layer
- Started Windows, Metro and Linux Platform-Plugins
- Moved the RecordingSample to the Samples folder
- Started two samples for using the graphics device in a WinForms and Wpf Editor
- Refactorings in the AddIn-System
- Moved the Window initialization-code to the Platform modules
- Changed the License text in all code files which is now way smaller
- Started ProjectConverter tool which converts all the projects and solution to the target configuration
- Changed the SupportedPlatform names in the Resource files
- Changed the WIN8 define to WINDOWSMETRO which is actually meant
- Removed NLog and started our own Logger class
- Many more stuff...
2012-08-09 09:45:04 +00:00
Glatzemann
5ce38121d4 some work on building ANX.Framework for Windows8 / Metro Style 2012-03-26 08:27:29 +00:00
SND\AstrorEnales_cp
1cebf6f91e - Introduced new MediaSystem creator (handling the whole Media namespace)
- Made the plugin handling internally way simpler (no tons of duplicated code anymore)
- Added empty MediaSystem to have a default for now (Windows.OpenAL)
- Added a PercentageCompleteAttribute which will be used to mark the current state of a class (0-100%)
2012-02-15 19:48:46 +00:00
SND\AstrorEnales_cp
b6bd56bab6 Implemented GLSL shader techniques 2012-01-16 13:48:21 +00:00
Glatzemann
1a03ea2ad2 - Removed InputSystemCreators from ANX.InputDevices.OpenTK and ANX.InputDevices.Windows.Kinect as they don't host InputSystems anymore.
- Improved handling of GameWindow handle (needed for mouse and keyboard support)
- Improved exception handling while creating mouse and keyboard instances from InputDevice AddIns.
- Fixed some sample issues (and opened issues at codeplex for some remaining issues)
2011-12-15 09:19:40 +00:00
Glatzemann
71fd33ca49 renamed ANX.Framework.InputDevices.XInput folder in filesystem 2011-12-14 19:30:59 +00:00
Glatzemann
3765f00151 - fixed a minor issue with pathes in MSI-Installer build script
- added creators for concrete InputDevice instances
- added a factory to manage InputDeviceCreators which are located in AddIn assemblies
- implemented some InputDeviceCreators in ANX.InputSystem.Windows.XInput as reference
- created the new InputSystem: ANX.InputSystem.Standard which is the default container for the new InputDevices. It is replaceable by the ANX.InputSystem.Recording e.g.
- added ANX.InputSystem.Standard to build script and MSI-Installer build script
- added ANX.InputSystem.Recording to the MSI-Installer build script
- implemented AvailableNetworkSessions (and fixed another wrong class reported by ANXStatusComparer)
- updated WindowsGame sample to support only one InputSystem at the time (replaced multi SelectBox with ComboBox)
- renamed ANX.InputSystem.Windows.XInput to ANX.InputDevices.Windows.XInput because it no longer contains a InputSystem but InputDevices

This version is UNSTABLE and not TESTED because of massive changes regarding the InputSystem !!!
2011-12-14 19:22:17 +00:00
Glatzemann
2629fa1c81 RenderSystem DX11: it is rendering now 2011-12-14 13:02:49 +00:00
Glatzemann
469620eee7 RenderSystem DX10: implemented IndexBuffer SetData startIndex and elementCount parameters
RenderSystem DX11: fixed effect issue (they are loading)
RenderSystem DX11: implemented startIndex and elementCount parameters for IndexBuffer and VertexBuffer

RenderSystemDX11 still has issues: black screen only
2011-12-14 12:50:44 +00:00
Glatzemann
e1076f8984 added DX11 stock shaders to build system
updated StockShaderCodeGenerator (sscg) to support DX11 shaders
updated the DX11 RenderSystem to be on par with the DX10 RenderSystem (it is currently not working completly because of some issues with shaders)
2011-12-14 11:49:04 +00:00
SND\AstrorEnales_cp
8239306d2e - Implemented RenderTarget in OpenGL
- Implemented dynamic shader attributes mapping in the vertex buffer in OpenGL
2011-12-08 19:48:15 +00:00
Glatzemann
0e1d271195 refactored AddInSystem (testing needed)
implemented feature #469 (Default AddIn override)
2011-12-06 09:11:26 +00:00
Glatzemann
7bc2a4a340 updated samples to test some features 2011-12-05 10:00:33 +00:00
Glatzemann
72f8e735fb fixed issue #475 (OpenGL3 RenderSystem SpriteBatch wrong colors) 2011-12-05 09:39:07 +00:00
Glatzemann
8cc8742f45 - removed some testing code from SimpleSprite sample 2011-12-02 13:01:57 +00:00
Glatzemann
91c412bd00 fixed some major issues with AddInSystemFactory only occuring using Mono 2011-12-01 14:52:10 +00:00
Glatzemann
3879d450b4 added SharpDX.Diagnostics to AddIns using SharpDX for explicit error messages
added information about OperatingSystem and Version to AddInSystemFactory
added IsSupported field to AddIn Creators
AddInSystemFactory now only loads supported AddIns
added Metadata resource files to all AddIns containing information about supported platforms.
2011-12-01 06:28:41 +00:00
Glatzemann
7a417d9484 added RenderTarget sample project (currently XNA version)
updated icons and game thumbnails of sample projects
2011-11-28 11:11:54 +00:00
SND\AstrorEnales_cp
c1f4b8a9be Finally got the GL-Rendering to work, now investigating the
wrong texture
2011-11-21 20:01:03 +00:00
Glatzemann
190f334122 added a new sample: KeyboardSample to investigate issue #455
fixed issue #455
2011-11-21 19:33:09 +00:00