Open yoqim opened 8 years ago
In this sample I used openCV compornents to capture the video image through USB. This captured video image is 2 dimention. But Direct X can handle only 3 dimention. So 2 dimentional image should be transfered to 3 dimentional data using liner transformation. This will be done by shader pre-program. Check "VIDEO_CAPTURE" tag in the source code Win32_OculusRoomTiny.cpp which does video capture handling.
I want to know how did you put the video stream to Direct X?