39 Commits

Author SHA1 Message Date
Konstantin Koch
d7f9fe2270 Moved Samples/ModelSample/ModelSample to Samples/ModelSample 2015-11-04 23:42:17 +01: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
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
56488848f2 - fixed issue #1005 (wrong model rendering due to vertex buffer offset problem)
- added new models for testing
2015-03-15 01:10:57 +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
Glatzemann
5406e0213e - fixed some issues in build script
- moved WaveUtils project from SoundSystems to Support folder
2015-03-14 23:31:36 +01:00
SND\AstrorEnales_cp
bf14329432 - Implemented BasicEffect.fx for Dx10, Dx11 and Metro
- Started to work on a Sample to demonstrate all the BasicEffect possibilities
2012-09-09 14:31:03 +00: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
Glatzemann
55fac0cc5a - refactored and fixed game timing and timers (bug #988)
- minor updates in ModelSample
- added new media file: ANX Logo mesh (vertex colors, FBX-Format)
2012-09-01 11:20:05 +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
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
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
6bb1c61be7 Updated Glatzemanns commit into my last one 2012-08-14 08:48:10 +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
Glatzemann
b2bd44289f added some ContentPipeline stuff (upcoming own implementation) 2012-08-14 07:42:00 +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
9cfc4d256d - Started working on AssemblyNameFile to make the Factory work on all systems
- Started PsVita RenderSystem and PlatformSystem (still much todo)
2012-08-11 13:06:29 +00:00
Glatzemann
c4fe773af6 added PlatformSystems to:
- ModelSample (there is a timing issue)
- MultiRenderTarget (not yet implemented)
- Primitives (not completly implemented)
- RecordingSample
- RenderTarget
- StencilBuffer 
- TextRendering 
- VertexIndexBuffer 

Most of the samples are now working again.
2012-08-09 20:53:18 +00:00
SND\AstrorEnales_cp
133135df10 - The ProjectConverter now removes the ContentPipelineExtension target
- Updated Solutions and Projects
2012-08-09 14:57: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
Glatzemann
97bafa68ba Some work on BasicEffect (not finished yet)
Includes for HLSL effects are working now (issue #696)
fixed some samples
2012-03-14 05:54:13 +00:00
SND\GinieDp_cp
2cd5e8b803 - Fixed the ModelSample
- Added texture rendering to ModelSample
2012-03-10 22:29:29 +00:00
SND\GinieDp_cp
5659159780 - added a SimpleEffect.fx to test the model rendering
- fixed model implementation
- enabled all NotImplementedExceptions on BasicEffect again
- disabled property setting in BasicEffectReader, until BasicEffect is implemented
2012-03-10 11:52:21 +00:00
Glatzemann
0bbb2d7b35 Some work on BasicEffect (DirectX 10) because it is preventing the ModelSample from working currently. 2012-03-10 08:36:27 +00:00
SND\GinieDp_cp
f96895d37c Added model sample project 2012-03-09 23:31:13 +00:00