OVRdrop-Public icon indicating copy to clipboard operation
OVRdrop-Public copied to clipboard

Capture window from behind another window

Open tapanij opened this issue 7 years ago • 4 comments

With the open source version, for example I could capture firefox when It was behind a game window but with OVRdrop the game window would hide the firefox window if the positions overlap. Maybe give an option to use that legacy capture mode? I don't mind if the performance is worse.

tapanij avatar Apr 05 '17 17:04 tapanij

The legacy capture modes could be brought back, but some of the math is currently dependent on the new capture API, so it's not a simple switch I can flip.

Would this need to be something you can turn on/off during use, or would a launch flag be okay for now?

I'm still looking into hooking background processes to grab their drawing context directly, which might be unstable at first but would allow for GPU accelerated capture of most background applications, so that's the direction I ultimately plan to head.

Hotrian avatar Apr 05 '17 22:04 Hotrian

The launch flag should be enough for now.

tapanij avatar Apr 05 '17 22:04 tapanij

Assetto Corsa vr window can't be minimized because it uses mouse input and I have a twitch stream running behind it. Assetto Corsa window takes all the desktop space.

tapanij avatar Apr 05 '17 22:04 tapanij

Sorry for the huge delay on this one. I've been trying to get the DirectX Hooking capture method working the way OVRdrop needs it to for quite some time and have put off returning the old capture methods as a result.

I am currently working to return the slower capture methods used in OVRDDP to OVRdrop (which would allow for background capture, Windows 7 support, and I believe even cross-GPU capture). When I stripped these while transitioning from OVRDDP to OVRdrop, I unfortunately did not notice the change in compatibility, and it soon became a lot of work to restore these. Regardless, I hope to have more information regarding this soon. You can try out OVRDDP for free and give the capture methods a test to get an idea. They aren't too quick but for smaller windows they work just fine. Just keep in mind they're CPU bound, and OVRDDP doesn't have any form of multi-threading, so core speed rather than core number is more important regarding maximum performance.

Hotrian avatar Apr 07 '18 21:04 Hotrian