Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
galopin's avatar
galopin
Heroic Explorer
9 years ago

CV1 and DK2 camera sensor, only DK2 camera report a pose.

Hi,

While doing with what i have right now, i was like "hey", let's see if i can get two sensors running and display their frustum. A setup that will be standard when touch is out ( two sensors to limit occlusion issues ).

Right now, i am on a DK2 and if i can list the two trackers at runtime, only the DK2 camera report a pose, the CV1 one only have the connected flag. And even if i disconnect the DK2 sensor, the CV1 one still does not bother to report a pose :disappointed:


That is a little disappointing.

8 Replies

  • galopin's avatar
    galopin
    Heroic Explorer
    @cybereality  Damnit, this forum hates me, it was supposed to be a pc dev post…
  • galopin's avatar
    galopin
    Heroic Explorer
    @LZoltowski yes please, it has nothing to do in the community section.
  • I believe there was some work to return a combined multi-sensor frustum. I don't know if this was ever finished or released. However, you should be able to at least get two separate frustums. 

    In Unity it would be OVRManager.tracker.getFrustum(...), though you will have to transform this by each tracker's orientation. In C++ you would use ovr_GetTrackerDesc(...) and then calculate from those values same as above.

    It may be that your setup is weird with one CV1 and one DK2 sensor.
  • galopin's avatar
    galopin
    Heroic Explorer
    I am fine rendering the two frustum separately instead of a CSG intersection of the two frustums for the moment ( not that hard it remains a convex describle by a set of planes to polygonize ). The GetTrackerDesc works already, but the Pose is not flagged as tracked.

    But yes, it seems that the CV1 sensor can't be turn on for a DK2 positioning at all. I will test later tonight at home with a CV1 and two CV1 sensors. I am pretty sure it will just work.
  • galopin's avatar
    galopin
    Heroic Explorer
    @cybereality I was right, it just works fine with a CV1 and 2 CV1 camera sensors :)

    @cybereality I MP you about a need of developer relations :smiley: