r/oculusdev • • Feb 27 '15

Large distance rendering, how far is far enough? (I think I might have a clue!)

https://forums.oculus.com/viewtopic.php?f=20&t=20779
6 Upvotes

5 comments sorted by

2

u/iKy1e Mar 03 '15

So:

  • 3 cameras 2 stereo ones, 1 in the middle between them.

  • Set the stereo cameras clipping distance to the distance at which objects converge (to the accuracy the headset can display).

  • Set the 3rd cameras minimum render distance to match the clipping distance of the others.

  • Composite the results together.

Minimal effort implementation (though I've no idea if clipping is efficient enough to make this performant or if there'd be weirdness around the border).

1

u/feilen Mar 03 '15

That's the idea, essentially.

1

u/SafariMonkey Feb 27 '15

I may be mixing it up, but shouldn't it be the smallest angle it takes up? Also, while it's not too important, the brain's stereo processing makes calculating an absolute maximum distance more difficult. I'll expand a bit more when I get on the computer.

3

u/feilen Feb 27 '15

The smallest pixel yes. Smallest pixel translates to the smallest degree that will have a difference on the Rift screen when rendered in stereo. At that point it doesn't matter what the brain can or can't perceive, because the rift literally cannot display any increase in detail.

2

u/ivilus Mar 10 '15

I see math, I'm out.