Head tracking with Opentrack

General discussion of the Project Reality: BF2 modification.
Post Reply
Maxi.PR
Posts: 3
Joined: 2023-03-18 06:36

Head tracking with Opentrack

Post by Maxi.PR »

Hello everyone, I've been doing a game reverse here to implement head tracking and I have some results.

https://github.com/Teor99/bf2prHeadTracking

Demo


How to use


Yes, shooting this way looks miserable, but maybe someone will have suggestions on what can be done about it. :o
robert357
Posts: 233
Joined: 2016-01-29 12:58

Re: Head tracking with Opentrack

Post by robert357 »

Is it possible to toggle tracking on and off with option to centre camera position? This should be usefull for aiming as long it will not mess up some sync or position issues.
Image
Maxi.PR
Posts: 3
Joined: 2023-03-18 06:36

Re: Head tracking with Opentrack

Post by Maxi.PR »

Opentrack options has hotkeys to return view direction to center, I use "Zero while held" for aiming but it didn't make it into the video.

Image
Bonvi
Posts: 65
Joined: 2017-02-20 14:22

Re: Head tracking with Opentrack

Post by Bonvi »

Superb!
oclock
Posts: 1
Joined: 2023-08-28 12:35

Re: Head tracking with Opentrack

Post by oclock »

Can you use controller axies as input?

Imagine use the right stick on a controller for the head movement.

And the rest of the controlls like so: pitch on the left stick, throttle on the triggers, and rudder on the bumpers.
That way, you could control the plane and look around using just the controller.
Maxi.PR
Posts: 3
Joined: 2023-03-18 06:36

Re: Head tracking with Opentrack

Post by Maxi.PR »

oclock wrote:Can you use controller axies as input?

Imagine use the right stick on a controller for the head movement.

And the rest of the controlls like so: pitch on the left stick, throttle on the triggers, and rudder on the bumpers.
That way, you could control the plane and look around using just the controller.
In Opentrack, you can select a joystick as an input device and set the axes to Pitch and Yaw for gaze direction. I think it should work, but I don't have such a joystick to test.
Post Reply

Return to “PR:BF2 General Discussion”