Closed rickyviking closed 8 years ago
I think that a specifying in pixel size is preferable.
And exposing it in the constructor would probably be the simplest way of doing. I would suggest that you add some default values.
I've submitted the pull request: https://github.com/bjornblissing/osgoculusviewer/pull/86 It is based on the branch sdk-v0.8 which I'm currently using, but cherry picking to master should work as well.
Merged to 0.8, 1.3, 1.4 and master branch.
At the moment the mirror texture size is hard-coded to half of the Oculus screen size. I'd like to submit a pull request exposing a way to set it. Just a couple of questions to use as guidelines: