Giter Site home page Giter Site logo

frozenpickle / afterglow Goto Github PK

View Code? Open in Web Editor NEW
15.0 9.0 8.0 30.63 MB

A plugin framework to perform image capturing, colour extraction, post processing and colour output - primarily for use with lighting systems such as for ambient lighting.

License: GNU Lesser General Public License v3.0

C# 82.77% C 2.12% CSS 0.23% JavaScript 3.59% C++ 6.64% Processing 0.43% Smalltalk 0.01% HTML 4.23%

afterglow's People

Contributors

justinstenning avatar mrjono1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

afterglow's Issues

Review capture and output loop logic

Separating the output loop from the capture loop makes sense to allow other plugins to be developed such as "easing" or "smoothing".

Need to review the best approach for implementing this, e.g. should the post-process plugins be run every output loop or only after the capture itself? and so on.

This may mean we need a new plugin type to cater for smoothing type actions.

Home Screen/Preview screen

Code still needs tidying up.
This sceen needs some style, probably a photo of afterglow working.
Include extra stats when preview is running

Authentication Core/UI

This requires further discussion.

When authentication is enabled, does this restrict access to settings or completely restrict access to application

Add authentication to where needed

Support for WS2812B

Support for those LEDs would be very nice, as they are getting more more at market.
I have one strand to test ;)

Update preview UI

Update the preview UI to display using the currently configured Light Setup Plugins dimensions

Edit Application Settings UI

Create an interface to edit the application settings including:
Port
UserName
Password

These settings are only needed if authentication is enabled but it will be a good exercise to understand the UI framework.

It might also be good to add a new property to AfterglowSetup called AuthenticationEnabled and create the UI for it

How am I supposed to use this

Hi ! Impressive work !

I am trying to understand how to use this to include game-capture in one of my program but I am getting confused on what do I need to use. I am a C# beginner.
I can't compile the source code because it doesn't seam to be designed to "Just hit F5 and play around".
I tried adding manually files on another solution but eventually it is not that simple. I just don't get what it is that complicated to just get the video back buffer ...

Thanks for any help, I know this has been quiet for some time, but you never know ...

Plugin Management UI

Create a UI for management of the installed plugins

This will just allow importing and deletion files in the Plugins directory
Maybe also state which plugins cannot be uninstalled
Warn user about removing plugins that are in use etc.

Problems with compilation

Hi guys...

I wanna join the project and bring some stuff from me...
But I have a problem with compilation.

I tried to compile it on VS2010 and VS2012...
Here is output:

Warning 1 'EasyHook.Config.PrintError(string, params object[])' is obsolete: 'This method is exported for internal use only.' D:_Proj\2010\Afterglow\Afterglow.DirectX\InjectionLoaderProxy.cs 27 17 Afterglow.DirectX
Warning 2 Unreachable code detected D:_Proj\2010\Afterglow\Afterglow.DirectX\InjectionLoaderProxy.cs 31 13 Afterglow.DirectX
Warning 3 Field 'Afterglow.DirectX.DXHookD3D11._swapChainPointer' is never assigned to, and will always have its default value D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D11.cs 215 24 Afterglow.DirectX
Warning 4 Field 'Afterglow.DirectX.DXHookD3D10._swapChainPointer' is never assigned to, and will always have its default value D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D10.cs 248 24 Afterglow.DirectX
Warning 5 Field 'Afterglow.DirectX.DXHookD3D10_1._swapChainPointer' is never assigned to, and will always have its default value D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D10_1.cs 252 24 Afterglow.DirectX
Error 6 The type or namespace name 'EasyHook' could not be found (are you missing a using directive or an assembly reference?) D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs 10 7 Afterglow.DirectX.Plugin
Error 7 The type or namespace name 'ScreenshotInterface' does not exist in the namespace 'Afterglow.DirectX' (are you missing an assembly reference?) D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs 15 25 Afterglow.DirectX.Plugin
Error 8 The type or namespace name 'ScreenshotResponse' could not be found (are you missing a using directive or an assembly reference?) D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs 68 17 Afterglow.DirectX.Plugin
Error 9 The command "D:_Proj\2010\Afterglow\External\ILMerge\ILMerge.exe /targetplatform:v4,C:\Windows\Microsoft.NET\Framework\v4.0.30319 /keyfile:D:_Proj\2010\Afterglow\Afterglow.DirectX\keyfile.snk /out:D:_Proj\2010\Afterglow\bin\Afterglow.DirectX.dll D:_Proj\2010\Afterglow\Afterglow.DirectX\bin\x86\Debug\Afterglow.DirectX.dll D:_Proj\2010\Afterglow\Afterglow.DirectX\EasyHookBin\EasyHook.dll" exited with code 1. Afterglow.DirectX
Warning 10 There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "D:_Proj\2010\Afterglow\Afterglow.Core\bin\x86\Debug\Afterglow.Core.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. Afterglow.Web

------ Rebuild All started: Project: Afterglow.Core, Configuration: Debug x86 ------
Afterglow.Core -> D:_Proj\2010\Afterglow\Afterglow.Core\bin\x86\Debug\Afterglow.Core.dll
------ Rebuild All started: Project: Afterglow.DirectX, Configuration: Debug x86 ------
D:_Proj\2010\Afterglow\Afterglow.DirectX\InjectionLoaderProxy.cs(27,17): warning CS0618: 'EasyHook.Config.PrintError(string, params object[])' is obsolete: 'This method is exported for internal use only.'
D:_Proj\2010\Afterglow\Afterglow.DirectX\InjectionLoaderProxy.cs(31,13): warning CS0162: Unreachable code detected
D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D11.cs(215,24): warning CS0649: Field 'Afterglow.DirectX.DXHookD3D11._swapChainPointer' is never assigned to, and will always have its default value
D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D10_1.cs(252,24): warning CS0649: Field 'Afterglow.DirectX.DXHookD3D10_1._swapChainPointer' is never assigned to, and will always have its default value
D:_Proj\2010\Afterglow\Afterglow.DirectX\DXHookD3D10.cs(248,24): warning CS0649: Field 'Afterglow.DirectX.DXHookD3D10._swapChainPointer' is never assigned to, and will always have its default value

Compile complete -- 0 errors, 5 warnings
Afterglow.DirectX -> D:_Proj\2010\Afterglow\Afterglow.DirectX\bin\x86\Debug\Afterglow.DirectX.dll
An exception occurred during merging:
"Cannot find path" 'D:_Proj\2010\Afterglow\bin\Afterglow.DirectX.dll'.
w System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
w System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
w System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
w System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
w System.Compiler.Writer.WritePE(String location, Boolean writeDebugSymbols, Module module, Boolean delaySign, String keyFileName, String keyName)
w System.Compiler.Writer.WritePE(CompilerParameters compilerParameters, Module module)
w ILMerging.ILMerge.Merge()
w ILMerging.ILMerge.Main(String[] args)
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(4264,5): error MSB3073: The command "D:_Proj\2010\Afterglow\External\ILMerge\ILMerge.exe /targetplatform:v4,C:\Windows\Microsoft.NET\Framework\v4.0.30319 /keyfile:D:_Proj\2010\Afterglow\Afterglow.DirectX\keyfile.snk /out:D:_Proj\2010\Afterglow\bin\Afterglow.DirectX.dll D:_Proj\2010\Afterglow\Afterglow.DirectX\bin\x86\Debug\Afterglow.DirectX.dll D:_Proj\2010\Afterglow\Afterglow.DirectX\EasyHookBin\EasyHook.dll" exited with code 1.
------ Rebuild All started: Project: Afterglow.Plugins.Default, Configuration: Debug x86 ------
Afterglow.Plugins.Default -> D:_Proj\2010\Afterglow\Afterglow.Plugins.Default\bin\x86\Debug\Afterglow.Plugins.Default.dll
------ Rebuild All started: Project: Afterglow.DirectX.Plugin, Configuration: Debug x86 ------
D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs(10,7): error CS0246: The type or namespace name 'EasyHook' could not be found (are you missing a using directive or an assembly reference?)
D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs(15,25): error CS0234: The type or namespace name 'ScreenshotInterface' does not exist in the namespace 'Afterglow.DirectX' (are you missing an assembly reference?)
D:_Proj\2010\Afterglow\Afterglow.DirectX.Plugin\Direct3DCapture.cs(68,17): error CS0246: The type or namespace name 'ScreenshotResponse' could not be found (are you missing a using directive or an assembly reference?)

Compile complete -- 3 errors, 0 warnings
------ Rebuild All started: Project: Afterglow.Web, Configuration: Debug x86 ------
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "D:_Proj\2010\Afterglow\Afterglow.Core\bin\x86\Debug\Afterglow.Core.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.
Afterglow.Web -> D:_Proj\2010\Afterglow\Afterglow.Web\bin\Debug\Afterglow.Web.exe
========== Rebuild All: 3 succeeded, 2 failed, 0 skipped ==========

Can you help ? Best regards

Create New Profile

Implement the Create New Profile button
The core will add default plugins
A name will need to be specified by the user

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.