bjornblissing / osgoculusviewer

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

OculusDevice accessor & mirror example #32

Closed rickyviking closed 9 years ago

rickyviking commented 9 years ago

OculusViewConfig: added accessor for the OculusDevice ViewConfigExample: added an option to create a window on another screen which mirrors the view inside the oculus

bjornblissing commented 9 years ago

I agree with the need for an accessor to the Oculus device from ViewConfig. But I don't feel comfortable merging this in its current state.

First of all I would like to have the same functionality in all the demos, not just the ViewConfig example. Secondly the setup of the mirror view contains to many magic numbers. Thirdly the code does not conform to the general style , i.e. member values should be denoted in the following style: m_myMemberVariable.

bjornblissing commented 9 years ago

Mirroring is available in direct mode.