bjornblissing / osgoculusviewer

An OsgViewer with support for the Oculus Rift
Other
106 stars 67 forks source link

Enable change of mirror texture size #85

Closed rickyviking closed 8 years ago

rickyviking commented 8 years ago

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:

bjornblissing commented 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.

rickyviking commented 8 years ago

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.

bjornblissing commented 8 years ago

Merged to 0.8, 1.3, 1.4 and master branch.