Compare commits
23
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c4d5a235d8 | ||
|
|
ab2ee24e90 | ||
|
|
20cf6ea2e0 | ||
|
|
3621404e71 | ||
|
|
e51d653bd7 | ||
|
|
3afed5549e | ||
|
|
6317d77dba | ||
|
|
6f50ba3979 | ||
|
|
f99fb8fa18 | ||
|
|
ab82fb5866 | ||
|
|
91a41b306e | ||
|
|
fbfda1fc40 | ||
|
|
8d531cbc53 | ||
|
|
c96d600db2 | ||
|
|
b907eb63ad | ||
|
|
7dc1daaf73 | ||
|
|
8e60a03aaf | ||
|
|
a8fa6c3961 | ||
|
|
bd4f21ab67 | ||
|
|
3f37bd7570 | ||
|
|
2e8a83eb5a | ||
|
|
6cd65de21d | ||
|
|
34a4ffcb59 |
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
* Copyright (C) 2025 Patrick Nicolas <patricknicolas@laposte.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "jnipp.h"
|
||||
|
||||
namespace jni::details
|
||||
{
|
||||
void handle_java_exception()
|
||||
{
|
||||
auto & env = jni_thread::env();
|
||||
if (auto exc = env.ExceptionOccurred())
|
||||
{
|
||||
env.ExceptionClear();
|
||||
|
||||
std::string str = object<"java/lang/Object">{exc}.call<jni::string>("toString");
|
||||
|
||||
throw std::runtime_error("Java exception " + str);
|
||||
}
|
||||
}
|
||||
} // namespace jni::details
|
||||
+40
-4
@@ -25,6 +25,7 @@
|
||||
#include <tuple>
|
||||
|
||||
#include <jni.h>
|
||||
#include <type_traits>
|
||||
|
||||
namespace jni
|
||||
{
|
||||
@@ -171,6 +172,9 @@ struct type_map<int>
|
||||
|
||||
template <typename T>
|
||||
using type_map_t = type_map<T>::type;
|
||||
|
||||
void handle_java_exception();
|
||||
|
||||
} // namespace details
|
||||
|
||||
struct klass
|
||||
@@ -215,7 +219,17 @@ struct klass
|
||||
assert(method_id);
|
||||
auto handles = details::handle(std::forward<Args>(args)...);
|
||||
return R(std::apply([&](auto &... t) {
|
||||
return (env.*R1::call_static_method)(*this, method_id, t...);
|
||||
if constexpr (std::is_void_v<R>)
|
||||
{
|
||||
(env.*R1::call_static_method)(*this, method_id, t...);
|
||||
details::handle_java_exception();
|
||||
}
|
||||
else
|
||||
{
|
||||
auto res = (env.*R1::call_static_method)(*this, method_id, t...);
|
||||
details::handle_java_exception();
|
||||
return res;
|
||||
}
|
||||
},
|
||||
handles));
|
||||
}
|
||||
@@ -283,7 +297,17 @@ struct object
|
||||
assert(method_id);
|
||||
auto handles = details::handle(std::forward<Args>(args)...);
|
||||
return R(std::apply([&](auto &... t) {
|
||||
return (env.*R1::call_method)(*this, method_id, t...);
|
||||
if constexpr (std::is_void_v<R>)
|
||||
{
|
||||
(env.*R1::call_method)(*this, method_id, t...);
|
||||
details::handle_java_exception();
|
||||
}
|
||||
else
|
||||
{
|
||||
auto res = (env.*R1::call_method)(*this, method_id, t...);
|
||||
details::handle_java_exception();
|
||||
return res;
|
||||
}
|
||||
},
|
||||
handles));
|
||||
}
|
||||
@@ -296,7 +320,17 @@ struct object
|
||||
assert(method_id);
|
||||
auto handles = details::handle(std::forward<Args>(args)...);
|
||||
return R(std::apply([&](auto &... t) {
|
||||
return (env.*R1::call_method)(*this, method_id, t...);
|
||||
if constexpr (std::is_void_v<R>)
|
||||
{
|
||||
(env.*R1::call_method)(*this, method_id, t...);
|
||||
details::handle_java_exception();
|
||||
}
|
||||
else
|
||||
{
|
||||
auto res = (env.*R1::call_method)(*this, method_id, t...);
|
||||
details::handle_java_exception();
|
||||
return res;
|
||||
}
|
||||
},
|
||||
handles));
|
||||
}
|
||||
@@ -327,7 +361,9 @@ static object<Type> new_object(Args &&... args)
|
||||
assert(method_id);
|
||||
auto handles = details::handle(std::forward<Args>(args)...);
|
||||
return object<Type>(std::apply([&](auto &... t) {
|
||||
return env.NewObject(klass, method_id, t...);
|
||||
auto res = env.NewObject(klass, method_id, t...);
|
||||
details::handle_java_exception();
|
||||
return res;
|
||||
},
|
||||
handles));
|
||||
}
|
||||
|
||||
+21
-13
@@ -24,6 +24,7 @@
|
||||
#include "scene.h"
|
||||
#include "spdlog/common.h"
|
||||
#include "spdlog/spdlog.h"
|
||||
#include "utils/class_from_member.h"
|
||||
#include "utils/contains.h"
|
||||
#include "utils/files.h"
|
||||
#include "utils/i18n.h"
|
||||
@@ -761,6 +762,7 @@ void application::initialize_vulkan()
|
||||
vk_device_extensions.push_back(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
|
||||
vk_device_extensions.push_back(VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME);
|
||||
vk_device_extensions.push_back(VK_KHR_MULTIVIEW_EXTENSION_NAME);
|
||||
optional_device_extensions.emplace(VK_EXT_INDEX_TYPE_UINT8_EXTENSION_NAME);
|
||||
optional_device_extensions.emplace(VK_IMG_FILTER_CUBIC_EXTENSION_NAME);
|
||||
optional_device_extensions.emplace(VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME);
|
||||
optional_device_extensions.emplace(VK_EXT_FRAGMENT_DENSITY_MAP_EXTENSION_NAME);
|
||||
@@ -884,24 +886,30 @@ void application::initialize_vulkan()
|
||||
vk::PhysicalDeviceSamplerYcbcrConversionFeaturesKHR{
|
||||
.samplerYcbcrConversion = true,
|
||||
},
|
||||
vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR{
|
||||
.timelineSemaphore = true,
|
||||
},
|
||||
vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR{},
|
||||
vk::PhysicalDeviceMultiviewFeaturesKHR{
|
||||
.multiview = true,
|
||||
},
|
||||
vk::PhysicalDeviceIndexTypeUint8FeaturesEXT{}};
|
||||
|
||||
auto check_feature_flag = [&](auto feature_flag, const char * extension_name) -> bool {
|
||||
using FeatureStruct = class_from_member_t<decltype(feature_flag)>;
|
||||
|
||||
if (utils::contains(vk_device_extensions, extension_name) and
|
||||
vk_physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, FeatureStruct>().template get<FeatureStruct>().*feature_flag)
|
||||
{
|
||||
device_create_info.get<FeatureStruct>().*feature_flag = true;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
device_create_info.unlink<FeatureStruct>();
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
if (utils::contains(vk_device_extensions, VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME))
|
||||
{
|
||||
auto [_, feat] = vk_physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
|
||||
auto & create_feat = device_create_info.get<vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
|
||||
create_feat.timelineSemaphore = feat.timelineSemaphore;
|
||||
}
|
||||
else
|
||||
{
|
||||
device_create_info.unlink<vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
|
||||
}
|
||||
check_feature_flag(&vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR::timelineSemaphore, VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME);
|
||||
check_feature_flag(&vk::PhysicalDeviceIndexTypeUint8FeaturesEXT::indexTypeUint8, VK_EXT_INDEX_TYPE_UINT8_EXTENSION_NAME);
|
||||
|
||||
vk_device = xr_system_id.create_device(vk_physical_device, device_create_info.get());
|
||||
*vk_queue.lock() = vk_device.getQueue(vk_queue_family_index, 0);
|
||||
|
||||
@@ -187,7 +187,7 @@ configuration::configuration(xr::system & system)
|
||||
servers.clear();
|
||||
preferred_refresh_rate.reset();
|
||||
minimum_refresh_rate.reset();
|
||||
resolution_scale = 1.4;
|
||||
resolution_scale = 1.0;
|
||||
openxr_post_processing = {};
|
||||
passthrough_enabled = system.passthrough_supported() == xr::passthrough_type::color;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
std::map<std::string, server_data> servers;
|
||||
std::optional<float> preferred_refresh_rate;
|
||||
std::optional<float> minimum_refresh_rate;
|
||||
float resolution_scale = 1.4;
|
||||
float resolution_scale = 1.0;
|
||||
bool passthrough_enabled = false;
|
||||
bool mic_unprocessed_audio = false;
|
||||
|
||||
|
||||
@@ -18,7 +18,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "application.h"
|
||||
#include "utils/alignment.h"
|
||||
#include "utils/contains.h"
|
||||
#include "vk/allocation.h"
|
||||
#include <fastgltf/tools.hpp>
|
||||
#include <fastgltf/types.hpp>
|
||||
@@ -29,6 +31,8 @@ class gpu_buffer
|
||||
{
|
||||
std::vector<std::byte> bytes;
|
||||
vk::PhysicalDeviceLimits limits;
|
||||
vk::PhysicalDeviceIndexTypeUint8FeaturesEXT feat_uint8;
|
||||
|
||||
fastgltf::Asset & asset;
|
||||
vk::BufferUsageFlags usage;
|
||||
|
||||
@@ -58,8 +62,15 @@ class gpu_buffer
|
||||
}
|
||||
|
||||
public:
|
||||
gpu_buffer(vk::PhysicalDeviceProperties properties, fastgltf::Asset & asset) :
|
||||
limits(properties.limits), asset(asset), usage(0) {}
|
||||
gpu_buffer(vk::raii::PhysicalDevice physical_device, fastgltf::Asset & asset) :
|
||||
asset(asset),
|
||||
usage(0)
|
||||
{
|
||||
limits = physical_device.getProperties().limits;
|
||||
|
||||
if (utils::contains(application::instance().get_vk_device_extensions(), VK_EXT_INDEX_TYPE_UINT8_EXTENSION_NAME))
|
||||
std::tie(std::ignore, feat_uint8) = physical_device.getFeatures2<vk::PhysicalDeviceFeatures2, vk::PhysicalDeviceIndexTypeUint8FeaturesEXT>();
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
size_t add_uniform(const T & data_to_add)
|
||||
@@ -79,7 +90,7 @@ public:
|
||||
return add(alignment, data_to_add);
|
||||
}
|
||||
|
||||
size_t add_indices(const fastgltf::Accessor & accessor)
|
||||
std::pair<size_t, vk::IndexType> add_indices(const fastgltf::Accessor & accessor)
|
||||
{
|
||||
usage |= vk::BufferUsageFlagBits::eIndexBuffer;
|
||||
|
||||
@@ -90,7 +101,11 @@ public:
|
||||
std::vector<uint8_t> indices(accessor.count);
|
||||
using index_t = std::remove_cvref_t<decltype(*indices.data())>;
|
||||
fastgltf::copyFromAccessor<index_t>(asset, accessor, indices.data());
|
||||
return add(4, indices);
|
||||
|
||||
if (feat_uint8.indexTypeUint8)
|
||||
return {add(4, indices), vk::IndexType::eUint8EXT};
|
||||
else
|
||||
return {add(4, std::vector<uint16_t>{indices.begin(), indices.end()}), vk::IndexType::eUint16};
|
||||
}
|
||||
|
||||
case fastgltf::ComponentType::Short:
|
||||
@@ -98,7 +113,7 @@ public:
|
||||
std::vector<uint16_t> indices(accessor.count);
|
||||
using index_t = std::remove_cvref_t<decltype(*indices.data())>;
|
||||
fastgltf::copyFromAccessor<index_t>(asset, accessor, indices.data());
|
||||
return add(4, indices);
|
||||
return {add(4, indices), vk::IndexType::eUint16};
|
||||
}
|
||||
|
||||
case fastgltf::ComponentType::Int:
|
||||
@@ -106,7 +121,7 @@ public:
|
||||
std::vector<uint32_t> indices(accessor.count);
|
||||
using index_t = std::remove_cvref_t<decltype(*indices.data())>;
|
||||
fastgltf::copyFromAccessor<index_t>(asset, accessor, indices.data());
|
||||
return add(4, indices);
|
||||
return {add(4, indices), vk::IndexType::eUint32};
|
||||
}
|
||||
|
||||
default:
|
||||
|
||||
@@ -23,13 +23,11 @@
|
||||
#include "utils/thread_safe.h"
|
||||
#include "vk/allocation.h"
|
||||
#include "vk/vk_allocator.h"
|
||||
#include <chrono>
|
||||
#include <cstdint>
|
||||
#include <ktx.h>
|
||||
#include <ktxvulkan.h>
|
||||
#include <memory>
|
||||
#include <span>
|
||||
#include <spdlog/fmt/chrono.h>
|
||||
#include <spdlog/spdlog.h>
|
||||
#include <stdexcept>
|
||||
#include <tuple>
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "image_writer.h"
|
||||
|
||||
#include "utils/thread_safe.h"
|
||||
#include <cassert>
|
||||
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#include "stb_image_write.h"
|
||||
|
||||
void write_image(
|
||||
vk::raii::Device & device,
|
||||
thread_safe<vk::raii::Queue> & queue,
|
||||
uint32_t queue_family_index,
|
||||
const std::filesystem::path & path,
|
||||
vk::Image image,
|
||||
const vk::ImageCreateInfo & info)
|
||||
{
|
||||
assert(info.usage & vk::ImageUsageFlagBits::eTransferSrc);
|
||||
assert(info.extent.depth == 1);
|
||||
assert(info.format == vk::Format::eR8G8B8A8Srgb);
|
||||
|
||||
buffer_allocation output_buffer{
|
||||
device,
|
||||
vk::BufferCreateInfo{
|
||||
.size = info.extent.height * info.extent.width * 4,
|
||||
.usage = vk::BufferUsageFlagBits::eTransferDst,
|
||||
},
|
||||
VmaAllocationCreateInfo{
|
||||
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT,
|
||||
.usage = VmaMemoryUsage::VMA_MEMORY_USAGE_AUTO,
|
||||
},
|
||||
"Saved image buffer"};
|
||||
|
||||
vk::raii::CommandPool cp{
|
||||
device,
|
||||
vk::CommandPoolCreateInfo{
|
||||
.queueFamilyIndex = queue_family_index,
|
||||
}};
|
||||
|
||||
vk::raii::CommandBuffer command_buffer = std::move(device.allocateCommandBuffers(
|
||||
{
|
||||
.commandPool = *cp,
|
||||
.level = vk::CommandBufferLevel::ePrimary,
|
||||
.commandBufferCount = 1,
|
||||
})[0]);
|
||||
|
||||
vk::raii::Fence fence = device.createFence({});
|
||||
|
||||
command_buffer.begin(vk::CommandBufferBeginInfo{});
|
||||
|
||||
command_buffer.pipelineBarrier(
|
||||
vk::PipelineStageFlagBits::eColorAttachmentOutput,
|
||||
vk::PipelineStageFlagBits::eTransfer,
|
||||
vk::DependencyFlags{},
|
||||
{},
|
||||
{},
|
||||
vk::ImageMemoryBarrier{
|
||||
.srcAccessMask = vk::AccessFlagBits::eColorAttachmentWrite,
|
||||
.dstAccessMask = vk::AccessFlagBits::eTransferRead,
|
||||
.oldLayout = vk::ImageLayout::eColorAttachmentOptimal,
|
||||
.newLayout = vk::ImageLayout::eTransferSrcOptimal,
|
||||
.image = image,
|
||||
.subresourceRange = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.baseMipLevel = 0,
|
||||
.levelCount = 1,
|
||||
.baseArrayLayer = 0,
|
||||
.layerCount = 1,
|
||||
},
|
||||
});
|
||||
|
||||
command_buffer.copyImageToBuffer(
|
||||
image,
|
||||
vk::ImageLayout::eTransferSrcOptimal,
|
||||
output_buffer,
|
||||
vk::BufferImageCopy{
|
||||
.bufferOffset = 0,
|
||||
.bufferRowLength = 0,
|
||||
.bufferImageHeight = 0,
|
||||
.imageSubresource = {
|
||||
.aspectMask = vk::ImageAspectFlagBits::eColor,
|
||||
.mipLevel = 0,
|
||||
.baseArrayLayer = 0,
|
||||
.layerCount = 1,
|
||||
},
|
||||
.imageOffset = {0, 0, 0},
|
||||
.imageExtent = info.extent,
|
||||
});
|
||||
|
||||
command_buffer.end();
|
||||
queue.lock()->submit(vk::SubmitInfo{
|
||||
.commandBufferCount = 1,
|
||||
.pCommandBuffers = &*command_buffer,
|
||||
},
|
||||
*fence);
|
||||
|
||||
if (auto result = device.waitForFences(*fence, true, 1'000'000'000); result == vk::Result::eSuccess)
|
||||
stbi_write_png(path.c_str(), info.extent.width, info.extent.height, 4, output_buffer.data(), 0);
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "utils/thread_safe.h"
|
||||
#include "vk/allocation.h"
|
||||
#include <filesystem>
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
void write_image(
|
||||
vk::raii::Device & device,
|
||||
thread_safe<vk::raii::Queue> & queue,
|
||||
uint32_t queue_family_index,
|
||||
const std::filesystem::path & path,
|
||||
vk::Image image,
|
||||
const vk::ImageCreateInfo & info);
|
||||
|
||||
inline void write_image(
|
||||
vk::raii::Device & device,
|
||||
thread_safe<vk::raii::Queue> & queue,
|
||||
uint32_t queue_family_index,
|
||||
const std::filesystem::path & path,
|
||||
const image_allocation & image)
|
||||
{
|
||||
write_image(device, queue, queue_family_index, path, (vk::Image)image, image.info());
|
||||
}
|
||||
@@ -55,6 +55,14 @@ struct texture
|
||||
|
||||
struct material
|
||||
{
|
||||
struct alignas(16) texture_info
|
||||
{
|
||||
alignas(4) uint32_t texcoord = 0;
|
||||
alignas(4) float rotation = 0;
|
||||
alignas(8) glm::vec2 offset = {0, 0};
|
||||
alignas(8) glm::vec2 scale = {1, 1};
|
||||
};
|
||||
|
||||
struct gpu_data
|
||||
{
|
||||
glm::vec4 base_color_factor = glm::vec4(1, 1, 1, 1);
|
||||
@@ -65,13 +73,11 @@ struct material
|
||||
float normal_scale = 1;
|
||||
float alpha_cutoff = 0.5;
|
||||
|
||||
uint32_t base_color_texcoord = 0;
|
||||
uint32_t metallic_roughness_texcoord = 0;
|
||||
uint32_t occlusion_texcoord = 0;
|
||||
uint32_t emissive_texcoord = 0;
|
||||
uint32_t normal_texcoord = 0;
|
||||
|
||||
// TODO: add fastgltf::TextureTransform?
|
||||
texture_info base_color;
|
||||
texture_info metallic_roughness;
|
||||
texture_info occlusion;
|
||||
texture_info emissive;
|
||||
texture_info normal;
|
||||
};
|
||||
|
||||
std::shared_ptr<texture> base_color_texture;
|
||||
|
||||
@@ -18,10 +18,12 @@
|
||||
|
||||
#include "scene_loader.h"
|
||||
|
||||
#include "application.h"
|
||||
#include "gpu_buffer.h"
|
||||
#include "image_loader.h"
|
||||
#include "render/scene_components.h"
|
||||
#include "render/vertex_layout.h"
|
||||
#include "utils/contains.h"
|
||||
#include "utils/files.h"
|
||||
#include "utils/json_string.h"
|
||||
#include "utils/mapped_file.h"
|
||||
@@ -166,6 +168,11 @@ glm::vec3 convert(const fastgltf::math::nvec3 & v)
|
||||
return {v[0], v[1], v[2]};
|
||||
}
|
||||
|
||||
glm::vec2 convert(const fastgltf::math::nvec2 & v)
|
||||
{
|
||||
return {v[0], v[1]};
|
||||
}
|
||||
|
||||
components::animation_track_base::interpolation_t convert(fastgltf::AnimationInterpolation interpolation)
|
||||
{
|
||||
switch (interpolation)
|
||||
@@ -441,7 +448,9 @@ struct : std::error_category
|
||||
|
||||
fastgltf::Asset load_gltf_asset(fastgltf::GltfDataBuffer & buffer, const std::filesystem::path & directory)
|
||||
{
|
||||
fastgltf::Parser parser(fastgltf::Extensions::KHR_texture_basisu);
|
||||
fastgltf::Parser parser(
|
||||
fastgltf::Extensions::KHR_texture_basisu |
|
||||
fastgltf::Extensions::KHR_texture_transform);
|
||||
|
||||
auto gltf_options =
|
||||
fastgltf::Options::DontRequireValidAssetMember |
|
||||
@@ -750,37 +759,37 @@ public:
|
||||
material_data.roughness_factor = gltf_material.pbrData.roughnessFactor;
|
||||
material_data.alpha_cutoff = gltf_material.alphaCutoff;
|
||||
|
||||
if (gltf_material.pbrData.baseColorTexture)
|
||||
{
|
||||
material.base_color_texture = textures.at(gltf_material.pbrData.baseColorTexture->textureIndex);
|
||||
material_data.base_color_texcoord = gltf_material.pbrData.baseColorTexture->texCoordIndex;
|
||||
}
|
||||
auto f = [&](const auto & texture_info,
|
||||
std::shared_ptr<renderer::texture> & texture,
|
||||
renderer::material::texture_info & info) {
|
||||
if (not texture_info)
|
||||
return;
|
||||
|
||||
if (gltf_material.pbrData.metallicRoughnessTexture)
|
||||
{
|
||||
material.metallic_roughness_texture = textures.at(gltf_material.pbrData.metallicRoughnessTexture->textureIndex);
|
||||
material_data.metallic_roughness_texcoord = gltf_material.pbrData.metallicRoughnessTexture->texCoordIndex;
|
||||
}
|
||||
texture = textures.at(texture_info->textureIndex);
|
||||
info.texcoord = texture_info->texCoordIndex;
|
||||
|
||||
if (auto & xform = texture_info->transform)
|
||||
{
|
||||
if (xform->texCoordIndex)
|
||||
info.texcoord = *xform->texCoordIndex;
|
||||
|
||||
info.rotation = xform->rotation;
|
||||
info.offset = convert(xform->uvOffset);
|
||||
info.scale = convert(xform->uvScale);
|
||||
}
|
||||
};
|
||||
|
||||
f(gltf_material.pbrData.baseColorTexture, material.base_color_texture, material_data.base_color);
|
||||
f(gltf_material.pbrData.metallicRoughnessTexture, material.metallic_roughness_texture, material_data.metallic_roughness);
|
||||
f(gltf_material.occlusionTexture, material.occlusion_texture, material_data.occlusion);
|
||||
f(gltf_material.emissiveTexture, material.emissive_texture, material_data.emissive);
|
||||
f(gltf_material.normalTexture, material.normal_texture, material_data.normal);
|
||||
|
||||
if (gltf_material.occlusionTexture)
|
||||
{
|
||||
material.occlusion_texture = textures.at(gltf_material.occlusionTexture->textureIndex);
|
||||
material_data.occlusion_texcoord = gltf_material.occlusionTexture->texCoordIndex;
|
||||
material_data.occlusion_strength = gltf_material.occlusionTexture->strength;
|
||||
}
|
||||
|
||||
if (gltf_material.emissiveTexture)
|
||||
{
|
||||
material.emissive_texture = textures.at(gltf_material.emissiveTexture->textureIndex);
|
||||
material_data.emissive_texcoord = gltf_material.emissiveTexture->texCoordIndex;
|
||||
}
|
||||
|
||||
if (gltf_material.normalTexture)
|
||||
{
|
||||
material.normal_texture = textures.at(gltf_material.normalTexture->textureIndex);
|
||||
material_data.normal_texcoord = gltf_material.normalTexture->texCoordIndex;
|
||||
material_data.normal_scale = gltf_material.normalTexture->scale;
|
||||
}
|
||||
|
||||
material.offset = staging_buffer.add_uniform(material_data);
|
||||
}
|
||||
@@ -808,30 +817,8 @@ public:
|
||||
fastgltf::Accessor & indices_accessor = gltf.accessors.at(*gltf_primitive.indicesAccessor);
|
||||
|
||||
primitive_ref.indexed = true;
|
||||
primitive_ref.index_offset = staging_buffer.add_indices(indices_accessor);
|
||||
std::tie(primitive_ref.index_offset, primitive_ref.index_type) = staging_buffer.add_indices(indices_accessor);
|
||||
primitive_ref.index_count = indices_accessor.count;
|
||||
|
||||
switch (indices_accessor.componentType)
|
||||
{
|
||||
case fastgltf::ComponentType::Byte:
|
||||
case fastgltf::ComponentType::UnsignedByte:
|
||||
primitive_ref.index_type = vk::IndexType::eUint8EXT;
|
||||
break;
|
||||
|
||||
case fastgltf::ComponentType::Short:
|
||||
case fastgltf::ComponentType::UnsignedShort:
|
||||
primitive_ref.index_type = vk::IndexType::eUint16;
|
||||
break;
|
||||
|
||||
case fastgltf::ComponentType::Int:
|
||||
case fastgltf::ComponentType::UnsignedInt:
|
||||
primitive_ref.index_type = vk::IndexType::eUint32;
|
||||
break;
|
||||
|
||||
default:
|
||||
throw std::runtime_error("Invalid index type");
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
primitive_ref.indexed = false;
|
||||
@@ -1089,8 +1076,6 @@ std::shared_ptr<entt::registry> scene_loader::operator()(
|
||||
const std::filesystem::path & gltf_texture_cache,
|
||||
std::function<void(float)> progress_cb)
|
||||
{
|
||||
vk::PhysicalDeviceProperties physical_device_properties = physical_device.getProperties();
|
||||
|
||||
auto data_buffer = fastgltf::GltfDataBuffer::FromBytes(data.data(), data.size());
|
||||
if (auto error = data_buffer.error(); error != fastgltf::Error::None)
|
||||
throw std::system_error((int)error, fastgltf_error_category);
|
||||
@@ -1108,7 +1093,7 @@ std::shared_ptr<entt::registry> scene_loader::operator()(
|
||||
// Load all buffers from URIs
|
||||
ctx.load_all_buffers();
|
||||
|
||||
gpu_buffer staging_buffer(physical_device_properties, asset);
|
||||
gpu_buffer staging_buffer(physical_device, asset);
|
||||
|
||||
// Load all textures
|
||||
auto textures = ctx.load_all_textures(gltf_texture_cache, progress_cb);
|
||||
|
||||
@@ -138,7 +138,7 @@ std::shared_ptr<renderer::texture> scene_renderer::create_default_texture(image_
|
||||
return std::make_shared<renderer::texture>(image_view, renderer::sampler_info{});
|
||||
}
|
||||
|
||||
std::shared_ptr<renderer::material> scene_renderer::create_default_material(vk::raii::CommandPool & cb_pool)
|
||||
std::shared_ptr<renderer::material> scene_renderer::create_default_material()
|
||||
{
|
||||
image_loader loader(device, physical_device, queue, queue_family_index);
|
||||
|
||||
@@ -261,7 +261,7 @@ static std::array layout_bindings_0{
|
||||
.binding = 8,
|
||||
.descriptorType = vk::DescriptorType::eUniformBuffer,
|
||||
.descriptorCount = 1,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eFragment,
|
||||
.stageFlags = vk::ShaderStageFlagBits::eVertex | vk::ShaderStageFlagBits::eFragment,
|
||||
},
|
||||
};
|
||||
|
||||
@@ -285,7 +285,7 @@ scene_renderer::scene_renderer(
|
||||
layout_0(create_descriptor_set_layout(layout_bindings_0, vk::DescriptorSetLayoutCreateFlagBits::ePushDescriptorKHR))
|
||||
{
|
||||
// Create the default material
|
||||
default_material = create_default_material(cb_pool);
|
||||
default_material = create_default_material();
|
||||
|
||||
// Create Vulkan resources
|
||||
frame_resources.resize(frames_in_flight);
|
||||
|
||||
@@ -148,7 +148,7 @@ class scene_renderer
|
||||
vk::raii::Pipeline create_pipeline(const pipeline_info & info);
|
||||
|
||||
std::shared_ptr<renderer::texture> create_default_texture(image_loader & loader, std::vector<uint8_t> pixel, const std::string & name);
|
||||
std::shared_ptr<renderer::material> create_default_material(vk::raii::CommandPool & cb_pool);
|
||||
std::shared_ptr<renderer::material> create_default_material();
|
||||
vk::raii::DescriptorSetLayout create_descriptor_set_layout(std::span<vk::DescriptorSetLayoutBinding> bindings, vk::DescriptorSetLayoutCreateFlags flags = {});
|
||||
|
||||
// Caches
|
||||
|
||||
@@ -26,12 +26,18 @@
|
||||
#include "imgui.h"
|
||||
#include "imgui_internal.h"
|
||||
#include "imspinner.h"
|
||||
#include "render/image_writer.h"
|
||||
#include "render/scene_renderer.h"
|
||||
#include "utils/files.h"
|
||||
#include "utils/i18n.h"
|
||||
#include "utils/json_string.h"
|
||||
#include "vk/allocation.h"
|
||||
#include <algorithm>
|
||||
#include <boost/url/url.hpp>
|
||||
#include <boost/url/url_view.hpp>
|
||||
#include <chrono>
|
||||
#include <spdlog/fmt/chrono.h>
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
#include "IconsFontAwesome6.h"
|
||||
|
||||
@@ -53,8 +59,12 @@ void scenes::lobby::save_environment_json()
|
||||
<< ",\"description\":" << json_string(model.description)
|
||||
<< ",\"screenshot\":" << json_string(model.screenshot_url)
|
||||
<< ",\"url\":" << json_string(model.gltf_url)
|
||||
<< ",\"size\":" << model.size
|
||||
<< "},";
|
||||
<< ",\"size\":" << model.size;
|
||||
|
||||
// TODO only if not the default value
|
||||
ss << ",\"local_screenshot\":" << json_string(model.local_screenshot_path);
|
||||
ss << ",\"local_path\":" << json_string(model.local_gltf_path);
|
||||
ss << "},";
|
||||
}
|
||||
if (not empty)
|
||||
ss.seekp(-1, ss.cur);
|
||||
@@ -112,8 +122,16 @@ std::vector<scenes::lobby::environment_model> scenes::lobby::load_environment_js
|
||||
model.size = val.get_int64();
|
||||
|
||||
model.builtin = false;
|
||||
model.local_screenshot_path = application::get_config_path() / "environments" / (model.name + ".png");
|
||||
model.local_gltf_path = application::get_config_path() / "environments" / (model.name + ".glb");
|
||||
|
||||
if (auto val = i["local_screenshot"]; val.is_string())
|
||||
model.local_screenshot_path = val.get_string().value();
|
||||
else
|
||||
model.local_screenshot_path = application::get_config_path() / "environments" / (model.name + ".png");
|
||||
|
||||
if (auto val = i["local_path"]; val.is_string())
|
||||
model.local_gltf_path = val.get_string().value();
|
||||
else
|
||||
model.local_gltf_path = application::get_config_path() / "environments" / (model.name + ".glb");
|
||||
|
||||
models.push_back(std::move(model));
|
||||
}
|
||||
@@ -180,24 +198,102 @@ void scenes::lobby::update_file_picker()
|
||||
load_environment_status = "";
|
||||
future_environment = utils::async<std::pair<std::string, std::shared_ptr<entt::registry>>, float>(
|
||||
[this](auto token, file_picker_result environment) {
|
||||
auto local_path = application::get_cache_path() / "local.glb";
|
||||
auto t = std::chrono::system_clock::now();
|
||||
auto local_path = application::get_cache_path() / fmt::format("local-{:%F-%T}.glb", t);
|
||||
auto local_screenshot_path = application::get_cache_path() / fmt::format("local-{:%F-%T}.png", t);
|
||||
|
||||
utils::write_whole_file(local_path, (std::span<const std::byte>)environment.file);
|
||||
|
||||
// TODO remove only local.glb from cache
|
||||
clear_gltf_cache();
|
||||
environment_model model{
|
||||
.name = _S("Locally loaded environment"),
|
||||
.author = "",
|
||||
.description = "",
|
||||
.screenshot_url = "",
|
||||
.gltf_url = fmt::format("local-{:%F-%T}", t), // Used as key
|
||||
.size = environment.file.size(),
|
||||
.local_screenshot_path = local_screenshot_path,
|
||||
.local_gltf_path = local_path,
|
||||
};
|
||||
|
||||
return std::make_pair(
|
||||
local_path,
|
||||
load_gltf(local_path, [&](float progress) {
|
||||
token.set_progress(progress);
|
||||
}));
|
||||
int n = 2;
|
||||
while (std::ranges::find(local_environments, model.name, &environment_model::name) != local_environments.end())
|
||||
{
|
||||
model.name = fmt::format(_F("Locally loaded environment ({})"), n++);
|
||||
}
|
||||
|
||||
local_environments.push_back(model);
|
||||
std::ranges::sort(local_environments, std::less{});
|
||||
save_environment_json();
|
||||
|
||||
std::shared_ptr<entt::registry> env = load_gltf(local_path, [&](float progress) { token.set_progress(progress); });
|
||||
|
||||
// Create a screenshot of the loaded environment
|
||||
scene_renderer::frame_info frame{
|
||||
.projection = projection_matrix(
|
||||
XrFovf{
|
||||
.angleLeft = -0.7,
|
||||
.angleRight = 0.7,
|
||||
.angleUp = 0.7,
|
||||
.angleDown = -0.7,
|
||||
},
|
||||
constants::lobby::near_plane),
|
||||
.view = view_matrix(XrPosef{
|
||||
.orientation = {0, 0, 0, 1},
|
||||
.position = {0, 1.6, 0},
|
||||
})};
|
||||
|
||||
image_allocation output{
|
||||
device,
|
||||
vk::ImageCreateInfo{
|
||||
.imageType = vk::ImageType::e2D,
|
||||
.format = vk::Format::eR8G8B8A8Srgb,
|
||||
.extent = {512, 512, 1},
|
||||
.mipLevels = 1,
|
||||
.arrayLayers = 1,
|
||||
.usage = vk::ImageUsageFlagBits::eColorAttachment | vk::ImageUsageFlagBits::eTransferSrc,
|
||||
},
|
||||
VmaAllocationCreateInfo{
|
||||
.usage = VmaMemoryUsage::VMA_MEMORY_USAGE_AUTO,
|
||||
},
|
||||
"Screenshot image",
|
||||
};
|
||||
|
||||
scene_renderer local_renderer{device, physical_device, queue, queue_family_index};
|
||||
local_renderer.start_frame();
|
||||
local_renderer.render(
|
||||
*env,
|
||||
{
|
||||
constants::lobby::sky_color.r,
|
||||
constants::lobby::sky_color.g,
|
||||
constants::lobby::sky_color.b,
|
||||
constants::lobby::sky_color.a,
|
||||
},
|
||||
layer_lobby,
|
||||
vk::Extent2D{
|
||||
output.info().extent.width,
|
||||
output.info().extent.height,
|
||||
|
||||
}, // Output size
|
||||
output.info().format, // Output format
|
||||
vk::Format::eD32Sfloat, // Depth format
|
||||
output, // Output image
|
||||
vk::Image{}, // Depth image
|
||||
vk::Image{}, // Foveation image
|
||||
{&frame, 1}, // View info
|
||||
false);
|
||||
local_renderer.end_frame();
|
||||
local_renderer.wait_idle(); // TODO get a semaphore from end_frame instead
|
||||
|
||||
write_image(device, queue, queue_family_index, local_screenshot_path, output);
|
||||
|
||||
return std::make_pair(local_path, env);
|
||||
},
|
||||
lobby_file_picker_future.get());
|
||||
}
|
||||
catch (std::exception & e)
|
||||
{
|
||||
spdlog::warn("Cannot load local environment: {}", e.what());
|
||||
load_environment_status = fmt::format(_F("Cannot load local environment: {}"), e.what());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -496,8 +496,8 @@ void scenes::stream::on_focused()
|
||||
}
|
||||
else
|
||||
{
|
||||
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_CPU_EXT, XR_PERF_SETTINGS_LEVEL_POWER_SAVINGS_EXT);
|
||||
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_GPU_EXT, XR_PERF_SETTINGS_LEVEL_POWER_SAVINGS_EXT);
|
||||
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_CPU_EXT, XR_PERF_SETTINGS_LEVEL_SUSTAINED_LOW_EXT);
|
||||
session.set_performance_level(XR_PERF_SETTINGS_DOMAIN_GPU_EXT, XR_PERF_SETTINGS_LEVEL_SUSTAINED_LOW_EXT);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,16 @@ layout(set = 0, binding = 4) uniform sampler2D metallic_roughness_texture;
|
||||
layout(set = 0, binding = 5) uniform sampler2D occlusion_texture;
|
||||
layout(set = 0, binding = 6) uniform sampler2D emissive_texture;
|
||||
layout(set = 0, binding = 7) uniform sampler2D normal_map_texture;
|
||||
layout(set = 0, binding = 8) uniform material_ubo
|
||||
|
||||
struct texture_info
|
||||
{
|
||||
int texcoord;
|
||||
float rotation;
|
||||
vec2 offset;
|
||||
vec2 scale;
|
||||
};
|
||||
|
||||
layout(std140, set = 0, binding = 8) uniform material_ubo
|
||||
{
|
||||
vec4 base_color_factor;
|
||||
vec4 base_emissive_factor;
|
||||
@@ -43,11 +52,11 @@ layout(set = 0, binding = 8) uniform material_ubo
|
||||
float normal_scale;
|
||||
float alpha_cutoff;
|
||||
|
||||
int base_color_texcoord;
|
||||
int metallic_roughness_texcoord;
|
||||
int occlusion_texcoord;
|
||||
int emissive_texcoord;
|
||||
int normal_texcoord;
|
||||
texture_info base_color;
|
||||
texture_info metallic_roughness;
|
||||
texture_info occlusion;
|
||||
texture_info emissive;
|
||||
texture_info normal;
|
||||
} material;
|
||||
|
||||
const float dither_pattern[4][4] = {
|
||||
@@ -91,6 +100,26 @@ vec4 dither(ivec2 frag_coord, vec4 colour)
|
||||
return colour + one_over_d_linear_to_srgb(colour) * vec4(dither_thd, dither_thd, dither_thd, 0) / 255.0f;
|
||||
}
|
||||
|
||||
vec2 compute_texcoord(texture_info info, vec2 in_texcoord)
|
||||
{
|
||||
mat3 translation = mat3(
|
||||
1, 0, 0,
|
||||
0, 1, 0,
|
||||
info.offset.x, info.offset.y, 1);
|
||||
mat3 rotation = mat3(
|
||||
cos(info.rotation), sin(info.rotation), 0,
|
||||
-sin(info.rotation), cos(info.rotation), 0,
|
||||
0, 0, 1);
|
||||
mat3 scale = mat3(
|
||||
info.scale.x, 0, 0,
|
||||
0, info.scale.y, 0,
|
||||
0, 0, 1);
|
||||
|
||||
mat3 matrix = translation * rotation * scale;
|
||||
|
||||
return (matrix * vec3(in_texcoord, 1)).xy;
|
||||
}
|
||||
|
||||
#ifdef FRAG_SHADER
|
||||
#define VS_TO_FS in
|
||||
#else
|
||||
@@ -102,4 +131,8 @@ layout(location = 0) VS_TO_FS vec3 normal;
|
||||
layout(location = 1) VS_TO_FS vec4 tangent;
|
||||
layout(location = 2) VS_TO_FS vec4 frag_pos;
|
||||
layout(location = 3) VS_TO_FS vec4 light_pos;
|
||||
layout(location = 4) VS_TO_FS vec2 texcoord[nb_texcoords];
|
||||
layout(location = 4) VS_TO_FS vec2 texcoord_base_color;
|
||||
layout(location = 5) VS_TO_FS vec2 texcoord_metallic_roughness;
|
||||
layout(location = 6) VS_TO_FS vec2 texcoord_occlusion;
|
||||
layout(location = 7) VS_TO_FS vec2 texcoord_emissive;
|
||||
layout(location = 8) VS_TO_FS vec2 texcoord_normal;
|
||||
|
||||
@@ -30,14 +30,14 @@ layout(early_fragment_tests) in;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 albedo = material.base_color_factor * texture(base_color_texture, texcoord[0]);
|
||||
vec3 emissive_color = (material.base_emissive_factor * texture(emissive_texture, texcoord[0])).rgb;
|
||||
vec4 albedo = material.base_color_factor * texture(base_color_texture, texcoord_base_color);
|
||||
vec3 emissive_color = (material.base_emissive_factor * texture(emissive_texture, texcoord_emissive)).rgb;
|
||||
|
||||
vec3 normal_unit;
|
||||
|
||||
if (use_normal_maps)
|
||||
{
|
||||
vec3 sampled_normal = normalize(vec3(material.normal_scale, material.normal_scale, 1) * (texture(normal_map_texture, texcoord[0]).xyz * 2 - 1));
|
||||
vec3 sampled_normal = normalize(vec3(material.normal_scale, material.normal_scale, 1) * (texture(normal_map_texture, texcoord_normal).xyz * 2 - 1));
|
||||
|
||||
// glTF spec §3.7.2.1
|
||||
vec3 bitangent = cross(normal, tangent.xyz) * tangent.w;
|
||||
@@ -54,8 +54,8 @@ void main()
|
||||
|
||||
if (use_pbr)
|
||||
{
|
||||
float ao = 1 + material.occlusion_strength * (texture(occlusion_texture, texcoord[0]).r - 1);
|
||||
vec4 mr = texture(metallic_roughness_texture, texcoord[0]);
|
||||
float ao = 1 + material.occlusion_strength * (texture(occlusion_texture, texcoord_occlusion).r - 1);
|
||||
vec4 mr = texture(metallic_roughness_texture, texcoord_metallic_roughness);
|
||||
|
||||
vec3 half_vec = normalize(light_dir + view_dir);
|
||||
|
||||
|
||||
@@ -34,14 +34,16 @@ layout(location = 5) in vec4 in_color;
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
float gl_ClipDistance[nb_clipping];
|
||||
float gl_ClipDistance[nb_clipping];
|
||||
};
|
||||
|
||||
void main()
|
||||
{
|
||||
// TODO: use base_color_texcoord et al instead of always using texcoord 0
|
||||
for (int i = 0; i < nb_texcoords; i++)
|
||||
texcoord[i] = in_texcoord[i];
|
||||
texcoord_base_color = compute_texcoord(material.base_color, in_texcoord[material.base_color.texcoord]);
|
||||
texcoord_metallic_roughness = compute_texcoord(material.metallic_roughness, in_texcoord[material.metallic_roughness.texcoord]);
|
||||
texcoord_occlusion = compute_texcoord(material.occlusion, in_texcoord[material.occlusion.texcoord]);
|
||||
texcoord_emissive = compute_texcoord(material.emissive, in_texcoord[material.emissive.texcoord]);
|
||||
texcoord_normal = compute_texcoord(material.normal, in_texcoord[material.normal.texcoord]);
|
||||
|
||||
// TODO on CPU?
|
||||
mat3 mv = inverse(transpose(mat3(mesh.modelview[gl_ViewIndex])));
|
||||
@@ -57,8 +59,8 @@ void main()
|
||||
frag_pos = mesh.modelview[gl_ViewIndex] * vec4(in_position, 1.0);
|
||||
light_pos = scene.view[gl_ViewIndex] * scene.light_position;
|
||||
|
||||
for(int i = 0; i < nb_clipping; i++)
|
||||
for (int i = 0; i < nb_clipping; i++)
|
||||
{
|
||||
gl_ClipDistance[i] = dot(mesh.clipping_plane[i], mesh.model * vec4(in_position, 1.0));
|
||||
gl_ClipDistance[i] = dot(mesh.clipping_plane[i], mesh.model * vec4(in_position, 1.0));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,14 +30,14 @@ layout(location = 0) out vec4 out_color;
|
||||
|
||||
void main()
|
||||
{
|
||||
vec4 albedo = material.base_color_factor * texture(base_color_texture, texcoord[0]);
|
||||
vec3 emissive_color = (material.base_emissive_factor * texture(emissive_texture, texcoord[0])).rgb;
|
||||
vec4 albedo = material.base_color_factor * texture(base_color_texture, texcoord_base_color);
|
||||
vec3 emissive_color = (material.base_emissive_factor * texture(emissive_texture, texcoord_emissive)).rgb;
|
||||
|
||||
vec3 normal_unit;
|
||||
|
||||
if (use_normal_maps)
|
||||
{
|
||||
vec3 sampled_normal = normalize(vec3(material.normal_scale, material.normal_scale, 1) * (texture(normal_map_texture, texcoord[0]).xyz * 2 - 1));
|
||||
vec3 sampled_normal = normalize(vec3(material.normal_scale, material.normal_scale, 1) * (texture(normal_map_texture, texcoord_normal).xyz * 2 - 1));
|
||||
|
||||
// glTF spec §3.7.2.1
|
||||
vec3 bitangent = cross(normal, tangent.xyz) * tangent.w;
|
||||
@@ -54,8 +54,8 @@ void main()
|
||||
|
||||
if (use_pbr)
|
||||
{
|
||||
float ao = 1 + material.occlusion_strength * (texture(occlusion_texture, texcoord[0]).r - 1);
|
||||
vec4 mr = texture(metallic_roughness_texture, texcoord[0]);
|
||||
float ao = 1 + material.occlusion_strength * (texture(occlusion_texture, texcoord_occlusion).r - 1);
|
||||
vec4 mr = texture(metallic_roughness_texture, texcoord_metallic_roughness);
|
||||
|
||||
vec3 half_vec = normalize(light_dir + view_dir);
|
||||
|
||||
@@ -65,8 +65,8 @@ void main()
|
||||
vec3 light_colour = scene.light_color.rgb;
|
||||
float attenuation = 1;
|
||||
vec3 radiance =
|
||||
per_light_radiance(albedo.rgb, metallic, roughness, light_colour, light_dir, normal_unit, view_dir, half_vec, attenuation) +
|
||||
vec3(scene.ambient_color) * albedo.rgb * ao;
|
||||
per_light_radiance(albedo.rgb, metallic, roughness, light_colour, light_dir, normal_unit, view_dir, half_vec, attenuation) +
|
||||
vec3(scene.ambient_color) * albedo.rgb * ao;
|
||||
|
||||
vec3 tmp = radiance + emissive_color;
|
||||
|
||||
|
||||
@@ -36,14 +36,16 @@ layout(location = 7) in vec4 in_weights;
|
||||
out gl_PerVertex
|
||||
{
|
||||
vec4 gl_Position;
|
||||
float gl_ClipDistance[nb_clipping];
|
||||
float gl_ClipDistance[nb_clipping];
|
||||
};
|
||||
|
||||
void main()
|
||||
{
|
||||
// TODO: use base_color_texcoord et al instead of always using texcoord 0
|
||||
for (int i = 0; i < nb_texcoords; i++)
|
||||
texcoord[i] = in_texcoord[i];
|
||||
texcoord_base_color = compute_texcoord(material.base_color, in_texcoord[material.base_color.texcoord]);
|
||||
texcoord_metallic_roughness = compute_texcoord(material.metallic_roughness, in_texcoord[material.metallic_roughness.texcoord]);
|
||||
texcoord_occlusion = compute_texcoord(material.occlusion, in_texcoord[material.occlusion.texcoord]);
|
||||
texcoord_emissive = compute_texcoord(material.emissive, in_texcoord[material.emissive.texcoord]);
|
||||
texcoord_normal = compute_texcoord(material.normal, in_texcoord[material.normal.texcoord]);
|
||||
|
||||
mat4 skinMatrix =
|
||||
in_weights.x * joints.joint_matrices[int(in_joints.x)] +
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* WiVRn VR streaming
|
||||
* Copyright (C) 2025 Guillaume Meunier <guillaume.meunier@centraliens.net>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
template <typename T>
|
||||
struct class_from_member
|
||||
{
|
||||
};
|
||||
|
||||
template <typename T, typename U>
|
||||
struct class_from_member<T U::*>
|
||||
{
|
||||
using type = U;
|
||||
};
|
||||
|
||||
template <typename pointer>
|
||||
using class_from_member_t = class_from_member<pointer>::type;
|
||||
@@ -93,11 +93,21 @@ public:
|
||||
return *resource;
|
||||
}
|
||||
|
||||
operator const T() const
|
||||
{
|
||||
return *resource;
|
||||
}
|
||||
|
||||
operator CType()
|
||||
{
|
||||
return CType(*resource);
|
||||
}
|
||||
|
||||
operator const CType() const
|
||||
{
|
||||
return CType(*resource);
|
||||
}
|
||||
|
||||
operator bool() const
|
||||
{
|
||||
return *resource;
|
||||
|
||||
@@ -16,6 +16,8 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Lokalize 25.08.3\n"
|
||||
"X-Language: es\n"
|
||||
"X-Source-Language: en\n"
|
||||
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#, kde-format
|
||||
@@ -103,13 +105,13 @@ msgstr ""
|
||||
#: dashboard/qml/ApkInstallPage.qml:51 dashboard/qml/WizardPage.qml:204
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Follow the instructions in the <a href=\"https://github.com/WiVRn/WiVRn/blob/"
|
||||
"master/docs/building.md#client-headset\">documentation</a> to build your own "
|
||||
"client."
|
||||
"Follow the instructions in the <a "
|
||||
"href=\"https://github.com/WiVRn/WiVRn/blob/master/docs/building.md#client-headset\">documentation</a> "
|
||||
"to build your own client."
|
||||
msgstr ""
|
||||
"Sigue las instrucciones en la <a href=\"https://github.com/WiVRn/WiVRn/blob/"
|
||||
"master/docs/building.md#client-headset\">documentación</a> para compilar tu "
|
||||
"propio cliente."
|
||||
"Sigue las instrucciones en la <a "
|
||||
"href=\"https://github.com/WiVRn/WiVRn/blob/master/docs/building.md#client-headset\">documentación</a> "
|
||||
"para compilar tu propio cliente."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
|
||||
@@ -292,14 +294,14 @@ msgstr ""
|
||||
#, kde-format
|
||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||
msgstr ""
|
||||
"Steam está instalado mediante snap. Los Snaps no son compatibles con WiVRn"
|
||||
"Steam está instalado mediante snap. Los Snaps no son compatibles con WiVRn."
|
||||
|
||||
#: dashboard/qml/Main.qml:183
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgstr ""
|
||||
"Steam está instalado con flatpak, pero no tiene los suficientes permisos"
|
||||
"Steam está instalado con flatpak, pero no tiene los suficientes permisos."
|
||||
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
@@ -476,7 +478,7 @@ msgstr "Restablecer"
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Codificador"
|
||||
msgstr "Codificador:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
@@ -512,7 +514,7 @@ msgstr "\"Auto\" utilizará aceleración por hardware si está disponible"
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Códec"
|
||||
msgstr "Códec:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:166
|
||||
#, kde-format
|
||||
@@ -573,7 +575,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"El teclado y ratón conectados al cliente actuarán como si se hubiesen "
|
||||
"conectado al servidor. El SO del cliente podria reservarse ciertas teclas y "
|
||||
"combinaciones, los cuales no podrán ser enviados"
|
||||
"combinaciones, los cuales no podrán ser enviados."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:241
|
||||
#, kde-format
|
||||
@@ -719,9 +721,9 @@ msgstr "Tengo un error de \"Servidor WiVRn incompatible\" en mi visor"
|
||||
#: dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"<p>The version of the headset app and the server on your computer must match."
|
||||
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
|
||||
"server version is <b>%1</b></li></ul>"
|
||||
"<p>The version of the headset app and the server on your computer must "
|
||||
"match.</p><ul><li>The headset app version is in the \"About\" "
|
||||
"page</li><li>The server version is <b>%1</b></li></ul>"
|
||||
msgstr ""
|
||||
"<p>La versión de la aplicación del visor y la del servidor en tu computadora "
|
||||
"deben coincidir.</p><ul><li>La versión de la aplicación del visor está en la "
|
||||
@@ -909,7 +911,7 @@ msgid ""
|
||||
"running."
|
||||
msgstr ""
|
||||
"WiVRn sustituye completamente a SteamVR, no deberías iniciar SteamVR "
|
||||
"mientras WiVRn esté en ejecución"
|
||||
"mientras WiVRn esté en ejecución."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#, kde-format
|
||||
|
||||
+40
-24
@@ -5,7 +5,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn 0.15\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-17 21:03+0100\n"
|
||||
"POT-Creation-Date: 2025-12-02 19:57+0100\n"
|
||||
"PO-Revision-Date: 2025-11-19 20:23+0100\n"
|
||||
"Last-Translator: Álvaro De Quinta <blackcherry@danwin1210.de>\n"
|
||||
"Language-Team: Spanish <>\n"
|
||||
@@ -15,6 +15,8 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Lokalize 25.08.3\n"
|
||||
"X-Language: es\n"
|
||||
"X-Source-Language: en\n"
|
||||
|
||||
#: client/scene.cpp:73
|
||||
msgid "No supported swapchain format"
|
||||
@@ -31,19 +33,19 @@ msgstr "Connectado a {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:136
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión"
|
||||
msgstr "Inicia una aplicación en el servidor para empezar la retransmisión."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:146
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Inicia una aplicación en tu ordenador o selecciona una para empezar la "
|
||||
"retransmisión"
|
||||
"retransmisión."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:148
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr ""
|
||||
"Inicia una aplicación en {} o selecciona una para empezar la retransmisión"
|
||||
"Inicia una aplicación en {} o selecciona una para empezar la retransmisión."
|
||||
|
||||
#: client/scenes/lobby.cpp:230
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
@@ -96,9 +98,9 @@ msgstr "Deshabilitado"
|
||||
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:963
|
||||
#: client/scenes/lobby_gui.cpp:132 client/scenes/lobby_gui_customize.cpp:749
|
||||
#: client/scenes/lobby_gui_customize.cpp:840
|
||||
#: client/scenes/lobby_gui_customize.cpp:896 client/scenes/stream_gui.cpp:963
|
||||
msgid "Close"
|
||||
msgstr "Cerrar"
|
||||
|
||||
@@ -135,7 +137,7 @@ msgstr "Puerto"
|
||||
msgid "TCP only"
|
||||
msgstr "Solo TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
|
||||
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:651
|
||||
#: client/scenes/stream_gui.cpp:920
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
@@ -252,7 +254,7 @@ msgstr "Activar seguimiento de manos"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:709 client/scenes/lobby_gui.cpp:721
|
||||
#: client/scenes/lobby_gui.cpp:733 client/scenes/lobby_gui.cpp:750
|
||||
#: client/scenes/lobby_gui_customize.cpp:540
|
||||
#: client/scenes/lobby_gui_customize.cpp:636
|
||||
msgid "This feature is not supported by your headset"
|
||||
msgstr "Esta función no es compatible con tu visor"
|
||||
|
||||
@@ -482,33 +484,47 @@ msgstr ""
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Pulsa el botón de agarre para mover la ventana principal"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:233
|
||||
#: client/scenes/lobby_gui_customize.cpp:208
|
||||
msgid "Locally loaded environment"
|
||||
msgstr "Entorno local cargado"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:221
|
||||
#, c++-format
|
||||
msgid "Locally loaded environment ({})"
|
||||
msgstr "Entorno local ({}) cargado"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:296
|
||||
#, c++-format
|
||||
msgid "Cannot load local environment: {}"
|
||||
msgstr "No se ha podido cargar el entorno local: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:329
|
||||
#, c++-format
|
||||
msgid "Cannot load environment list: {}"
|
||||
msgstr "No se ha podido cargar la lista del entorno: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:363
|
||||
#: client/scenes/lobby_gui_customize.cpp:459
|
||||
#, c++-format
|
||||
msgid "Author: {}"
|
||||
msgstr "Autor: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:367
|
||||
#: client/scenes/lobby_gui_customize.cpp:463
|
||||
#, c++-format
|
||||
msgid "Size: {:.1f} MB"
|
||||
msgstr "Tamaño: {:.1f} MB"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:447
|
||||
#: client/scenes/lobby_gui_customize.cpp:543
|
||||
msgid "Delete this model"
|
||||
msgstr "Borrar este modelo"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:483
|
||||
#: client/scenes/lobby_gui_customize.cpp:689
|
||||
#: client/scenes/lobby_gui_customize.cpp:579
|
||||
#: client/scenes/lobby_gui_customize.cpp:785
|
||||
#, c++-format
|
||||
msgid "HTTP error {} when downloading {}"
|
||||
msgstr "Error HTTP {} mientras se descargaba {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:491
|
||||
#: client/scenes/lobby_gui_customize.cpp:697
|
||||
#: client/scenes/lobby_gui_customize.cpp:587
|
||||
#: client/scenes/lobby_gui_customize.cpp:793
|
||||
#, c++-format
|
||||
msgid ""
|
||||
"Curl error when downloading {}\n"
|
||||
@@ -517,29 +533,29 @@ msgstr ""
|
||||
"Error de Curl mientras se descargaba {}\n"
|
||||
"{}: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:552
|
||||
#: client/scenes/lobby_gui_customize.cpp:648
|
||||
#, c++-format
|
||||
msgid "Really delete {}?"
|
||||
msgstr "Seguro que quiere borrar {}?"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:556
|
||||
#: client/scenes/lobby_gui_customize.cpp:652
|
||||
msgid "Delete"
|
||||
msgstr "Borrar"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:637
|
||||
#: client/scenes/lobby_gui_customize.cpp:733
|
||||
#, c++-format
|
||||
msgid "Cannot load environment: {}"
|
||||
msgstr "No se puede cargar el entorno: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:645
|
||||
#: client/scenes/lobby_gui_customize.cpp:741
|
||||
msgid "Loading environment"
|
||||
msgstr "Cargando entorno"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:724
|
||||
#: client/scenes/lobby_gui_customize.cpp:820
|
||||
msgid "Download more environments"
|
||||
msgstr "Descargar más entornos"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:732
|
||||
#: client/scenes/lobby_gui_customize.cpp:828
|
||||
msgid "Open local glTF model"
|
||||
msgstr "Abrir modelo glTF local"
|
||||
|
||||
@@ -697,7 +713,7 @@ msgstr "No se puede verificar el PIN"
|
||||
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "El emparejamiento está deshabilitado en el servidor."
|
||||
msgstr "El emparejamiento está deshabilitado en el servidor"
|
||||
|
||||
#, c++-format
|
||||
#~ msgid "HTTP error {} when downloading index.json"
|
||||
|
||||
+172
-165
@@ -20,7 +20,7 @@ msgstr ""
|
||||
#: dashboard/apk_installer.cpp:137
|
||||
#, kde-format
|
||||
msgid "Cannot save APK file: %1"
|
||||
msgstr "Nie można zapisać APK: %1"
|
||||
msgstr "Nie można zapisać pliku APK: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:171
|
||||
#, kde-format
|
||||
@@ -55,22 +55,22 @@ msgstr "Nie udało się uruchomić ADB: %1"
|
||||
#: dashboard/apk_installer.cpp:235
|
||||
#, kde-format
|
||||
msgid "adb exited abnormally: %1"
|
||||
msgstr "ADB nieoczekiwanie zakończył prace: %1"
|
||||
msgstr "ADB nieoczekiwanie zakończył pracę: %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:243
|
||||
#, kde-format
|
||||
msgid "The 'adb install' command failed: exit code %1"
|
||||
msgstr "Komenda 'adb install' nieudana: kod wyjścia %1"
|
||||
msgstr "Komenda 'adb install' zakończona niepowodzeniem: kod wyjścia %1"
|
||||
|
||||
#: dashboard/apk_installer.cpp:248
|
||||
#, kde-format
|
||||
msgid "Installation successful"
|
||||
msgstr "Instalacja udana"
|
||||
msgstr "Instalacja przebiegła pomyślnie"
|
||||
|
||||
#: dashboard/main.cpp:27 dashboard/qml/Main.qml:12
|
||||
#, kde-format
|
||||
msgid "WiVRn dashboard"
|
||||
msgstr "Pulpit WiVRn"
|
||||
msgstr "WiVRn"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:12 dashboard/qml/WizardPage.qml:137
|
||||
#, kde-format
|
||||
@@ -88,8 +88,8 @@ msgstr "Sprawdzanie najnowszego wydania..."
|
||||
msgid "No APK is available for this version"
|
||||
msgstr "Nie ma APK dla tej wersji"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:302
|
||||
#: dashboard/qml/Main.qml:387 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:309
|
||||
#: dashboard/qml/Main.qml:394 dashboard/qml/WizardPage.qml:211
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
msgstr "ABD nie jest zainstalowany"
|
||||
@@ -106,12 +106,12 @@ msgid ""
|
||||
"master/docs/building.md#client-headset\">documentation</a> to build your own "
|
||||
"client."
|
||||
msgstr ""
|
||||
"Postępuj zgodnie z instrukcjami w <a href=\"https://github.com/WiVRn/WiVRn/bl"
|
||||
"ob/master/docs/building.md#client-headset\">dokumentacji</a> by skompilować "
|
||||
"własnego klienta."
|
||||
"Postępuj zgodnie z instrukcjami w <a href=\"https://github.com/WiVRn/WiVRn/"
|
||||
"blob/master/docs/building.md#client-headset\">dokumentacji</a> by "
|
||||
"skompilować własnego klienta."
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetStatsPage.qml:36
|
||||
#: dashboard/qml/HeadsetsPage.qml:183 dashboard/qml/TroubleshootPage.qml:67
|
||||
#: dashboard/qml/ApkInstallPage.qml:65 dashboard/qml/HeadsetsPage.qml:183
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:36 dashboard/qml/TroubleshootPage.qml:67
|
||||
#, kde-format
|
||||
msgctxt "go back to the home page"
|
||||
msgid "Back"
|
||||
@@ -137,12 +137,7 @@ msgstr "Przeinstaluj WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "Zainstaluj WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:12
|
||||
#, kde-format
|
||||
msgid "Headset statistics"
|
||||
msgstr "Statystyki gogli"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:399
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "Gogle"
|
||||
@@ -151,7 +146,7 @@ msgstr "Gogle"
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 second ago"
|
||||
msgid_plural "Last connection: %1 seconds ago"
|
||||
msgstr[0] "Ostatnie połączenie: %1 sekunda temu"
|
||||
msgstr[0] "Ostatnie połączenie: %1 sekundę temu"
|
||||
msgstr[1] "Ostatnie połączenie: %1 sekundy temu"
|
||||
msgstr[2] "Ostatnie połączenie: %1 sekund temu"
|
||||
|
||||
@@ -159,7 +154,7 @@ msgstr[2] "Ostatnie połączenie: %1 sekund temu"
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 minute ago"
|
||||
msgid_plural "Last connection: %1 minutes ago"
|
||||
msgstr[0] "Ostatnie połączenie: %1 minuta temu"
|
||||
msgstr[0] "Ostatnie połączenie: %1 minutę temu"
|
||||
msgstr[1] "Ostatnie połączenie: %1 minuty temu"
|
||||
msgstr[2] "Ostatnie połączenie: %1 minut temu"
|
||||
|
||||
@@ -167,7 +162,7 @@ msgstr[2] "Ostatnie połączenie: %1 minut temu"
|
||||
#, kde-format
|
||||
msgid "Last connection: %1 hour ago"
|
||||
msgid_plural "Last connection: %1 hours ago"
|
||||
msgstr[0] "Ostatnie połączenie: %1 godzina temu"
|
||||
msgstr[0] "Ostatnie połączenie: %1 godzinę temu"
|
||||
msgstr[1] "Ostatnie połączenie: %1 godziny temu"
|
||||
msgstr[2] "Ostatnie połączenie: %1 godzin temu"
|
||||
|
||||
@@ -219,7 +214,7 @@ msgstr "Wyłącz parowanie"
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
msgid "Start the WiVRn app on your headset and use the PIN: %1"
|
||||
msgstr "Włącz aplikację WiVRn na goglach i użyj PINu: %1"
|
||||
msgstr "Uruchom aplikację WiVRn na goglach i użyj PINu: %1"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:166
|
||||
#, kde-format
|
||||
@@ -236,56 +231,46 @@ msgstr "Włącz parowanie"
|
||||
msgid "Pair a new headset"
|
||||
msgstr "Sparuj nowe gogle"
|
||||
|
||||
#: dashboard/qml/Main.qml:121
|
||||
#: dashboard/qml/HeadsetStatsPage.qml:12
|
||||
#, kde-format
|
||||
msgid "Headset statistics"
|
||||
msgstr "Statystyki gogli"
|
||||
|
||||
#: dashboard/qml/Main.qml:108
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not installed"
|
||||
msgstr "Daemon Avahi nie jest zainstalowany"
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:116
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not started"
|
||||
msgstr "Daemon Avahi nie jest uruchomiony"
|
||||
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#: dashboard/qml/Main.qml:123 dashboard/qml/Main.qml:137
|
||||
#: dashboard/qml/Main.qml:189
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "Napraw to"
|
||||
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities"
|
||||
msgstr "Serwer nie ma przywileju CAP_SYS_NICE"
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#: dashboard/qml/Main.qml:131
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757"
|
||||
msgstr "Zapora sieciowa nie przepuszcza portu 9757"
|
||||
|
||||
#: dashboard/qml/Main.qml:174
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
|
||||
msgstr "Przywilej CAP_SYS_NICE zostanie użyty podczas restartu serwera"
|
||||
|
||||
#: dashboard/qml/Main.qml:180
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Zrestartuj serwer teraz"
|
||||
|
||||
#: dashboard/qml/Main.qml:191
|
||||
#: dashboard/qml/Main.qml:145
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr ""
|
||||
"Karty graficzne NVIDIA wymagają sterownika co najmniej 565.77, a aktualna wersja to %1"
|
||||
"Karty graficzne NVIDIA wymagają sterownika w wersji co najmniej 565.77, a "
|
||||
"aktualna wersja to %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:197
|
||||
#: dashboard/qml/Main.qml:151
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "Więcej informacji"
|
||||
|
||||
#: dashboard/qml/Main.qml:205
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -294,7 +279,7 @@ msgstr ""
|
||||
"Używaj sterownika Mesa (radv) z kartami AMD\n"
|
||||
"Enkodowanie sprzętowe VA-API nie działa ani z AMDVLK ani z AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:213
|
||||
#: dashboard/qml/Main.qml:167
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -303,75 +288,98 @@ msgstr ""
|
||||
"Nie wykryto kompatybilności OpenVR. Gry ze Steama nie zadziałają w VR.\n"
|
||||
"Zainstaluj xrizer lub OpenComposite."
|
||||
|
||||
#: dashboard/qml/Main.qml:222
|
||||
#: dashboard/qml/Main.qml:175
|
||||
#, kde-format
|
||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||
msgstr "Steam jest zainstalowany ze Snapa a WiVRn tego nie wspiera."
|
||||
|
||||
#: dashboard/qml/Main.qml:183
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgstr ""
|
||||
"Steam jest zainstalowany z Flatpaka ale nie ma wystarczających uprawnień."
|
||||
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr "Uruchom ponownie serwer, aby zmiany konfiguracji zaczęły obowiązywać"
|
||||
|
||||
#: dashboard/qml/Main.qml:204
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "Uruchom ponownie teraz"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "Uruchomienie serwera nie powiodło się"
|
||||
|
||||
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
|
||||
#: dashboard/qml/Main.qml:235 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "Zobacz dziennik serwera"
|
||||
msgstr "Otwórz logi serwera"
|
||||
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#: dashboard/qml/Main.qml:264
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "Uruchomiony"
|
||||
|
||||
#: dashboard/qml/Main.qml:272
|
||||
#: dashboard/qml/Main.qml:279
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "Parowanie"
|
||||
|
||||
#: dashboard/qml/Main.qml:285
|
||||
#: dashboard/qml/Main.qml:292
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "PIN: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
|
||||
#: dashboard/qml/Main.qml:300 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "Połącz przez USB"
|
||||
|
||||
#: dashboard/qml/Main.qml:304
|
||||
#: dashboard/qml/Main.qml:311
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr "Gogle są niepodłączone lub nie są w trybie programisty"
|
||||
|
||||
#: dashboard/qml/Main.qml:312
|
||||
#: dashboard/qml/Main.qml:319
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "Rozłącz"
|
||||
|
||||
#: dashboard/qml/Main.qml:329
|
||||
#: dashboard/qml/Main.qml:336
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "Aplikacja"
|
||||
|
||||
#: dashboard/qml/Main.qml:350
|
||||
#: dashboard/qml/Main.qml:357
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Informacje o Steamie"
|
||||
|
||||
#: dashboard/qml/Main.qml:371
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "Pomocnik"
|
||||
msgstr "Kreator"
|
||||
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#: dashboard/qml/Main.qml:385
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "Zainstaluj aplikację"
|
||||
|
||||
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:406 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "Ustawienia"
|
||||
|
||||
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:413 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "Rozwiąż problemy"
|
||||
@@ -388,29 +396,29 @@ msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "Niestandardowa"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:76
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "Przeglądaj"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:35
|
||||
#: dashboard/qml/SettingsPage.qml:31
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "Manualna foveacja"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#: dashboard/qml/SettingsPage.qml:37
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "Siła foveacji"
|
||||
msgstr "Siła foveacji:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:57
|
||||
#: dashboard/qml/SettingsPage.qml:53
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#: dashboard/qml/SettingsPage.qml:59
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
@@ -422,161 +430,160 @@ msgid ""
|
||||
"The recommended values are between 20% and 50% for headsets without eye "
|
||||
"tracking and between 50% and 70% for headsets with eye tracking."
|
||||
msgstr ""
|
||||
"Z silniejszą foveacją obraz jest ostrzejszy w środku niż na brzegach "
|
||||
"co przyspiesza dekodowanie obrazu. Odpowiednie dla dynamicznych gier.\n"
|
||||
"Z silniejszą foveacją obraz jest ostrzejszy na środku niż na brzegach co "
|
||||
"przyspiesza dekodowanie obrazu. Odpowiednie dla dynamicznych gier.\n"
|
||||
"\n"
|
||||
"Słabsza foveacja daje równomierną ostrość na całym obrazie.\n"
|
||||
"\n"
|
||||
"Zalecane wartości to między 20% a 50% dla gogli bez śledzenia wzroku, "
|
||||
"a między 50% i 70% dla gogli ze śledzeniem wzroku."
|
||||
"Zalecane wartości to od 20% do 50% dla gogli bez śledzenia wzroku, oraz "
|
||||
"od 50% do 70% dla gogli ze śledzeniem wzroku."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#: dashboard/qml/SettingsPage.qml:65
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "Słabsza"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:80
|
||||
#: dashboard/qml/SettingsPage.qml:76
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "Silniejsza"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:90
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "Przepływność:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:90 dashboard/qml/SettingsPage.qml:92
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Mbit/s"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:104
|
||||
#, kde-format
|
||||
msgid "The current encoder configuration is not supported"
|
||||
msgstr "Wybrana obecnie konfiguracja endkodera nie jest wspierana"
|
||||
msgstr "Wybrana obecnie konfiguracja enkodera nie jest wspierana"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:113
|
||||
#: dashboard/qml/SettingsPage.qml:109
|
||||
#, kde-format
|
||||
msgid "Reset"
|
||||
msgstr "Resetuj"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:120
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "Enkoder:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "Auto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:130
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (GPU NVIDIA)"
|
||||
msgstr "NVENC (GPU NVIDIA)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:130
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "VA-API (GPU AMD i Intel)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (GPU AMD i Intel)"
|
||||
msgid "Vulkan (Any modern GPU)"
|
||||
msgstr "Vulkan (dowolne współczesne GPU)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:138
|
||||
#, kde-format
|
||||
msgid "Vulkan (Any modern GPU)"
|
||||
msgstr "Vulkan (Dowolne współczesne GPU)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:142
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (enkodowanie softwarowe)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#: dashboard/qml/SettingsPage.qml:155
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"Auto\" wykorzysta przyspieszenie sprzętowe jeśli jest dostępne"
|
||||
msgstr "\"Auto\" wykorzysta przyspieszenie sprzętowe jeśli będzie dostępne"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "Kodek:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:166
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "Auto"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:174
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:174
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:210
|
||||
#: dashboard/qml/SettingsPage.qml:206
|
||||
#, kde-format
|
||||
msgid "10-bits"
|
||||
msgstr "10-bitów"
|
||||
msgid "10 bits"
|
||||
msgstr "10-bitowy"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:215
|
||||
#: dashboard/qml/SettingsPage.qml:211
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"10-bit encoding improves image quality but is not supported by all codecs "
|
||||
"and hardware"
|
||||
msgstr ""
|
||||
"Enkodowanie 10-bitowe poprawia jakość obrazu, ale nie jest wspierane przez każdy"
|
||||
" sprzęt i kodek"
|
||||
"Enkodowanie 10-bitowe poprawia jakość obrazu, ale nie jest wspierane przez "
|
||||
"każdy sprzęt i kodek"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:225
|
||||
#: dashboard/qml/SettingsPage.qml:221
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "Opcje zaawansowane"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:231
|
||||
#: dashboard/qml/SettingsPage.qml:227
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "Sprawdź konfigurację systemu przy starcie"
|
||||
msgstr "Sprawdź konfigurację systemu przy uruchomieniu"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:237
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "Przekaż klawiaturę i mysz z gogli"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#: dashboard/qml/SettingsPage.qml:236
|
||||
#, 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 ""
|
||||
"Klawiatura i mysz podłączona do klienta będzie się zachowywać jak "
|
||||
"gdyby była podłączona do serwera. System operacyjny klienta może mieć "
|
||||
"niektóre kombinacje klawiszy zarezerwowane, bez możliwości przekazania ich "
|
||||
"dalej."
|
||||
"Klawiatura i mysz podłączona do klienta będzie się zachowywać jakby była "
|
||||
"podłączona do serwera. System operacyjny klienta może mieć niektóre "
|
||||
"kombinacje klawiszy zarezerwowane, bez możliwości przekazania ich dalej."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:245
|
||||
#: dashboard/qml/SettingsPage.qml:241
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "Włącz okno debugowania"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:252
|
||||
#: dashboard/qml/SettingsPage.qml:248
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "Włącz wsparcie dla urządzeń śledzonych przez SteamVR"
|
||||
msgstr "Włącz wsparcie dla urządzeń śledzących ze SteamVR"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:255
|
||||
#: dashboard/qml/SettingsPage.qml:251
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -584,52 +591,52 @@ msgid ""
|
||||
"Devices must be be powered on before connecting to WiVRn.\n"
|
||||
"An external tool such as motoc is needed for calibration."
|
||||
msgstr ""
|
||||
"Zezwala na użycie padów i trackerów latarniowych.\n"
|
||||
"Zezwala na użycie kontrolerów i trackerów latarniowych.\n"
|
||||
"Wymaga aby SteamVR był zainstalowany.\n"
|
||||
"Urządzenia muszą być włączone przed połączeniem z WiVRn.\n"
|
||||
"Potrzebne jest narzędzie zewnętrzne do kalibracji (np. motoc)."
|
||||
"Do kalibracji potrzebne jest narzędzie zewnętrzne (np. motoc)."
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:263
|
||||
#: dashboard/qml/SettingsPage.qml:259
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "Niestandardowa lokalizacja ADB"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#: dashboard/qml/SettingsPage.qml:270
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "Lokalizacja ADB:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:283
|
||||
#: dashboard/qml/SettingsPage.qml:279
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "Przeglądaj"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "Domyślna"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:307
|
||||
#: dashboard/qml/SettingsPage.qml:303
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "Niestandardowa"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:312
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "Wyłączona"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:320
|
||||
#: dashboard/qml/SettingsPage.qml:316
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "Biblioteka kompatybilności OpenVR:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:346
|
||||
#: dashboard/qml/SettingsPage.qml:342
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "Ścieżka do biblioteki, z wyjątkiem bin/linux64/vrclient.so"
|
||||
msgstr "Ścieżka do biblioteki, z wyjątkiem 'bin/linux64/vrclient.so'"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:8
|
||||
#, kde-format
|
||||
@@ -637,14 +644,13 @@ msgid ""
|
||||
"For Steam games, right click on the game in Steam, go in Properties > "
|
||||
"General and paste this in \"Launch options\":"
|
||||
msgstr ""
|
||||
"Dla gier Steam, kliknij prawym przyciskiem myszy na grze w Steamie, "
|
||||
"Właściwości > Ogólne i wklej to do \"Opcji uruchamiania\":"
|
||||
"Dla gier Steam, kliknij prawym przyciskiem myszy na grze w Steamie, wybierz "
|
||||
"Właściwości > Ogólne i wklej to do opcji uruchamiania:"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:20
|
||||
#, kde-format
|
||||
msgid "Paste this in the Steam launch options for the app you want to start"
|
||||
msgstr ""
|
||||
"Wklej to do opcji uruchamiania dla gry ze Steama którą chcesz uruchomić"
|
||||
msgstr "Wklej to do opcji uruchamiania dla gry ze Steama którą chcesz uruchomić"
|
||||
|
||||
#: dashboard/qml/SteamLaunchOptions.qml:26
|
||||
#, kde-format
|
||||
@@ -668,8 +674,8 @@ msgid ""
|
||||
"If you installed WiVRn over USB on a Meta headset, the app is in the "
|
||||
"\"unknown sources\" section."
|
||||
msgstr ""
|
||||
"Jeśli zainstalowano WiVRn przez USB na goglach Meta, aplikacja "
|
||||
"jest w sekcji \"nieznanych źródeł\"."
|
||||
"Jeśli zainstalowano WiVRn przez USB na goglach Meta, aplikacja jest w sekcji "
|
||||
"nieznanych źródeł."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:24
|
||||
#, kde-format
|
||||
@@ -692,8 +698,8 @@ msgid ""
|
||||
"If you have a firewall, make sure that port 9757 is open both for TCP and "
|
||||
"UDP."
|
||||
msgstr ""
|
||||
"Jeśli masz zaporę sieciową, upewnij się że port 9757 jest otwarty zarówno dla "
|
||||
"TCP i UDP."
|
||||
"Jeśli masz zaporę sieciową, upewnij się że port 9757 jest otwarty zarówno "
|
||||
"dla TCP jak i UDP."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:32
|
||||
#, kde-format
|
||||
@@ -703,7 +709,7 @@ msgstr "Połączenie nie powiodło się, \"no route to host\""
|
||||
#: dashboard/qml/TroubleshootPage.qml:36
|
||||
#, kde-format
|
||||
msgid "I have an \"Incompatible WiVRn server\" error on my headset"
|
||||
msgstr "Mam problem \"Serwer WiVRn niekompatybilny\" na moich goglach"
|
||||
msgstr "Mam problem z niekompatybilnością serwera WiVRn na moich goglach"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:37
|
||||
#, kde-format
|
||||
@@ -712,9 +718,9 @@ msgid ""
|
||||
"</p><ul><li>The headset app version is in the \"About\" page</li><li>The "
|
||||
"server version is <b>%1</b></li></ul>"
|
||||
msgstr ""
|
||||
"<p>Wersja aplikacji na goglach i komputerze muszą się zgadzać"
|
||||
"</p><ul><li>Wersja aplikacji jest na stronie \"Informacje\""
|
||||
"</li><li>Wersja serwera to <b>%1</b></li></ul>"
|
||||
"<p>Wersje aplikacji na goglach i komputerze muszą się zgadzać.</p>"
|
||||
"<ul><li>Wersja aplikacji jest na stronie \"Informacje\"</li><li>Wersja "
|
||||
"serwera to <b>%1</b></li></ul>"
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:40
|
||||
#, kde-format
|
||||
@@ -727,8 +733,8 @@ msgid ""
|
||||
"If you have reinstalled the server or the client or if you want to connect "
|
||||
"another headset, you must enable pairing before connecting."
|
||||
msgstr ""
|
||||
"Jeśli przeinstalowałeś/aś serwer lub klient, lub jeśli chcesz połączyć "
|
||||
"nowe gogle, musisz włączyć tryb parowania przed połączeniem."
|
||||
"Jeśli przeinstalowano serwer lub klienta, lub jeśli chcesz połączyć kolejne "
|
||||
"gogle, musisz włączyć tryb parowania przed łączeniem."
|
||||
|
||||
#: dashboard/qml/TroubleshootPage.qml:41
|
||||
#, kde-format
|
||||
@@ -787,15 +793,15 @@ msgstr "Witamy w WiVRn"
|
||||
msgid ""
|
||||
"This wizard will help you set up WiVRn on your headset and connect it to "
|
||||
"your computer."
|
||||
msgstr ""
|
||||
"Ten pomocnik pomoże ci ustawić WiVRn na goglach i połączyć się z komputerem."
|
||||
msgstr "Ten kreator pomoże skonfigurować aplikację WiVRn na goglach i połączyć "
|
||||
"się z tym komputerem."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:83 dashboard/qml/WizardPage.qml:258
|
||||
#: dashboard/qml/WizardPage.qml:322 dashboard/qml/WizardPage.qml:453
|
||||
#: dashboard/qml/WizardPage.qml:490
|
||||
#, kde-format
|
||||
msgid "Next"
|
||||
msgstr "Następne"
|
||||
msgstr "Dalej"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:112
|
||||
#, kde-format
|
||||
@@ -828,8 +834,8 @@ msgid ""
|
||||
"For the Quest 2, 3, 3S, and Pro, you can get the app from the <a "
|
||||
"href=\"https://www.meta.com/experiences/7959676140827574/\">Meta store</a>."
|
||||
msgstr ""
|
||||
"Na gogle Quest 2, 3, 3S, i Pro, możesz pobrać aplikację ze <a "
|
||||
"href=\"https://www.meta.com/experiences/7959676140827574/\">sklepu Meta</a>."
|
||||
"Na gogle Quest 2, 3, 3S, i Pro, możesz pobrać aplikację ze <a href=\"https://"
|
||||
"www.meta.com/experiences/7959676140827574/\">sklepu Meta</a>."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:164
|
||||
#, kde-format
|
||||
@@ -837,8 +843,8 @@ msgid ""
|
||||
"A newer release is available: %1 → %2, the client app on the Meta store may "
|
||||
"not be compatible."
|
||||
msgstr ""
|
||||
"Nowsza wersja jest dostępna: %1 → %2, klient w sklepie Meta "
|
||||
"może nie być jeszcze kompatybilny."
|
||||
"Nowsza wersja jest dostępna: %1 → %2, klient w sklepie Meta może nie być "
|
||||
"jeszcze kompatybilny."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:171
|
||||
#, kde-format
|
||||
@@ -866,9 +872,9 @@ msgid ""
|
||||
"<ul><li>The ADB udev rules are installed</li><li>The headset is in <a "
|
||||
"href=\"#\">developer mode</a></li></ul></p>"
|
||||
msgstr ""
|
||||
"<p>Nie wykryto gogli. Upewnij się że:\n"
|
||||
"<ul><li>Reguły udev z ADB są zainstalowane</li><li>Że gogle są "
|
||||
"<a href=\"#\">w trybie programisty</a></li></ul></p>"
|
||||
"<p>Nie wykryto gogli. Upewnij się, że:\n"
|
||||
"<ul><li>Reguły udev z ADB są zainstalowane</li><li>Gogle są w <a "
|
||||
"href=\"#\">trybie programisty</a></li></ul></p>"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:280
|
||||
#, kde-format
|
||||
@@ -880,7 +886,8 @@ msgstr "Wybierz aplikację którą chcesz uruchomić"
|
||||
msgid ""
|
||||
"The application you choose will be started automatically when you connect "
|
||||
"your headset."
|
||||
msgstr "Wybrana aplikacja zostanie automatycznie uruchomiona po połączeniu z goglami."
|
||||
msgstr ""
|
||||
"Wybrana aplikacja zostanie automatycznie uruchomiona po połączeniu z goglami."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:301
|
||||
#, kde-format
|
||||
@@ -893,8 +900,8 @@ msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr ""
|
||||
"WiVRn kompletnie zastępuje SteamVR, nie powinieneś uruchamiać SteamVR podczas"
|
||||
"kiedy WiVRn jest uruchomiona."
|
||||
"WiVRn kompletnie zastępuje SteamVR, nie powinieneś uruchamiać SteamVR "
|
||||
"podczas gdy WiVRn jest uruchomiona."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#, kde-format
|
||||
@@ -907,8 +914,8 @@ msgid ""
|
||||
"To connect over WiFi, start the WiVRn app on your headset, connect to \"%1\" "
|
||||
"and enter PIN \"%2\"."
|
||||
msgstr ""
|
||||
"Aby połączyć przez WiFi, włącz aplikację WiVRn na goglach, połącz się z "
|
||||
"\"%1\" I wpisz PIN \"%2\"."
|
||||
"Aby połączyć się przez WiFi, uruchom aplikację WiVRn na goglach, połącz się z "
|
||||
"\"%1\" i wpisz PIN \"%2\"."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:371
|
||||
#, kde-format
|
||||
@@ -926,8 +933,8 @@ msgid ""
|
||||
"If the server is not visible or the connection fails, check that ports 5353 "
|
||||
"(UDP) and 9757 (TCP and UDP) are open in your firewall."
|
||||
msgstr ""
|
||||
"Jeśli serwer nie jest widoczny lub połączenie się nie powodzi, upewnij się że "
|
||||
"porty 5353 (UDP) i 9757 (TCP i UDP) są otwarte w zaporze sieciowej."
|
||||
"Jeśli serwer nie jest widoczny lub połączenie się nie powodzi, upewnij "
|
||||
"się że porty 5353 (UDP) i 9757 (TCP i UDP) są otwarte w zaporze sieciowej."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:406
|
||||
#, kde-format
|
||||
@@ -950,8 +957,8 @@ msgid ""
|
||||
"To connect another headset, make sure pairing is enabled in the dashboard "
|
||||
"before connecting."
|
||||
msgstr ""
|
||||
"Przed połączeniem kolejnych gogli, upewnij się że parowanie jest włączone na d"
|
||||
"esce rozdzielczej"
|
||||
"Przed połączeniem kolejnych gogli, upewnij się że parowanie jest włączone w "
|
||||
"aplikacji WiVRn na komputerze."
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:458 dashboard/qml/WizardPage.qml:495
|
||||
#, kde-format
|
||||
@@ -963,12 +970,12 @@ msgstr "Zakończ"
|
||||
msgid "Finished"
|
||||
msgstr "Zakończone"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#: dashboard/wivrn_server.cpp:533
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#: dashboard/wivrn_server.cpp:534
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
msgstr "OpenComposite"
|
||||
|
||||
+83
-79
@@ -32,17 +32,17 @@ msgstr "Połączono z {}"
|
||||
|
||||
#: client/scenes/app_launcher.cpp:136
|
||||
msgid "Start an application on the server to start streaming."
|
||||
msgstr "Włącz aplikację na serwerze aby rozpocząć przesyłanie."
|
||||
msgstr "Uruchom aplikację na serwerze aby rozpocząć przesyłanie."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:146
|
||||
msgid "Start an application on your computer or select one to start streaming."
|
||||
msgstr ""
|
||||
"Włącz aplikację na komputerze, lub wybierz jakąś aby rozpocząć przesyłanie."
|
||||
"Uruchom aplikację na komputerze albo wybierz jakąś by rozpocząć przesyłanie."
|
||||
|
||||
#: client/scenes/app_launcher.cpp:148
|
||||
#, c++-format
|
||||
msgid "Start an application on {} or select one to start streaming."
|
||||
msgstr "Włącz aplikację na {}, lub wybierz jakąś aby rozpocząć przesyłanie."
|
||||
msgstr "Uruchom aplikację na {} albo wybierz jakąś by rozpocząć przesyłanie."
|
||||
|
||||
#: client/scenes/lobby.cpp:230
|
||||
msgid "Incompatible WiVRn server: no protocol field in TXT"
|
||||
@@ -56,7 +56,7 @@ msgstr "Niekompatybilny protokół serwera WiVRn (klient: {}, serwer: {})"
|
||||
#: client/scenes/lobby.cpp:248
|
||||
#, c++-format
|
||||
msgid "Cannot resolve hostname: {}"
|
||||
msgstr "Nierozpoznany hostname: {}"
|
||||
msgstr "Nie udało się rozwiązać nazwy hosta: {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:335 client/scenes/lobby.cpp:341
|
||||
#, c++-format
|
||||
@@ -65,20 +65,20 @@ msgstr "Nie udało się połączyć z {} ({}): {}"
|
||||
|
||||
#: client/scenes/lobby.cpp:424
|
||||
msgid "Waiting for connection"
|
||||
msgstr "Czekam na połączenie"
|
||||
msgstr "Oczekiwanie na połączenie"
|
||||
|
||||
#: client/scenes/lobby.cpp:1304
|
||||
#: client/scenes/lobby.cpp:1310
|
||||
msgid "Passthrough"
|
||||
msgstr "Passthrough"
|
||||
msgstr "Podgląd otoczenia"
|
||||
|
||||
#: client/scenes/lobby.cpp:1316
|
||||
#: client/scenes/lobby.cpp:1322
|
||||
msgid "Default environment"
|
||||
msgstr "Domyślne środowisko"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:99
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "Normalne"
|
||||
msgstr "Normalny"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:102
|
||||
msgctxt "openxr_post_processing"
|
||||
@@ -88,16 +88,16 @@ msgstr "Jakość"
|
||||
#: client/scenes/lobby_gui.cpp:104
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "Wyłączone"
|
||||
msgstr "Wyłączony"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
|
||||
#: client/scenes/stream_gui.cpp:969
|
||||
#: client/scenes/stream_gui.cpp:967
|
||||
msgid "Disconnect"
|
||||
msgstr "Rozłącz"
|
||||
|
||||
#: 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:965
|
||||
#: client/scenes/lobby_gui_customize.cpp:800 client/scenes/stream_gui.cpp:963
|
||||
msgid "Close"
|
||||
msgstr "Zamknij"
|
||||
|
||||
@@ -116,11 +116,11 @@ msgstr "PIN"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:192
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "Wprowadź PIN wyświetlony na desce rozdzielczej"
|
||||
msgstr "Wprowadź PIN wyświetlany w aplikacji WiVRn na komputerze"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:282
|
||||
msgid "Name"
|
||||
msgstr "Imię"
|
||||
msgstr "Nazwa"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:293
|
||||
msgid "Address"
|
||||
@@ -132,10 +132,10 @@ msgstr "Port"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:310
|
||||
msgid "TCP only"
|
||||
msgstr "tylko TCP"
|
||||
msgstr "Tylko TCP"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:317 client/scenes/lobby_gui_customize.cpp:555
|
||||
#: client/scenes/stream_gui.cpp:933
|
||||
#: client/scenes/stream_gui.cpp:920
|
||||
msgid "Cancel"
|
||||
msgstr "Anuluj"
|
||||
|
||||
@@ -148,12 +148,12 @@ msgid ""
|
||||
"Start a WiVRn server on your\n"
|
||||
"local network"
|
||||
msgstr ""
|
||||
"Włącz serwer WiVRn na twojej\n"
|
||||
"sieci"
|
||||
"Uruchom serwer WiVRn w swojej\n"
|
||||
"sieci lokalnej"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:416
|
||||
msgid "Autoconnect"
|
||||
msgstr "Automatyczne połączenie"
|
||||
msgstr "Łącz automatycznie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:442
|
||||
msgid "Connect"
|
||||
@@ -161,7 +161,7 @@ msgstr "Połącz"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:452 client/wivrn_client.cpp:186
|
||||
msgid "Incompatible server version"
|
||||
msgstr "niekompatybilna wersja serwera"
|
||||
msgstr "Niekompatybilna wersja serwera"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:454
|
||||
msgid "Server not available"
|
||||
@@ -188,15 +188,15 @@ msgstr "Częstotliwość odświeżania"
|
||||
#: client/scenes/stream_gui.cpp:415 client/scenes/stream_gui.cpp:417
|
||||
msgctxt "automatic refresh rate"
|
||||
msgid "Automatic"
|
||||
msgstr "Automatyczne"
|
||||
msgstr "Automatyczna"
|
||||
|
||||
#: 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."
|
||||
msgstr ""
|
||||
"Wybierz częstotliwość odświeżania na podstawie wydajności aplikacji.\n"
|
||||
"Może spowodować migot po zmianie."
|
||||
"Zmieniaj częstotliwość odświeżania bazując na wydajności aplikacji.\n"
|
||||
"Może powodować migotanie podczas zmian."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:603 client/scenes/stream_gui.cpp:443
|
||||
msgid "Minimum refresh rate"
|
||||
@@ -218,7 +218,7 @@ msgstr "%d%% - {}x{} na oko"
|
||||
#: client/scenes/lobby_gui.cpp:666
|
||||
#, c++-format
|
||||
msgid "Resolution larger than {}x{} may not be supported by the headset"
|
||||
msgstr "Rozdzielczość większa niż {}x{} może nie być wspierana przez gogle."
|
||||
msgstr "Rozdzielczość większa niż {}x{} może nie być wspierana przez te gogle."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:672
|
||||
msgid "High power mode"
|
||||
@@ -227,7 +227,7 @@ msgstr "Tryb wysokiej wydajności"
|
||||
#: client/scenes/lobby_gui.cpp:675
|
||||
msgid "Increase power usage to allow higher resolution and refresh rate"
|
||||
msgstr ""
|
||||
"Zwiększ użycie mocy aby umożliwić wyższe rozdzielczości I szybsze odświeżanie"
|
||||
"Zwiększ użycie mocy by umożliwić wyższe rozdzielczości i szybsze odświeżanie"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:681
|
||||
msgid "Enable microphone"
|
||||
@@ -239,7 +239,7 @@ msgstr "Nieprzetwarzany dźwięk z mikrofonu"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:696
|
||||
msgid "Force disable audio filters, such as noise cancellation"
|
||||
msgstr "Wymuś wyłączenie filtrów audio, NP. tłumienie szumu"
|
||||
msgstr "Wymusza wyłączenie filtrów audio jak np. redukcja szumów"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:703
|
||||
msgid "Enable hand tracking"
|
||||
@@ -253,7 +253,7 @@ msgstr "Ta funkcja nie jest wspierana przez twoje gogle"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:715
|
||||
msgid "Enable eye tracking"
|
||||
msgstr "Włącz śledzenie oczu"
|
||||
msgstr "Włącz śledzenie wzroku"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:727
|
||||
msgid "Enable face tracking"
|
||||
@@ -269,12 +269,12 @@ msgid ""
|
||||
"tracking settings,\n"
|
||||
"otherwise body data will be guessed from controller and headset positions"
|
||||
msgstr ""
|
||||
"Wymaga aby śledzenie dłoni i ciała było włączone w goglach.\n"
|
||||
"W innym przypadku pozycja ciała będzie odgadywana z pozycji padów i gogli"
|
||||
"Wymaga aby śledzenie dłoni i ciała było włączone w goglach, w przeciwnym\n"
|
||||
"wypadku pozycja ciała będzie odgadywana z pozycji kontrolerów i gogli"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:765
|
||||
msgid "Enable lower body tracking"
|
||||
msgstr "Włącz śledzenie kończyn dolnych"
|
||||
msgstr "Włącz śledzenie dolnej części ciała"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:771
|
||||
msgid ""
|
||||
@@ -282,8 +282,8 @@ msgid ""
|
||||
"Requires 'Hand and body tracking' to be enabled in the Quest movement "
|
||||
"tracking settings"
|
||||
msgstr ""
|
||||
"Odgaduje pozycje kończyn dolnych z nóg wygenerowanych przez gogle\n"
|
||||
"Wymaga aby śledzenie dłoni i ciała było włączone w goglach."
|
||||
"Szacuje pozycje kończyn dolnych z nóg wygenerowanych przez gogle Quest,\n"
|
||||
"wymaga by śledzenie dłoni i ciała było włączone w ustawieniach gogli Quest"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:774
|
||||
msgid "Enable hip tracking"
|
||||
@@ -294,8 +294,8 @@ msgid ""
|
||||
"Only takes affect with lower body tracking enabled\n"
|
||||
"May be desired when using another source of hip tracking"
|
||||
msgstr ""
|
||||
"Ma efekt wyłącznie z włączonym śledzeniem kończyn dolnych\n"
|
||||
"Może być żądane gdy jest inne źródło śledzenia bioder."
|
||||
"Ma efekt wyłącznie z włączonym śledzeniem dolnej części ciała\n"
|
||||
"Może być pożądane gdy używasz innego źródła śledzenia bioder"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:788
|
||||
msgid "Enable in-stream window"
|
||||
@@ -306,16 +306,16 @@ msgid ""
|
||||
"Enables the configuration window to be shown while the game is streaming.\n"
|
||||
"If enabled, the window is activated by pressing both thumbsticks."
|
||||
msgstr ""
|
||||
"Włącza możliwość wyświetlania okna konfiguracji podczas streamowania.\n"
|
||||
"jeśli jest włączone, okno można otworzyć poprzez przyciśnięcie obu analogów."
|
||||
"Włącza pokazywanie okna konfiguracji podczas streamowania gier.\n"
|
||||
"Gdy włączone, okno można aktywować poprzez wciśnięcie obu analogów."
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:805 client/scenes/stream_gui.cpp:463
|
||||
msgid "OpenXR post-processing"
|
||||
msgstr "Przetwarzanie końcowe OpenXR"
|
||||
msgstr "Post-processing OpenXR"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:809 client/scenes/stream_gui.cpp:467
|
||||
msgid "Supersampling"
|
||||
msgstr "Nad-próbkowanie"
|
||||
msgstr "Supersampling"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:829 client/scenes/stream_gui.cpp:488
|
||||
msgid ""
|
||||
@@ -334,9 +334,8 @@ msgid ""
|
||||
"Improve clarity of high contrast edges and counteract blur.\n"
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"Zwiększa klarowność krawędzi z dużym kontrastem, I przeciwdziała rozmazywaniu "
|
||||
"ob"
|
||||
"razu.\n"
|
||||
"Zwiększa klarowność krawędzi z dużym kontrastem, i przeciwdziała rozmazywaniu "
|
||||
"obrazu.\n"
|
||||
"Użyteczne gdy rozdzielczość wejściowa jest mniejsza niż rozdzielczość gogli"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1038 client/scenes/lobby_gui.cpp:1046
|
||||
@@ -363,7 +362,7 @@ msgstr "Włączyć mikrofon?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1125
|
||||
msgid "Enable eye tracking?"
|
||||
msgstr "Włączyć śledzenie oczu?"
|
||||
msgstr "Włączyć śledzenie wzroku?"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1130
|
||||
msgid "Enable face tracking?"
|
||||
@@ -407,11 +406,11 @@ msgstr "Śledzenie dłoni jest wyłączone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1490
|
||||
msgid "Eye tracking is enabled"
|
||||
msgstr "Śledzenie oczu jest włączone"
|
||||
msgstr "Śledzenie wzroku jest włączone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1491
|
||||
msgid "Eye tracking is disabled"
|
||||
msgstr "Śledzenie oczu jest wyłączone"
|
||||
msgstr "Śledzenie wzroku jest wyłączone"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1501
|
||||
msgid "Face tracking is enabled"
|
||||
@@ -437,13 +436,13 @@ msgstr "Dodaj serwer"
|
||||
msgid "Server list"
|
||||
msgstr "Lista serwerów"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:950
|
||||
#: client/scenes/lobby_gui.cpp:1818 client/scenes/stream_gui.cpp:948
|
||||
msgid "Settings"
|
||||
msgstr "Ustawienia"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1821
|
||||
msgid "Post-processing"
|
||||
msgstr "Obróbka końcowa obrazu"
|
||||
msgstr "Post-processing"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1824
|
||||
msgid "Customize"
|
||||
@@ -466,12 +465,17 @@ msgid ""
|
||||
"Press the grip button or put your palm up\n"
|
||||
"to move the main window"
|
||||
msgstr ""
|
||||
"Użyj gripa lub skieruj dłoń ku suficie aby\n"
|
||||
"ruszyć głównym oknem"
|
||||
"Wciśnij uchwyt lub skieruj wnętrze dłoni ku górze by\n"
|
||||
"przesuwać główne okno"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1858
|
||||
msgid "Press the grip button to move the main window"
|
||||
msgstr "Użyj gripa aby ruszyć głównym oknem"
|
||||
msgstr "Wciśnij uchwyt by przesuwać główne okno"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:233
|
||||
#, c++-format
|
||||
msgid "Cannot load environment list: {}"
|
||||
msgstr "Nie można wgrać listy środowisk: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:363
|
||||
#, c++-format
|
||||
@@ -491,7 +495,7 @@ msgstr "Usuń ten model"
|
||||
#: client/scenes/lobby_gui_customize.cpp:689
|
||||
#, c++-format
|
||||
msgid "HTTP error {} when downloading {}"
|
||||
msgstr "Błąd HTTPS {} podczas pobierania {}"
|
||||
msgstr "Błąd HTTP {} podczas pobierania {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:491
|
||||
#: client/scenes/lobby_gui_customize.cpp:697
|
||||
@@ -504,9 +508,9 @@ msgstr ""
|
||||
"{}: {}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:552
|
||||
#, c-format
|
||||
msgid "Really delete %s?"
|
||||
msgstr "Na pewno usunąć %s?"
|
||||
#, c++-format
|
||||
msgid "Really delete {}?"
|
||||
msgstr "Czy na pewno usunąć {}?"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:556
|
||||
msgid "Delete"
|
||||
@@ -531,7 +535,7 @@ msgstr "Otwórz lokalny model glTF"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:174
|
||||
msgid "Reproject"
|
||||
msgstr "Re-projektowanie"
|
||||
msgstr "Reprojekcja"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:175
|
||||
msgid "Blit"
|
||||
@@ -560,7 +564,7 @@ msgstr "Czasy [ms]"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:319
|
||||
msgid "Encode"
|
||||
msgstr "Kodowanie"
|
||||
msgstr "Enkodowanie"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:320
|
||||
msgid "Send"
|
||||
@@ -589,15 +593,15 @@ msgstr "Przewidziane"
|
||||
#: client/scenes/stream_gui.cpp:345
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "Przewidziane opóźnienie \"motion-to-photon\": {}ms"
|
||||
msgstr "Przewidywane opóźnienie \"motion-to-photon\": {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352
|
||||
msgid "Press the grip button to move the window"
|
||||
msgstr "Użyj gripa aby ruszyć oknem"
|
||||
msgstr "Wciśnij uchwyt by przesunąć okno"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:893
|
||||
#: client/scenes/stream_gui.cpp:354 client/scenes/stream_gui.cpp:880
|
||||
msgid "Press both thumbsticks to display the WiVRn window"
|
||||
msgstr "Przyciśnij oba analogi aby włączyć okno WiVRn"
|
||||
msgstr "Wciśnij oba analogi by wyświetlić okno WiVRn"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:376
|
||||
msgid "Motion to photon latency"
|
||||
@@ -614,7 +618,7 @@ msgstr "Włącz"
|
||||
#: client/scenes/stream_gui.cpp:532 client/scenes/stream_gui.cpp:579
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "Wysokość {:.1f} deg"
|
||||
msgstr "Wysokość {:.1f} stopni"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:533 client/scenes/stream_gui.cpp:580
|
||||
#, c++-format
|
||||
@@ -631,15 +635,15 @@ msgstr "Zmień"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:577
|
||||
msgid "Use the thumbsticks to move the foveation center"
|
||||
msgstr "Użyj analoga aby zmienić centrum foweacji"
|
||||
msgstr "Użyj analogów do przesuwania centrum foveacji"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:578
|
||||
msgid "Press A to save or B to cancel"
|
||||
msgstr "Przyciśnij A aby zapisać, B aby anulować"
|
||||
msgstr "Naciśnij A by zapisać albo B by anulować"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:636
|
||||
msgid "Running XR applications:"
|
||||
msgstr "Pracujące aplikacje XR"
|
||||
msgstr "Uruchomione aplikacje XR:"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:653
|
||||
msgid "Overlays"
|
||||
@@ -647,25 +651,25 @@ msgstr "Nakładki"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:692
|
||||
msgid "Request to quit, may be ignored by the application"
|
||||
msgstr "Prośba o wyjście, aplikacja może je zignorować"
|
||||
msgstr "Poproś o zamknięcie (może zostać zignorowane przez aplikację)"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:695
|
||||
msgid "Start"
|
||||
msgstr "Startuj"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:947
|
||||
msgid "Stats"
|
||||
msgstr "Statystyki"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:953
|
||||
#: client/scenes/stream_gui.cpp:935
|
||||
msgid "Applications"
|
||||
msgstr "Aplikacje"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:959
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Nakładka ze statystykami"
|
||||
#: client/scenes/stream_gui.cpp:938
|
||||
msgid "Start"
|
||||
msgstr "Uruchom"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:962
|
||||
#: client/scenes/stream_gui.cpp:951
|
||||
msgid "Stats"
|
||||
msgstr "Statystyki"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:957
|
||||
msgid "Statistics overlay"
|
||||
msgstr "Nakładka statystyk"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:960
|
||||
msgid "Compact view"
|
||||
msgstr "Widok kompaktowy"
|
||||
|
||||
@@ -679,8 +683,8 @@ msgstr "Nieprawidłowy PIN"
|
||||
|
||||
#: client/wivrn_client.cpp:153
|
||||
msgid "Unable to check PIN"
|
||||
msgstr "Nie udało się zmienić PINu"
|
||||
msgstr "Nie udało się sprawdzić PINu"
|
||||
|
||||
#: client/wivrn_client.cpp:182
|
||||
msgid "Pairing is disabled on server"
|
||||
msgstr "Parowanie wyłączone na serwerze"
|
||||
msgstr "Parowanie jest wyłączone na serwerze"
|
||||
|
||||
+106
-91
@@ -8,8 +8,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WiVRn-dashboard\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-12 04:12+0800\n"
|
||||
"PO-Revision-Date: 2025-11-12 09:18+0800\n"
|
||||
"POT-Creation-Date: 2025-11-21 05:41+0800\n"
|
||||
"PO-Revision-Date: 2025-11-30 17:31+0800\n"
|
||||
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -90,8 +90,8 @@ msgstr "正在检查最新版本..."
|
||||
msgid "No APK is available for this version"
|
||||
msgstr "此版本无预编译 APK"
|
||||
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:302
|
||||
#: dashboard/qml/Main.qml:387 dashboard/qml/WizardPage.qml:211
|
||||
#: dashboard/qml/ApkInstallPage.qml:45 dashboard/qml/Main.qml:309
|
||||
#: dashboard/qml/Main.qml:394 dashboard/qml/WizardPage.qml:211
|
||||
#, kde-format
|
||||
msgid "ADB is not installed"
|
||||
msgstr "未安装 ADB"
|
||||
@@ -138,7 +138,7 @@ msgstr "重新安装 WiVRn"
|
||||
msgid "Install WiVRn"
|
||||
msgstr "安装 WiVRn"
|
||||
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:392
|
||||
#: dashboard/qml/HeadsetsPage.qml:12 dashboard/qml/Main.qml:399
|
||||
#, kde-format
|
||||
msgid "Headsets"
|
||||
msgstr "头显"
|
||||
@@ -229,55 +229,39 @@ msgstr "配对新的头显"
|
||||
msgid "Headset statistics"
|
||||
msgstr "头显统计信息"
|
||||
|
||||
#: dashboard/qml/Main.qml:121
|
||||
#: dashboard/qml/Main.qml:108
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not installed"
|
||||
msgstr "Avahi 守护进程未安装"
|
||||
|
||||
#: dashboard/qml/Main.qml:129
|
||||
#: dashboard/qml/Main.qml:116
|
||||
#, kde-format
|
||||
msgid "Avahi daemon is not started"
|
||||
msgstr "Avahi 守护进程未启用"
|
||||
|
||||
#: dashboard/qml/Main.qml:136 dashboard/qml/Main.qml:151
|
||||
#: dashboard/qml/Main.qml:165
|
||||
#: dashboard/qml/Main.qml:123 dashboard/qml/Main.qml:137
|
||||
#: dashboard/qml/Main.qml:189
|
||||
#, kde-format
|
||||
msgid "Fix it"
|
||||
msgstr "修复"
|
||||
|
||||
#: dashboard/qml/Main.qml:144
|
||||
#, kde-format
|
||||
msgid "The server does not have CAP_SYS_NICE capabilities"
|
||||
msgstr "服务器没有 CAP_SYS_NICE 权限"
|
||||
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#: dashboard/qml/Main.qml:131
|
||||
#, kde-format
|
||||
msgid "Firewall may not allow port 9757"
|
||||
msgstr "防火墙可能禁止了端口 9757"
|
||||
|
||||
#: dashboard/qml/Main.qml:174
|
||||
#, kde-format
|
||||
msgid "The CAP_SYS_NICE capability will be used when the server is restarted"
|
||||
msgstr "CAP_SYS_NICE 权限将在服务器重新启动时生效"
|
||||
|
||||
#: dashboard/qml/Main.qml:180
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "立即重新启动"
|
||||
|
||||
#: dashboard/qml/Main.qml:191
|
||||
#: dashboard/qml/Main.qml:145
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"NVIDIA GPUs require at least driver version 565.77, current version is %1"
|
||||
msgstr "NVIDIA 显卡至少需要驱动程序版本 565.77,目前版本为 %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:197
|
||||
#: dashboard/qml/Main.qml:151
|
||||
#, kde-format
|
||||
msgid "More info"
|
||||
msgstr "更多信息"
|
||||
|
||||
#: dashboard/qml/Main.qml:205
|
||||
#: dashboard/qml/Main.qml:159
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Use the Mesa (radv) driver for AMD GPUs\n"
|
||||
@@ -286,7 +270,7 @@ msgstr ""
|
||||
"AMD 显卡请使用 Mesa (radv) 驱动程序\n"
|
||||
"使用 vaapi 的硬件编码不适用于 AMDVLK 和 AMDGPU-PRO"
|
||||
|
||||
#: dashboard/qml/Main.qml:213
|
||||
#: dashboard/qml/Main.qml:167
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"No OpenVR compatibility detected, Steam games won't be able to load VR.\n"
|
||||
@@ -295,75 +279,97 @@ msgstr ""
|
||||
"系统未检测到 OpenVR 兼容层,Steam 平台上的 VR 游戏无法正常加载。\n"
|
||||
"请安装 xrizer 或 OpenComposite"
|
||||
|
||||
#: dashboard/qml/Main.qml:222
|
||||
#: dashboard/qml/Main.qml:175
|
||||
#, kde-format
|
||||
msgid "Steam is installed as a snap. Snaps are not compatible with WiVRn."
|
||||
msgstr "Steam 是以 snap 方式安装的。Snap 与 WiVRn 不兼容。"
|
||||
|
||||
#: dashboard/qml/Main.qml:183
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Steam is installed as a flatpak but does not have sufficient permissions."
|
||||
msgstr "Steam 是以 flatpak 方式安装的,但权限不足。"
|
||||
|
||||
#: dashboard/qml/Main.qml:198
|
||||
#, kde-format
|
||||
msgid "Restart the server for configuration changes to take effect"
|
||||
msgstr "重新启动服务器以使配置更改生效。"
|
||||
|
||||
#: dashboard/qml/Main.qml:204
|
||||
#, kde-format
|
||||
msgctxt "restart the server"
|
||||
msgid "Restart now"
|
||||
msgstr "立即重新启动"
|
||||
|
||||
#: dashboard/qml/Main.qml:229
|
||||
#, kde-format
|
||||
msgid "Server failed to start"
|
||||
msgstr "服务器启动失败"
|
||||
|
||||
#: dashboard/qml/Main.qml:228 dashboard/qml/TroubleshootPage.qml:85
|
||||
#: dashboard/qml/Main.qml:235 dashboard/qml/TroubleshootPage.qml:85
|
||||
#, kde-format
|
||||
msgid "Open server logs"
|
||||
msgstr "开启服务器日志"
|
||||
|
||||
#: dashboard/qml/Main.qml:257
|
||||
#: dashboard/qml/Main.qml:264
|
||||
#, kde-format
|
||||
msgctxt "whether the server is running, displayed in front of a checkbox"
|
||||
msgid "Running"
|
||||
msgstr "运行中"
|
||||
msgstr "运行"
|
||||
|
||||
#: dashboard/qml/Main.qml:272
|
||||
#: dashboard/qml/Main.qml:279
|
||||
#, kde-format
|
||||
msgctxt "whether pairing is enabled, displayed in front of a checkbox"
|
||||
msgid "Pairing"
|
||||
msgstr "配对中"
|
||||
msgstr "配对"
|
||||
|
||||
#: dashboard/qml/Main.qml:285
|
||||
#: dashboard/qml/Main.qml:292
|
||||
#, kde-format
|
||||
msgid "PIN: %1"
|
||||
msgstr "身份识别码: %1"
|
||||
|
||||
#: dashboard/qml/Main.qml:293 dashboard/qml/WizardPage.qml:374
|
||||
#: dashboard/qml/Main.qml:300 dashboard/qml/WizardPage.qml:374
|
||||
#, kde-format
|
||||
msgid "Connect by USB"
|
||||
msgstr "通过 USB 连接"
|
||||
|
||||
#: dashboard/qml/Main.qml:304
|
||||
#: dashboard/qml/Main.qml:311
|
||||
#, kde-format
|
||||
msgid "No headset is connected or your headset is not in developer mode"
|
||||
msgstr "没有检测到头显,或您的头显未启用开发者模式"
|
||||
|
||||
#: dashboard/qml/Main.qml:312
|
||||
#: dashboard/qml/Main.qml:319
|
||||
#, kde-format
|
||||
msgid "Disconnect"
|
||||
msgstr "断开连接"
|
||||
|
||||
#: dashboard/qml/Main.qml:329
|
||||
#: dashboard/qml/Main.qml:336
|
||||
#, kde-format
|
||||
msgctxt "automatically started application"
|
||||
msgid "Application"
|
||||
msgstr "应用程序"
|
||||
|
||||
#: dashboard/qml/Main.qml:350
|
||||
#: dashboard/qml/Main.qml:357
|
||||
#, kde-format
|
||||
msgid "Steam information"
|
||||
msgstr "Steam 信息"
|
||||
|
||||
#: dashboard/qml/Main.qml:371
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#, kde-format
|
||||
msgid "Wizard"
|
||||
msgstr "向导"
|
||||
|
||||
#: dashboard/qml/Main.qml:378
|
||||
#: dashboard/qml/Main.qml:385
|
||||
#, kde-format
|
||||
msgid "Install the app"
|
||||
msgstr "安装应用程序"
|
||||
|
||||
#: dashboard/qml/Main.qml:399 dashboard/qml/SettingsPage.qml:14
|
||||
#: dashboard/qml/Main.qml:406 dashboard/qml/SettingsPage.qml:14
|
||||
#, kde-format
|
||||
msgid "Settings"
|
||||
msgstr "设置"
|
||||
|
||||
#: dashboard/qml/Main.qml:406 dashboard/qml/TroubleshootPage.qml:10
|
||||
#: dashboard/qml/Main.qml:413 dashboard/qml/TroubleshootPage.qml:10
|
||||
#, kde-format
|
||||
msgid "Troubleshoot"
|
||||
msgstr "疑难解答"
|
||||
@@ -380,29 +386,29 @@ msgctxt "choose a custom application to start"
|
||||
msgid "Custom"
|
||||
msgstr "自定义"
|
||||
|
||||
#: dashboard/qml/SelectGame.qml:76
|
||||
#: dashboard/qml/SelectGame.qml:72
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the application to start"
|
||||
msgid "Browse"
|
||||
msgstr "浏览"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:35
|
||||
#: dashboard/qml/SettingsPage.qml:31
|
||||
#, kde-format
|
||||
msgctxt "automatic foveation setup"
|
||||
msgid "Manual foveation"
|
||||
msgstr "手动注视点渲染"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:41
|
||||
#: dashboard/qml/SettingsPage.qml:37
|
||||
#, kde-format
|
||||
msgid "Foveation strength:"
|
||||
msgstr "注视点渲染强度:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:57
|
||||
#: dashboard/qml/SettingsPage.qml:53
|
||||
#, kde-format
|
||||
msgid "%1 %"
|
||||
msgstr "%1 %"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:63
|
||||
#: dashboard/qml/SettingsPage.qml:59
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"A stronger foveation makes the image sharper in the center than in the "
|
||||
@@ -422,129 +428,129 @@ msgstr ""
|
||||
"对于没有眼动追踪的头显,建议值在 20% 到 50% 之间,对于有眼动追踪的头显,建议"
|
||||
"值在 50% 到 70% 之间。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:69
|
||||
#: dashboard/qml/SettingsPage.qml:65
|
||||
#, kde-format
|
||||
msgctxt "weaker foveation"
|
||||
msgid "Weaker"
|
||||
msgstr "较弱"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:80
|
||||
#: dashboard/qml/SettingsPage.qml:76
|
||||
#, kde-format
|
||||
msgctxt "stronger foveation"
|
||||
msgid "Stronger"
|
||||
msgstr "较强"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:90
|
||||
#: dashboard/qml/SettingsPage.qml:86
|
||||
#, kde-format
|
||||
msgid "Bitrate:"
|
||||
msgstr "码率:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:94 dashboard/qml/SettingsPage.qml:96
|
||||
#: dashboard/qml/SettingsPage.qml:90 dashboard/qml/SettingsPage.qml:92
|
||||
#, kde-format
|
||||
msgctxt "bitrate"
|
||||
msgid "%1 Mbit/s"
|
||||
msgstr "%1 Mbit/s"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:108
|
||||
#: dashboard/qml/SettingsPage.qml:104
|
||||
#, kde-format
|
||||
msgid "The current encoder configuration is not supported"
|
||||
msgstr "不支持当前编码配置"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:113
|
||||
#: dashboard/qml/SettingsPage.qml:109
|
||||
#, kde-format
|
||||
msgid "Reset"
|
||||
msgstr "重置"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:120
|
||||
#: dashboard/qml/SettingsPage.qml:116
|
||||
#, kde-format
|
||||
msgid "Encoder:"
|
||||
msgstr "编码:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#: dashboard/qml/SettingsPage.qml:122
|
||||
#, kde-format
|
||||
msgctxt "automatic encoder setup"
|
||||
msgid "Auto"
|
||||
msgstr "自动"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:130
|
||||
#: dashboard/qml/SettingsPage.qml:126
|
||||
#, kde-format
|
||||
msgid "nvenc (NVIDIA GPUs)"
|
||||
msgstr "nvenc (NVIDIA GPUs)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#: dashboard/qml/SettingsPage.qml:130
|
||||
#, kde-format
|
||||
msgid "vaapi (AMD and Intel GPUs)"
|
||||
msgstr "vaapi (AMD 和 Intel GPUs)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:138
|
||||
#: dashboard/qml/SettingsPage.qml:134
|
||||
#, kde-format
|
||||
msgid "Vulkan (Any modern GPU)"
|
||||
msgstr "Vulkan (任何现代 GPU)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:142
|
||||
#: dashboard/qml/SettingsPage.qml:138
|
||||
#, kde-format
|
||||
msgid "x264 (software encoding)"
|
||||
msgstr "x264 (软件编码器)"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:159
|
||||
#: dashboard/qml/SettingsPage.qml:155
|
||||
#, kde-format
|
||||
msgid "\"Auto\" will use hardware acceleration if it is available"
|
||||
msgstr "\"自动\" 将在可用时优先使用硬件编码"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:164
|
||||
#: dashboard/qml/SettingsPage.qml:160
|
||||
#, kde-format
|
||||
msgid "Codec:"
|
||||
msgstr "编码器:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#: dashboard/qml/SettingsPage.qml:166
|
||||
#, kde-format
|
||||
msgctxt "automatic codec setup"
|
||||
msgid "Auto"
|
||||
msgstr "自动"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:174
|
||||
#: dashboard/qml/SettingsPage.qml:170
|
||||
#, kde-format
|
||||
msgid "H.264"
|
||||
msgstr "H.264"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#: dashboard/qml/SettingsPage.qml:174
|
||||
#, kde-format
|
||||
msgid "H.265"
|
||||
msgstr "H.265"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:182
|
||||
#: dashboard/qml/SettingsPage.qml:178
|
||||
#, kde-format
|
||||
msgid "AV1"
|
||||
msgstr "AV1"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:210
|
||||
#: dashboard/qml/SettingsPage.qml:206
|
||||
#, kde-format
|
||||
msgid "10 bits"
|
||||
msgstr "10 位编码"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:215
|
||||
#: dashboard/qml/SettingsPage.qml:211
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"10-bit encoding improves image quality but is not supported by all codecs "
|
||||
"and hardware"
|
||||
msgstr "10 位编码可以提升图像质量,但并非所有编解码器和硬件都支持"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:225
|
||||
#: dashboard/qml/SettingsPage.qml:221
|
||||
#, kde-format
|
||||
msgid "Advanced options"
|
||||
msgstr "进阶选项"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:231
|
||||
#: dashboard/qml/SettingsPage.qml:227
|
||||
#, kde-format
|
||||
msgid "Check system configuration on start"
|
||||
msgstr "在启动时检查系统设置"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:237
|
||||
#: dashboard/qml/SettingsPage.qml:233
|
||||
#, kde-format
|
||||
msgid "Forward keyboard & mouse from headset"
|
||||
msgstr "从头显转发键盘和鼠标输入"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:240
|
||||
#: dashboard/qml/SettingsPage.qml:236
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Keyboard and mouse connected to the client will act as if connected to the "
|
||||
@@ -554,17 +560,17 @@ msgstr ""
|
||||
"连接到客户端的键盘和鼠标将表现得如同直接连接到服务器。客户端操作系统可能会保"
|
||||
"留特定的键映射和快捷键组合,这些无法被转发。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:245
|
||||
#: dashboard/qml/SettingsPage.qml:241
|
||||
#, kde-format
|
||||
msgid "Enable debug window"
|
||||
msgstr "启用 Debug 窗口"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:252
|
||||
#: dashboard/qml/SettingsPage.qml:248
|
||||
#, kde-format
|
||||
msgid "Enable SteamVR tracked devices support"
|
||||
msgstr "启用 SteamVR 追踪设备支持"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:255
|
||||
#: dashboard/qml/SettingsPage.qml:251
|
||||
#, kde-format
|
||||
msgid ""
|
||||
"Allows the use of lighthouse-based controllers and trackers.\n"
|
||||
@@ -577,44 +583,44 @@ msgstr ""
|
||||
"设备必须在连接到 WiVRn 之前开启电源。\n"
|
||||
"校准需要额外工具,例如 motoc。"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:263
|
||||
#: dashboard/qml/SettingsPage.qml:259
|
||||
#, kde-format
|
||||
msgid "Custom adb location"
|
||||
msgstr "自定义 adb 位置"
|
||||
msgstr "自定义 adb 路径"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:274
|
||||
#: dashboard/qml/SettingsPage.qml:270
|
||||
#, kde-format
|
||||
msgid "Adb location:"
|
||||
msgstr "adb 位置:"
|
||||
msgstr "adb 路径:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:283
|
||||
#: dashboard/qml/SettingsPage.qml:279
|
||||
#, kde-format
|
||||
msgctxt "browse a file to choose the adb binary"
|
||||
msgid "Browse"
|
||||
msgstr "浏览"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:293
|
||||
#: dashboard/qml/SettingsPage.qml:289
|
||||
#, kde-format
|
||||
msgid "Default"
|
||||
msgstr "默认"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:307
|
||||
#: dashboard/qml/SettingsPage.qml:303
|
||||
#, kde-format
|
||||
msgctxt "set a custom OpenVR compatibility library"
|
||||
msgid "Custom"
|
||||
msgstr "自定义"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:312
|
||||
#: dashboard/qml/SettingsPage.qml:308
|
||||
#, kde-format
|
||||
msgid "Disabled"
|
||||
msgstr "已停用"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:320
|
||||
#: dashboard/qml/SettingsPage.qml:316
|
||||
#, kde-format
|
||||
msgid "OpenVR compatibility library:"
|
||||
msgstr "OpenVR 兼容层:"
|
||||
|
||||
#: dashboard/qml/SettingsPage.qml:346
|
||||
#: dashboard/qml/SettingsPage.qml:342
|
||||
#, kde-format
|
||||
msgid "Library path, excluding bin/linux64/vrclient.so"
|
||||
msgstr "兼容层路径,不包含 bin/linux64/vrclient.so"
|
||||
@@ -869,7 +875,7 @@ msgstr "重要信息"
|
||||
msgid ""
|
||||
"WiVRn entirely replaces SteamVR, you should not start SteamVR while WiVRn is "
|
||||
"running."
|
||||
msgstr "WiVRn 完全取代了 SteamVR,在 WiVRn 运行时,請勿啟動 SteamVR"
|
||||
msgstr "WiVRn 完全取代了 SteamVR,在 WiVRn 运行时,请勿启动 SteamVR"
|
||||
|
||||
#: dashboard/qml/WizardPage.qml:359
|
||||
#, kde-format
|
||||
@@ -936,16 +942,25 @@ msgstr "完成"
|
||||
msgid "Finished"
|
||||
msgstr "已完成"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:594
|
||||
#: dashboard/wivrn_server.cpp:533
|
||||
#, kde-format
|
||||
msgid "xrizer"
|
||||
msgstr "xrizer"
|
||||
|
||||
#: dashboard/wivrn_server.cpp:595
|
||||
#: dashboard/wivrn_server.cpp:534
|
||||
#, kde-format
|
||||
msgid "Open Composite"
|
||||
msgstr "Open Composite"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "The server does not have CAP_SYS_NICE capabilities"
|
||||
#~ msgstr "服务器没有 CAP_SYS_NICE 权限"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid ""
|
||||
#~ "The CAP_SYS_NICE capability will be used when the server is restarted"
|
||||
#~ msgstr "CAP_SYS_NICE 权限将在服务器重新启动时生效"
|
||||
|
||||
#, kde-format
|
||||
#~ msgid "No precompiled APK is available for this version"
|
||||
#~ msgstr "此版本没有预编译 APK 可用"
|
||||
|
||||
+12
-12
@@ -9,7 +9,7 @@ msgstr ""
|
||||
"Project-Id-Version: WiVRn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2025-11-18 04:03+0800\n"
|
||||
"PO-Revision-Date: 2025-11-19 14:17+0800\n"
|
||||
"PO-Revision-Date: 2025-11-30 17:24+0800\n"
|
||||
"Last-Translator: BERADQ <adqber123@outlook.com>\n"
|
||||
"Language-Team: Chinese (China)\n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -79,17 +79,17 @@ msgstr "默认环境"
|
||||
#: client/scenes/lobby_gui.cpp:99
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Normal"
|
||||
msgstr "正常"
|
||||
msgstr "常规"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:102
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Quality"
|
||||
msgstr "画质"
|
||||
msgstr "高画质"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:104
|
||||
msgctxt "openxr_post_processing"
|
||||
msgid "Disabled"
|
||||
msgstr "已停用"
|
||||
msgstr "停用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:112 client/scenes/lobby_gui.cpp:256
|
||||
#: client/scenes/stream_gui.cpp:967
|
||||
@@ -117,7 +117,7 @@ msgstr "身份识别码"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:192
|
||||
msgid "Input the PIN displayed on the dashboard"
|
||||
msgstr "请输入控制面板上显示的身份识别码"
|
||||
msgstr "请输入显示在控制面板上的身份识别码"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:282
|
||||
msgid "Name"
|
||||
@@ -323,7 +323,7 @@ msgid ""
|
||||
"Useful when the input resolution is high compared to the headset display"
|
||||
msgstr ""
|
||||
"减少高对比度边缘的闪烁。\n"
|
||||
"当输入分辨率高于头显原生分辨率时很有用"
|
||||
"当串流分辨率高于头显原生分辨率时很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:834 client/scenes/stream_gui.cpp:493
|
||||
msgid "Sharpening"
|
||||
@@ -335,7 +335,7 @@ msgid ""
|
||||
"Useful when the input resolution is low compared to the headset display"
|
||||
msgstr ""
|
||||
"改善高对比边缘的清晰度并抵消模糊。\n"
|
||||
"当输入分辨率低于头显原生分辨率时很有用"
|
||||
"当串流分辨率低于头显原生分辨率时很有用"
|
||||
|
||||
#: client/scenes/lobby_gui.cpp:1038 client/scenes/lobby_gui.cpp:1046
|
||||
#: client/scenes/stream_gui.cpp:172 client/scenes/stream_gui.cpp:374
|
||||
@@ -503,7 +503,7 @@ msgid ""
|
||||
"Curl error when downloading {}\n"
|
||||
"{}: {}"
|
||||
msgstr ""
|
||||
"Curl 下载时发生错误 {}\n"
|
||||
"通过 Curl 下载时发生了错误 {}\n"
|
||||
"{}:{}"
|
||||
|
||||
#: client/scenes/lobby_gui_customize.cpp:552
|
||||
@@ -546,7 +546,7 @@ msgstr "网络"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:177 client/scenes/stream_gui.cpp:372
|
||||
msgid "Download"
|
||||
msgstr "下載"
|
||||
msgstr "下载"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:178 client/scenes/stream_gui.cpp:373
|
||||
msgid "Upload"
|
||||
@@ -592,7 +592,7 @@ msgstr "已预测"
|
||||
#: client/scenes/stream_gui.cpp:345
|
||||
#, c++-format
|
||||
msgid "Estimated motion to photons latency: {}ms"
|
||||
msgstr "预计运动到光子延迟: {}毫秒"
|
||||
msgstr "估计从运动到显示延迟: {}ms"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:352
|
||||
msgid "Press the grip button to move the window"
|
||||
@@ -617,12 +617,12 @@ msgstr "启用"
|
||||
#: client/scenes/stream_gui.cpp:532 client/scenes/stream_gui.cpp:579
|
||||
#, c++-format
|
||||
msgid "Height {:.1f} deg"
|
||||
msgstr "高度 {:.1f} 度"
|
||||
msgstr "俯仰 {:.1f}°"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:533 client/scenes/stream_gui.cpp:580
|
||||
#, c++-format
|
||||
msgid "Distance {:.2f} m"
|
||||
msgstr "距离 {:.2f} 米"
|
||||
msgstr "距离 {:.2f}m"
|
||||
|
||||
#: client/scenes/stream_gui.cpp:534
|
||||
msgid "Default"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
|
||||
set(XRT_BUILD_DRIVER_ARDUINO OFF)
|
||||
set(XRT_BUILD_DRIVER_BLUBUR_S1 OFF)
|
||||
set(XRT_BUILD_DRIVER_DAYDREAM OFF)
|
||||
set(XRT_BUILD_DRIVER_EUROC OFF)
|
||||
set(XRT_BUILD_DRIVER_HDK OFF)
|
||||
|
||||
@@ -166,7 +166,7 @@ wivrn::video_encoder_vulkan_h265::video_encoder_vulkan_h265(
|
||||
.cu_qp_delta_enabled_flag = 1, // must be 1 or nvidia breaks
|
||||
.transquant_bypass_enabled_flag = 0, // only 1 when tuned for lossless
|
||||
.deblocking_filter_control_present_flag = 1,
|
||||
.pps_range_extension_flag = (settings.bit_depth == 10) ? 1u : 0u,
|
||||
.pps_range_extension_flag = 0u,
|
||||
},
|
||||
|
||||
.pps_pic_parameter_set_id = 0,
|
||||
|
||||
Reference in New Issue
Block a user