Trying to render one eye per frame ( TimeWarp issue )
So I've got a few heavy duty scenes that don't render at 75 f/s and I figured I'd try to see if I could render one eye per frame and keep the hardware happy. This cuts the work in half and I'm able to hit 75 f/s and it's actually very smooth, but there is black flickering every other frame for each eye as expected since the off eye is not be rendered every other frame and the SDK must be clearing to black.
So instead of having it be black, I tried saving off the eye's last rendered image and am simply reusing the next frame when that eye skips it's render, but now I'm seeing some double vision which shouldn't be happening, I'd expect _some_ choppiness like watching video at 10 f/s or something, but it would be more like 37.5 f/s.
I think it actually has to do with the timewarp not liking what I'm doing. Is there any way to turn off the timewarp, or at least disable it in the SDK and rebuild the libs?
Here's what I normally do...
-Frame 0
Render and copy left eye to the DK2
Render and copy right eye to the DK2
-Frame 1
Render and copy left eye to the DK2
Render and copy right eye to the DK2
-Frame 2 ( do same as frame 0 )
-Frame 3 ( do same as frame 1 )
Here's what I'm doing when rendering one eye per frame ...
-Frame 0
Copy left eye's last frame to the DK2
Render and copy right eye to the DK2 ( and save off a copy for next frame )
-Frame 1
Copy right eye's last frame to the DK2
Render and copy left eye to the DK2 ( and save off a copy for next frame )
-Frame 2 ( do same as frame 0 )
-Frame 3 ( do same as frame 1 )
Thanks
So instead of having it be black, I tried saving off the eye's last rendered image and am simply reusing the next frame when that eye skips it's render, but now I'm seeing some double vision which shouldn't be happening, I'd expect _some_ choppiness like watching video at 10 f/s or something, but it would be more like 37.5 f/s.
I think it actually has to do with the timewarp not liking what I'm doing. Is there any way to turn off the timewarp, or at least disable it in the SDK and rebuild the libs?
Here's what I normally do...
-Frame 0
Render and copy left eye to the DK2
Render and copy right eye to the DK2
-Frame 1
Render and copy left eye to the DK2
Render and copy right eye to the DK2
-Frame 2 ( do same as frame 0 )
-Frame 3 ( do same as frame 1 )
Here's what I'm doing when rendering one eye per frame ...
-Frame 0
Copy left eye's last frame to the DK2
Render and copy right eye to the DK2 ( and save off a copy for next frame )
-Frame 1
Copy right eye's last frame to the DK2
Render and copy left eye to the DK2 ( and save off a copy for next frame )
-Frame 2 ( do same as frame 0 )
-Frame 3 ( do same as frame 1 )
Thanks
