Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
philipro's avatar
philipro
Honored Guest
12 years ago

cv::IplImage or cv::mat imagetype to the rift

Hey, I want to render a IplImage or Mat image to the oculus dk2 by modifying the oculusRoomTiny example. I feel I have most parts right, but the picture just wont show up in the rift. Can anyone provide a quick example? (I though and still think that this is going to be fairly easy)

Regards
Philip

1 Reply

  • It's not completely clear what you're asking. What rendering system are you using, Direct3D or OpenGL? Or are you simply trying to take an image loaded in OpenCV and use OpenCV to display it on the Rift somehow? The latter approach isn't likely to go well.

    If you're just interested in how to take a cv::Mat and turn it into an OpenGL or Direct3D texture, there's plenty of resources on that out there, it's not really Rift specific.