Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Gootch's avatar
Gootch
Honored Guest
12 years ago

Can we get the source code for the Desk demo?

I am very impressed with the desk demo that comes in the configuration utility. The head tracking is flawless, and it makes good use of the mouse with an intuitive menu system.

If the source code is already available somewhere, can someone point me to it?

Thanks

4 Replies

  • I would be interested in this as well. More specifically, I'm interested in the way the IR camera source/tracking volume is being visualized....
  • 9of9's avatar
    9of9
    Expert Protege
    Seconded, really want to know how they get the IR camera placement/orientation.
  • mkatsev's avatar
    mkatsev
    Honored Guest
    "9of9" wrote:
    Seconded, really want to know how they get the IR camera placement/orientation.


    Camera placement is reported in the CameraPose field of ovrTrackingState, which you can obtain by calling ovrHmd_GetTrackingState. For more detail see Section 7.1.1 in the devguide.
  • 9of9's avatar
    9of9
    Expert Protege
    "mkatsev" wrote:
    "9of9" wrote:
    Seconded, really want to know how they get the IR camera placement/orientation.


    Camera placement is reported in the CameraPose field of ovrTrackingState, which you can obtain by calling ovrHmd_GetTrackingState. For more detail see Section 7.1.1 in the devguide.


    Brilliant, thank you - just what I needed :D