SendOsc('localhost', 5550, /gyrosc/gyro, Yaw, Pitch, Roll) - on tracker "Primary"
SendOsc('localhost', 6660, /gyrosc/xyz, X, Y, Z) - on tracker "Secondary"
Its work! And 6DOF than anable! (in combing of two ports)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You'd be surprised. I use TrackIR5 --> GloviePIE(my script)-->OSC protocol-->FaceTrackToNoIR 200. I am pilot of IL-2 Battle of Stalingrad, and i managed to control the axes of TrackIR5 the using the buttons, which act on them in script GloviePIE. It's fantastic, and I dreamed about it more then six months. But in ftnoir there is an annoying bug on axes pitch: angle 180 degrees trackir = 90 degrees in game. If you set the maximum value of 180 degrees in the pitch curve window, when the tracker crosses the value of 90 degrees, the overview in game jumps 180 degrees. If there is no way to overcome this bug for the game IL-2 Battle of Stalingrad, i will have to try to use data transfer to the UDP port of the program Opentrack, but to use this, i will have to write a conversion program in Java or Python that converts OSC data to UDP protocol Opentrack.
Sorry for my english, i am use Yandex-translation in addition to my language skills.
Last edit: Oleg Bormosov 2019-09-30
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That sounds like a complicated setup. My first question would have to be: does TrackIR not support IL2?
Anyway: it is interesting that you use a TrackIR device and have managed to relay its data to FaceTrackNoIR. Do you care to share your GlovePIE script with us? Maybe other users are interested too :)
I am not sure what you mean by a bug concerning pitch. Many games limit the pitch of the camera, because it is impossible for a human head to pitch more than 90 degrees. If you want to look backwards, you should use yaw instead of pitch. But I'm sure you have an explanation for your wish to increase pitch?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Wim,
IL2 support TrackIR5 (Natural Point), but there is no:
- dynamic dead zone, gaze floats when stopped especially when FOV in max, the image trembles with small movements of the head
- in all soft, both in tracking programs and in the games themselves, it is not possible to make a fixed offset on the axis, so that the tracker continued to work in full view
- in GlovePIE, you can use the data obtained from the Tracker to do whatever you want with little programming skills
Bug Pitch in ftnoir: i found a way out-appointed in GlovePIE on the Pitch axis control screen mouse (only the y axis). This is a bit inconvenient yet, but as a temporary solution for testing and configuring the review will do.
In about a week or two I plan to put the video on my Youtube channel where everything will be shown. Glovepie script also lay out as it will be finally ready.
However, I do not give up hope to try to convert data from OSC to UDP protocol Opentrack. This is the second way of implementation, perhaps more correct, since in Open track the Pitch axis in IL2 works correctly in the full range.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh, i am sorry. For IL-2, in Opentrack problem full diapazon Pitch axes also exists. https://github.com/opentrack/opentrack/issues/701
I will try to look in config of a game existence of coefficient of recalculation on this axis...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your update! In the mean time, I have improved the OSC tracker a bit, for future enhancements. You can try it by installing the new PluginPack from the files
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Uou! I will definitely try to put an update. Maybe the error that occurs when the Pitch axis in the game il-2 Battle of Stalingrad will disappear... I will inform you about this later.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As the description says...limited to 3 ? I have all boxes checked..
Thanks
I expect it to be 3DOF only.But with combining axis you can get more degrees of freedom.
SendOsc('localhost', 5550, /gyrosc/gyro, Yaw, Pitch, Roll) - on tracker "Primary"
SendOsc('localhost', 6660, /gyrosc/xyz, X, Y, Z) - on tracker "Secondary"
Its work! And 6DOF than anable! (in combing of two ports)
Hello Oleg,
I suppose you could also send the two messages "in sequence" on the same port? Anyway: it's a good thing you have it working :).
What kind of tracker do you have?
You'd be surprised. I use TrackIR5 --> GloviePIE(my script)-->OSC protocol-->FaceTrackToNoIR 200. I am pilot of IL-2 Battle of Stalingrad, and i managed to control the axes of TrackIR5 the using the buttons, which act on them in script GloviePIE. It's fantastic, and I dreamed about it more then six months. But in ftnoir there is an annoying bug on axes pitch: angle 180 degrees trackir = 90 degrees in game. If you set the maximum value of 180 degrees in the pitch curve window, when the tracker crosses the value of 90 degrees, the overview in game jumps 180 degrees. If there is no way to overcome this bug for the game IL-2 Battle of Stalingrad, i will have to try to use data transfer to the UDP port of the program Opentrack, but to use this, i will have to write a conversion program in Java or Python that converts OSC data to UDP protocol Opentrack.
Sorry for my english, i am use Yandex-translation in addition to my language skills.
Last edit: Oleg Bormosov 2019-09-30
I have been working on this issue for 3 weeks, but I do not have enough programming experience.
Hello Oleg,
That sounds like a complicated setup. My first question would have to be: does TrackIR not support IL2?
Anyway: it is interesting that you use a TrackIR device and have managed to relay its data to FaceTrackNoIR. Do you care to share your GlovePIE script with us? Maybe other users are interested too :)
I am not sure what you mean by a bug concerning pitch. Many games limit the pitch of the camera, because it is impossible for a human head to pitch more than 90 degrees. If you want to look backwards, you should use yaw instead of pitch. But I'm sure you have an explanation for your wish to increase pitch?
Hello Wim,
IL2 support TrackIR5 (Natural Point), but there is no:
- dynamic dead zone, gaze floats when stopped especially when FOV in max, the image trembles with small movements of the head
- in all soft, both in tracking programs and in the games themselves, it is not possible to make a fixed offset on the axis, so that the tracker continued to work in full view
- in GlovePIE, you can use the data obtained from the Tracker to do whatever you want with little programming skills
Bug Pitch in ftnoir: i found a way out-appointed in GlovePIE on the Pitch axis control screen mouse (only the y axis). This is a bit inconvenient yet, but as a temporary solution for testing and configuring the review will do.
In about a week or two I plan to put the video on my Youtube channel where everything will be shown. Glovepie script also lay out as it will be finally ready.
However, I do not give up hope to try to convert data from OSC to UDP protocol Opentrack. This is the second way of implementation, perhaps more correct, since in Open track the Pitch axis in IL2 works correctly in the full range.
Oh, i am sorry. For IL-2, in Opentrack problem full diapazon Pitch axes also exists. https://github.com/opentrack/opentrack/issues/701
I will try to look in config of a game existence of coefficient of recalculation on this axis...
Well, at least you learn a lot :)
Hello everyone I managed to do a combined review of TrackIR 5 with further processing of its axes by buttons. I've been using it for two months. Here's the video: https://www.youtube.com/watch?v=Fiev9JA-14w&t=60s and https://www.youtube.com/watch?v=ir3jLJHKKGI&t=1323s -here FT NOIR watch from 22: 00 minutes.
Hello Oleg,
Thanks for your update! In the mean time, I have improved the OSC tracker a bit, for future enhancements. You can try it by installing the new PluginPack from the files
Uou! I will definitely try to put an update. Maybe the error that occurs when the Pitch axis in the game il-2 Battle of Stalingrad will disappear... I will inform you about this later.