bjornblissing / osgoculusviewer

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

Does it support controller tracking? #102

Open yuhubuxi opened 3 years ago

yuhubuxi commented 3 years ago

Can the controller track? Can I see the controller in the field of view?

bjornblissing commented 3 years ago

Yes, the library support the controllers:

https://github.com/bjornblissing/osgoculusviewer/blob/2d6d16f3e9e63253d157ea6d403838fb371332af/include/oculusdevice.h#L88-L93

Although the viewer example currently only use the analog sticks to rotate the model and to zoom in and out.

But, there is currently no model of the controllers visible.