Search Unity

Oculus Time Warp Technology

Discussion in 'General Discussion' started by Brenden-Frank, Apr 20, 2014.

  1. Brenden-Frank

    Brenden-Frank

    Joined:
    Aug 5, 2012
    Posts:
    110
    If anyone hasn't heard about it, or doesn't know what it does, have a look at this video. It gives a very comprehensive summary of the technology.

    http://www.youtube.com/watch?v=WvtEXMlQQtI

    My question is, could this tech be used to speed up the frame rate of a game in general? It seems like you could get away with a game that renders single screen 30fps and squeeze out 45-60fps by modifying screenpixels of the previous frame rather than doing an entire re-render.

    Thoughts?
     
  2. cannon

    cannon

    Joined:
    Jun 5, 2009
    Posts:
    751
    I initially thought no, based on my reading of Carmack's paper, since he actually uses more GPU power in exchange for less latency, but after re-reading what you wrote, that actually might work.
     
  3. cannon

    cannon

    Joined:
    Jun 5, 2009
    Posts:
    751
    I'm imagining you meant something like this:

    T1: Render scene
    T2: Use Timewarp to adjust pixels of T1 to current view transform
    T3: Render scene
    T4: Use Timewarp to adjust pixels of T3 to current view transform

    so you only do a full render every 2nd frame, correct?
     
  4. SVGK

    SVGK

    Joined:
    Jan 25, 2014
    Posts:
    99
    This seems pretty cool.
     
  5. shaderop

    shaderop

    Joined:
    Nov 24, 2010
    Posts:
    942
    My first thought was that if it's by Carmack then it's going to be way over my head. But the gentleman in the video proved me wrong and actually managed to explain the concept rather well. I guess it would work for FPSs or any scenario where the camera rotates mainly around its local axis.

    Second thought is "that headset still belongs in the museum of celibacy."
     
  6. Brenden-Frank

    Brenden-Frank

    Joined:
    Aug 5, 2012
    Posts:
    110
    That is exactly what I was thinking
     
  7. Gigiwoo

    Gigiwoo

    Joined:
    Mar 16, 2011
    Posts:
    2,981
    Fantastic vid! Loved the animations showing depth and occlusion.

    Gigi
     
  8. cannon

    cannon

    Joined:
    Jun 5, 2009
    Posts:
    751
    Oh, didn't get to watch the video all the way through the first time. He actually does discuss this, the main caveat is the player can't have moved too much between the two rendered frames.
     
  9. TylerPerry

    TylerPerry

    Joined:
    May 29, 2011
    Posts:
    5,577
    Won't this be obsolete with G sync? Why wouldn't Oculus try making their own version of G sync that works on all GPU's.
     
  10. cannon

    cannon

    Joined:
    Jun 5, 2009
    Posts:
    751
    No, the two things are different.
    G-Sync adjusts your refresh rate to match your render time, while this TimeWarp shows how to render a much cheaper approximate frame if you have already have a full render available in a buffer somewhere.

    Also, in terms of latency, the latency for G-Sync is still the full render time, while the minimum latency for TimeWarp is only the screen-space shader which is constant and independent of scene complexity.