We have a separate game engine built in C++ and running on D3D12 that we would like to integrate into Omniverse. Basically we are looking to use something like Create as our editor, but integrate our game in a separate viewport, to speed up iteration. The game viewport won’t necessarily reflect the current scene in the main viewport, for the sake of the discussion it can be thought to be rendering something else completely.
My question is, how would I accomplish such a thing? Two options I’ve heard mentioned are:
- A custom Hydra renderer
- Copying our backbuffer into the viewport.
Correct me if I’m wrong, but my understanding is that if I were to implement a Hydra renderer, it would basically largely reflect the current USD scene. I.e. it wouldn’t be a suitable choice for an independently running game?
And for the other option, I’ve messed around a bit with the viewport extension, and maybe I’m missing something obvious, but I don’t see how I would actually do such a copy. Admittedly I’m an Omniverse newbie, and not particularly experienced with Python either, so maybe I’m looking in the wrong place entirely. Or should I perhaps wait for the upcoming C++ support, given that our game engine is running in C++?
Any pointers much appreciated.