Log in or register to post comments

Rendering Viewports to multiple textures

September 17, 2013 - 12:19pm #1

For a research project I'm working on I need to render the video into two viewports. For example, I would render half the screen with the video and the other half with a duplicate of this same video (so they both show side by side).

I see in QCAARenderer.cs the VideoBGCfgData struct allows me to set a position variable. And I see SetVideoBackgroundTexture sets the texure to draw too. Ideally I'd just change this function to draw to two textures. However, I'm having some trouble figuring out where I can hook this up. I do not want to interfere with vuforia's processing just how it displays the video. And I am not drawing on top of the video at any time either so I'm not worried about that.

Again, any guideance as to how to draw two viewports of the camera feed side by side would be very helpful!

-David

Log in or register to post comments