0 votes

I am trying to create a VR Scene, where I can display, interact and playback the audio from a window of an external app. Basically, it should be very similar to the desktop display of SteamVR but a single window should be displayed rather than the whole desktop.

The scene and the VR controllers are already implemented.
I am quite new to Godot, so I don't know how to get started. I would, therefore, appreciate any ideas.

Godot version 3.3.2
in Engine by (16 points)
edited by

1 Answer

0 votes

So this project was discontinued after couple of weeks and I thought I should write why to help others that may pursue a similar task.

In order to be able to create something like a virtual desktop, a Windows API should be used. Newer versions of the Windows API offer lots of tools to ease desktop capturing and interactions, however same cannot be said for older ones (like WinRT).

And the way to go with Godot is to create a custom C++ Module, utilizing the Windows API. However, apart from difficulties of building Godot frequently with this newly developed module, there are C++ version incompatibilities. Godot uses C++03 unlike the modern Windows APIs which use the newer C++17 or above.

So keep this in mind, if you were to dive into such a project.

by (16 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.