Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -339,12 +339,10 @@ jobs:
|
|||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
|
||||||
- name: Archive debug symbols
|
- name: Archive debug symbols
|
||||||
if: ${{ matrix.buildtype != 'Release' && matrix.buildtype != 'Oculus' }}
|
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: symbols-${{ matrix.buildtype }}
|
name: symbols-${{ matrix.buildtype }}
|
||||||
path: debug/**/*.so
|
path: debug/**/*.so
|
||||||
retention-days: 30
|
|
||||||
|
|
||||||
- name: Push to Oculus store
|
- name: Push to Oculus store
|
||||||
if: ${{ matrix.buildtype == 'Oculus' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master') && steps.secret-check.outputs.oculus-token == 'true' }}
|
if: ${{ matrix.buildtype == 'Oculus' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master') && steps.secret-check.outputs.oculus-token == 'true' }}
|
||||||
@@ -472,8 +470,7 @@ jobs:
|
|||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: apk
|
path: apk
|
||||||
pattern: '*-Release'
|
pattern: 'apk-Release'
|
||||||
merge-multiple: true
|
|
||||||
|
|
||||||
- name: Download artifacts (flatpak)
|
- name: Download artifacts (flatpak)
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|||||||
@@ -1,33 +1,64 @@
|
|||||||
# WiVRn
|
<h1 align="center"> WiVRn </h1>
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
[](https://www.gnu.org/licenses/gpl-3.0)  
|
[](https://www.gnu.org/licenses/gpl-3.0)  
|
||||||
|
|
||||||
|
</div>
|
||||||
<p align="center"><img src="images/wivrn.svg" width="180"></p>
|
<p align="center"><img src="images/wivrn.svg" width="180"></p>
|
||||||
|
<h3 align="center">Fully FOSS PCVR streamer</h3>
|
||||||
|
|
||||||
WiVRn wirelessly connects a standalone VR headset to a Linux computer. You can then play PCVR games on the headset while processing is done on the computer.
|
# About
|
||||||
|
|
||||||
It supports a wide range of headsets such as Quest 1 / 2 / Pro / 3 / 3S, Pico Neo 3, Pico 4, HTC Vive Focus 3, HTC Vive XR elite and most other Android based headsets.
|
WiVRn is an application that wirelessly streams a virtual reality game to a standalone VR headset from a <b>Linux</b> computer.
|
||||||
|
|
||||||
|
WiVRn support a wide range of VR devices:
|
||||||
|
|
||||||
|
| Headset | Supported | Notes |
|
||||||
|
|:--------:|:--------:|:--------:|
|
||||||
|
| Quest 1 | ✓ | |
|
||||||
|
| Quest 2 | ✓ | |
|
||||||
|
| Quest 3 | ✓ | |
|
||||||
|
| Quest 3s | ✓ | |
|
||||||
|
| Quest Pro | ✓ | |
|
||||||
|
| Pico Neo 3 | ✓ | |
|
||||||
|
| Pico 4 | ✓ | |
|
||||||
|
| HTC Vive Focus 3 | ✓ | Laggy |
|
||||||
|
| HTC Vive XR Elite | ✓ | Laggy |
|
||||||
|
| Samsung Galaxy XR | ✓ | |
|
||||||
|
| Other Android VR | ? | Cannot know |
|
||||||
|
| Play for Dream | ✖ | https://github.com/WiVRn/WiVRn/issues/465 |
|
||||||
|
| Non-Android VR | ✖ | Not Android |
|
||||||
|
| Non-VR Android | ✖ | VR required |
|
||||||
|
|
||||||
|
<sup>A Linux client does exist, only for debugging. It has no audio or hardware decoding.</sup>
|
||||||
|
|
||||||
# Getting started
|
# Getting started
|
||||||
|
|
||||||
|
|
||||||
## Server and dashboard
|
## PC Server/Dashboard
|
||||||
|
|
||||||
We recommend using the flatpak package from Flathub:
|
We recommend using the flatpak package from Flathub:
|
||||||
|
|
||||||
[](https://flathub.org/apps/io.github.wivrn.wivrn)
|
[](https://flathub.org/apps/io.github.wivrn.wivrn)
|
||||||
|
|
||||||
Alternatively, packages are available:
|
Alternatively, packages are available from:
|
||||||
- [AUR for Arch](https://aur.archlinux.org/packages/wivrn-dashboard)
|
- [Arch User Repositoy](https://aur.archlinux.org/packages/wivrn-dashboard)
|
||||||
- [Fedora](https://packages.fedoraproject.org/pkgs/wivrn/wivrn/)
|
- [Fedora](https://packages.fedoraproject.org/pkgs/wivrn/wivrn/)
|
||||||
- [Guru for Gentoo](https://gitweb.gentoo.org/repo/proj/guru.git/tree/media-libs/wivrn).
|
- [Gentoo Guru](https://gitweb.gentoo.org/repo/proj/guru.git/tree/media-libs/wivrn)
|
||||||
|
|
||||||
|
|
||||||
## Headset app
|
## Headset Client/App
|
||||||
|
|
||||||
Follow the wizard in the dashboard to install the client app on the headset: it will either lead you to the [Meta Store](https://www.meta.com/experiences/7959676140827574/) or download the correct APK.
|
Follow the wizard in the PC dashboard to install the client on your VR headset.
|
||||||
|
|
||||||
⚠️ You will need to have a compatible version: if the headset fails to connect to your computer, see [troubleshooting](#troubleshooting).
|
It should either lead you to the [Meta Store](https://www.meta.com/experiences/7959676140827574/) (for Meta Quest headsets) or to download the correct APK (for other headsets).
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> The VR client and PC server need to be on the same version of WiVRn
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> If the headset fails to connect to the computer, see [troubleshooting](#troubleshooting).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -41,19 +72,19 @@ Avahi must be running:
|
|||||||
systemctl enable --now avahi-daemon
|
systemctl enable --now avahi-daemon
|
||||||
```
|
```
|
||||||
|
|
||||||
- If a firewall is installed, open port 5353/UDP for avahi and ports 9757/UDP+TCP for WiVRn itself.
|
- If a firewall is installed, open port 5353/UDP for Avahi and ports 9757/UDP+TCP for WiVRn.
|
||||||
- In the case of ufw, use `ufw allow 5353/udp` and `ufw allow 9757`.
|
- For example, if using UFW run `ufw allow 5353/udp` and `ufw allow 9757`.
|
||||||
|
|
||||||
### Running
|
### Running
|
||||||
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line, it will show the connection wizard the first time you launch it.
|
- On your computer, run "WiVRn server" application, or `wivrn-dashboard` from the command line. It will show the setup wizard the first time you launch it.
|
||||||
- On your headset, run WiVRn from the App Library. If you are using a Quest and you have installed it from an APK instead of the Meta Store, it will be in the "unknown sources" section.
|
- On your headset, run WiVRn from the App Library. If you are using a Meta Quest and you have installed it from an APK instead of the Meta Store, it should be in the "unknown sources" section.
|
||||||
- You should now see your computer in the list: click connect, the screen will show "Connection ready. Start a VR application on **your computer's name**".
|
- You should now see your computer in the list: click connect, the screen will show "Connection ready. Start a VR application on <i>\[your computer's name\]</i>".
|
||||||
|
|
||||||
You can now start an OpenXR application on your computer. For Steam games, you may also need to set the launch options to be able to use WiVRn. If nothing related to Steam is displayed in the dashboard or wivrn-server output, then your system does not require it.
|
You can now stream an OpenXR application from your computer to your headset. For Steam games, you may also need to set the launch options to be able to use WiVRn. The server/dashboard will tell you how to do this if required.
|
||||||
- Right-click on the game you want to play in VR in Steam and click "Properties".
|
- Right-click on the game you want to play in VR in Steam and click "Properties".
|
||||||
- In the "General" tab, set the launch options to the value given in the dashboard.
|
- In the "General" tab, enter the launch options that the WiVRn server/dashboard gave you inside the "Launch Options" setting.
|
||||||
|
|
||||||
You can set an application to be started automatically when you connect your headset in the dashboard settings or [manually](docs/configuration.md#application)
|
You can set an application to be started automatically when your headset is connected, in the dashboard settings or [manually](docs/configuration.md#application).
|
||||||
|
|
||||||
### Application list
|
### Application list
|
||||||
When the headset is connected and no XR application is running, it will show an application launcher. Applications in that list are sourced from:
|
When the headset is connected and no XR application is running, it will show an application launcher. Applications in that list are sourced from:
|
||||||
@@ -62,14 +93,13 @@ When the headset is connected and no XR application is running, it will show an
|
|||||||
|
|
||||||
### OpenVR and Steam games
|
### OpenVR and Steam games
|
||||||
|
|
||||||
The flatpak also includes [OpenComposite](https://gitlab.com/znixian/OpenOVR/) and [xrizer](https://github.com/Supreeeme/xrizer/), used to translate the OpenVR API used by SteamVR to OpenXR used by WiVRn, see [SteamVR](docs/steamvr.md) for details.
|
The flatpak includes [OpenComposite](https://gitlab.com/znixian/OpenOVR/) and [xrizer](https://github.com/Supreeeme/xrizer/), used to translate the OpenVR API to OpenXR. see [SteamVR](docs/steamvr.md) for details.
|
||||||
|
|
||||||
If using Wine/Proton, it will probe for OpenVR at startup, so even for OpenXR applications, OpenComposite or xrizer is required.
|
If using Wine/Proton, it will probe for OpenVR at startup, This means even for OpenXR applications, OpenComposite or xrizer is required.
|
||||||
|
|
||||||
When you start the server through flatpak, it will automatically configure the current OpenVR to use xrizer.
|
When you start the server through flatpak, it automatically configures the current OpenVR to use xrizer.
|
||||||
|
|
||||||
### Steam Flatpak
|
### Steam Flatpak
|
||||||
|
|
||||||
If you're using the Steam Flatpak, you'll need to grant read only access to the following paths:
|
If you're using the Steam Flatpak, you'll need to grant read only access to the following paths:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -82,12 +112,12 @@ flatpak override \
|
|||||||
com.valvesoftware.Steam
|
com.valvesoftware.Steam
|
||||||
```
|
```
|
||||||
|
|
||||||
When using a user installation of flatpak Steam, user `override --user` instead of `override`.
|
When using a user installation of flatpak Steam, use `override --user` instead of `override`.
|
||||||
|
|
||||||
### Audio
|
### Audio
|
||||||
When the headset is connected, WiVRn will create a virtual output device named WiVRn. It is not selected as default and you should either assign the application to the device when it is running, or mark it as default. To do so you can use `pavucontrol` or your desktop environment's configuration panel. Please note that in `pavucontrol` it will appear as a virtual device.
|
When the headset is connected, WiVRn will create a virtual output device simply named "WiVRn. You must manually set this audio output to enabled/default. Please note that in `pavucontrol` it will appear as a virtual device.
|
||||||
|
|
||||||
For microphone, you first have to enable it on the settings tabs on the headset (and give permission when prompted). It will then appear as a virtual input device named WiVRn(microphone) and also needs to be assigned like for output device.
|
To enable microphone, you first have to enable it on the settings tab on the VR headset (and give permission when prompted). It should appear as a virtual input device named "WiVRn(microphone)", and needs to be assigned as the input device (same way as output device).
|
||||||
|
|
||||||
|
|
||||||
# Building
|
# Building
|
||||||
@@ -101,19 +131,19 @@ Configuration can be done from the dashboard.
|
|||||||
See [configuration](docs/configuration.md) for editing the configuration manually.
|
See [configuration](docs/configuration.md) for editing the configuration manually.
|
||||||
|
|
||||||
# Troubleshooting
|
# Troubleshooting
|
||||||
|
<details><summary>My computer is not seen by the headset</summary>
|
||||||
## My computer is not seen by the headset
|
|
||||||
|
|
||||||
If the server list is empty in the headset app:
|
If the server list is empty in the headset app:
|
||||||
- Make sure your computer is connected on the same network as your headset
|
- Make sure your computer is connected on the same network as your headset
|
||||||
- Check that avahi is running with `systemctl status avahi-daemon`, if it is not, enable it with `systemctl enable --now avahi-daemon`
|
- Check that avahi is running with `systemctl status avahi-daemon`, if it is not, enable it with `systemctl enable --now avahi-daemon`
|
||||||
- If you have a firewall, check that port 5353 (UDP) is open
|
- If you have a firewall, check that port 5353 (UDP) is open</details>
|
||||||
|
|
||||||
|
<details><summary>My headset does not connect to my computer</summary>
|
||||||
|
|
||||||
## My headset does not connect to my computer
|
|
||||||
- If you have a firewall, check that port 9757 (UDP and TCP) is open
|
- If you have a firewall, check that port 9757 (UDP and TCP) is open
|
||||||
- The server and client must be compatible.
|
- The server and client must be the same version.</details>
|
||||||
|
|
||||||
## How do I use a wired connection?
|
<details><summary>How do I use a wired connection?</summary>
|
||||||
|
|
||||||
- Make sure the WiVRn Server is installed and running on your computer
|
- Make sure the WiVRn Server is installed and running on your computer
|
||||||
- Make sure you have the WiVRn app installed on your headset
|
- Make sure you have the WiVRn app installed on your headset
|
||||||
@@ -127,15 +157,15 @@ If the server list is empty in the headset app:
|
|||||||
- `org.meumeu.wivrn.github.nighly` for Github nightlies (wirvn-apk [repository](https://github.com/WiVRn/WiVRn-APK/releases))
|
- `org.meumeu.wivrn.github.nighly` for Github nightlies (wirvn-apk [repository](https://github.com/WiVRn/WiVRn-APK/releases))
|
||||||
- `org.meumeu.wivrn.github.testing` for Github CI builds
|
- `org.meumeu.wivrn.github.testing` for Github CI builds
|
||||||
- `org.meumeu.wivrn.local` for developer builds
|
- `org.meumeu.wivrn.local` for developer builds
|
||||||
- You can now continue the pairing process as documented in the running section.
|
- You can now continue the pairing process as documented in the running section.</details>
|
||||||
|
|
||||||
## How do I see server logs when using the dashboard?
|
<details><summary>How do I see server logs when using the dashboard?</summary>
|
||||||
|
|
||||||
- Click Troubleshoot > Open server logs, or
|
- Click Troubleshoot > Open server logs, or
|
||||||
- Navigate to `${XDG_STATE_HOME}/wivrn/wivrn-dashboard` (with fallback to `${HOME}/.local/state` for `${XDG_STATE_HOME}`, or
|
- Navigate to `${XDG_STATE_HOME}/wivrn/wivrn-dashboard` (with fallback to `${HOME}/.local/state` for `${XDG_STATE_HOME}`, or
|
||||||
- For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`.
|
- For flatpak, navigate to `${HOME}/.var/app/io.github.wivrn.wivrn/.local/state/wivrn/wivrn-dashboard`.</details>
|
||||||
|
|
||||||
## I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image
|
<details><summary>I have high motion latency, black borders following my view, hear corrupted audio or see a corrupted, pixelated image</summary>
|
||||||
|
|
||||||
- When connecting through USB, make sure the headset isn't connected through WiFi (switch off WiFi)
|
- When connecting through USB, make sure the headset isn't connected through WiFi (switch off WiFi)
|
||||||
- Reset the settings using the button at the bottom of the settings tab
|
- Reset the settings using the button at the bottom of the settings tab
|
||||||
@@ -144,7 +174,7 @@ If the server list is empty in the headset app:
|
|||||||
- Decrease the resolution in the WiVRn app
|
- Decrease the resolution in the WiVRn app
|
||||||
- Connect through USB or use a better WiFi router.
|
- Connect through USB or use a better WiFi router.
|
||||||
|
|
||||||
Note: WiVRn isn't properly optimized for NVIDIA GPUs due to the lack of developers with NVIDIA hardware. Motion latency may be significantly worse at rendering resolutions higher than default.
|
Note: WiVRn isn't properly optimized for NVIDIA GPUs due to the lack of developers with NVIDIA hardware. Motion latency may be significantly worse at rendering resolutions higher than default.</details>
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
|
|||||||
@@ -915,7 +915,7 @@ std::vector<std::pair<int, XrCompositionLayerQuad>> imgui_context::end_frame()
|
|||||||
|
|
||||||
float alpha = std::clamp<float>(1 - distance / constants::gui::pointer_fading_distance, 0, 1);
|
float alpha = std::clamp<float>(1 - distance / constants::gui::pointer_fading_distance, 0, 1);
|
||||||
|
|
||||||
if (&controller == &controllers[focused_controller])
|
if (focused_controller != (size_t)-1 and &controller == &controllers[focused_controller])
|
||||||
alpha *= constants::gui::pointer_alpha;
|
alpha *= constants::gui::pointer_alpha;
|
||||||
else
|
else
|
||||||
alpha *= constants::gui::pointer_alpha_disabled;
|
alpha *= constants::gui::pointer_alpha_disabled;
|
||||||
|
|||||||
@@ -116,8 +116,7 @@ app_launcher::clicked app_launcher::draw_gui(imgui_context & imgui_ctx, const st
|
|||||||
auto res = clicked::None;
|
auto res = clicked::None;
|
||||||
auto t0 = std::chrono::steady_clock::now();
|
auto t0 = std::chrono::steady_clock::now();
|
||||||
bool app_starting = start_time != std::chrono::steady_clock::time_point{} and
|
bool app_starting = start_time != std::chrono::steady_clock::time_point{} and
|
||||||
t0 - start_time < 10s and
|
t0 - start_time < 10s;
|
||||||
stream.current_state() != scenes::stream::state::streaming;
|
|
||||||
|
|
||||||
auto cancel_size = ImGui::CalcTextSize(cancel.c_str());
|
auto cancel_size = ImGui::CalcTextSize(cancel.c_str());
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,11 @@ public:
|
|||||||
// cancel: text to display on the quit/disconnect/cancel button
|
// cancel: text to display on the quit/disconnect/cancel button
|
||||||
clicked draw_gui(imgui_context &, const std::string & cancel);
|
clicked draw_gui(imgui_context &, const std::string & cancel);
|
||||||
|
|
||||||
|
void reset()
|
||||||
|
{
|
||||||
|
start_time = {};
|
||||||
|
}
|
||||||
|
|
||||||
void operator()(wivrn::to_headset::application_list && apps);
|
void operator()(wivrn::to_headset::application_list && apps);
|
||||||
void operator()(wivrn::to_headset::application_icon && icon);
|
void operator()(wivrn::to_headset::application_icon && icon);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -673,7 +673,7 @@ void scenes::lobby::gui_settings()
|
|||||||
|
|
||||||
// foveation
|
// foveation
|
||||||
{
|
{
|
||||||
const int step = 10;
|
const int step = 5;
|
||||||
const auto current = config.get_stream_scale();
|
const auto current = config.get_stream_scale();
|
||||||
int intval = round((1 - current) * 100 / step);
|
int intval = round((1 - current) * 100 / step);
|
||||||
const auto slider = ImGui::SliderInt(
|
const auto slider = ImGui::SliderInt(
|
||||||
@@ -761,18 +761,19 @@ void scenes::lobby::gui_settings()
|
|||||||
|
|
||||||
// Bitrate
|
// Bitrate
|
||||||
{
|
{
|
||||||
|
const int step = 5;
|
||||||
const int mb = 1'000'000;
|
const int mb = 1'000'000;
|
||||||
const auto current = config.bitrate_bps;
|
const auto current = config.bitrate_bps;
|
||||||
auto val = int(current / mb);
|
auto val = int(current / mb / step);
|
||||||
const auto slider = ImGui::SliderInt(
|
const auto slider = ImGui::SliderInt(
|
||||||
_("Bitrate").append("##bitrate").c_str(),
|
_("Bitrate").append("##bitrate").c_str(),
|
||||||
&val,
|
&val,
|
||||||
1,
|
1,
|
||||||
config.max_bitrate() / mb,
|
config.max_bitrate() / mb / step,
|
||||||
fmt::format(_F("{}Mbit/s"), val).c_str());
|
fmt::format(_F("{}Mbit/s"), val * step).c_str());
|
||||||
if (slider)
|
if (slider)
|
||||||
{
|
{
|
||||||
config.bitrate_bps = val * mb;
|
config.bitrate_bps = val * mb * step;
|
||||||
config.save();
|
config.save();
|
||||||
}
|
}
|
||||||
imgui_ctx->vibrate_on_hover();
|
imgui_ctx->vibrate_on_hover();
|
||||||
|
|||||||
@@ -526,6 +526,7 @@ void scenes::stream::on_unfocused()
|
|||||||
clear_swapchains();
|
clear_swapchains();
|
||||||
left_hand.reset();
|
left_hand.reset();
|
||||||
right_hand.reset();
|
right_hand.reset();
|
||||||
|
apps.reset();
|
||||||
|
|
||||||
imgui_ctx.reset();
|
imgui_ctx.reset();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -979,6 +979,7 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
|
|||||||
|
|
||||||
if (RadioButtonWithoutCheckBox(ICON_FA_ROCKET " " + _("Start"), gui_status, gui_status::application_launcher, {tab_width, 0}))
|
if (RadioButtonWithoutCheckBox(ICON_FA_ROCKET " " + _("Start"), gui_status, gui_status::application_launcher, {tab_width, 0}))
|
||||||
{
|
{
|
||||||
|
apps.reset();
|
||||||
network_session->send_control(from_headset::get_application_list{
|
network_session->send_control(from_headset::get_application_list{
|
||||||
.language = application::get_messages_info().language,
|
.language = application::get_messages_info().language,
|
||||||
.country = application::get_messages_info().country,
|
.country = application::get_messages_info().country,
|
||||||
|
|||||||
@@ -366,21 +366,6 @@ void scenes::stream::tracking()
|
|||||||
if (not std::ranges::contains(pattern, device_id::HEAD, &to_headset::tracking_control::sample::device))
|
if (not std::ranges::contains(pattern, device_id::HEAD, &to_headset::tracking_control::sample::device))
|
||||||
pattern.push_back({.device = device_id::HEAD});
|
pattern.push_back({.device = device_id::HEAD});
|
||||||
|
|
||||||
// FIXME: eye tracking shouldn't had a special case
|
|
||||||
// eye-tracked foveation needs eye and head pose in the same tracking packet
|
|
||||||
if (spaces[device_id::EYE_GAZE])
|
|
||||||
{
|
|
||||||
size_t sz = pattern.size();
|
|
||||||
for (size_t i = 0; i < sz; ++i)
|
|
||||||
{
|
|
||||||
if (pattern[i].device == device_id::HEAD)
|
|
||||||
pattern.push_back({
|
|
||||||
.device = device_id::EYE_GAZE,
|
|
||||||
.prediction_ns = pattern[i].prediction_ns,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (hand_tracking)
|
if (hand_tracking)
|
||||||
{
|
{
|
||||||
if (std::ranges::contains(pattern, device_id::LEFT_HAND, &to_headset::tracking_control::sample::device))
|
if (std::ranges::contains(pattern, device_id::LEFT_HAND, &to_headset::tracking_control::sample::device))
|
||||||
@@ -478,12 +463,13 @@ void scenes::stream::tracking()
|
|||||||
const auto & item = pattern[pattern_position];
|
const auto & item = pattern[pattern_position];
|
||||||
auto at_time = t0 + item.prediction_ns;
|
auto at_time = t0 + item.prediction_ns;
|
||||||
|
|
||||||
|
// Don't merge items that are too far from the current one
|
||||||
|
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
|
||||||
|
break;
|
||||||
|
|
||||||
switch (item.device)
|
switch (item.device)
|
||||||
{
|
{
|
||||||
case device_id::HEAD:
|
case device_id::HEAD:
|
||||||
// Don't merge items that are too far from the current one
|
|
||||||
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
|
|
||||||
goto subpattern_end;
|
|
||||||
tracking.view_flags = session.locate_views(XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO, tracking.timestamp, view_space, views);
|
tracking.view_flags = session.locate_views(XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO, tracking.timestamp, view_space, views);
|
||||||
assert(views.size() == tracking.views.size());
|
assert(views.size() == tracking.views.size());
|
||||||
for (auto [i, j]: std::views::zip(views, tracking.views))
|
for (auto [i, j]: std::views::zip(views, tracking.views))
|
||||||
@@ -503,15 +489,13 @@ void scenes::stream::tracking()
|
|||||||
case wivrn::device_id::LEFT_POKE:
|
case wivrn::device_id::LEFT_POKE:
|
||||||
case wivrn::device_id::RIGHT_PINCH_POSE:
|
case wivrn::device_id::RIGHT_PINCH_POSE:
|
||||||
case wivrn::device_id::RIGHT_POKE:
|
case wivrn::device_id::RIGHT_POKE:
|
||||||
case wivrn::device_id::EYE_GAZE:
|
|
||||||
// Don't merge items that are too far from the current one
|
|
||||||
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
|
|
||||||
goto subpattern_end;
|
|
||||||
locate_spaces.add_space(item.device, spaces[item.device], tracking.timestamp, tracking.device_poses);
|
locate_spaces.add_space(item.device, spaces[item.device], tracking.timestamp, tracking.device_poses);
|
||||||
break;
|
break;
|
||||||
|
case wivrn::device_id::EYE_GAZE:
|
||||||
|
// Eye gaze uses view pose as the origin
|
||||||
|
tracking.device_poses.push_back(locate_space(item.device, spaces[item.device], spaces[wivrn::device_id::HEAD], tracking.timestamp));
|
||||||
|
break;
|
||||||
case wivrn::device_id::FACE:
|
case wivrn::device_id::FACE:
|
||||||
if (std::abs(tracking.timestamp - at_time) > 1'000'000)
|
|
||||||
goto subpattern_end;
|
|
||||||
std::visit(utils::overloaded{
|
std::visit(utils::overloaded{
|
||||||
[](std::monostate &) {},
|
[](std::monostate &) {},
|
||||||
[&](auto & ft) {
|
[&](auto & ft) {
|
||||||
@@ -557,7 +541,6 @@ void scenes::stream::tracking()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
subpattern_end:
|
|
||||||
locate_spaces.resolve(session, tracking.timestamp, tracking.device_poses);
|
locate_spaces.resolve(session, tracking.timestamp, tracking.device_poses);
|
||||||
}
|
}
|
||||||
catch (const std::system_error & e)
|
catch (const std::system_error & e)
|
||||||
@@ -594,12 +577,9 @@ void scenes::stream::tracking()
|
|||||||
|
|
||||||
for (const auto & i: hands)
|
for (const auto & i: hands)
|
||||||
{
|
{
|
||||||
if (i.joints)
|
auto & packet = packets[packet_count++];
|
||||||
{
|
packet.clear();
|
||||||
auto & packet = packets[packet_count++];
|
wivrn_session::stream_socket_t::serialize(packet, i);
|
||||||
packet.clear();
|
|
||||||
wivrn_session::stream_socket_t::serialize(packet, i);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
for (const auto & i: body)
|
for (const auto & i: body)
|
||||||
{
|
{
|
||||||
|
|||||||
+21
-16
@@ -357,28 +357,33 @@ void do_data_dir(std::filesystem::path dir, std::unordered_map<std::string, appl
|
|||||||
dir = dir / "applications";
|
dir = dir / "applications";
|
||||||
if (not std::filesystem::is_directory(dir))
|
if (not std::filesystem::is_directory(dir))
|
||||||
return;
|
return;
|
||||||
for (const auto & entry: std::filesystem::recursive_directory_iterator(dir))
|
try
|
||||||
{
|
{
|
||||||
if (entry.is_directory())
|
for (const auto & entry: std::filesystem::recursive_directory_iterator(dir, std::filesystem::directory_options::skip_permission_denied))
|
||||||
continue;
|
{
|
||||||
|
if (entry.is_directory())
|
||||||
|
continue;
|
||||||
|
|
||||||
if (entry.path().extension() != ".desktop")
|
if (entry.path().extension() != ".desktop")
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html#desktop-file-id
|
// https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html#desktop-file-id
|
||||||
auto file_id = entry.path()
|
auto file_id = entry.path()
|
||||||
.lexically_relative(dir)
|
.lexically_relative(dir)
|
||||||
.replace_extension("")
|
.replace_extension("")
|
||||||
.string();
|
.string();
|
||||||
std::ranges::replace(file_id, '/', '-');
|
std::ranges::replace(file_id, '/', '-');
|
||||||
|
|
||||||
if (res.contains(file_id))
|
if (res.contains(file_id))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
auto app = do_desktop_entry(entry.path());
|
auto app = do_desktop_entry(entry.path());
|
||||||
if (app)
|
if (app)
|
||||||
res.emplace(std::move(file_id), std::move(*app));
|
res.emplace(std::move(file_id), std::move(*app));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
catch (std::exception & ex)
|
||||||
|
{}
|
||||||
}
|
}
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
namespace wivrn
|
namespace wivrn
|
||||||
{
|
{
|
||||||
|
|
||||||
static constexpr int protocol_revision = 0;
|
static constexpr int protocol_revision = 1;
|
||||||
|
|
||||||
enum class device_id : uint8_t
|
enum class device_id : uint8_t
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
# Keep in sync with CMakeLists.txt monado rev
|
# Keep in sync with CMakeLists.txt monado rev
|
||||||
rev = lib.strings.trim (builtins.readFile ./monado-rev);
|
rev = lib.strings.trim (builtins.readFile ./monado-rev);
|
||||||
# Nix will output the correct hash when it doesn't match
|
# Nix will output the correct hash when it doesn't match
|
||||||
hash = "sha256-sz8scctqPxYcZL5fEVu/YSNPhW62swHncU0W2j+KMUs=";
|
hash = "sha256-vZHrxFCRYzP2Kua/zYPvS4Xkp6yfzhHlFTnoKfHCicA=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+130
-50
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn-dashboard\n"
|
"Project-Id-Version: WiVRn-dashboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-12-15 12:22+0900\n"
|
"POT-Creation-Date: 2026-02-04 17:02+0900\n"
|
||||||
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
||||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||||
"Language-Team: Japanese <>\n"
|
"Language-Team: Japanese <>\n"
|
||||||
@@ -62,10 +62,39 @@ msgstr "「adb install」コマンドは失敗しました、コード%1"
|
|||||||
msgid "Installation successful"
|
msgid "Installation successful"
|
||||||
msgstr "インストール成功"
|
msgstr "インストール成功"
|
||||||
|
|
||||||
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
|
#: dashboard/main.cpp:26
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "WiVRn dashboard"
|
msgctxt "@title"
|
||||||
msgstr "WiVRnダッシュボード"
|
msgid "WiVRn"
|
||||||
|
msgstr "WiVRn"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:28
|
||||||
|
#, kde-format
|
||||||
|
msgid "WiVRn server"
|
||||||
|
msgstr "WiVRnサーバー"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:30
|
||||||
|
#, kde-format
|
||||||
|
msgid "(c) 2022-2026 WiVRn development team"
|
||||||
|
msgstr "(c) 2022-2026 WiVRn開発チーム"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:40
|
||||||
|
#, kde-format
|
||||||
|
msgid "Monado"
|
||||||
|
msgstr "Monado"
|
||||||
|
|
||||||
|
#: dashboard/main.cpp:41
|
||||||
|
#, kde-format
|
||||||
|
msgid "OpenXR runtime"
|
||||||
|
msgstr "OpenXRランタイム"
|
||||||
|
|
||||||
|
#: dashboard/qml/About.qml:17 dashboard/qml/ApkInstallPage.qml:65
|
||||||
|
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/HeadsetsPage.qml:183
|
||||||
|
#: dashboard/qml/TroubleshootPage.qml:71
|
||||||
|
#, kde-format
|
||||||
|
msgctxt "go back to the home page"
|
||||||
|
msgid "Back"
|
||||||
|
msgstr "戻る"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -83,8 +112,8 @@ msgstr "最新リリースを確認中"
|
|||||||
msgid "No APK is available for this version"
|
msgid "No APK is available for this version"
|
||||||
msgstr "現在バージョン用の公式APKは提供されていません"
|
msgstr "現在バージョン用の公式APKは提供されていません"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:321
|
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:368
|
||||||
#: dashboard/qml/Main.qml:386 dashboard/qml/WizardPage.qml:211
|
#: dashboard/qml/Main.qml:426 dashboard/qml/WizardPage.qml:211
|
||||||
#: dashboard/qml/WizardPage.qml:337
|
#: dashboard/qml/WizardPage.qml:337
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "ADB is not installed"
|
msgid "ADB is not installed"
|
||||||
@@ -105,13 +134,6 @@ msgstr ""
|
|||||||
"自分でクライエントをビルドするには、<a href=\"https://github.com/WiVRn/WiVRn/"
|
"自分でクライエントをビルドするには、<a href=\"https://github.com/WiVRn/WiVRn/"
|
||||||
"blob/master/docs/building.md#client-headset\">マニュアル</a>をご覧ください。"
|
"blob/master/docs/building.md#client-headset\">マニュアル</a>をご覧ください。"
|
||||||
|
|
||||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:71
|
|
||||||
#, kde-format
|
|
||||||
msgctxt "go back to the home page"
|
|
||||||
msgid "Back"
|
|
||||||
msgstr "戻る"
|
|
||||||
|
|
||||||
#: dashboard/qml/ConnectUsbDialog.qml:11
|
#: dashboard/qml/ConnectUsbDialog.qml:11
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Select your headset"
|
msgid "Select your headset"
|
||||||
@@ -137,7 +159,7 @@ msgstr "WiVRnをインストールする"
|
|||||||
msgid "Headset statistics"
|
msgid "Headset statistics"
|
||||||
msgstr "HMDの統計情報"
|
msgstr "HMDの統計情報"
|
||||||
|
|
||||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:391
|
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:431
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Headsets"
|
msgid "Headsets"
|
||||||
msgstr "HMD"
|
msgstr "HMD"
|
||||||
@@ -223,28 +245,47 @@ msgstr "ペアリングを有効化する"
|
|||||||
msgid "Pair a new headset"
|
msgid "Pair a new headset"
|
||||||
msgstr "新しいHMDをペアリングする"
|
msgstr "新しいHMDをペアリングする"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:120
|
#: dashboard/qml/Main.qml:12
|
||||||
|
#, kde-format
|
||||||
|
msgid "WiVRn dashboard"
|
||||||
|
msgstr "WiVRnダッシュボード"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:51
|
||||||
|
#, kde-format
|
||||||
|
msgid "Quit WiVRn"
|
||||||
|
msgstr "WiVRnを終了"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:52
|
||||||
|
#, kde-format
|
||||||
|
msgid ""
|
||||||
|
"The WiVRn server is active.\n"
|
||||||
|
"Closing the window will terminate it."
|
||||||
|
msgstr ""
|
||||||
|
"WiVRnサーバーは作動中です。\n"
|
||||||
|
"停止して終了しますか?"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:142
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not installed"
|
msgid "Avahi daemon is not installed"
|
||||||
msgstr "Avahiデーモンはインストールサれていません"
|
msgstr "Avahiデーモンはインストールサれていません"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:128
|
#: dashboard/qml/Main.qml:150
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Avahi daemon is not started"
|
msgid "Avahi daemon is not started"
|
||||||
msgstr "Avahiデーモンが起動していません"
|
msgstr "Avahiデーモンが起動していません"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:135 dashboard/qml/Main.qml:149
|
#: dashboard/qml/Main.qml:157 dashboard/qml/Main.qml:171
|
||||||
#: dashboard/qml/Main.qml:201
|
#: dashboard/qml/Main.qml:223
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Fix it"
|
msgid "Fix it"
|
||||||
msgstr "直す"
|
msgstr "直す"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:143
|
#: dashboard/qml/Main.qml:165
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Firewall may not allow port 9757"
|
msgid "Firewall may not allow port 9757"
|
||||||
msgstr "ファイヤーウォールでポート9757が開いていないようです"
|
msgstr "ファイヤーウォールでポート9757が開いていないようです"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:157
|
#: dashboard/qml/Main.qml:179
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||||
@@ -252,12 +293,12 @@ msgstr ""
|
|||||||
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
|
"NVIDIAの場合は、GPUドライバー・バージョン565.77以上が必要です。現バージョン:"
|
||||||
"%1"
|
"%1"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:163
|
#: dashboard/qml/Main.qml:185
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "More info"
|
msgid "More info"
|
||||||
msgstr "詳細情報"
|
msgstr "詳細情報"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:171
|
#: dashboard/qml/Main.qml:193
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||||
@@ -266,7 +307,7 @@ msgstr ""
|
|||||||
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
|
"AMD GPUの場合は「Mesa (radv)」ドライバーを使ってください\n"
|
||||||
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
|
"AMDVLKやAMDGPU-PROなどはvaapiエンコーダーに対応していません"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:179
|
#: dashboard/qml/Main.qml:201
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||||
@@ -275,13 +316,13 @@ msgstr ""
|
|||||||
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
|
"OpenVR実装ライブラリーは見つかりませんでした。SteamVRゲームを実行するには、\n"
|
||||||
"xrizerかOpenCompositeをインストールしましょう。"
|
"xrizerかOpenCompositeをインストールしましょう。"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:187
|
#: dashboard/qml/Main.qml:209
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"SteamはSnapとしてインストールされていますが、Snapはサポートサれていません。"
|
"SteamはSnapとしてインストールされていますが、Snapはサポートサれていません。"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:195
|
#: dashboard/qml/Main.qml:217
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||||
@@ -289,84 +330,118 @@ msgstr ""
|
|||||||
"SteamはFlatpakとしてインストールされていますが、必要な権限が設定されていませ"
|
"SteamはFlatpakとしてインストールされていますが、必要な権限が設定されていませ"
|
||||||
"ん。"
|
"ん。"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:210
|
#: dashboard/qml/Main.qml:232
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Restart the server for configuration changes to take effect"
|
msgid "Restart the server for configuration changes to take effect"
|
||||||
msgstr "設定変更を有効にするにはサーバーを再起動してください。"
|
msgstr "設定変更を有効にするにはサーバーを再起動してください。"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:216
|
#: dashboard/qml/Main.qml:238
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "restart the server"
|
msgctxt "restart the server"
|
||||||
msgid "Restart now"
|
msgid "Restart now"
|
||||||
msgstr "今すぐ再起動する"
|
msgstr "今すぐ再起動する"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:241
|
#: dashboard/qml/Main.qml:263
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Server failed to start"
|
msgid "Server failed to start"
|
||||||
msgstr "サーバーは起動できませんでした"
|
msgstr "サーバーは起動できませんでした"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:247 dashboard/qml/TroubleshootPage.qml:89
|
#: dashboard/qml/Main.qml:269 dashboard/qml/TroubleshootPage.qml:89
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open server logs"
|
msgid "Open server logs"
|
||||||
msgstr "ログを見る"
|
msgstr "ログを見る"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:276
|
#: dashboard/qml/Main.qml:295
|
||||||
|
#, kde-format
|
||||||
|
msgid "Server status"
|
||||||
|
msgstr "サーバーステータス"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:301
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||||
msgid "Running"
|
msgid "Running"
|
||||||
msgstr "作動中"
|
msgstr "作動中"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:291
|
#: dashboard/qml/Main.qml:314
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||||
msgid "Pairing"
|
msgid "Pairing"
|
||||||
msgstr "ペアリング"
|
msgstr "ペアリング"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:304
|
#: dashboard/qml/Main.qml:334
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "PIN: %1"
|
msgid "Headset status"
|
||||||
msgstr "暗証番号:%1"
|
msgstr "HMDステータス"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:312 dashboard/qml/WizardPage.qml:329
|
#: dashboard/qml/Main.qml:341
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Connect by USB"
|
msgctxt "label for headset name/status under server running switch"
|
||||||
msgstr "USBで接続する"
|
msgid "Headset"
|
||||||
|
msgstr "HMD"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:323 dashboard/qml/WizardPage.qml:339
|
#: dashboard/qml/Main.qml:344
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "No headset is connected or your headset is not in developer mode"
|
msgid "Not connected"
|
||||||
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません"
|
msgstr "未接続"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:331
|
#: dashboard/qml/Main.qml:348
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "切断する"
|
msgstr "切断する"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:349
|
#: dashboard/qml/Main.qml:357 dashboard/qml/Main.qml:365
|
||||||
|
#: dashboard/qml/Main.qml:372
|
||||||
|
#, kde-format
|
||||||
|
msgctxt "label for USB status or connect button"
|
||||||
|
msgid "USB"
|
||||||
|
msgstr "USB"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:358
|
||||||
|
#, kde-format
|
||||||
|
msgctxt "usb connect button"
|
||||||
|
msgid "Connect (wired)"
|
||||||
|
msgstr "有線で接続する"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:375 dashboard/qml/WizardPage.qml:339
|
||||||
|
#, kde-format
|
||||||
|
msgid "No headset is connected or your headset is not in developer mode"
|
||||||
|
msgstr "HMDが接続されていないか、HMDが開発者モードになっていません"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:396
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Steam information"
|
msgid "Steam information"
|
||||||
msgstr "ストリーム情報"
|
msgstr "ストリーム情報"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:370
|
#: dashboard/qml/Main.qml:412
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Wizard"
|
msgid "Wizard"
|
||||||
msgstr "セットアップウィザード"
|
msgstr "セットアップウィザード"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:377
|
#: dashboard/qml/Main.qml:418
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Install the app"
|
msgid "Install the app"
|
||||||
msgstr "アプリをインストール"
|
msgstr "アプリをインストール"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:398 dashboard/qml/SettingsPage.qml:14
|
#: dashboard/qml/Main.qml:437 dashboard/qml/SettingsPage.qml:14
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "設定"
|
msgstr "設定"
|
||||||
|
|
||||||
#: dashboard/qml/Main.qml:405 dashboard/qml/TroubleshootPage.qml:10
|
#: dashboard/qml/Main.qml:443
|
||||||
|
#, kde-format
|
||||||
|
msgid "About"
|
||||||
|
msgstr "WiVRnについて"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:448 dashboard/qml/TroubleshootPage.qml:10
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshoot"
|
msgid "Troubleshoot"
|
||||||
msgstr "問題解決"
|
msgstr "問題解決"
|
||||||
|
|
||||||
|
#: dashboard/qml/Main.qml:455
|
||||||
|
#, kde-format
|
||||||
|
msgid "Version %1"
|
||||||
|
msgstr "バージョン%1"
|
||||||
|
|
||||||
#: dashboard/qml/SelectGame.qml:14
|
#: dashboard/qml/SelectGame.qml:14
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgctxt "don't start an application automatically"
|
msgctxt "don't start an application automatically"
|
||||||
@@ -657,8 +732,8 @@ msgid ""
|
|||||||
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
|
"For game specific issues, check on <a href=\"https://db.vronlinux.org/"
|
||||||
"\">vronlinux DB</a> if there are known bugs or workarounds."
|
"\">vronlinux DB</a> if there are known bugs or workarounds."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"ゲーム固有の問題については、既知のバグや回避策について<a href=\"https://db.vronlinux.org/"
|
"ゲーム固有の問題については、既知のバグや回避策について<a href=\"https://"
|
||||||
"\">vronlinux DB</a>を確認してください。"
|
"db.vronlinux.org/\">vronlinux DB</a>を確認してください。"
|
||||||
|
|
||||||
#: dashboard/qml/TroubleshootPage.qml:79
|
#: dashboard/qml/TroubleshootPage.qml:79
|
||||||
#, kde-format
|
#, kde-format
|
||||||
@@ -808,6 +883,11 @@ msgstr ""
|
|||||||
msgid "To connect over USB, click on \"Connect by USB\"."
|
msgid "To connect over USB, click on \"Connect by USB\"."
|
||||||
msgstr "USBで接続するには、「USBで接続する」ボタンをクリックしましょう。"
|
msgstr "USBで接続するには、「USBで接続する」ボタンをクリックしましょう。"
|
||||||
|
|
||||||
|
#: dashboard/qml/WizardPage.qml:329
|
||||||
|
#, kde-format
|
||||||
|
msgid "Connect by USB"
|
||||||
|
msgstr "USBで接続する"
|
||||||
|
|
||||||
#: dashboard/qml/WizardPage.qml:349
|
#: dashboard/qml/WizardPage.qml:349
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Troubleshooting"
|
msgid "Troubleshooting"
|
||||||
@@ -854,12 +934,12 @@ msgstr "完了"
|
|||||||
msgid "Finished"
|
msgid "Finished"
|
||||||
msgstr "完了しました"
|
msgstr "完了しました"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:533
|
#: dashboard/wivrn_server.cpp:540
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "xrizer"
|
msgid "xrizer"
|
||||||
msgstr "xrizer"
|
msgstr "xrizer"
|
||||||
|
|
||||||
#: dashboard/wivrn_server.cpp:534
|
#: dashboard/wivrn_server.cpp:541
|
||||||
#, kde-format
|
#, kde-format
|
||||||
msgid "Open Composite"
|
msgid "Open Composite"
|
||||||
msgstr "OpenComposite"
|
msgstr "OpenComposite"
|
||||||
|
|||||||
+156
-132
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: WiVRn 0.16\n"
|
"Project-Id-Version: WiVRn 0.16\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-12-15 12:22+0900\n"
|
"POT-Creation-Date: 2026-02-04 17:02+0900\n"
|
||||||
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
|
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
|
||||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||||
"Language: Japanese\n"
|
"Language: Japanese\n"
|
||||||
@@ -59,11 +59,11 @@ msgstr "{}に接続できませんでした:({}) {}"
|
|||||||
msgid "Waiting for connection"
|
msgid "Waiting for connection"
|
||||||
msgstr "接続を待っています"
|
msgstr "接続を待っています"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1310
|
#: client/scenes/lobby.cpp:1316
|
||||||
msgid "Passthrough"
|
msgid "Passthrough"
|
||||||
msgstr "パススルー"
|
msgstr "パススルー"
|
||||||
|
|
||||||
#: client/scenes/lobby.cpp:1322
|
#: client/scenes/lobby.cpp:1328
|
||||||
msgid "Default environment"
|
msgid "Default environment"
|
||||||
msgstr "デフォルトのホーム環境"
|
msgstr "デフォルトのホーム環境"
|
||||||
|
|
||||||
@@ -83,13 +83,13 @@ msgid "Disabled"
|
|||||||
msgstr "無効"
|
msgstr "無効"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
#: client/scenes/lobby_gui.cpp:114 client/scenes/lobby_gui.cpp:258
|
||||||
#: client/scenes/stream_gui.cpp:1015
|
#: client/scenes/stream_gui.cpp:1009
|
||||||
msgid "Disconnect"
|
msgid "Disconnect"
|
||||||
msgstr "切断する"
|
msgstr "切断する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:749
|
#: client/scenes/lobby_gui.cpp:134 client/scenes/lobby_gui_customize.cpp:753
|
||||||
#: client/scenes/lobby_gui_customize.cpp:840
|
#: client/scenes/lobby_gui_customize.cpp:844
|
||||||
#: client/scenes/lobby_gui_customize.cpp:896 client/scenes/stream_gui.cpp:1011
|
#: client/scenes/lobby_gui_customize.cpp:900 client/scenes/stream_gui.cpp:1005
|
||||||
msgid "Close"
|
msgid "Close"
|
||||||
msgstr "閉じる"
|
msgstr "閉じる"
|
||||||
|
|
||||||
@@ -126,10 +126,10 @@ msgstr "ポート番号"
|
|||||||
msgid "TCP only"
|
msgid "TCP only"
|
||||||
msgstr "TCPのみを使用"
|
msgstr "TCPのみを使用"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:651
|
#: client/scenes/lobby_gui.cpp:319 client/scenes/lobby_gui_customize.cpp:655
|
||||||
#: client/scenes/stream_gui.cpp:968
|
#: client/scenes/stream_gui.cpp:962
|
||||||
msgid "Cancel"
|
msgid "Cancel"
|
||||||
msgstr "やめる"
|
msgstr "キャンセル"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:333
|
#: client/scenes/lobby_gui.cpp:333
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
@@ -172,17 +172,17 @@ msgstr "言語"
|
|||||||
msgid "System language"
|
msgid "System language"
|
||||||
msgstr "デバイス言語"
|
msgstr "デバイス言語"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:579 client/scenes/stream_gui.cpp:417
|
#: client/scenes/lobby_gui.cpp:580 client/scenes/stream_gui.cpp:411
|
||||||
msgid "Refresh rate"
|
msgid "Refresh rate"
|
||||||
msgstr "リフレッシュレート"
|
msgstr "リフレッシュレート"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:579 client/scenes/lobby_gui.cpp:581
|
#: client/scenes/lobby_gui.cpp:580 client/scenes/lobby_gui.cpp:582
|
||||||
#: client/scenes/stream_gui.cpp:417 client/scenes/stream_gui.cpp:419
|
#: client/scenes/stream_gui.cpp:411 client/scenes/stream_gui.cpp:413
|
||||||
msgctxt "automatic refresh rate"
|
msgctxt "automatic refresh rate"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "自動"
|
msgstr "自動"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:588 client/scenes/stream_gui.cpp:427
|
#: client/scenes/lobby_gui.cpp:589 client/scenes/stream_gui.cpp:421
|
||||||
msgid ""
|
msgid ""
|
||||||
"Select refresh rate based on measured application performance.\n"
|
"Select refresh rate based on measured application performance.\n"
|
||||||
"May cause flicker when a change happens."
|
"May cause flicker when a change happens."
|
||||||
@@ -190,118 +190,134 @@ msgstr ""
|
|||||||
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
|
"アプリケーションのパフォーマンスを基づいて自動的に設定します。\n"
|
||||||
"変更時にチラツキが発生する可能性があります。"
|
"変更時にチラツキが発生する可能性があります。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:605 client/scenes/stream_gui.cpp:445
|
#: client/scenes/lobby_gui.cpp:606 client/scenes/stream_gui.cpp:439
|
||||||
msgid "Minimum refresh rate"
|
msgid "Minimum refresh rate"
|
||||||
msgstr "最低リフレッシュレート"
|
msgstr "最低リフレッシュレート"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:631
|
#: client/scenes/lobby_gui.cpp:632
|
||||||
msgid "Foveation level"
|
msgid "Foveation level"
|
||||||
msgstr "フォビエーション・レベル"
|
msgstr "フォビエーション・レベル"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:654
|
#: client/scenes/lobby_gui.cpp:655
|
||||||
msgid "Render resolution"
|
msgid "Render resolution"
|
||||||
msgstr "レンダー解像度"
|
msgstr "レンダー解像度"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:658
|
#: client/scenes/lobby_gui.cpp:659
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%% - {}x{} per eye"
|
msgid "{}%% - {}x{} per eye"
|
||||||
msgstr "{}%% - 目あたり{}x{}"
|
msgstr "{}%% - 目あたり{}x{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:669
|
#: client/scenes/lobby_gui.cpp:670
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
|
"{}x{}以上の解像度は、お使いのヘッドセットではサポートされない場合があります。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:679
|
#: client/scenes/lobby_gui.cpp:680
|
||||||
msgid "Stream resolution"
|
msgid "Foveated encoding"
|
||||||
msgstr "ストリーミング解像度"
|
msgstr "エンコード・フォビエーション"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:683
|
#: client/scenes/lobby_gui.cpp:684
|
||||||
#, c-format, c++-format
|
#, c-format, c++-format
|
||||||
msgid "{}%%"
|
msgid "{}%%"
|
||||||
msgstr "{}%%"
|
msgstr "{}%%"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:697
|
#: client/scenes/lobby_gui.cpp:697
|
||||||
|
msgid ""
|
||||||
|
"Higher values focus image quality where you look at,\n"
|
||||||
|
"improving latency, power efficiency and quality."
|
||||||
|
msgstr ""
|
||||||
|
"高い方は、視線方向の画質を最適化し、\n"
|
||||||
|
"応答速度、電力効率、画質を向上させます。"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:700
|
||||||
|
msgid ""
|
||||||
|
"Higher values focus image quality at the center,\n"
|
||||||
|
"improving latency, power efficiency and quality."
|
||||||
|
msgstr ""
|
||||||
|
"高い方は、画面の中央の画質を最適化し、\n"
|
||||||
|
"応答速度、電力効率、画質を向上させます。"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:709
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "Automatic"
|
msgid "Automatic"
|
||||||
msgstr "自動"
|
msgstr "自動"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:701
|
#: client/scenes/lobby_gui.cpp:713
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.264"
|
msgid "H.264"
|
||||||
msgstr "H.264"
|
msgstr "H.264"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:703
|
#: client/scenes/lobby_gui.cpp:715
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "H.265"
|
msgid "H.265"
|
||||||
msgstr "H.265"
|
msgstr "H.265"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:705
|
#: client/scenes/lobby_gui.cpp:717
|
||||||
msgctxt "Codec"
|
msgctxt "Codec"
|
||||||
msgid "AV1"
|
msgid "AV1"
|
||||||
msgstr "AV1"
|
msgstr "AV1"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:713
|
#: client/scenes/lobby_gui.cpp:725
|
||||||
msgid "Codec"
|
msgid "Codec"
|
||||||
msgstr "コーデック"
|
msgstr "コーデック"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:741
|
#: client/scenes/lobby_gui.cpp:753
|
||||||
msgid "10-bit"
|
msgid "10-bit"
|
||||||
msgstr "10ビット"
|
msgstr "10ビット"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:756
|
#: client/scenes/lobby_gui.cpp:768
|
||||||
msgid "Bitrate"
|
msgid "Bitrate"
|
||||||
msgstr "ビットレート"
|
msgstr "ビットレート"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:760
|
#: client/scenes/lobby_gui.cpp:772
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "{}Mbit/s"
|
msgid "{}Mbit/s"
|
||||||
msgstr "{}Mbps"
|
msgstr "{}Mbps"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:771
|
#: client/scenes/lobby_gui.cpp:783
|
||||||
msgid "High power mode"
|
msgid "High power mode"
|
||||||
msgstr "高電力モード"
|
msgstr "高電力モード"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:774
|
#: client/scenes/lobby_gui.cpp:786
|
||||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||||
msgstr "HMDの性能問題を緩和するため、電力を増加させます。"
|
msgstr "HMDの性能問題を緩和するため、電力を増加させます。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:780
|
#: client/scenes/lobby_gui.cpp:792
|
||||||
msgid "Enable microphone"
|
msgid "Enable microphone"
|
||||||
msgstr "マイクを有効する"
|
msgstr "マイクを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:789
|
#: client/scenes/lobby_gui.cpp:801
|
||||||
msgid "Unprocessed Microphone Audio"
|
msgid "Unprocessed Microphone Audio"
|
||||||
msgstr "未処理のマイク音声"
|
msgstr "未処理のマイク音声"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:795
|
#: client/scenes/lobby_gui.cpp:807
|
||||||
msgid "Force disable audio filters, such as noise cancellation"
|
msgid "Force disable audio filters, such as noise cancellation"
|
||||||
msgstr "ノイズ除去などのフィルターを無効化する"
|
msgstr "ノイズ除去などのフィルターを無効化する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:802
|
#: client/scenes/lobby_gui.cpp:814
|
||||||
msgid "Enable hand tracking"
|
msgid "Enable hand tracking"
|
||||||
msgstr "ハンドトラッキングを有効する"
|
msgstr "ハンドトラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:808 client/scenes/lobby_gui.cpp:820
|
#: client/scenes/lobby_gui.cpp:820 client/scenes/lobby_gui.cpp:831
|
||||||
#: client/scenes/lobby_gui.cpp:832 client/scenes/lobby_gui.cpp:849
|
#: client/scenes/lobby_gui.cpp:841 client/scenes/lobby_gui.cpp:856
|
||||||
#: client/scenes/lobby_gui_customize.cpp:636
|
#: client/scenes/lobby_gui_customize.cpp:640
|
||||||
msgid "This feature is not supported by your headset"
|
msgid "This feature is not supported by your headset"
|
||||||
msgstr "デバイスはこの機能をサポートしていません"
|
msgstr "デバイスはこの機能をサポートしていません"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:814
|
#: client/scenes/lobby_gui.cpp:825
|
||||||
msgid "Enable eye tracking"
|
msgid "Enable eye tracking"
|
||||||
msgstr "アイトラッキングを有効する"
|
msgstr "アイトラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:826
|
#: client/scenes/lobby_gui.cpp:836
|
||||||
msgid "Enable face tracking"
|
msgid "Enable face tracking"
|
||||||
msgstr "顔トラッキングを有効する"
|
msgstr "顔トラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:840
|
#: client/scenes/lobby_gui.cpp:848
|
||||||
msgid "Enable body tracking"
|
msgid "Enable body tracking"
|
||||||
msgstr "ボディラッキングを有効する"
|
msgstr "ボディラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:854
|
#: client/scenes/lobby_gui.cpp:861
|
||||||
msgid ""
|
msgid ""
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
"tracking settings,\n"
|
"tracking settings,\n"
|
||||||
@@ -312,11 +328,11 @@ msgstr ""
|
|||||||
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
|
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されるこ"
|
||||||
"とになる。"
|
"とになる。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:864
|
#: client/scenes/lobby_gui.cpp:871
|
||||||
msgid "Enable lower body tracking"
|
msgid "Enable lower body tracking"
|
||||||
msgstr "下半身トラッキングを有効する"
|
msgstr "下半身トラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:870
|
#: client/scenes/lobby_gui.cpp:877
|
||||||
msgid ""
|
msgid ""
|
||||||
"Estimate lower body joint positions using Generative Legs\n"
|
"Estimate lower body joint positions using Generative Legs\n"
|
||||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||||
@@ -326,11 +342,11 @@ msgstr ""
|
|||||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキングを"
|
||||||
"有効する必要がある。"
|
"有効する必要がある。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:873
|
#: client/scenes/lobby_gui.cpp:880
|
||||||
msgid "Enable hip tracking"
|
msgid "Enable hip tracking"
|
||||||
msgstr "腰のトラッキングを有効する"
|
msgstr "腰のトラッキングを有効する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:879
|
#: client/scenes/lobby_gui.cpp:886
|
||||||
msgid ""
|
msgid ""
|
||||||
"Only takes affect with lower body tracking enabled\n"
|
"Only takes affect with lower body tracking enabled\n"
|
||||||
"May be desired when using another source of hip tracking"
|
"May be desired when using another source of hip tracking"
|
||||||
@@ -338,11 +354,11 @@ msgstr ""
|
|||||||
"下半身トラッキングが有効な場合に使用可能。\n"
|
"下半身トラッキングが有効な場合に使用可能。\n"
|
||||||
"腰トラッカーを持ってる方は無効にしましょう。"
|
"腰トラッカーを持ってる方は無効にしましょう。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:887
|
#: client/scenes/lobby_gui.cpp:895
|
||||||
msgid "Enable in-stream window"
|
msgid "Enable in-stream window"
|
||||||
msgstr "ストリーミング中の設定パネル"
|
msgstr "ストリーミング中の設定パネル"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:890
|
#: client/scenes/lobby_gui.cpp:898
|
||||||
msgid ""
|
msgid ""
|
||||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||||
"If enabled, the window is activated by pressing both thumbsticks."
|
"If enabled, the window is activated by pressing both thumbsticks."
|
||||||
@@ -350,15 +366,23 @@ msgstr ""
|
|||||||
"ストリーミング中にも設定パネルを表示できるようにします。\n"
|
"ストリーミング中にも設定パネルを表示できるようにします。\n"
|
||||||
"両方のサムスティックを同時に押して切り替えることができます。"
|
"両方のサムスティックを同時に押して切り替えることができます。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:904 client/scenes/stream_gui.cpp:479
|
#: client/scenes/lobby_gui.cpp:902
|
||||||
|
msgid "Extended configuration values"
|
||||||
|
msgstr "設定に対する制限の緩和"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:905
|
||||||
|
msgid "Allows unsafe configuration values, use at your own risk."
|
||||||
|
msgstr "不安定な状態が発生しないよう、十分にご注意ください。"
|
||||||
|
|
||||||
|
#: client/scenes/lobby_gui.cpp:919 client/scenes/stream_gui.cpp:473
|
||||||
msgid "OpenXR post-processing"
|
msgid "OpenXR post-processing"
|
||||||
msgstr "OpenXRポストエフェクト"
|
msgstr "OpenXRポストエフェクト"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:908 client/scenes/stream_gui.cpp:483
|
#: client/scenes/lobby_gui.cpp:923 client/scenes/stream_gui.cpp:477
|
||||||
msgid "Supersampling"
|
msgid "Supersampling"
|
||||||
msgstr "スーパーサンプリング"
|
msgstr "スーパーサンプリング"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:928 client/scenes/stream_gui.cpp:504
|
#: client/scenes/lobby_gui.cpp:943 client/scenes/stream_gui.cpp:498
|
||||||
msgid ""
|
msgid ""
|
||||||
"Reduce flicker for high contrast edges.\n"
|
"Reduce flicker for high contrast edges.\n"
|
||||||
"Useful when the input resolution is high compared to the headset display"
|
"Useful when the input resolution is high compared to the headset display"
|
||||||
@@ -366,11 +390,11 @@ msgstr ""
|
|||||||
"コントラストが高い部分のギザギザを低減する。\n"
|
"コントラストが高い部分のギザギザを低減する。\n"
|
||||||
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:933 client/scenes/stream_gui.cpp:509
|
#: client/scenes/lobby_gui.cpp:948 client/scenes/stream_gui.cpp:503
|
||||||
msgid "Sharpening"
|
msgid "Sharpening"
|
||||||
msgstr "シャープ"
|
msgstr "シャープ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:953 client/scenes/stream_gui.cpp:530
|
#: client/scenes/lobby_gui.cpp:968 client/scenes/stream_gui.cpp:524
|
||||||
msgid ""
|
msgid ""
|
||||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||||
"Useful when the input resolution is low compared to the headset display"
|
"Useful when the input resolution is low compared to the headset display"
|
||||||
@@ -378,129 +402,129 @@ msgstr ""
|
|||||||
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
||||||
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1137 client/scenes/lobby_gui.cpp:1145
|
#: client/scenes/lobby_gui.cpp:1152 client/scenes/lobby_gui.cpp:1160
|
||||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:373
|
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:370
|
||||||
msgid "CPU time"
|
msgid "CPU time"
|
||||||
msgstr "CPU使用時間"
|
msgstr "CPU使用時間"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1141
|
#: client/scenes/lobby_gui.cpp:1156
|
||||||
msgid "CPU time [ms]"
|
msgid "CPU time [ms]"
|
||||||
msgstr "CPU使用時間、ミリ秒"
|
msgstr "CPU使用時間、ミリ秒"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1151 client/scenes/lobby_gui.cpp:1159
|
#: client/scenes/lobby_gui.cpp:1166 client/scenes/lobby_gui.cpp:1174
|
||||||
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:374
|
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:371
|
||||||
msgid "GPU time"
|
msgid "GPU time"
|
||||||
msgstr "GPU使用時間"
|
msgstr "GPU使用時間"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1155
|
#: client/scenes/lobby_gui.cpp:1170
|
||||||
msgid "GPU time [ms]"
|
msgid "GPU time [ms]"
|
||||||
msgstr "GPU使用時間、ミリ秒"
|
msgstr "GPU使用時間、ミリ秒"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1219
|
#: client/scenes/lobby_gui.cpp:1234
|
||||||
msgid "Enable the microphone?"
|
msgid "Enable the microphone?"
|
||||||
msgstr "マイクを有効にしますか?"
|
msgstr "マイクを有効にしますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1224
|
#: client/scenes/lobby_gui.cpp:1239
|
||||||
msgid "Enable eye tracking?"
|
msgid "Enable eye tracking?"
|
||||||
msgstr "アイトラッキングを有効にしますか?"
|
msgstr "アイトラッキングを有効にしますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1229
|
#: client/scenes/lobby_gui.cpp:1244
|
||||||
msgid "Enable face tracking?"
|
msgid "Enable face tracking?"
|
||||||
msgstr "フェースラッキングを有効にしますか?"
|
msgstr "フェースラッキングを有効にしますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1234
|
#: client/scenes/lobby_gui.cpp:1249
|
||||||
msgid "Enable body tracking?"
|
msgid "Enable body tracking?"
|
||||||
msgstr "ボディトラッキングを有効にしますか?"
|
msgstr "ボディトラッキングを有効にしますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1242
|
#: client/scenes/lobby_gui.cpp:1257
|
||||||
msgid "Welcome to WiVRn"
|
msgid "Welcome to WiVRn"
|
||||||
msgstr "WiVRnへようこそ!"
|
msgstr "WiVRnへようこそ!"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1270
|
#: client/scenes/lobby_gui.cpp:1285
|
||||||
msgid "Yes"
|
msgid "Yes"
|
||||||
msgstr "はい"
|
msgstr "はい"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1277
|
#: client/scenes/lobby_gui.cpp:1292
|
||||||
msgid "No"
|
msgid "No"
|
||||||
msgstr "いいえ"
|
msgstr "いいえ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1296 client/scenes/lobby_gui.cpp:1942
|
#: client/scenes/lobby_gui.cpp:1311 client/scenes/lobby_gui.cpp:1957
|
||||||
msgid "Licenses"
|
msgid "Licenses"
|
||||||
msgstr "ライセンス"
|
msgstr "ライセンス"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1572
|
#: client/scenes/lobby_gui.cpp:1587
|
||||||
msgid "Microphone is enabled"
|
msgid "Microphone is enabled"
|
||||||
msgstr "マイクは有効です"
|
msgstr "マイクは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1573
|
#: client/scenes/lobby_gui.cpp:1588
|
||||||
msgid "Microphone is disabled"
|
msgid "Microphone is disabled"
|
||||||
msgstr "マイクは無効です"
|
msgstr "マイクは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1582
|
#: client/scenes/lobby_gui.cpp:1597
|
||||||
msgid "Hand tracking is enabled"
|
msgid "Hand tracking is enabled"
|
||||||
msgstr "ハンドトラッキングは有効です"
|
msgstr "ハンドトラッキングは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1583
|
#: client/scenes/lobby_gui.cpp:1598
|
||||||
msgid "Hand tracking is disabled"
|
msgid "Hand tracking is disabled"
|
||||||
msgstr "ハンドラッキングは無効です"
|
msgstr "ハンドラッキングは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1592
|
#: client/scenes/lobby_gui.cpp:1607
|
||||||
msgid "Eye tracking is enabled"
|
msgid "Eye tracking is enabled"
|
||||||
msgstr "アイトラッキングは有効です"
|
msgstr "アイトラッキングは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1593
|
#: client/scenes/lobby_gui.cpp:1608
|
||||||
msgid "Eye tracking is disabled"
|
msgid "Eye tracking is disabled"
|
||||||
msgstr "アイトラッキングは無効です"
|
msgstr "アイトラッキングは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1603
|
#: client/scenes/lobby_gui.cpp:1618
|
||||||
msgid "Face tracking is enabled"
|
msgid "Face tracking is enabled"
|
||||||
msgstr "フェーストラッキングは有効です"
|
msgstr "フェーストラッキングは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1604
|
#: client/scenes/lobby_gui.cpp:1619
|
||||||
msgid "Face tracking is disabled"
|
msgid "Face tracking is disabled"
|
||||||
msgstr "フェーストラッキングは無効です"
|
msgstr "フェーストラッキングは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1618
|
#: client/scenes/lobby_gui.cpp:1633
|
||||||
msgid "Body tracking is enabled"
|
msgid "Body tracking is enabled"
|
||||||
msgstr "ボディトラッキングは有効です"
|
msgstr "ボディトラッキングは有効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1619
|
#: client/scenes/lobby_gui.cpp:1634
|
||||||
msgid "Body tracking is disabled"
|
msgid "Body tracking is disabled"
|
||||||
msgstr "ボディトラッキングは無効です"
|
msgstr "ボディトラッキングは無効です"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1635
|
#: client/scenes/lobby_gui.cpp:1650
|
||||||
msgid "Add server"
|
msgid "Add server"
|
||||||
msgstr "サーバーを追加する"
|
msgstr "サーバーを追加する"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1921
|
#: client/scenes/lobby_gui.cpp:1936
|
||||||
msgid "Server list"
|
msgid "Server list"
|
||||||
msgstr "サーバー"
|
msgstr "サーバー"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1924 client/scenes/stream_gui.cpp:996
|
#: client/scenes/lobby_gui.cpp:1939 client/scenes/stream_gui.cpp:990
|
||||||
msgid "Settings"
|
msgid "Settings"
|
||||||
msgstr "設定"
|
msgstr "設定"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1927
|
#: client/scenes/lobby_gui.cpp:1942
|
||||||
msgid "Post-processing"
|
msgid "Post-processing"
|
||||||
msgstr "ポストエフェクト"
|
msgstr "ポストエフェクト"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1930
|
#: client/scenes/lobby_gui.cpp:1945
|
||||||
msgid "Customize"
|
msgid "Customize"
|
||||||
msgstr "カスタマイズ"
|
msgstr "カスタマイズ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1934
|
#: client/scenes/lobby_gui.cpp:1949
|
||||||
msgid "Debug"
|
msgid "Debug"
|
||||||
msgstr "デバッグ"
|
msgstr "デバッグ"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1939
|
#: client/scenes/lobby_gui.cpp:1954
|
||||||
msgid "About"
|
msgid "About"
|
||||||
msgstr "WiVRnについて"
|
msgstr "WiVRnについて"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1945
|
#: client/scenes/lobby_gui.cpp:1960
|
||||||
msgid "Exit"
|
msgid "Exit"
|
||||||
msgstr "完了"
|
msgstr "完了"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1962
|
#: client/scenes/lobby_gui.cpp:1977
|
||||||
msgid ""
|
msgid ""
|
||||||
"Press the grip button or put your palm up\n"
|
"Press the grip button or put your palm up\n"
|
||||||
"to move the main window"
|
"to move the main window"
|
||||||
@@ -508,51 +532,51 @@ msgstr ""
|
|||||||
"メイン・パネルを動かすには、グリップを握るか、\n"
|
"メイン・パネルを動かすには、グリップを握るか、\n"
|
||||||
"手のひらを上向きにしましょう。"
|
"手のひらを上向きにしましょう。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui.cpp:1964
|
#: client/scenes/lobby_gui.cpp:1979
|
||||||
msgid "Press the grip button to move the main window"
|
msgid "Press the grip button to move the main window"
|
||||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:208
|
#: client/scenes/lobby_gui_customize.cpp:213
|
||||||
msgid "Locally loaded environment"
|
msgid "Locally loaded environment"
|
||||||
msgstr "ローカル環境"
|
msgstr "ローカル環境"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:221
|
#: client/scenes/lobby_gui_customize.cpp:226
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Locally loaded environment ({})"
|
msgid "Locally loaded environment ({})"
|
||||||
msgstr "ローカル環境({})"
|
msgstr "ローカル環境({})"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:296
|
#: client/scenes/lobby_gui_customize.cpp:300
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot load local environment: {}"
|
msgid "Cannot load local environment: {}"
|
||||||
msgstr "ローカル環境ロードできません:{}"
|
msgstr "ローカル環境ロードできません:{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:329
|
#: client/scenes/lobby_gui_customize.cpp:333
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot load environment list: {}"
|
msgid "Cannot load environment list: {}"
|
||||||
msgstr "環境リストをロードできませんでした:{}"
|
msgstr "環境リストをロードできませんでした:{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:459
|
#: client/scenes/lobby_gui_customize.cpp:463
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Author: {}"
|
msgid "Author: {}"
|
||||||
msgstr "作者:{}"
|
msgstr "作者:{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:463
|
#: client/scenes/lobby_gui_customize.cpp:467
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Size: {:.1f} MB"
|
msgid "Size: {:.1f} MB"
|
||||||
msgstr "サイズ:{:.1f} MB"
|
msgstr "サイズ:{:.1f} MB"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:543
|
#: client/scenes/lobby_gui_customize.cpp:547
|
||||||
msgid "Delete this model"
|
msgid "Delete this model"
|
||||||
msgstr "モデルを削除しますか?"
|
msgstr "モデルを削除しますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:579
|
#: client/scenes/lobby_gui_customize.cpp:583
|
||||||
#: client/scenes/lobby_gui_customize.cpp:785
|
#: client/scenes/lobby_gui_customize.cpp:789
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "HTTP error {} when downloading {}"
|
msgid "HTTP error {} when downloading {}"
|
||||||
msgstr "{}をダウンロード中にHTTP {}が発生しました。"
|
msgstr "{}をダウンロード中にHTTP {}が発生しました。"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:587
|
#: client/scenes/lobby_gui_customize.cpp:591
|
||||||
#: client/scenes/lobby_gui_customize.cpp:793
|
#: client/scenes/lobby_gui_customize.cpp:797
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Curl error when downloading {}\n"
|
"Curl error when downloading {}\n"
|
||||||
@@ -561,29 +585,29 @@ msgstr ""
|
|||||||
"{}をダウンロード中にCurlエラーが発生しました。\n"
|
"{}をダウンロード中にCurlエラーが発生しました。\n"
|
||||||
"{}: {}"
|
"{}: {}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:648
|
#: client/scenes/lobby_gui_customize.cpp:652
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Really delete {}?"
|
msgid "Really delete {}?"
|
||||||
msgstr "{}を削除しますか?"
|
msgstr "{}を削除しますか?"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:652
|
#: client/scenes/lobby_gui_customize.cpp:656
|
||||||
msgid "Delete"
|
msgid "Delete"
|
||||||
msgstr "削除"
|
msgstr "削除"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:733
|
#: client/scenes/lobby_gui_customize.cpp:737
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Cannot load environment: {}"
|
msgid "Cannot load environment: {}"
|
||||||
msgstr "環境をロードできませんでした:{}"
|
msgstr "環境をロードできませんでした:{}"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:741
|
#: client/scenes/lobby_gui_customize.cpp:745
|
||||||
msgid "Loading environment"
|
msgid "Loading environment"
|
||||||
msgstr "ホーム環境をロード中"
|
msgstr "ホーム環境をロード中"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:820
|
#: client/scenes/lobby_gui_customize.cpp:824
|
||||||
msgid "Download more environments"
|
msgid "Download more environments"
|
||||||
msgstr "ホーム環境をダウンロード"
|
msgstr "ホーム環境をダウンロード"
|
||||||
|
|
||||||
#: client/scenes/lobby_gui_customize.cpp:828
|
#: client/scenes/lobby_gui_customize.cpp:832
|
||||||
msgid "Open local glTF model"
|
msgid "Open local glTF model"
|
||||||
msgstr "glTFファイルを開く"
|
msgstr "glTFファイルを開く"
|
||||||
|
|
||||||
@@ -595,11 +619,11 @@ msgstr "フォビエーション解除"
|
|||||||
msgid "Network"
|
msgid "Network"
|
||||||
msgstr "ネットワーク"
|
msgstr "ネットワーク"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
|
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:368
|
||||||
msgid "Download"
|
msgid "Download"
|
||||||
msgstr "ダウンロード"
|
msgstr "ダウンロード"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
|
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:369
|
||||||
msgid "Upload"
|
msgid "Upload"
|
||||||
msgstr "アップロード"
|
msgstr "アップロード"
|
||||||
|
|
||||||
@@ -640,107 +664,107 @@ msgstr "表示"
|
|||||||
msgid "Predicted"
|
msgid "Predicted"
|
||||||
msgstr "予測時間"
|
msgstr "予測時間"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:344
|
#: client/scenes/stream_gui.cpp:343
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Estimated motion to photons latency: {}ms"
|
msgid "Estimated motion to photons latency: {}ms"
|
||||||
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
|
msgstr "「Motion-to-photon」推定遅延 {}ミリ秒"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:351
|
#: client/scenes/stream_gui.cpp:348
|
||||||
msgid "Press the grip button to move the window"
|
msgid "Press the grip button to move the window"
|
||||||
msgstr "グリップを握ってパネルを動かしましょう。"
|
msgstr "グリップを握ってパネルを動かしましょう。"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:924
|
#: client/scenes/stream_gui.cpp:350 client/scenes/stream_gui.cpp:918
|
||||||
msgid "Press both thumbsticks to display the WiVRn window"
|
msgid "Press both thumbsticks to display the WiVRn window"
|
||||||
msgstr "両方のサムスティックを同時に押すことで設定表示"
|
msgstr "両方のサムスティックを同時に押すことで設定表示"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:375
|
#: client/scenes/stream_gui.cpp:372
|
||||||
msgid "Motion to photon latency"
|
msgid "Motion to photon latency"
|
||||||
msgstr "「Motion-to-photon」遅延"
|
msgstr "「Motion-to-photon」遅延"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:464
|
#: client/scenes/stream_gui.cpp:458
|
||||||
msgid "Bitrate:"
|
msgid "Bitrate:"
|
||||||
msgstr "ビットレート:"
|
msgstr "ビットレート:"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:474
|
#: client/scenes/stream_gui.cpp:468
|
||||||
msgid "Click to adjust bitrate"
|
msgid "Click to adjust bitrate"
|
||||||
msgstr "クリックしてビットレートを調整"
|
msgstr "クリックしてビットレートを調整"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:537
|
#: client/scenes/stream_gui.cpp:531
|
||||||
msgid "Foveation center override"
|
msgid "Foveation center override"
|
||||||
msgstr "光学中心の調整"
|
msgstr "光学中心の調整"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:540
|
#: client/scenes/stream_gui.cpp:534
|
||||||
msgid "Enable"
|
msgid "Enable"
|
||||||
msgstr "有効"
|
msgstr "有効"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:548 client/scenes/stream_gui.cpp:620
|
#: client/scenes/stream_gui.cpp:542 client/scenes/stream_gui.cpp:614
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Height {:.1f} deg"
|
msgid "Height {:.1f} deg"
|
||||||
msgstr "仰角 {:.1f}°"
|
msgstr "仰角 {:.1f}°"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:549 client/scenes/stream_gui.cpp:621
|
#: client/scenes/stream_gui.cpp:543 client/scenes/stream_gui.cpp:615
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Distance {:.2f} m"
|
msgid "Distance {:.2f} m"
|
||||||
msgstr "距離 {:.2f}m"
|
msgstr "距離 {:.2f}m"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:550
|
#: client/scenes/stream_gui.cpp:544
|
||||||
msgid "Default"
|
msgid "Default"
|
||||||
msgstr "デフォルト"
|
msgstr "デフォルト"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:561
|
#: client/scenes/stream_gui.cpp:555
|
||||||
msgid "Change"
|
msgid "Change"
|
||||||
msgstr "編集"
|
msgstr "編集"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:594
|
#: client/scenes/stream_gui.cpp:588
|
||||||
msgid "Use the right thumbstick to adjust the bitrate"
|
msgid "Use the right thumbstick to adjust the bitrate"
|
||||||
msgstr "右スティックでビットレートを調整しましょう"
|
msgstr "右スティックでビットレートを調整しましょう"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:595
|
#: client/scenes/stream_gui.cpp:589
|
||||||
msgid "Press A to go back"
|
msgid "Press A to go back"
|
||||||
msgstr "「A」を押して戻る"
|
msgstr "「A」を押して戻る"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:596
|
#: client/scenes/stream_gui.cpp:590
|
||||||
#, c++-format
|
#, c++-format
|
||||||
msgid "Bitrate: {}Mbit/s"
|
msgid "Bitrate: {}Mbit/s"
|
||||||
msgstr "ビットレート:{}Mbps"
|
msgstr "ビットレート:{}Mbps"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:618
|
#: client/scenes/stream_gui.cpp:612
|
||||||
msgid "Use the thumbsticks to move the foveation center"
|
msgid "Use the thumbsticks to move the foveation center"
|
||||||
msgstr "ジョイスティックを使って中心点を調整しましょう。"
|
msgstr "ジョイスティックを使って中心点を調整しましょう。"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:619
|
#: client/scenes/stream_gui.cpp:613
|
||||||
msgid "Press A to save or B to cancel"
|
msgid "Press A to save or B to cancel"
|
||||||
msgstr "AかBを押してキャンセル。"
|
msgstr "AかBを押してキャンセル。"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:677
|
#: client/scenes/stream_gui.cpp:671
|
||||||
msgid "Running XR applications:"
|
msgid "Running XR applications:"
|
||||||
msgstr "XRアプリの実行"
|
msgstr "XRアプリの実行"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:694
|
#: client/scenes/stream_gui.cpp:688
|
||||||
msgid "Overlays"
|
msgid "Overlays"
|
||||||
msgstr "オーバーレイ"
|
msgstr "オーバーレイ"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:733
|
#: client/scenes/stream_gui.cpp:727
|
||||||
msgid "Request to quit, may be ignored by the application"
|
msgid "Request to quit, may be ignored by the application"
|
||||||
msgstr "終了シグナルを送信する"
|
msgstr "終了シグナルを送信する"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:983
|
#: client/scenes/stream_gui.cpp:977
|
||||||
msgid "Applications"
|
msgid "Applications"
|
||||||
msgstr "アプリ"
|
msgstr "アプリ"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:986
|
#: client/scenes/stream_gui.cpp:980
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "実行する"
|
msgstr "実行する"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:999
|
#: client/scenes/stream_gui.cpp:993
|
||||||
msgid "Stats"
|
msgid "Stats"
|
||||||
msgstr "統計情報"
|
msgstr "統計情報"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1005
|
#: client/scenes/stream_gui.cpp:999
|
||||||
msgid "Statistics overlay"
|
msgid "Statistics overlay"
|
||||||
msgstr "統計オーバーレイ"
|
msgstr "統計オーバーレイ"
|
||||||
|
|
||||||
#: client/scenes/stream_gui.cpp:1008
|
#: client/scenes/stream_gui.cpp:1002
|
||||||
msgid "Compact view"
|
msgid "Compact view"
|
||||||
msgstr "コンパクト・モード"
|
msgstr "コンパクト・モード"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
317b480450257e2ba24643000b1a2c1505012cf7
|
0877fc240d397d2a6f233cd1044d1942d046480f
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ public:
|
|||||||
struct sample
|
struct sample
|
||||||
{
|
{
|
||||||
XrTime production_timestamp = std::numeric_limits<XrTime>::lowest();
|
XrTime production_timestamp = std::numeric_limits<XrTime>::lowest();
|
||||||
XrTime timestamp;
|
XrTime timestamp = std::numeric_limits<XrTime>::lowest();
|
||||||
std::optional<value_type> y;
|
std::optional<value_type> y;
|
||||||
std::optional<value_type> dy;
|
std::optional<value_type> dy;
|
||||||
};
|
};
|
||||||
@@ -100,7 +100,24 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sample get_at(XrTime timestamp)
|
std::pair<XrTime, XrTime> get_bounds() const
|
||||||
|
{
|
||||||
|
std::pair<XrTime, XrTime> result{
|
||||||
|
std::numeric_limits<XrTime>::max(),
|
||||||
|
std::numeric_limits<XrTime>::lowest(),
|
||||||
|
};
|
||||||
|
for (const auto & sample: data)
|
||||||
|
{
|
||||||
|
if (sample.y)
|
||||||
|
{
|
||||||
|
result.first = std::min(result.first, sample.timestamp);
|
||||||
|
result.second = std::max(result.second, sample.timestamp);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
sample get_at(XrTime timestamp) const
|
||||||
{
|
{
|
||||||
Eigen::Matrix<float, 2 * stored_samples, polynomial_order + 1> A;
|
Eigen::Matrix<float, 2 * stored_samples, polynomial_order + 1> A;
|
||||||
Eigen::Matrix<float, 2 * stored_samples, N> b;
|
Eigen::Matrix<float, 2 * stored_samples, N> b;
|
||||||
@@ -111,9 +128,14 @@ public:
|
|||||||
// This allows a small buffer so that polynomial extrapolation fills the gap of networking hiccups
|
// This allows a small buffer so that polynomial extrapolation fills the gap of networking hiccups
|
||||||
timestamp = std::min(timestamp, production_timestamp + (wivrn::max_extrapolation_ns * 11) / 10);
|
timestamp = std::min(timestamp, production_timestamp + (wivrn::max_extrapolation_ns * 11) / 10);
|
||||||
|
|
||||||
|
const sample * closest = data.data();
|
||||||
|
|
||||||
int row = 0;
|
int row = 0;
|
||||||
for (const auto && [i, sample]: std::ranges::enumerate_view(data))
|
for (const auto && [i, sample]: std::ranges::enumerate_view(data))
|
||||||
{
|
{
|
||||||
|
if (std::abs(closest->timestamp - timestamp) > std::abs(sample.timestamp - timestamp))
|
||||||
|
closest = &sample;
|
||||||
|
|
||||||
if (not sample.y)
|
if (not sample.y)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@@ -146,14 +168,13 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Data turned invalid, return it
|
||||||
|
if (not closest->y)
|
||||||
|
return *closest;
|
||||||
|
|
||||||
// Not enough data to extrapolate
|
// Not enough data to extrapolate
|
||||||
if (row < 2)
|
if (row < 2)
|
||||||
{
|
{
|
||||||
auto closest = std::ranges::min_element(data, std::less{}, [&](const auto & sample) {
|
|
||||||
if (not sample.y)
|
|
||||||
return std::numeric_limits<XrDuration>::max();
|
|
||||||
return std::abs(sample.timestamp - timestamp);
|
|
||||||
});
|
|
||||||
if (closest->y and std::abs(closest->production_timestamp - timestamp) < 1'000'000'000)
|
if (closest->y and std::abs(closest->production_timestamp - timestamp) < 1'000'000'000)
|
||||||
return *closest;
|
return *closest;
|
||||||
return {};
|
return {};
|
||||||
|
|||||||
@@ -100,6 +100,11 @@ pose_list::pose_list(wivrn::device_id id) : device(id)
|
|||||||
dumper.emplace(dump);
|
dumper.emplace(dump);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::pair<XrTime, XrTime> pose_list::get_bounds() const
|
||||||
|
{
|
||||||
|
return positions.get_bounds();
|
||||||
|
}
|
||||||
|
|
||||||
void pose_list::update_tracking(const from_headset::tracking & tracking, const clock_offset & offset)
|
void pose_list::update_tracking(const from_headset::tracking & tracking, const clock_offset & offset)
|
||||||
{
|
{
|
||||||
if (source)
|
if (source)
|
||||||
|
|||||||
@@ -63,6 +63,8 @@ public:
|
|||||||
|
|
||||||
pose_list(wivrn::device_id id);
|
pose_list(wivrn::device_id id);
|
||||||
|
|
||||||
|
std::pair<XrTime, XrTime> get_bounds() const;
|
||||||
|
|
||||||
void update_tracking(const wivrn::from_headset::tracking &, const clock_offset & offset);
|
void update_tracking(const wivrn::from_headset::tracking &, const clock_offset & offset);
|
||||||
void set_derived(pose_list * source, xrt_pose offset, bool force = false);
|
void set_derived(pose_list * source, xrt_pose offset, bool force = false);
|
||||||
|
|
||||||
|
|||||||
@@ -67,6 +67,13 @@ void wivrn::tracking_control::resolve(XrDuration frame_time, XrDuration latency)
|
|||||||
XrDuration step = frame_time;
|
XrDuration step = frame_time;
|
||||||
switch (device_id(device))
|
switch (device_id(device))
|
||||||
{
|
{
|
||||||
|
// High frequency, but not extrapolation
|
||||||
|
case device_id::EYE_GAZE:
|
||||||
|
req.min_prediction = latency;
|
||||||
|
req.max_prediction = frame_time + latency;
|
||||||
|
step = 3'000'000;
|
||||||
|
break;
|
||||||
|
|
||||||
// High frequency polling for those
|
// High frequency polling for those
|
||||||
case device_id::HEAD:
|
case device_id::HEAD:
|
||||||
case device_id::LEFT_GRIP:
|
case device_id::LEFT_GRIP:
|
||||||
@@ -77,11 +84,11 @@ void wivrn::tracking_control::resolve(XrDuration frame_time, XrDuration latency)
|
|||||||
case device_id::RIGHT_PALM:
|
case device_id::RIGHT_PALM:
|
||||||
case device_id::LEFT_PINCH_POSE:
|
case device_id::LEFT_PINCH_POSE:
|
||||||
case device_id::RIGHT_PINCH_POSE:
|
case device_id::RIGHT_PINCH_POSE:
|
||||||
case device_id::EYE_GAZE:
|
|
||||||
step = 3'000'000;
|
step = 3'000'000;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// Face tracking can't extrapolate
|
||||||
case device_id::FACE:
|
case device_id::FACE:
|
||||||
// Face tracking can't extrapolate
|
|
||||||
res.pattern.push_back({
|
res.pattern.push_back({
|
||||||
.device = device_id(device),
|
.device = device_id(device),
|
||||||
.prediction_ns = 0,
|
.prediction_ns = 0,
|
||||||
|
|||||||
@@ -651,6 +651,13 @@ static void comp_wivrn_flush(struct comp_target * ct)
|
|||||||
r->StartFrameCapture(NULL, NULL);
|
r->StartFrameCapture(NULL, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (cn->cnx.get_info().eye_gaze)
|
||||||
|
{
|
||||||
|
// FIXME: actually get the gaze data here
|
||||||
|
auto now = os_monotonic_get_ns();
|
||||||
|
cn->cnx.add_tracking_request(device_id::EYE_GAZE, cn->c->base.layer_accum.data.display_time_ns, now, now);
|
||||||
|
}
|
||||||
|
|
||||||
vk::CommandBuffer cmd;
|
vk::CommandBuffer cmd;
|
||||||
// apply foveation for current frame
|
// apply foveation for current frame
|
||||||
if (cn->c->base.frame_params.one_projection_layer_fast_path)
|
if (cn->c->base.frame_params.one_projection_layer_fast_path)
|
||||||
|
|||||||
@@ -34,13 +34,13 @@
|
|||||||
namespace wivrn
|
namespace wivrn
|
||||||
{
|
{
|
||||||
|
|
||||||
wivrn_eye_tracker::wivrn_eye_tracker(xrt_device * hmd, wivrn_session & cnx) :
|
wivrn_eye_tracker::wivrn_eye_tracker(wivrn_session & cnx) :
|
||||||
xrt_device{
|
xrt_device{
|
||||||
.name = XRT_DEVICE_EYE_GAZE_INTERACTION,
|
.name = XRT_DEVICE_EYE_GAZE_INTERACTION,
|
||||||
.device_type = XRT_DEVICE_TYPE_EYE_TRACKER,
|
.device_type = XRT_DEVICE_TYPE_EYE_TRACKER,
|
||||||
.str = "WiVRn Eye Tracker",
|
.str = "WiVRn Eye Tracker",
|
||||||
.serial = "WiVRn Eye Tracker",
|
.serial = "WiVRn Eye Tracker",
|
||||||
.tracking_origin = hmd->tracking_origin,
|
.tracking_origin = &origin,
|
||||||
.input_count = 1,
|
.input_count = 1,
|
||||||
.inputs = &gaze_input,
|
.inputs = &gaze_input,
|
||||||
.supported = {
|
.supported = {
|
||||||
@@ -50,6 +50,10 @@ wivrn_eye_tracker::wivrn_eye_tracker(xrt_device * hmd, wivrn_session & cnx) :
|
|||||||
.get_tracked_pose = method_pointer<&wivrn_eye_tracker::get_tracked_pose>,
|
.get_tracked_pose = method_pointer<&wivrn_eye_tracker::get_tracked_pose>,
|
||||||
.destroy = [](xrt_device *) {},
|
.destroy = [](xrt_device *) {},
|
||||||
},
|
},
|
||||||
|
origin{
|
||||||
|
.type = XRT_TRACKING_TYPE_ATTACHABLE,
|
||||||
|
.initial_offset = XRT_POSE_IDENTITY,
|
||||||
|
},
|
||||||
gaze_input{
|
gaze_input{
|
||||||
.active = true,
|
.active = true,
|
||||||
.name = XRT_INPUT_GENERIC_EYE_GAZE_POSE,
|
.name = XRT_INPUT_GENERIC_EYE_GAZE_POSE,
|
||||||
@@ -68,6 +72,8 @@ xrt_result_t wivrn_eye_tracker::get_tracked_pose(xrt_input_name name, int64_t at
|
|||||||
{
|
{
|
||||||
if (name == XRT_INPUT_GENERIC_EYE_GAZE_POSE)
|
if (name == XRT_INPUT_GENERIC_EYE_GAZE_POSE)
|
||||||
{
|
{
|
||||||
|
if (auto [min, max] = gaze.get_bounds(); min <= max)
|
||||||
|
at_timestamp_ns = std::clamp(at_timestamp_ns, min, max);
|
||||||
auto [production_timestamp, relation] = gaze.get_at(at_timestamp_ns);
|
auto [production_timestamp, relation] = gaze.get_at(at_timestamp_ns);
|
||||||
*out_relation = relation;
|
*out_relation = relation;
|
||||||
cnx.add_tracking_request(device_id::EYE_GAZE, at_timestamp_ns, production_timestamp);
|
cnx.add_tracking_request(device_id::EYE_GAZE, at_timestamp_ns, production_timestamp);
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
#include "wivrn_packets.h"
|
#include "wivrn_packets.h"
|
||||||
#include "xrt/xrt_defines.h"
|
#include "xrt/xrt_defines.h"
|
||||||
#include "xrt/xrt_device.h"
|
#include "xrt/xrt_device.h"
|
||||||
|
#include "xrt/xrt_tracking.h"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
@@ -34,6 +35,7 @@ class wivrn_session;
|
|||||||
|
|
||||||
class wivrn_eye_tracker : public xrt_device
|
class wivrn_eye_tracker : public xrt_device
|
||||||
{
|
{
|
||||||
|
xrt_tracking_origin origin;
|
||||||
std::mutex mutex;
|
std::mutex mutex;
|
||||||
xrt_input gaze_input;
|
xrt_input gaze_input;
|
||||||
pose_list gaze;
|
pose_list gaze;
|
||||||
@@ -41,7 +43,7 @@ class wivrn_eye_tracker : public xrt_device
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
using base = xrt_device;
|
using base = xrt_device;
|
||||||
wivrn_eye_tracker(xrt_device * hmd, wivrn_session &);
|
wivrn_eye_tracker(wivrn_session &);
|
||||||
|
|
||||||
xrt_result_t update_inputs();
|
xrt_result_t update_inputs();
|
||||||
void update_tracking(const from_headset::tracking &, const clock_offset &);
|
void update_tracking(const from_headset::tracking &, const clock_offset &);
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
#include "wivrn_foveation.h"
|
#include "wivrn_foveation.h"
|
||||||
|
|
||||||
#include "driver/xrt_cast.h"
|
#include "driver/xrt_cast.h"
|
||||||
#include "math/m_api.h"
|
|
||||||
#include "utils/wivrn_vk_bundle.h"
|
#include "utils/wivrn_vk_bundle.h"
|
||||||
#include "wivrn_packets.h"
|
#include "wivrn_packets.h"
|
||||||
#include "xrt/xrt_defines.h"
|
#include "xrt/xrt_defines.h"
|
||||||
@@ -277,7 +276,7 @@ void wivrn_foveation::compute_params(
|
|||||||
if (foveated_width < extent_w)
|
if (foveated_width < extent_w)
|
||||||
{
|
{
|
||||||
auto distance = manual_foveation.enabled ? manual_foveation.distance : convergence_distance;
|
auto distance = manual_foveation.enabled ? manual_foveation.distance : convergence_distance;
|
||||||
auto angle_x = convergence_angle(distance, eye_x[i], e.x);
|
auto angle_x = convergence_angle(distance, eye_x[i], -e.x);
|
||||||
auto center = angles_to_center(angle_x, fov.angle_left, fov.angle_right);
|
auto center = angles_to_center(angle_x, fov.angle_left, fov.angle_right);
|
||||||
fill_param_2d(center, foveated_width, extent_w, params[i].x);
|
fill_param_2d(center, foveated_width, extent_w, params[i].x);
|
||||||
}
|
}
|
||||||
@@ -287,7 +286,7 @@ void wivrn_foveation::compute_params(
|
|||||||
size_t extent_h = std::abs(src[i].extent.h);
|
size_t extent_h = std::abs(src[i].extent.h);
|
||||||
if (foveated_height < extent_h)
|
if (foveated_height < extent_h)
|
||||||
{
|
{
|
||||||
auto angle_y = e.y;
|
auto angle_y = -e.y;
|
||||||
if (is_zero_quat(gaze) and not manual_foveation.enabled)
|
if (is_zero_quat(gaze) and not manual_foveation.enabled)
|
||||||
{
|
{
|
||||||
// Natural gaze is not straight forward, adjust the angle
|
// Natural gaze is not straight forward, adjust the angle
|
||||||
@@ -347,26 +346,12 @@ void wivrn_foveation::update_tracking(const from_headset::tracking & tracking, c
|
|||||||
|
|
||||||
const uint8_t orientation_ok = from_headset::tracking::orientation_valid | from_headset::tracking::orientation_tracked;
|
const uint8_t orientation_ok = from_headset::tracking::orientation_valid | from_headset::tracking::orientation_tracked;
|
||||||
|
|
||||||
eye_x[0] = tracking.views[0].pose.position.x;
|
if (tracking.view_flags & XR_VIEW_STATE_POSITION_VALID_BIT)
|
||||||
eye_x[1] = tracking.views[1].pose.position.x;
|
|
||||||
|
|
||||||
std::optional<xrt_quat> head;
|
|
||||||
|
|
||||||
for (const auto & pose: tracking.device_poses)
|
|
||||||
{
|
{
|
||||||
if (pose.device != device_id::HEAD)
|
eye_x[0] = tracking.views[0].pose.position.x;
|
||||||
continue;
|
eye_x[1] = tracking.views[1].pose.position.x;
|
||||||
|
|
||||||
if ((pose.flags & orientation_ok) != orientation_ok)
|
|
||||||
return;
|
|
||||||
|
|
||||||
head = xrt_cast(pose.pose.orientation);
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!head.has_value())
|
|
||||||
return;
|
|
||||||
|
|
||||||
for (const auto & pose: tracking.device_poses)
|
for (const auto & pose: tracking.device_poses)
|
||||||
{
|
{
|
||||||
if (pose.device != device_id::EYE_GAZE)
|
if (pose.device != device_id::EYE_GAZE)
|
||||||
@@ -375,9 +360,8 @@ void wivrn_foveation::update_tracking(const from_headset::tracking & tracking, c
|
|||||||
if ((pose.flags & orientation_ok) != orientation_ok)
|
if ((pose.flags & orientation_ok) != orientation_ok)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
xrt_quat qgaze = xrt_cast(pose.pose.orientation);
|
gaze = xrt_cast(pose.pose.orientation);
|
||||||
math_quat_unrotate(&qgaze, &head.value(), &gaze);
|
return;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -399,7 +383,7 @@ static void fill_ubo(
|
|||||||
bool flip,
|
bool flip,
|
||||||
size_t offset,
|
size_t offset,
|
||||||
size_t size,
|
size_t size,
|
||||||
int count)
|
[[maybe_unused]] int count)
|
||||||
{
|
{
|
||||||
assert(params.size() % 2 == 1);
|
assert(params.size() % 2 == 1);
|
||||||
const int n_ratio = (params.size() - 1) / 2;
|
const int n_ratio = (params.size() - 1) / 2;
|
||||||
|
|||||||
@@ -216,7 +216,8 @@ wivrn::wivrn_session::wivrn_session(std::unique_ptr<wivrn_connection> connection
|
|||||||
#endif
|
#endif
|
||||||
if (get_info().eye_gaze || is_forced_extension("EXT_eye_gaze_interaction"))
|
if (get_info().eye_gaze || is_forced_extension("EXT_eye_gaze_interaction"))
|
||||||
{
|
{
|
||||||
eye_tracker = std::make_unique<wivrn_eye_tracker>(&hmd, *this);
|
// The tracker space needs to be attached to the head pose once the space overseer is created
|
||||||
|
eye_tracker = std::make_unique<wivrn_eye_tracker>(*this);
|
||||||
static_roles.eyes = eye_tracker.get();
|
static_roles.eyes = eye_tracker.get();
|
||||||
xdevs[xdev_count++] = eye_tracker.get();
|
xdevs[xdev_count++] = eye_tracker.get();
|
||||||
}
|
}
|
||||||
@@ -367,6 +368,22 @@ xrt_result_t wivrn::wivrn_session::create_session(std::unique_ptr<wivrn_connecti
|
|||||||
out_xspovrs);
|
out_xspovrs);
|
||||||
self->space_overseer = *out_xspovrs;
|
self->space_overseer = *out_xspovrs;
|
||||||
|
|
||||||
|
if (self->eye_tracker)
|
||||||
|
{
|
||||||
|
xrt_space * head_space;
|
||||||
|
auto res = xrt_space_overseer_create_pose_space(self->space_overseer, &self->hmd, XRT_INPUT_GENERIC_HEAD_POSE, &head_space);
|
||||||
|
if (res == XRT_SUCCESS)
|
||||||
|
{
|
||||||
|
res = xrt_space_overseer_attach_device(self->space_overseer, self->eye_tracker.get(), head_space);
|
||||||
|
xrt_space_reference(&head_space, NULL);
|
||||||
|
}
|
||||||
|
if (res != XRT_SUCCESS)
|
||||||
|
{
|
||||||
|
U_LOG_W("failed to initialize eye tracker");
|
||||||
|
self->eye_tracker = nullptr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
auto dump_file = std::getenv("WIVRN_DUMP_TIMINGS");
|
auto dump_file = std::getenv("WIVRN_DUMP_TIMINGS");
|
||||||
if (dump_file)
|
if (dump_file)
|
||||||
{
|
{
|
||||||
|
|||||||
+10
-1
@@ -513,7 +513,16 @@ gboolean control_received(gint fd, GIOCondition condition, gpointer user_data)
|
|||||||
[&](const wivrn::from_headset::start_app & request) {
|
[&](const wivrn::from_headset::start_app & request) {
|
||||||
const auto & apps = list_applications();
|
const auto & apps = list_applications();
|
||||||
if (auto it = apps.find(request.app_id); it != apps.end())
|
if (auto it = apps.find(request.app_id); it != apps.end())
|
||||||
children->start_application(it->second.exec, it->second.path);
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
children->start_application(it->second.exec, it->second.path);
|
||||||
|
}
|
||||||
|
catch (std::exception & e)
|
||||||
|
{
|
||||||
|
std::cerr << "Failed to launch application " << it->second.name.at("") << ": " << e.what() << std::endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
[&](const from_monado::headset_connected &) {
|
[&](const from_monado::headset_connected &) {
|
||||||
stop_publishing();
|
stop_publishing();
|
||||||
|
|||||||
Reference in New Issue
Block a user