linux - How to display a windows/X window system window in 3d space on texture? -


I am thinking, how can I hold a window and display it on the texture in 3D space? And how can I redirect mouse and keyboard input to the applications running in the background from the 3D app? I mean the full 3D desktop.

This can be a bit complicated, and "full" answers may not be suitable for this forum Here is an idea / framework, though:

There is a way to do this. Run a separate, invisible "virtual" desktop in a VNC server, then start the desired app as a display. Your 3D rendering program on the "real" desktop can then connect to a VNC server, and enter the bitmap format on its desktop, and it can explode on the texted polygons. Pipping in input events is very possible.

I actually did this, or at least its half (display). There is a very old screenshot of what I have done here, then back: Black sky and blue / purple-ish "ground" is provided by the 3D program on the actual desktop, while slotted trades show virtual in the window. "VNC Desktop

Have Fun!


Comments