Hello,
I am wondering if it would be possible to use just the DLL of a Xenko game to launch a Xenko game from a secondary thread started from a different program, let’s say Maya or 3ds Max.
The idea is to have a Xenko game and visualisation package running simultaneously in a non-blocking fashion while sharing the same process.
Let’s assume that a modelling package (such as Maya or 3ds Max) have a plugin system that would allow me to load and run plugins in .NET C# (even if these packages do not support .NET is it not relevant here, it is just to illustrate my problem with tool everybody is aware of).
And let’s assume that, from the code of the plugin loaded in the package, I am starting a secondary thread and launch the Xenko game as follows:
using (var game = new Game())
{
game.Run();
}
Do you guys think that the game would be allowed to run ?
Do you see any reason why that would may fail and how to make it run ?
I would also like to mention that this scenario would be for Windows only, so that the internal game window could be a Winform window instead of a SDL.
Also the game that I want to develop would be for VR so I do not be all the Desktop input Jazz such as mouse or keyboard since I will be getting all the input from the controllers.
Thanks in advance guys for your input.