locked
OpenGL support in windows 8 store Application C# RRS feed

  • Question

  • Is OpenGL and OpenGL ES available for Windows 8 Store Application (want to run application in windows 8 pro tablet)?

    and yes then it is available in C#?

    (This above question is because i want chroma key composting "green screen" implement in windows 8 pro using OpenGL)

    Friday, August 16, 2013 9:24 AM

Answers

  • DirectX is available to Windows Store apps. OpenGL is not.

    How best to perform a green screen will depend on what sort of green screen you need. For advanced graphics you generally want DirectX, but for simple static greenscreening you can access a WriteableBitmap's PixelBuffer directly.

    --Rob

    Friday, August 16, 2013 2:12 PM
    Moderator
  • Hello,

    If you are working with live or recorded video you likely will need to write a custom MFT. A MFT is like a software digital signal processor that can process a video stream. MFTs are also plug-ins that can be used to extend the capabilities of the standard media pipeline. Unfortunately at this time you can't write MFTs in C# you can only write them in C++ MoCOM.

    Here are a couple of links to get you started:

    Media extensions sample (Windows 8.1)

    http://code.msdn.microsoft.com/windowsapps/Media-extensions-sample-7b466096

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, August 16, 2013 8:57 PM
    Moderator

All replies

  • DirectX is available to Windows Store apps. OpenGL is not.

    How best to perform a green screen will depend on what sort of green screen you need. For advanced graphics you generally want DirectX, but for simple static greenscreening you can access a WriteableBitmap's PixelBuffer directly.

    --Rob

    Friday, August 16, 2013 2:12 PM
    Moderator
  • Hello,

    If you are working with live or recorded video you likely will need to write a custom MFT. A MFT is like a software digital signal processor that can process a video stream. MFTs are also plug-ins that can be used to extend the capabilities of the standard media pipeline. Unfortunately at this time you can't write MFTs in C# you can only write them in C++ MoCOM.

    Here are a couple of links to get you started:

    Media extensions sample (Windows 8.1)

    http://code.msdn.microsoft.com/windowsapps/Media-extensions-sample-7b466096

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, August 16, 2013 8:57 PM
    Moderator
  • Hi James , i want to implement green screen only on image.
    Monday, August 19, 2013 6:30 AM