bump default eye-tracked scale to 0.4

This commit is contained in:
galister
2025-06-07 05:58:05 +09:00
parent 695ac2ea04
commit f5b6faf327
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ Configuration is done on server side, in `$XDG_CONFIG_HOME/wivrn/config.json` or
All elements are optional and have default values.
## `scale`
Default value: `0.5`, `0.35` if headset supports eye tracking
Default value: `0.5`, `0.4` if headset supports eye tracking
Controls the size of the video stream, either a number between 0 and 1 or a pair of numbers between 0 and 1. If two numbers are provided the first one is horizontal scale and the second vertical.
Scaling is applied in a foveated fashion: the center has a 1:1 ratio and the rest is scaled so that the total number of pixels matches the desired scale.
+1 -1
View File
@@ -351,7 +351,7 @@ std::vector<encoder_settings> get_encoder_settings(wivrn_vk_bundle & bundle, uin
uint64_t bitrate = config.bitrate.value_or(default_bitrate);
std::array<double, 2> default_scale;
default_scale.fill(info.eye_gaze ? 0.35 : 0.5);
default_scale.fill(info.eye_gaze ? 0.4 : 0.5);
auto scale = config.scale.value_or(default_scale);
check_scale(config.encoder_passthrough->name,