0-173 / DXTexture2FreeFrame

Freeframe Plugin that can access a shared DirectX Texture
12 stars 2 forks source link

Full DX11 version (WyphonImport at least) #6

Open benkuper opened 10 years ago

benkuper commented 10 years ago

Hello, i'm working on several implementations of Wyphon, for now i'm concentrating on Unity3D. I got a lot of stuff working with DX9Ex but there is a blocking problem with the sharing of other textures than BGRA32. I switched to a DX11 texture sharing instead of going through the DX9Ex and it's working like a charm with the receiver test from frederik tilkin, however the Resolume wyphon import doesn't show anything if the texture is anything else than BGRA32.

I understand the choice to go with DX9Ex in the beginning, for openness and compatibility matter, but i think DX11 is now widely supported and the texture sharing implementation is much easier and constraint-less than with DX9Ex.

I believe the main change to do is in WyphonUtils::CreateLinkedGLTexture I started modifying the WyphonUtils to change that and then recompile your plugin, but i never made ffgl plugins and Resolume doesn't show the Plugin when i replace your original dll with the recompiled dll...

Would it be possible to have a talk on that ?

Thank you, Ben

0-173 commented 10 years ago

Hi Ben, i am pleased to hear that you're implementing wyphon. It's true, that dx11 is now broadly supported and dx11 texture sharing is much easier than dx9ex. we can talk about it. perhaps i can help you. my skype name is elio_wahlen

cheers Elio

mrft commented 10 years ago

Maybe leave the original functionality in, because it could still be useful.

Better to create new functions (or add a parameter)?

[Just a stupid proposal] something like CreateLinkedGLTextureFromDX9exTexture and CreateLinkedGLTextureFromDX10PlusTexture

Anyway, you get my point...