Open dfgHiatus opened 1 year ago
We actually already have calibration options in latest master branch commits, though they're under a separate settings tab so that we can group the toggle for calibration altogether as well as have the calibration button and multipliers nearby to avoid segmenting features too much. We'll consider adding this to the main menu if we see usage increase for the calibration button reimplementation in the next update
I am currently developing the VRCFT v5 Pimax Module, and as part of the module's usage users need to calibrate their eye tracking. This was historically done by either entering a character on a keyboard, or toggling a parameter on their avatar
CalibrateEyeTracking
andCalibrateFaceTracking
.Proposition
This is a draft, feedback is welcome.
UI Integration
I believe the calibration button(s) should go here, to the left of "Toggle Tracking"
Module Integration
For module developers to opt into calibration, they can define a function that can be called when said button(s) are pressed. This is similar to how to
Update
function already works. This (should) need(s) a place in OSCMain, ExtTrackingModule, and the respective module loaders.OSCMain
Remark - OSC Integration
So this system is compatible with VRChat, I propose the
"/avatar/parameters/CalibrateEyeTracking"
and"/avatar/parameters/CalibrateFaceTracking"
be added toOSCMain
's switch function, next to the/avatar/change
block.