Celarien
05-21-2008, 05:19 AM
I currently use gw.getViewportDib() to capture, at each instant, the images of two viewports.
To do this I must set one viewport as active, capture it, set the second one and capture it too. I want to do this in real time and be able to move the scene around, the problem is that setting the active viewport is the mostly costly commands in this process.
It there any way to contour this? Anything like (I know it doesnt work, but just an example) gw.getViewportDib(1) for viewport 1?
Thanks in advance,
Peter.
To do this I must set one viewport as active, capture it, set the second one and capture it too. I want to do this in real time and be able to move the scene around, the problem is that setting the active viewport is the mostly costly commands in this process.
It there any way to contour this? Anything like (I know it doesnt work, but just an example) gw.getViewportDib(1) for viewport 1?
Thanks in advance,
Peter.
