Game Development Community

Draw to two duplicate viewports/canvases

by Ken Fast · in Torque 3D Professional · 04/29/2014 (6:52 pm) · 1 replies

Is it possible to open two duplicate canvases (viewports) as separate windows and draw the same output scene to both at the same time?

Scenario: I have a laptop with Optimus graphics - both an Intel integrated GPU and an NVIDIA discrete GPU. The local laptop screen is typically controlled by the integrated GPU, but external monitors are driven by the NVIDIA GPU. I am using the Oculus Rift for a game and would like to display a mirror (duplicate) on the laptop screen. I can't just mirror or duplicate the screens between the two displays in Windows because they are driven by different GPUs. I want to draw the game output to two duplicate windows and have one show up on the Rift and the other sent back to the laptop display. I realize this might mean twice the work on the GPU - not a problem for now. I don't need two different views, just two different windows with the same view.

About the author

VR implementor for large scale CAD visualization for product design since 1990. ACM Distinguished Engineer 2012.


#1
04/29/2014 (8:26 pm)
I've never looked into it, but QUT made an interactive reef with a ton of large separate displays. You may find something interesting in their code.