Displaying an image pair on the rift
Hello,
I have a stereo image pair generated by a simulated environment (Blender, on Linux) where two cameras are placed side by side, separated by the same distance than a pair of eyes. The two images are fused in one image, with the two images side by side.
This image is sent via a socket to a program running on Windows, where the rift is plugged. I would like to display this image on the rift.
Since the changes that prevents the Rift to be used as an external monitor, it is not clear how this could be performed. Is there a sample that converts that type of image to an OpenGL texture, and displays it on the Rift with the SDK with proper handling of the distortion etc... ?
Regards,
Jeremy
I have a stereo image pair generated by a simulated environment (Blender, on Linux) where two cameras are placed side by side, separated by the same distance than a pair of eyes. The two images are fused in one image, with the two images side by side.
This image is sent via a socket to a program running on Windows, where the rift is plugged. I would like to display this image on the rift.
Since the changes that prevents the Rift to be used as an external monitor, it is not clear how this could be performed. Is there a sample that converts that type of image to an OpenGL texture, and displays it on the Rift with the SDK with proper handling of the distortion etc... ?
Regards,
Jeremy
