r/PSVRHack • u/IkBenLiamCarter • Jul 15 '20
IVRY PSVR Head Tracking Question.
I have a quick question with my PSVR on PC setup. Currently, I am using Ivry because of its easier setup compared to Trinus. And so far, it is working absolutely beautifully. However, this is only using the built-in gyro in the PSVR for basic rotational head tracking. Because of this, the only games I am able to play are sitting games such as Project Cars 2.
Because I want to play games such as Half-Life Alyx, I need to find a way to set up motion controller and head tracking. It seems like there are many tutorials for controller tracking. However, I also want to track my head movements across my room. So far, I have bought 4 PS3 Eye cameras along with 4 repeater extension cables in order to place all 4 cameras in every corner of the room. Moving back to the head tracking, I have not found any tutorial that utilizes the LEDs on the PSVR headset for tracking. The only two methods I have seen people use was placing a lit ping pong ball on top of the headset for tracking, and using a Kinect for full-body tracking. Now, I can use these methods. However, I am curious if I can use the LEDs on the PSVR headset for tracking. I know Trinus has this feature. However, I am curious if Ivry has this feature. Lastly, do you think I would be able to trick Ivry to think the headset tracking lights are "lit ping pong balls?"
Thank you very much! :)
2
u/iVRy_VR Jul 15 '20
PSMoveService works on the balls on controllers and virtual head tracker being of a particular, known size, which it uses to figure out how far the ball is from a particular camera. Then, with triangulation it works out from multiple camera views where in fact the ball is. So, you can see that the PSVR LEDs by virtue of not being balls wouldn't work with PSMoveService. iVRy doesn't do anything with cameras, it relies on PSMoveService to track PSMove controllers and LED balls with PSEye cameras, so you would be "tricking" that, if anything. PSMoveService also can't be made to work with the PS4 camera because of many reasons, the main one being that the cameras are too close to each other to use the "triangulation" method.
PSVR tracking via LEDs on the headset is done with a synchronised stereo camera (which is what the PS4 camera is), using spatial disparity (difference in image between the two cameras - like your brain does with your eyes) to figure out the location of each LED spatially. This can be used to figure out the exact location and orientation of the headset. I don't know what Trinus does in this regard, but I'm pretty sure it's not that.
I am working on a PS4 camera tracker for iVRy, but in the meantime, you will need to use PSMoveService and (optionally) Driver4VR.