Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Vindicus999
2025-11-14 01:50:30 +00:00
12 changed files with 258 additions and 183 deletions
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -43,7 +43,7 @@ constexpr float scroll_ratio = 10;
constexpr float trigger_click_thd = 0.8;
// Thresholds on the distance between the fingertip and GUI layers (positive: in front of the GUI, negative: behind the GUI)
constexpr float fingertip_distance_hovering_thd = 0.15; // Max distance to have the cursor hovering
constexpr float palm_distance_close_thd = 0.20; // Distance to switch between touch and aim interaction
constexpr float fingertip_distance_touching_thd_hi = -0.01; // Distance to register a click
constexpr float fingertip_distance_touching_thd_lo = -0.15; // Distance to register a click
constexpr float fingertip_distance_stick_thd = -0.02; // Max distance where the fingertip is moved to be on the GUI
+75 -64
View File
@@ -210,9 +210,6 @@ imgui_textures::imgui_textures(
std::vector<std::pair<ImVec2, float>> imgui_context::ray_plane_intersection(const imgui_context::controller_state & in) const
{
if (!in.active)
return {};
std::vector<std::pair<ImVec2, float>> intersections;
for (const auto & i: layers_)
@@ -555,88 +552,102 @@ std::vector<imgui_context::controller_state> imgui_context::read_controllers_sta
size_t new_focused_controller = focused_controller;
std::vector<controller_state> new_states;
new_states.resize(controllers.size());
if (not controllers_enabled)
return new_states;
aim_interaction = {true, true};
// Get the hand/controller state from OpenXR
for (auto && [index, controller]: utils::enumerate(controllers))
// First hands, so we can set aim_interaction
for (const auto & [controller, state]: std::ranges::zip_view(controllers, new_states))
{
auto & [ctrl, state] = controller;
controller_state & new_state = new_states.emplace_back();
if (not controllers_enabled)
const auto & ctrl = controller.first;
if (not ctrl.hand)
continue;
state.source = ImGuiMouseSource_VRHandTracking;
if (ctrl.hand)
if (auto joints = ctrl.hand->locate(world, display_time))
{
if (auto joints = ctrl.hand->locate(world, display_time))
XrHandJointLocationEXT & index_tip = (*joints)[XR_HAND_JOINT_INDEX_TIP_EXT].first;
if (index_tip.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
{
XrHandJointLocationEXT & index_tip = (*joints)[XR_HAND_JOINT_INDEX_TIP_EXT].first;
if (index_tip.locationFlags & XR_SPACE_LOCATION_POSITION_TRACKED_BIT)
{
new_state.aim_position = {
index_tip.pose.position.x,
index_tip.pose.position.y,
index_tip.pose.position.z};
// aim_orientation is ignored by ray_plane_intersection() for hands
new_state.active = true;
new_state.source = ImGuiMouseSource_VRHandTracking;
}
state.aim_position = {
index_tip.pose.position.x,
index_tip.pose.position.y,
index_tip.pose.position.z};
// aim_orientation is ignored by ray_plane_intersection() for hands
}
compute_pointer_position(state);
continue;
}
new_state.source = ImGuiMouseSource_VRController;
if (auto location = application::locate_controller(ctrl.aim, world, display_time))
{
new_state.active = true;
new_state.aim_position = location->first + glm::mat3_cast(location->second * ctrl.offset.second) * ctrl.offset.first;
new_state.aim_orientation = location->second * ctrl.offset.second;
if (ctrl.trigger)
XrHandJointLocationEXT & palm = (*joints)[XR_HAND_JOINT_PALM_EXT].first;
if (palm.locationFlags & XR_SPACE_LOCATION_POSITION_VALID_BIT)
{
auto trigger = application::read_action_float(ctrl.trigger).value_or(std::pair{0, 0});
new_state.trigger_value = trigger.second;
// TODO tunable
/*if (new_state.trigger_value < 0.5)
new_state.trigger_clicked = false;
else */
if (new_state.trigger_value > constants::gui::trigger_click_thd)
new_state.trigger_clicked = true;
}
if (ctrl.scroll)
{
if (auto act = application::read_action_vec2(ctrl.scroll); act)
new_state.scroll_value = {-act->second.x * scroll_scale, act->second.y * scroll_scale};
controller_state palm_state{
.aim_position = {
palm.pose.position.x,
palm.pose.position.y,
palm.pose.position.z,
},
.source = ImGuiMouseSource_VRHandTracking,
};
compute_pointer_position(palm_state);
if (palm_state.hover_distance < constants::gui::palm_distance_close_thd)
aim_interaction[ctrl.index] = false;
else
new_state.scroll_value = {0, 0};
state.pointer_position.reset();
}
}
}
// Compute the position in imgui frame according to the currently displayed windows (from the last frame)
for (auto & state: new_states)
{
compute_pointer_position(state);
if (state.source == ImGuiMouseSource_VRHandTracking)
{
if (state.hover_distance < constants::gui::fingertip_distance_hovering_thd)
state.fingertip_hovering = true;
if (state.hover_distance < constants::gui::fingertip_distance_touching_thd_hi and state.hover_distance > constants::gui::fingertip_distance_touching_thd_lo)
state.fingertip_touching = true;
}
}
// Then controllers
for (const auto & [controller, state]: std::ranges::zip_view(controllers, new_states))
{
const auto & ctrl = controller.first;
if (ctrl.hand)
continue;
state.source = ImGuiMouseSource_VRController;
if (not aim_interaction[ctrl.index])
continue;
if (auto location = application::locate_controller(ctrl.aim, world, display_time))
{
state.aim_position = location->first + glm::mat3_cast(location->second * ctrl.offset.second) * ctrl.offset.first;
state.aim_orientation = location->second * ctrl.offset.second;
compute_pointer_position(state);
if (ctrl.trigger)
{
auto trigger = application::read_action_float(ctrl.trigger).value_or(std::pair{0, 0});
state.trigger_value = trigger.second;
// TODO tunable
/*if (new_state.trigger_value < 0.5)
new_state.trigger_clicked = false;
else */
if (state.trigger_value > constants::gui::trigger_click_thd)
state.trigger_clicked = true;
}
if (ctrl.scroll)
{
if (auto act = application::read_action_vec2(ctrl.scroll); act)
state.scroll_value = {-act->second.x * scroll_scale, act->second.y * scroll_scale};
else
state.scroll_value = {0, 0};
}
}
}
return new_states;
}
void imgui_context::compute_pointer_position(imgui_context::controller_state & state)
void imgui_context::compute_pointer_position(imgui_context::controller_state & state) const
{
auto intersections = ray_plane_intersection(state);
+8 -4
View File
@@ -93,6 +93,7 @@ public:
struct controller
{
uint8_t index; // left = 0, right = 1
XrSpace aim;
std::pair<glm::vec3, glm::quat> offset;
@@ -108,8 +109,6 @@ public:
struct controller_state
{
bool active = false;
glm::vec3 aim_position = {0, 0, 0};
glm::quat aim_orientation = {1, 0, 0, 0};
@@ -121,7 +120,6 @@ public:
bool squeeze_clicked = false;
bool trigger_clicked = false;
bool fingertip_hovering = false;
bool fingertip_touching = false;
ImGuiMouseSource source = ImGuiMouseSource_Mouse;
};
@@ -186,6 +184,8 @@ private:
bool button_pressed = false;
bool fingertip_touching = false;
std::array<bool, 2> aim_interaction = {true, true}; // left, right
ImGuiID hovered_item = 0; // Hovered item in the current frame, reset at the beginning of the frame
ImGuiID hovered_item_prev = 0; // Hovered item at the previous frame
@@ -229,7 +229,7 @@ public:
}
std::vector<std::pair<ImVec2, float>> ray_plane_intersection(const controller_state & in) const;
void compute_pointer_position(controller_state & state);
void compute_pointer_position(controller_state & state) const;
// Convert position from viewport coordinates to real-world
glm::vec3 rw_from_vp(const ImVec2 & position);
@@ -242,6 +242,10 @@ public:
void set_hovered_item();
void set_controllers_enabled(bool value);
void tooltip(std::string_view text);
std::array<bool, 2> is_aim_interaction() const
{
return aim_interaction;
}
};
void ScrollWhenDragging();
+13 -6
View File
@@ -397,15 +397,22 @@ static void set_clipping_planes(entt::registry & scene, entt::entity entity, std
}
}
void input_profile::apply(entt::registry & scene, XrSpace world_space, XrTime predicted_display_time, bool hide_left, bool hide_right, std::span<glm::vec4> pointer_limits)
void input_profile::apply(
entt::registry & scene,
XrSpace world_space,
XrTime predicted_display_time,
bool hide_left_controller,
bool hide_left_ray,
bool hide_right_controller,
bool hide_right_ray,
std::span<glm::vec4> pointer_limits)
{
for (auto && [entity, node, space]: scene.view<components::node, bound_space>().each())
{
if ((space.space == xr::spaces::grip_left or space.space == xr::spaces::aim_left) and hide_left)
{
node.visible = false;
}
else if ((space.space == xr::spaces::grip_right or space.space == xr::spaces::aim_right) and hide_right)
if ((space.space == xr::spaces::grip_left and hide_left_controller) or
(space.space == xr::spaces::aim_left and hide_left_ray) or
(space.space == xr::spaces::grip_right and hide_right_controller) or
(space.space == xr::spaces::aim_right and hide_right_ray))
{
node.visible = false;
}
+9 -1
View File
@@ -40,5 +40,13 @@ struct input_profile
input_profile(scene & scene, const std::filesystem::path & json_profile, uint32_t layer_mask_controller, uint32_t layer_mask_ray);
// application::poll_actions() must have been called before
void apply(entt::registry & scene, XrSpace world_space, XrTime predicted_display_time, bool hide_left, bool hide_right, std::span<glm::vec4> pointer_limits);
void apply(
entt::registry & scene,
XrSpace world_space,
XrTime predicted_display_time,
bool hide_left_controller,
bool hide_left_ray,
bool hide_right_controller,
bool hide_right_ray,
std::span<glm::vec4> pointer_limits);
};
+23 -4
View File
@@ -542,7 +542,6 @@ std::optional<glm::vec3> scenes::lobby::check_recenter_action(XrTime predicted_d
{
// First frame of recentering
imgui_context::controller_state state{
.active = true,
.aim_position = aim->first,
.aim_orientation = aim->second,
};
@@ -1065,7 +1064,14 @@ void scenes::lobby::render(const XrFrameState & frame_state)
ray_limits.push_back(compute_ray_limits(layer.pose));
}
input->apply(world, world_space, frame_state.predictedDisplayTime, hide_left_controller, hide_right_controller, ray_limits);
input->apply(world,
world_space,
frame_state.predictedDisplayTime,
hide_left_controller,
not imgui_ctx->is_aim_interaction()[0],
hide_right_controller,
not imgui_ctx->is_aim_interaction()[1],
ray_limits);
renderer::animate(world, frame_state.predictedDisplayPeriod * 1.0e-9);
@@ -1198,6 +1204,7 @@ void scenes::lobby::on_focused()
std::vector imgui_inputs{
imgui_context::controller{
.index = 0,
.aim = get_action_space("left_aim"),
.offset = input->offset[xr::spaces::aim_left],
.trigger = get_action("left_trigger").first,
@@ -1206,6 +1213,7 @@ void scenes::lobby::on_focused()
.haptic_output = get_action("left_haptic").first,
},
imgui_context::controller{
.index = 1,
.aim = get_action_space("right_aim"),
.offset = input->offset[xr::spaces::aim_right],
.trigger = get_action("right_trigger").first,
@@ -1221,8 +1229,8 @@ void scenes::lobby::on_focused()
right_hand = session.create_hand_tracker(XR_HAND_RIGHT_EXT);
hand_model::add_hand(*this, XR_HAND_LEFT_EXT, "assets://left-hand.glb", layer_controllers);
hand_model::add_hand(*this, XR_HAND_RIGHT_EXT, "assets://right-hand.glb", layer_controllers);
imgui_inputs.push_back({.hand = &*left_hand});
imgui_inputs.push_back({.hand = &*right_hand});
imgui_inputs.push_back({.index = 0, .hand = &*left_hand});
imgui_inputs.push_back({.index = 1, .hand = &*right_hand});
}
face_tracker = xr::make_face_tracker(instance, system, session);
@@ -1443,6 +1451,17 @@ scene::meta & scenes::lobby::get_meta_scene()
{"right_squeeze", "/user/hand/right/input/menu/click"},
},
},
suggested_binding{
{
"/interaction_profiles/ext/hand_interaction_ext",
},
{
{"left_aim", "/user/hand/left/input/aim/pose"},
{"left_trigger", "/user/hand/left/input/aim_activate_ext"},
{"right_aim", "/user/hand/right/input/aim/pose"},
{"right_trigger", "/user/hand/right/input/aim_activate_ext"},
},
},
}};
return m;
+2
View File
@@ -429,6 +429,7 @@ void scenes::stream::on_focused()
std::array imgui_inputs{
imgui_context::controller{
.index = 0,
.aim = get_action_space("left_aim"),
.offset = input->offset[xr::spaces::aim_left],
.trigger = get_action("left_trigger").first,
@@ -437,6 +438,7 @@ void scenes::stream::on_focused()
.haptic_output = get_action("left_haptic").first,
},
imgui_context::controller{
.index = 1,
.aim = get_action_space("right_aim"),
.offset = input->offset[xr::spaces::aim_right],
.trigger = get_action("right_trigger").first,
+8 -1
View File
@@ -1032,7 +1032,14 @@ void scenes::stream::draw_gui(XrTime predicted_display_time, XrDuration predicte
hide_right_controller = true;
}
input->apply(world, world_space, predicted_display_time, hide_left_controller, hide_right_controller, ray_limits);
input->apply(world,
world_space,
predicted_display_time,
hide_left_controller,
hide_left_controller,
hide_right_controller,
hide_right_controller,
ray_limits);
// Add the layer with the controllers
if (composition_layer_depth_test_supported)
+30 -14
View File
@@ -10,8 +10,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-06 12:45+0100\n"
"PO-Revision-Date: 2025-11-06 13:14+0100\n"
"POT-Creation-Date: 2025-11-11 21:12+0100\n"
"PO-Revision-Date: 2025-11-13 00:55+0100\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"Language: pt_BR\n"
@@ -19,7 +19,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Lokalize 25.08.2\n"
"X-Generator: Lokalize 25.08.3\n"
#: dashboard/apk_installer.cpp:137
#, kde-format
@@ -554,17 +554,33 @@ msgstr "Opções avançadas"
msgid "Check system configuration on start"
msgstr "Verificar configuração do sistema ao iniciar"
#: dashboard/qml/SettingsPage.qml:235
#: dashboard/qml/SettingsPage.qml:237
#, kde-format
msgid "Forward keyboard & mouse from headset"
msgstr "Repassar teclado & mouse do headset"
#: dashboard/qml/SettingsPage.qml:240
#, kde-format
msgid ""
"Keyboard and mouse connected to the client will act as if connected to the "
"server. Client OS may reserve specific keys and combinations, which cannot "
"be forwarded."
msgstr ""
"Teclado e mouse conectados ao cliente agirão como se conectados ao "
"servidor. O OS cliente pode reservar teclas e combinações específicas, as "
"quais podem não ser repassadas."
#: dashboard/qml/SettingsPage.qml:245
#, kde-format
msgid "Enable debug window"
msgstr "Ativar janela de depuração"
#: dashboard/qml/SettingsPage.qml:242
#: dashboard/qml/SettingsPage.qml:252
#, kde-format
msgid "Enable SteamVR tracked devices support"
msgstr "Ativar suporte a dispositivos rastreados pelo SteamVR"
#: dashboard/qml/SettingsPage.qml:245
#: dashboard/qml/SettingsPage.qml:255
#, kde-format
msgid ""
"Allows the use of lighthouse-based controllers and trackers.\n"
@@ -577,44 +593,44 @@ msgstr ""
"Os dispositivos precisam estar ligados antes de se conectar ao WiVRn.\n"
"Uma ferramenta externa como o motoc é necessária para calibração."
#: dashboard/qml/SettingsPage.qml:253
#: dashboard/qml/SettingsPage.qml:263
#, kde-format
msgid "Custom adb location"
msgstr "Caminho personalizado do adb"
#: dashboard/qml/SettingsPage.qml:264
#: dashboard/qml/SettingsPage.qml:274
#, kde-format
msgid "Adb location:"
msgstr "Caminho do adb:"
#: dashboard/qml/SettingsPage.qml:273
#: dashboard/qml/SettingsPage.qml:283
#, kde-format
msgctxt "browse a file to choose the adb binary"
msgid "Browse"
msgstr "Navegar"
#: dashboard/qml/SettingsPage.qml:283
#: dashboard/qml/SettingsPage.qml:293
#, kde-format
msgid "Default"
msgstr "Default"
#: dashboard/qml/SettingsPage.qml:297
#: dashboard/qml/SettingsPage.qml:307
#, kde-format
msgctxt "set a custom OpenVR compatibility library"
msgid "Custom"
msgstr "Personalizado"
#: dashboard/qml/SettingsPage.qml:302
#: dashboard/qml/SettingsPage.qml:312
#, kde-format
msgid "Disabled"
msgstr "Desativado"
#: dashboard/qml/SettingsPage.qml:310
#: dashboard/qml/SettingsPage.qml:320
#, kde-format
msgid "OpenVR compatibility library:"
msgstr "Biblioteca de compatibilidade OpenVR:"
#: dashboard/qml/SettingsPage.qml:336
#: dashboard/qml/SettingsPage.qml:346
#, kde-format
msgid "Library path, excluding bin/linux64/vrclient.so"
msgstr "Caminho da biblioteca, excluindo bin/linux64/vrclient.so"
+89 -88
View File
@@ -11,8 +11,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WiVRn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-11-06 10:54+0100\n"
"PO-Revision-Date: 2025-11-09 03:04+0100\n"
"POT-Creation-Date: 2025-11-11 22:09+0100\n"
"PO-Revision-Date: 2025-11-13 01:02+0100\n"
"Last-Translator: Claudio Sampaio (Patola) <patola@gmail.com>\n"
"Language-Team: Portuguese <>\n"
"Language: pt_BR\n"
@@ -22,7 +22,7 @@ msgstr ""
"X-Generator: Lokalize 25.08.3\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: client/scene.cpp:72
#: client/scene.cpp:73
msgid "No supported swapchain format"
msgstr "Sem formato de cadeia de troca suportado"
@@ -97,13 +97,13 @@ msgid "Disabled"
msgstr "Desabilitado"
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
#: client/scenes/stream_gui.cpp:900
#: client/scenes/stream_gui.cpp:969
msgid "Disconnect"
msgstr "Desconectar"
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:653
#: client/scenes/lobby_gui_customize.cpp:744
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:896
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:965
msgid "Close"
msgstr "Fechar"
@@ -141,7 +141,7 @@ msgid "TCP only"
msgstr "TCP somente"
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
#: client/scenes/stream_gui.cpp:864
#: client/scenes/stream_gui.cpp:933
msgid "Cancel"
msgstr "Cancelar"
@@ -186,16 +186,17 @@ msgstr "Linguagem"
msgid "System language"
msgstr "Linguagem do Sistema"
#: client/scenes/lobby_gui.cpp:577
#: client/scenes/lobby_gui.cpp:577 client/scenes/stream_gui.cpp:415
msgid "Refresh rate"
msgstr "Taxa de atualização"
#: client/scenes/lobby_gui.cpp:577 client/scenes/lobby_gui.cpp:579
#: client/scenes/stream_gui.cpp:415 client/scenes/stream_gui.cpp:417
msgctxt "automatic refresh rate"
msgid "Automatic"
msgstr "Automático"
#: client/scenes/lobby_gui.cpp:586
#: client/scenes/lobby_gui.cpp:586 client/scenes/stream_gui.cpp:425
msgid ""
"Select refresh rate based on measured application performance.\n"
"May cause flicker when a change happens."
@@ -203,7 +204,7 @@ msgstr ""
"Seleciona a taxa de atualização baseada no desempenho medido do aplicativo.\n"
"Pode causar oscilações quando uma alteração ocorrer."
#: client/scenes/lobby_gui.cpp:603
#: client/scenes/lobby_gui.cpp:603 client/scenes/stream_gui.cpp:443
msgid "Minimum refresh rate"
msgstr "Taxa de atualização mínima"
@@ -321,15 +322,15 @@ msgstr ""
"streamado.\n"
"Se habilitado, a janela é ativada clicando os dois joysticks simultaneamente."
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:394
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:463
msgid "OpenXR post-processing"
msgstr "Pós-processamento OpenXR"
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:398
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:467
msgid "Supersampling"
msgstr "Supersampling"
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:419
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:488
msgid ""
"Reduce flicker for high contrast edges.\n"
"Useful when the input resolution is high compared to the headset display"
@@ -337,11 +338,11 @@ msgstr ""
"Reduz flicker para arestas de alto contraste.\n"
"Útil quando a resolução de entrada é alta comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:834 client/scenes/stream_gui.cpp:424
#: client/scenes/lobby_gui.cpp:834 client/scenes/stream_gui.cpp:493
msgid "Sharpening"
msgstr "Aumento de nitidez"
#: client/scenes/lobby_gui.cpp:854 client/scenes/stream_gui.cpp:445
#: client/scenes/lobby_gui.cpp:854 client/scenes/stream_gui.cpp:514
msgid ""
"Improve clarity of high contrast edges and counteract blur.\n"
"Useful when the input resolution is low compared to the headset display"
@@ -350,7 +351,7 @@ msgstr ""
"Útil quando a resolução de entrada é baixa comparada ao display do headset"
#: client/scenes/lobby_gui.cpp:1038 client/scenes/lobby_gui.cpp:1046
#: client/scenes/stream_gui.cpp:171 client/scenes/stream_gui.cpp:373
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:374
msgid "CPU time"
msgstr "Tempo de CPU"
@@ -359,7 +360,7 @@ msgid "CPU time [ms]"
msgstr "Tempo de CPU [ms]"
#: client/scenes/lobby_gui.cpp:1052 client/scenes/lobby_gui.cpp:1060
#: client/scenes/stream_gui.cpp:173 client/scenes/stream_gui.cpp:374
#: client/scenes/stream_gui.cpp:174 client/scenes/stream_gui.cpp:375
msgid "GPU time"
msgstr "Tempo de GPU"
@@ -387,91 +388,91 @@ msgstr "Habilitar o rastreamento corporal?"
msgid "Welcome to WiVRn"
msgstr "Bem vindo(a) ao WiVRn"
#: client/scenes/lobby_gui.cpp:1167
#: client/scenes/lobby_gui.cpp:1169
msgid "Yes"
msgstr "Sim"
#: client/scenes/lobby_gui.cpp:1174
#: client/scenes/lobby_gui.cpp:1176
msgid "No"
msgstr "Não"
#: client/scenes/lobby_gui.cpp:1193 client/scenes/lobby_gui.cpp:1834
#: client/scenes/lobby_gui.cpp:1195 client/scenes/lobby_gui.cpp:1836
msgid "Licenses"
msgstr "Licenças"
#: client/scenes/lobby_gui.cpp:1468
#: client/scenes/lobby_gui.cpp:1470
msgid "Microphone is enabled"
msgstr "O microfone está ativado"
#: client/scenes/lobby_gui.cpp:1469
#: client/scenes/lobby_gui.cpp:1471
msgid "Microphone is disabled"
msgstr "O microfone está desativado"
#: client/scenes/lobby_gui.cpp:1478
#: client/scenes/lobby_gui.cpp:1480
msgid "Hand tracking is enabled"
msgstr "O rastreamento de mãos está ativado"
#: client/scenes/lobby_gui.cpp:1479
#: client/scenes/lobby_gui.cpp:1481
msgid "Hand tracking is disabled"
msgstr "O rastreamento de mãos está desativado"
#: client/scenes/lobby_gui.cpp:1488
#: client/scenes/lobby_gui.cpp:1490
msgid "Eye tracking is enabled"
msgstr "O rastreamento ocular está ativado"
#: client/scenes/lobby_gui.cpp:1489
#: client/scenes/lobby_gui.cpp:1491
msgid "Eye tracking is disabled"
msgstr "O rastreamento ocular está desativado"
#: client/scenes/lobby_gui.cpp:1499
#: client/scenes/lobby_gui.cpp:1501
msgid "Face tracking is enabled"
msgstr "O rastreamento facial está ativado"
#: client/scenes/lobby_gui.cpp:1500
#: client/scenes/lobby_gui.cpp:1502
msgid "Face tracking is disabled"
msgstr "O rastreamento facial está desativado"
#: client/scenes/lobby_gui.cpp:1510
#: client/scenes/lobby_gui.cpp:1512
msgid "Body tracking is enabled"
msgstr "O rastreamento corporal está ativado"
#: client/scenes/lobby_gui.cpp:1511
#: client/scenes/lobby_gui.cpp:1513
msgid "Body tracking is disabled"
msgstr "O rastreamento corporal está desativado"
#: client/scenes/lobby_gui.cpp:1527
#: client/scenes/lobby_gui.cpp:1529
msgid "Add server"
msgstr "Adicionar servidor"
#: client/scenes/lobby_gui.cpp:1813
#: client/scenes/lobby_gui.cpp:1815
msgid "Server list"
msgstr "Lista de servidores"
#: client/scenes/lobby_gui.cpp:1816 client/scenes/stream_gui.cpp:881
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:950
msgid "Settings"
msgstr "Ajustes"
#: client/scenes/lobby_gui.cpp:1819
#: client/scenes/lobby_gui.cpp:1821
msgid "Post-processing"
msgstr "Pós-processamento"
#: client/scenes/lobby_gui.cpp:1822
#: client/scenes/lobby_gui.cpp:1824
msgid "Customize"
msgstr "Personalizar"
#: client/scenes/lobby_gui.cpp:1826
#: client/scenes/lobby_gui.cpp:1828
msgid "Debug"
msgstr "Depurar"
#: client/scenes/lobby_gui.cpp:1831
#: client/scenes/lobby_gui.cpp:1833
msgid "About"
msgstr "Sobre"
#: client/scenes/lobby_gui.cpp:1837
#: client/scenes/lobby_gui.cpp:1839
msgid "Exit"
msgstr "Sair"
#: client/scenes/lobby_gui.cpp:1854
#: client/scenes/lobby_gui.cpp:1856
msgid ""
"Press the grip button or put your palm up\n"
"to move the main window"
@@ -479,7 +480,7 @@ msgstr ""
"Pressione o botão de aderência ou coloque a palma da mão para cima\n"
"para mover a janela principal"
#: client/scenes/lobby_gui.cpp:1856
#: client/scenes/lobby_gui.cpp:1858
msgid "Press the grip button to move the main window"
msgstr "Pressione o botão de aderência para mover a janela principal"
@@ -539,143 +540,143 @@ msgstr "Baixar mais ambientes"
msgid "Open local glTF model"
msgstr "Abrir modelo local glTF"
#: client/scenes/stream_gui.cpp:173
msgid "Reproject"
msgstr "Reprojetar"
#: client/scenes/stream_gui.cpp:174
msgid "Reproject"
msgstr "Reprojeção"
#: client/scenes/stream_gui.cpp:175
msgid "Blit"
msgstr "Blit"
#: client/scenes/stream_gui.cpp:176
#: client/scenes/stream_gui.cpp:177
msgid "Network"
msgstr "Rede"
#: client/scenes/stream_gui.cpp:176 client/scenes/stream_gui.cpp:371
msgid "Download"
msgstr "Baixar"
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
msgid "Upload"
msgstr "Enviar"
msgid "Download"
msgstr "Download"
#: client/scenes/stream_gui.cpp:246
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:373
msgid "Upload"
msgstr "Upload"
#: client/scenes/stream_gui.cpp:247
#, c++-format
msgid "Decoder {}"
msgstr "Decodificador {}"
#: client/scenes/stream_gui.cpp:258
#: client/scenes/stream_gui.cpp:259
msgid "Timings [ms]"
msgstr "Tempos [ms]"
#: client/scenes/stream_gui.cpp:318
msgid "Encode"
msgstr "Codificar"
#: client/scenes/stream_gui.cpp:319
msgid "Send"
msgstr "Enviar"
msgid "Encode"
msgstr "Codificação"
#: client/scenes/stream_gui.cpp:320
msgid "Receive"
msgstr "Receber"
msgid "Send"
msgstr "Envio"
#: client/scenes/stream_gui.cpp:321
msgid "Decode"
msgstr "Decodificar"
msgid "Receive"
msgstr "Recepção"
#: client/scenes/stream_gui.cpp:322
msgid "Blitted"
msgstr "Blitado"
msgid "Decode"
msgstr "Decodificação"
#: client/scenes/stream_gui.cpp:323
msgid "Displayed"
msgstr "Mostrado"
msgid "Blitted"
msgstr "Blitagem"
#: client/scenes/stream_gui.cpp:324
msgid "Predicted"
msgstr "Previsto"
msgid "Displayed"
msgstr "Exibição"
#: client/scenes/stream_gui.cpp:344
#: client/scenes/stream_gui.cpp:325
msgid "Predicted"
msgstr "Previsão"
#: client/scenes/stream_gui.cpp:345
#, c++-format
msgid "Estimated motion to photons latency: {}ms"
msgstr "Movimento estimado para a latência de fótons: {}ms"
#: client/scenes/stream_gui.cpp:351
#: client/scenes/stream_gui.cpp:352
msgid "Press the grip button to move the window"
msgstr "Pressione o botão de aderência para mover a janela"
#: client/scenes/stream_gui.cpp:353 client/scenes/stream_gui.cpp:824
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:893
msgid "Press both thumbsticks to display the WiVRn window"
msgstr "Pressione ambos os thumbsticks para mostrar a janela do WiVRn"
#: client/scenes/stream_gui.cpp:375
#: client/scenes/stream_gui.cpp:376
msgid "Motion to photon latency"
msgstr "Latência (de movimento para fótons)"
#: client/scenes/stream_gui.cpp:452
#: client/scenes/stream_gui.cpp:521
msgid "Foveation center override"
msgstr "Ajuste do centro de foveação"
#: client/scenes/stream_gui.cpp:455
#: client/scenes/stream_gui.cpp:524
msgid "Enable"
msgstr "Habilitar"
#: client/scenes/stream_gui.cpp:463 client/scenes/stream_gui.cpp:510
#: client/scenes/stream_gui.cpp:532 client/scenes/stream_gui.cpp:579
#, c++-format
msgid "Height {:.1f} deg"
msgstr "Altura {:.1f} graus"
#: client/scenes/stream_gui.cpp:464 client/scenes/stream_gui.cpp:511
#: client/scenes/stream_gui.cpp:533 client/scenes/stream_gui.cpp:580
#, c++-format
msgid "Distance {:.2f} m"
msgstr "Distância {:.2f} m"
#: client/scenes/stream_gui.cpp:465
#: client/scenes/stream_gui.cpp:534
msgid "Default"
msgstr "Padrão"
#: client/scenes/stream_gui.cpp:476
#: client/scenes/stream_gui.cpp:545
msgid "Change"
msgstr "Modificar"
#: client/scenes/stream_gui.cpp:508
#: client/scenes/stream_gui.cpp:577
msgid "Use the thumbsticks to move the foveation center"
msgstr "Use os thumbsticks para mover o centro da foveação"
#: client/scenes/stream_gui.cpp:509
#: client/scenes/stream_gui.cpp:578
msgid "Press A to save or B to cancel"
msgstr "Pressione A para salvar ou B para cancelar"
#: client/scenes/stream_gui.cpp:567
#: client/scenes/stream_gui.cpp:636
msgid "Running XR applications:"
msgstr "Aplicativos XR rodando:"
#: client/scenes/stream_gui.cpp:584
#: client/scenes/stream_gui.cpp:653
msgid "Overlays"
msgstr "Overlays"
#: client/scenes/stream_gui.cpp:623
#: client/scenes/stream_gui.cpp:692
msgid "Request to quit, may be ignored by the application"
msgstr "Requisição para sair, pode ser ignorada pelo aplicativo"
#: client/scenes/stream_gui.cpp:626
#: client/scenes/stream_gui.cpp:695
msgid "Start"
msgstr "Iniciar"
#: client/scenes/stream_gui.cpp:878
#: client/scenes/stream_gui.cpp:947
msgid "Stats"
msgstr "Estatísticas"
#: client/scenes/stream_gui.cpp:884
#: client/scenes/stream_gui.cpp:953
msgid "Applications"
msgstr "Aplicativos"
#: client/scenes/stream_gui.cpp:890
#: client/scenes/stream_gui.cpp:959
msgid "Statistics overlay"
msgstr "Overlay de estatísticas"
#: client/scenes/stream_gui.cpp:893
#: client/scenes/stream_gui.cpp:962
msgid "Compact view"
msgstr "Visualização compacta"