Hi again! :D
I have setup a new project from start and added references etc to make Delta run - it works, however I get weird warning that I won't see in sample projects. I have all the required native and managed dlls in the debug folder so no dependency errors.
Warnings(all from using Material2DColored :
00.013 Warning: We're unable to find any settings implementation for the type 'Delta.Graphics.Graphic'. Settings are: OpenTK. Now trying the first implementation we got.
at Delta.Utilities.Log.Warning(System.String message)
at Delta.Engine.Dynamic.TypeListManager.llCe6x5c7t9iM8F140L(System.Object )
at Delta.Engine.Dynamic.TypeListManager.GetImplementation(System.Type wantedType)
at Delta.Engine.Dynamic.TypeListManager.GetImplementation(System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dOpSxJIXdOWsB4g12WH(System.Object , System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dPmL5ZssPl(System.Type , System.Object )
at Delta.Engine.Dynamic.Factory.sN9UuQImJpFewjPZxoo(System.Type , System.Object )
at Delta.Engine.Dynamic.Factory.Create(System.Type classToCreate)
at Delta.Engine.Dynamic.TypeListManager.BgrgJW5BWLo6vgFe5KJ(System.Type classToCreate)
at Delta.Engine.Dynamic.TypeListManager.nIWcjxaqg(System.Type )
at Delta.Engine.Dynamic.TypeListManager.GetImplementation(System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dOpSxJIXdOWsB4g12WH(System.Object , System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dPmL5ZssPl(System.Type , System.Object )
at Delta.Engine.Dynamic.Factory.Create(System.Object argument)
at Delta.Graphics.Basics.Shader.Create(Delta.Utilities.Graphics.ShaderFeatures.ShaderFeatureFlags shaderFlags)
at Delta.Rendering.Basics.Materials.Material2DColored.FN3lvN0QbMugfMbjFLg(Delta.Utilities.Graphics.ShaderFeatures.ShaderFeatureFlags )
at Delta.Rendering.Basics.Materials.Material2DColored..ctor(Delta.Utilities.Datatypes.Color setColor)
... my own code
01.048 Warning: We're unable to find any settings implementation for the type 'Delta.Graphics.Basics.Shader'. Settings are: OpenTK. Now trying the first implementation we got.
at Delta.Utilities.Log.Warning(System.String message)
at Delta.Engine.Dynamic.TypeListManager.llCe6x5c7t9iM8F140L(System.Object )
at Delta.Engine.Dynamic.TypeListManager.GetImplementation(System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dOpSxJIXdOWsB4g12WH(System.Object , System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dPmL5ZssPl(System.Type , System.Object )
at Delta.Engine.Dynamic.Factory.Create(System.Object argument)
at Delta.Graphics.Basics.Shader.Create(Delta.Utilities.Graphics.ShaderFeatures.ShaderFeatureFlags shaderFlags)
at Delta.Rendering.Basics.Materials.Material2DColored.FN3lvN0QbMugfMbjFLg(Delta.Utilities.Graphics.ShaderFeatures.ShaderFeatureFlags )
at Delta.Rendering.Basics.Materials.Material2DColored..ctor(Delta.Utilities.Datatypes.Color setColor)
... own code
01.154 Warning: We're unable to find any settings implementation for the type 'Delta.Graphics.Basics.Texture'. Settings are: OpenTK. Now trying the first implementation we got.
at Delta.Utilities.Log.Warning(System.String message)
at Delta.Engine.Dynamic.TypeListManager.llCe6x5c7t9iM8F140L(System.Object )
at Delta.Engine.Dynamic.TypeListManager.GetImplementation(System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dOpSxJIXdOWsB4g12WH(System.Object , System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dPmL5ZssPl(System.Type , System.Object )
at Delta.Engine.Dynamic.Factory.Create(System.Object argument)
at Delta.Graphics.Basics.Texture.Create(System.String imageName)
at Delta.Rendering.BaseMaterial.eBMH9rnkQhZJqNJBW3(System.Object )
at Delta.Rendering.BaseMaterial.LIe2o5OLs(System.String , Delta.Graphics.Basics.Shader )
at Delta.Rendering.BaseMaterial..ctor(System.String setDiffuseMapName, Delta.Graphics.Basics.Shader setShader)
at Delta.Rendering.MaterialColored..ctor(System.String setDiffuseMapName, Delta.Graphics.Basics.Shader setShader)
at Delta.Rendering.Basics.Materials.Material2DColored.FOw9y70awhxERcmmgPC(System.Object , System.Object , System.Object )
at Delta.Rendering.Basics.Materials.Material2DColored..ctor(Delta.Utilities.Datatypes.Color setColor)
... my own code
01.203 Warning: We're unable to find any settings implementation for the type 'Delta.Graphics.BaseOpenGL.BaseOpenGLBinding'. Settings are: OpenTK. Now trying the first implementation we got.
at Delta.Utilities.Log.Warning(System.String message)
at Delta.Engine.Dynamic.TypeListManager.llCe6x5c7t9iM8F140L(System.Object )
at Delta.Engine.Dynamic.TypeListManager.GetImplementation(System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dOpSxJIXdOWsB4g12WH(System.Object , System.Type wantedType)
at Delta.Engine.Dynamic.Factory.dPmL5ZssPl(System.Type , System.Object )
at Delta.Engine.Dynamic.Factory.Create()
at Delta.Graphics.BaseOpenGL.BaseOpenGLBinding.get_Instance()
at Delta.Graphics.BaseOpenGL.BaseOpenGLGraphic.oDEZgHMm3yirYaQHj4()
at Delta.Graphics.BaseOpenGL.BaseOpenGLGraphic.SetViewportSize(System.Int32 width, System.Int32 height)
at Delta.Graphics.Graphic.aG2BLXj67mUIinhwgkj(System.Object , System.Int32 width, System.Int32 height)
at Delta.Graphics.Graphic.Run()
at Delta.Engine.Application.y3v3rD0KOrRwSuoJ5sG(System.Object )
at Delta.Engine.Application.Run()
at Delta.Engine.Application.hIs4I10IAYnvlcHK7GO(System.Object )
at Delta.Engine.Application.StartExecutionLoop()
at Delta.Platforms.Windows.WindowsApplication.xEygHVvmSokqSXIhK4h(System.Object )
at Delta.Platforms.Windows.WindowsApplication.StartExecutionLoop()
at Delta.Engine.Application.F4BcqATJ625HMEut5kM(System.Object )
at Delta.Engine.Application.Start(Delta.Engine.Dynamic.RunDelegate setOptionalRunCode)
... my own code
Now the next issue, I want a scene background initialized by :
loadingScreen = new UserScreen("<LoadingScreen>")
{
IsOverlayScreen = true,
Background = new Material2DColored(Color.Red)
};
Since the Color constructor is deprecated I must use a texture :
loadingScreen = new UserScreen("<LoadingScreen>")
{
IsOverlayScreen = true,
Background = new Material2DColored("OneWhiteDotTexture", Color.Red)
};
Where to add the actual content? Or am I getting ahead of myself - is the content side even done yet?
Edited by user Sunday, August 28, 2011 4:20:42 PM(UTC)
| Reason: Not specified