Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa52f3eae8 | ||
|
|
cc8092dd90 | ||
|
|
557a70b28b | ||
|
|
810d3e9af3 | ||
|
|
b09feca313 | ||
|
|
09ff9abba8 | ||
|
|
24c38e2a02 | ||
|
|
fedd7917db | ||
|
|
18d1619d20 | ||
|
|
b3f3c1c7fc |
@@ -1226,8 +1226,6 @@ void application::initialize()
|
||||
if (fb_body_tracking_supported)
|
||||
{
|
||||
fb_body_tracker = xr_session.create_fb_body_tracker();
|
||||
// HACK: always have an active body tracker so the quest runtime doesn't blow up (crash in random functions, controllers not working)
|
||||
fb_body_tracker.start(false, false);
|
||||
}
|
||||
|
||||
if (pico_body_tracking_supported)
|
||||
|
||||
@@ -229,16 +229,7 @@ std::shared_ptr<scenes::stream> scenes::stream::create(std::unique_ptr<wivrn_ses
|
||||
if (config.check_feature(feature::body_tracking))
|
||||
{
|
||||
if (application::get_fb_body_tracking_supported())
|
||||
{
|
||||
auto num_trackers = config.fb_lower_body
|
||||
? std::ranges::count_if(xr::fb_body_tracker::joint_whitelist, [&config](auto joint) {
|
||||
return config.fb_hip || joint != XR_FULL_BODY_JOINT_HIPS_META;
|
||||
})
|
||||
: std::ranges::count_if(xr::fb_body_tracker::joint_whitelist, [](auto joint) {
|
||||
return joint != XR_FULL_BODY_JOINT_HIPS_META && joint < XR_FULL_BODY_JOINT_LEFT_UPPER_LEG_META;
|
||||
});
|
||||
info.num_generic_trackers = num_trackers;
|
||||
}
|
||||
info.num_generic_trackers = xr::fb_body_tracker::get_whitelisted_joints(config.fb_lower_body, config.fb_hip).size();
|
||||
else if (application::get_pico_body_tracking_supported())
|
||||
info.num_generic_trackers = xr::pico_body_tracker::joint_whitelist.size();
|
||||
}
|
||||
@@ -882,6 +873,13 @@ void scenes::stream::render(const XrFrameState & frame_state)
|
||||
|
||||
// defoveate the image
|
||||
auto extents = reprojector->reproject(command_buffer, foveation, image_index);
|
||||
for (size_t i = 0; i < view_count; ++i)
|
||||
{
|
||||
extents[i] = {
|
||||
.width = std::min(extents[i].width, swapchain.width()),
|
||||
.height = std::min(extents[i].height, swapchain.height()),
|
||||
};
|
||||
}
|
||||
|
||||
command_buffer.writeTimestamp(vk::PipelineStageFlagBits::eBottomOfPipe, *query_pool, 2);
|
||||
|
||||
|
||||
@@ -272,8 +272,9 @@ void scenes::stream::tracking()
|
||||
if (application::get_fb_body_tracking_supported())
|
||||
{
|
||||
body_tracking = body_fb;
|
||||
// We start the tracker on connection because there are toggleable settings.
|
||||
// TODO maybe handle reconnection better, if the settings are changed the tracker count will mismatch and stuff might break
|
||||
// TODO maybe handle reconnection better, if the settings are changed since
|
||||
// last connection to running server, the tracker count will mismatch and
|
||||
// stuff might break
|
||||
application::get_fb_body_tracker().stop();
|
||||
application::get_fb_body_tracker().start(config.fb_lower_body, config.fb_hip);
|
||||
}
|
||||
|
||||
@@ -20,9 +20,23 @@
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "xr/meta_body_tracking_fidelity.h"
|
||||
#include "xr/xr.h"
|
||||
#include <ranges>
|
||||
#include <openxr/openxr.h>
|
||||
|
||||
static_assert(xr::pico_body_tracker::joint_whitelist.size() <= wivrn::from_headset::body_tracking::max_tracked_poses);
|
||||
static_assert(xr::fb_body_tracker::joint_whitelist.size() <= wivrn::from_headset::body_tracking::max_tracked_poses);
|
||||
|
||||
std::vector<XrFullBodyJointMETA> xr::fb_body_tracker::get_whitelisted_joints(bool full_body, bool hip)
|
||||
{
|
||||
auto whitelisted_joints = std::ranges::filter_view(xr::fb_body_tracker::joint_whitelist, [=](auto joint) {
|
||||
if (!full_body && (joint == XR_FULL_BODY_JOINT_HIPS_META || joint >= XR_FULL_BODY_JOINT_LEFT_UPPER_LEG_META))
|
||||
return false;
|
||||
if (!hip && joint == XR_FULL_BODY_JOINT_HIPS_META)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
});
|
||||
return {whitelisted_joints.begin(), whitelisted_joints.end()};
|
||||
}
|
||||
|
||||
xr::fb_body_tracker::fb_body_tracker(instance & inst, session & s) :
|
||||
s(s)
|
||||
@@ -55,13 +69,18 @@ void xr::fb_body_tracker::start(bool full_body, bool hip)
|
||||
|
||||
// Enable IOBT.
|
||||
CHECK_XR(xrRequestBodyTrackingFidelityMETA(handle, XR_BODY_TRACKING_FIDELITY_HIGH_META));
|
||||
|
||||
whitelisted_joints = get_whitelisted_joints(full_body, hip);
|
||||
}
|
||||
void xr::fb_body_tracker::stop()
|
||||
{
|
||||
assert(xrDestroyBodyTrackerFB);
|
||||
full_body = false;
|
||||
hip = false;
|
||||
if (handle)
|
||||
{
|
||||
assert(xrDestroyBodyTrackerFB);
|
||||
CHECK_XR(xrDestroyBodyTrackerFB(std::exchange(handle, nullptr)));
|
||||
}
|
||||
}
|
||||
|
||||
std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses>> xr::fb_body_tracker::locate_spaces(XrTime time, XrSpace reference)
|
||||
@@ -100,14 +119,8 @@ std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_h
|
||||
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> poses{};
|
||||
int num_poses = 0;
|
||||
for (int i = 0; i < joint_whitelist.size(); i++)
|
||||
for (auto joint: whitelisted_joints)
|
||||
{
|
||||
auto joint = joint_whitelist[i];
|
||||
if (!full_body && (joint == XR_FULL_BODY_JOINT_HIPS_META || joint >= XR_FULL_BODY_JOINT_LEFT_UPPER_LEG_META))
|
||||
continue;
|
||||
if (!hip && joint == XR_FULL_BODY_JOINT_HIPS_META)
|
||||
continue;
|
||||
|
||||
const auto & joint_loc = joints[joint];
|
||||
wivrn::from_headset::body_tracking::pose pose{
|
||||
.pose = joint_loc.pose,
|
||||
|
||||
@@ -42,6 +42,7 @@ class fb_body_tracker
|
||||
|
||||
bool full_body{};
|
||||
bool hip{};
|
||||
std::vector<XrFullBodyJointMETA> whitelisted_joints{};
|
||||
|
||||
public:
|
||||
static constexpr std::array joint_whitelist{
|
||||
@@ -56,6 +57,7 @@ public:
|
||||
XR_FULL_BODY_JOINT_LEFT_FOOT_TRANSVERSE_META,
|
||||
XR_FULL_BODY_JOINT_RIGHT_FOOT_TRANSVERSE_META,
|
||||
};
|
||||
static std::vector<XrFullBodyJointMETA> get_whitelisted_joints(bool full_body, bool hip);
|
||||
|
||||
fb_body_tracker() = default;
|
||||
fb_body_tracker(instance & inst, session & s);
|
||||
|
||||
@@ -63,9 +63,10 @@ std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_h
|
||||
}
|
||||
|
||||
std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_headset::body_tracking::max_tracked_poses> poses{};
|
||||
for (int i = 0; i < joint_whitelist.size(); i++)
|
||||
int num_poses = 0;
|
||||
for (auto joint: joint_whitelist)
|
||||
{
|
||||
const auto & joint_loc = joints[joint_whitelist[i]];
|
||||
const auto & joint_loc = joints[joint];
|
||||
wivrn::from_headset::body_tracking::pose pose{
|
||||
.pose = joint_loc.pose,
|
||||
.flags = 0,
|
||||
@@ -80,7 +81,7 @@ std::optional<std::array<wivrn::from_headset::body_tracking::pose, wivrn::from_h
|
||||
if (joint_loc.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
|
||||
pose.flags |= wivrn::from_headset::body_tracking::position_tracked;
|
||||
|
||||
poses[i] = pose;
|
||||
poses[num_poses++] = pose;
|
||||
}
|
||||
return poses;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-05-22 03:31+0900\n"
|
||||
"POT-Creation-Date: 2025-06-09 19:04+0900\n"
|
||||
"PO-Revision-Date: 2025-04-10 07:14+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language-Team: Japanese <>\n"
|
||||
@@ -517,22 +517,22 @@ msgstr "H.265"
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:320
|
||||
#: dashboard/qml/SettingsPage.qml:319
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "詳細設定"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:326
|
||||
#: dashboard/qml/SettingsPage.qml:325
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "デバッグ・ウィンドウを表示する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:333
|
||||
#: dashboard/qml/SettingsPage.qml:332
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "SteamVR・ライトハウス・トラッキング"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:336
|
||||
#: dashboard/qml/SettingsPage.qml:335
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -545,44 +545,44 @@ msgstr ""
|
||||
"すべてのデバイスの電源が入ってからHMDを接続しましょう。\n"
|
||||
"キャリブレーションはmotocなどのソフトウェアで行います。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:344
|
||||
#: dashboard/qml/SettingsPage.qml:343
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "特定なADBの場所"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:355
|
||||
#: dashboard/qml/SettingsPage.qml:354
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "ADBの場所:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:364
|
||||
#: dashboard/qml/SettingsPage.qml:363
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "検索する"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:374
|
||||
#: dashboard/qml/SettingsPage.qml:373
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "デフォルト"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:388
|
||||
#: dashboard/qml/SettingsPage.qml:387
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "カスタム"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:393
|
||||
#: dashboard/qml/SettingsPage.qml:392
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "無し"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:401
|
||||
#: dashboard/qml/SettingsPage.qml:400
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR実装ライブラリー"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:427
|
||||
#: dashboard/qml/SettingsPage.qml:426
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "ライブラリーの場所(bin/linux64/vrclient.so 無し)"
|
||||
|
||||
+99
-46
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.16\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-04-20 17:32+0900\n"
|
||||
"POT-Creation-Date: 2025-06-09 19:04+0900\n"
|
||||
"PO-Revision-Date: 2024-06-20 10:33+0900\n"
|
||||
"Last-Translator: Mitsuami Megane <hello@mitsua.me>\n"
|
||||
"Language: Japanese\n"
|
||||
@@ -171,12 +171,12 @@ msgstr "最低リフレッシュレート"
|
||||
msgid "Resolution scale"
|
||||
msgstr "解像度"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:915
|
||||
#: client/scenes/lobby_gui.cpp:666 client/scenes/lobby_gui.cpp:967
|
||||
#, c-format, c++-format
|
||||
msgid "%d%% - {}x{} per eye"
|
||||
msgstr "%d%% - 目あたり{}x{}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:926
|
||||
#: client/scenes/lobby_gui.cpp:677 client/scenes/lobby_gui.cpp:978
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr ""
|
||||
@@ -199,7 +199,8 @@ msgid "Enable hand tracking"
|
||||
msgstr "ハンドトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:713 client/scenes/lobby_gui.cpp:726
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:751
|
||||
#: client/scenes/lobby_gui.cpp:739 client/scenes/lobby_gui.cpp:756
|
||||
#: client/scenes/lobby_gui.cpp:803
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "デバイスはこの機能をサポートしていません"
|
||||
|
||||
@@ -211,45 +212,89 @@ msgstr "アイトラッキングを有効する"
|
||||
msgid "Enable face tracking"
|
||||
msgstr "顔トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:744
|
||||
#: client/scenes/lobby_gui.cpp:746
|
||||
msgid "Enable body tracking"
|
||||
msgstr "ボディラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:761
|
||||
msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキング"
|
||||
"を有効する必要がある。\n"
|
||||
"そうでなければ、トラッキングデータはHMDとコントローラーの情報から推測されることになる。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:763
|
||||
msgid "Uses the Pico Motion Trackers to track body joint positions"
|
||||
msgstr "Pico Motion Trackerによるフルボディトラッキング"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:773
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "下半身トラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:779
|
||||
msgid ""
|
||||
"Estimate lower body joint positions using Generative Legs\n"
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"下半身に計算された疑似トラッキングを使用する。\n"
|
||||
"Quest設定・動きのトラッキング・ジェスチャーコントロールとボディトラッキング"
|
||||
"を有効する必要がある。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:782
|
||||
msgid "Enable hip tracking"
|
||||
msgstr "腰のトラッキングを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:788
|
||||
msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"下半身トラッキングが有効な場合に使用可能。"
|
||||
"腰トラッカーを持ってる方は無効にしましょう。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:796
|
||||
msgid "Enable video passthrough in lobby"
|
||||
msgstr "ロビーでパススルーを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:754
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
msgid "Show performance metrics"
|
||||
msgstr "パフォーマンスグラフを表示する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:758
|
||||
#: client/scenes/lobby_gui.cpp:810
|
||||
msgid "Overlay can be toggled by pressing both thumbsticks"
|
||||
msgstr "両方のサムスティックを同時に押すことで切り替え可能"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:788 client/scenes/lobby_gui.cpp:796
|
||||
#: client/scenes/lobby_gui.cpp:840 client/scenes/lobby_gui.cpp:848
|
||||
#: client/scenes/stream_stats.cpp:159
|
||||
msgid "CPU time"
|
||||
msgstr "CPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:792
|
||||
#: client/scenes/lobby_gui.cpp:844
|
||||
msgid "CPU time [ms]"
|
||||
msgstr "CPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:802 client/scenes/lobby_gui.cpp:810
|
||||
#: client/scenes/lobby_gui.cpp:854 client/scenes/lobby_gui.cpp:862
|
||||
#: client/scenes/stream_stats.cpp:161
|
||||
msgid "GPU time"
|
||||
msgstr "GPU使用時間"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:806
|
||||
#: client/scenes/lobby_gui.cpp:858
|
||||
msgid "GPU time [ms]"
|
||||
msgstr "GPU使用時間、ミリ秒"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:825
|
||||
#: client/scenes/lobby_gui.cpp:877
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "OpenXRポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829
|
||||
#: client/scenes/lobby_gui.cpp:881
|
||||
msgid "Supersampling"
|
||||
msgstr "スーパーサンプリング"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:849
|
||||
#: client/scenes/lobby_gui.cpp:901
|
||||
msgid ""
|
||||
"Reduce flicker for high contrast edges.\n"
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
@@ -257,11 +302,11 @@ msgstr ""
|
||||
"コントラストが高い部分のギザギザを低減する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より高い場合は有用です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:854
|
||||
#: client/scenes/lobby_gui.cpp:906
|
||||
msgid "Sharpening"
|
||||
msgstr "シャープ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:874
|
||||
#: client/scenes/lobby_gui.cpp:926
|
||||
msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
@@ -269,115 +314,123 @@ msgstr ""
|
||||
"ぼかしを低減し、コントラストが高い部分の鮮明度を向上する。\n"
|
||||
"ストリームの解像度は、HMDの解像度より低い場合に有用です。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:883
|
||||
#: client/scenes/lobby_gui.cpp:935
|
||||
msgid "Enable Snapdragon Game Super Resolution"
|
||||
msgstr "Snapdragon Game Super Resolutionを有効する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:891
|
||||
#: client/scenes/lobby_gui.cpp:943
|
||||
msgid ""
|
||||
"On this headset, this setting has been fully superseded by the native "
|
||||
"Sharpening setting above.\n"
|
||||
"Only enable if you know what you're doing."
|
||||
msgstr ""
|
||||
"この設定は、使用中のHMDでは非推奨です。"
|
||||
"OpenXRの方法を使用してください。"
|
||||
"この設定は、使用中のHMDでは非推奨です。OpenXRの方法を使用してください。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:893
|
||||
#: client/scenes/lobby_gui.cpp:945
|
||||
msgid ""
|
||||
"Client-side upscaling and sharpening, adds a performance cost on the headset"
|
||||
msgstr ""
|
||||
"HMD側のアップスケーリングやシャープニングを使用する場合、要求性能が上がります。"
|
||||
"HMD側のアップスケーリングやシャープニングを使用する場合、要求性能が上がりま"
|
||||
"す。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:911
|
||||
#: client/scenes/lobby_gui.cpp:963
|
||||
msgid "Upscaling factor"
|
||||
msgstr "アップスケーリング係数"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:930
|
||||
#: client/scenes/lobby_gui.cpp:982
|
||||
msgid "Use edge direction"
|
||||
msgstr "エッジ方向を使用する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:936
|
||||
#: client/scenes/lobby_gui.cpp:988
|
||||
msgid "Adds an additional performance cost"
|
||||
msgstr "HMDに対する要求性能が上がります。"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:941
|
||||
#: client/scenes/lobby_gui.cpp:993
|
||||
msgid "Edge threshold"
|
||||
msgstr "エッジのしきい値"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:948 client/scenes/lobby_gui.cpp:957
|
||||
#: client/scenes/lobby_gui.cpp:1000 client/scenes/lobby_gui.cpp:1009
|
||||
#, c++-format
|
||||
msgid "Recommended: {:.1f}"
|
||||
msgstr "推奨値:{:.1f}"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:951
|
||||
#: client/scenes/lobby_gui.cpp:1003
|
||||
msgid "Edge sharpness"
|
||||
msgstr "エッジのシャープ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1045 client/scenes/lobby_gui.cpp:1691
|
||||
#: client/scenes/lobby_gui.cpp:1097 client/scenes/lobby_gui.cpp:1753
|
||||
msgid "Licenses"
|
||||
msgstr "ライセンス"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1384
|
||||
#: client/scenes/lobby_gui.cpp:1436
|
||||
msgid "Microphone is enabled"
|
||||
msgstr "マイクは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1385
|
||||
#: client/scenes/lobby_gui.cpp:1437
|
||||
msgid "Microphone is disabled"
|
||||
msgstr "マイクは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1394
|
||||
#: client/scenes/lobby_gui.cpp:1446
|
||||
msgid "Hand tracking is enabled"
|
||||
msgstr "ハンドトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1395
|
||||
#: client/scenes/lobby_gui.cpp:1447
|
||||
msgid "Hand tracking is disabled"
|
||||
msgstr "ハンドラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1404
|
||||
#: client/scenes/lobby_gui.cpp:1456
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "アイトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1405
|
||||
#: client/scenes/lobby_gui.cpp:1457
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "アイトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1415 client/scenes/lobby_gui.cpp:1426
|
||||
#: client/scenes/lobby_gui.cpp:1467 client/scenes/lobby_gui.cpp:1478
|
||||
msgid "Face tracking is enabled"
|
||||
msgstr "顔トラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1416 client/scenes/lobby_gui.cpp:1427
|
||||
#: client/scenes/lobby_gui.cpp:1468 client/scenes/lobby_gui.cpp:1479
|
||||
msgid "Face tracking is disabled"
|
||||
msgstr "フェーストラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1444
|
||||
#: client/scenes/lobby_gui.cpp:1489
|
||||
msgid "Body tracking is enabled"
|
||||
msgstr "ボディトラッキングは有効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1490
|
||||
msgid "Body tracking is disabled"
|
||||
msgstr "ボディトラッキングは無効です"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1506
|
||||
msgid "Add server"
|
||||
msgstr "サーバーを追加する"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1673
|
||||
#: client/scenes/lobby_gui.cpp:1735
|
||||
msgid "Server list"
|
||||
msgstr "サーバー"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1676
|
||||
#: client/scenes/lobby_gui.cpp:1738
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1679
|
||||
#: client/scenes/lobby_gui.cpp:1741
|
||||
msgid "Post-processing"
|
||||
msgstr "ポストエフェクト"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1683
|
||||
#: client/scenes/lobby_gui.cpp:1745
|
||||
msgid "Debug"
|
||||
msgstr "デバッグ"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1688
|
||||
#: client/scenes/lobby_gui.cpp:1750
|
||||
msgid "About"
|
||||
msgstr "WiVRnについて"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1694
|
||||
#: client/scenes/lobby_gui.cpp:1756
|
||||
msgid "Exit"
|
||||
msgstr "完了"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1708
|
||||
#: client/scenes/lobby_gui.cpp:1770
|
||||
msgid ""
|
||||
"Press A or X or put your palm up\n"
|
||||
"to move the main window"
|
||||
@@ -385,7 +438,7 @@ msgstr ""
|
||||
"ウィンドウを移動するには、手のひらを上に向けるか、\n"
|
||||
"AまたはBボタンを押しましょう"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1710
|
||||
#: client/scenes/lobby_gui.cpp:1772
|
||||
msgid "Press A or X to move the main window"
|
||||
msgstr "AまたはXボタンを押してウィンドウを移動"
|
||||
|
||||
|
||||
@@ -233,9 +233,7 @@ void wivrn_foveation::compute_params(
|
||||
|
||||
auto angle_x = convergence_angle(views[i].pose.position.x, e.x);
|
||||
tan_center[i].x = angles_to_center(view.x + angle_x, views[i].fov.angleLeft, views[i].fov.angleRight);
|
||||
|
||||
auto offset_y = (views[i].fov.angleDown + views[i].fov.angleUp) / 2;
|
||||
tan_center[i].y = angles_to_center(-view.y - e.y, views[i].fov.angleUp, views[i].fov.angleDown) + offset_y;
|
||||
tan_center[i].y = angles_to_center(-view.y - e.y, views[i].fov.angleUp, views[i].fov.angleDown);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -247,7 +245,10 @@ void wivrn_foveation::compute_params(
|
||||
else
|
||||
params[i].x = {uint16_t(src[i].extent.w)};
|
||||
if (foveated_height < src[i].extent.h)
|
||||
fill_param_2d(tan_center[i].y, foveated_height, src[i].extent.h, params[i].y);
|
||||
{
|
||||
auto offset_y = (views[i].fov.angleDown + views[i].fov.angleUp) / 2;
|
||||
fill_param_2d(tan_center[i].y + offset_y, foveated_height, src[i].extent.h, params[i].y);
|
||||
}
|
||||
else
|
||||
params[i].y = {uint16_t(src[i].extent.h)};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user