Commit Graph
124 Commits
Author SHA1 Message Date
Patrick Nicolas f092a3fac0 Remove unused code 2024-05-16 15:19:50 +02:00
Patrick Nicolas 584b8d0262 Use manual server mechanism for wivrn:// command line 2024-05-15 23:07:21 +02:00
Patrick Nicolas 4f3a1d0b7f Allow recentering 2024-05-09 16:17:46 +02:00
galister f7c6b6c99e feat(lobby): resolution scale per-eye res 2024-05-09 09:35:34 +02:00
galister 6e0c92807a feat(client): resolution scale setting 2024-05-09 09:35:34 +02:00
Patrick Nicolas d0c222f5cc Remove WiVRn-reprojection code 2024-05-07 15:57:15 +02:00
Patrick Nicolas 0826ee875a Don't count network for tracking throttling 2024-05-07 15:17:44 +02:00
Patrick Nicolas d06c96df68 Skip reprojection if runtime does it correctly 2024-05-05 18:41:57 +02:00
Patrick Nicolas 6b47a326a3 Remove fade-in on stream start 2024-05-05 18:37:28 +02:00
Patrick Nicolas 641e2cb182 Optimize away a few memory allocations 2024-05-04 16:29:26 +02:00
Patrick Nicolas 33c40f0588 Clear image before drawing 2024-05-03 23:10:52 +02:00
Patrick Nicolas 35a54474b0 Defoveate with the same grid server uses 2024-05-03 11:41:28 +02:00
Patrick Nicolas ce7620f44d Show proper error message on connection failure 2024-04-30 23:23:32 +02:00
Patrick Nicolas b72acd87fc Refactor client configuration 2024-04-21 11:20:31 +02:00
Patrick Nicolas 194709e3e0 Close connection popup on server disconnect 2024-04-16 11:23:41 +02:00
Patrick Nicolas 4eda6ef2cb Selectively enable multicast/low latency locks 2024-04-15 21:39:29 +02:00
Patrick Nicolas 09c2bf19e5 Maintain distance to controller when recentering 2024-04-13 11:24:50 +02:00
Guillaume Meunier 191b3ef477 Reposition the GUI relative to the hand or controller instead of the head 2024-04-13 10:51:28 +02:00
Patrick Nicolas 2dda6ecb4f Point the palm up gesture to recenter 2024-04-13 09:17:00 +02:00
Patrick Nicolas c0a2db4a92 Tweak GUI parameters for easier hand interaction 2024-04-12 16:31:04 +02:00
Patrick Nicolas e1a6d4c40a Don't send haptics when focusing with hand 2024-04-12 16:13:31 +02:00
Patrick Nicolas 9722ce9831 Recenter GUI with A or X 2024-04-12 16:13:31 +02:00
Patrick Nicolas 8ebd6ae7f3 Only setup passthrough if requested 2024-04-12 14:53:22 +02:00
Patrick Nicolas 5d91bf0763 Add support for alpha environment blend passthrough 2024-04-12 14:53:22 +02:00
Patrick Nicolas c9301332dd Avoid hand tracking packet fragmentation 2024-04-07 10:25:30 +02:00
Patrick Nicolas 1c9329679f Throttle tracking thread to reduce CPU usage 2024-04-05 17:15:39 +02:00
Patrick Nicolas 47a83b42b5 Setup JNI for threads that may use it
OpenXR runtime may use JNI, so attach threads that will do OpenXR calls.
2024-04-05 16:33:12 +02:00
Patrick Nicolas fd6b9f539a Fast-path 0-amplitude haptics 2024-04-05 15:21:12 +02:00
Patrick Nicolas 63f4028d83 Select image to display based on predicted display time 2024-04-04 17:42:14 +02:00
Patrick Nicolas 7658f427e6 Request tracking extrapolation on client
Add the timestamp where data was requested, use this to compute how far
in the future the application is requesting samples.
With this information, client requests 2 tracking samples: one at the
current time and one in the future.
Server now keeps track of actual samples + one predicted sample, and is
most of the time in the interpolation use case.
2024-04-04 13:41:36 +02:00
Guillaume Meunier 9cceaac648 clang-format 2024-03-30 17:00:34 +01:00
Guillaume Meunier 4fa63b3cf5 Support hands in GUI 2024-03-30 13:44:51 +01:00
Guillaume Meunier 6a553b218a Hide the hand model if the controller is tracked 2024-03-30 13:44:51 +01:00
Guillaume Meunier f11ddb14ce Make apply_visual_response static 2024-03-30 13:44:51 +01:00
Guillaume Meunier 99a5685c34 When the runtime does not track the hands:
- Hide them in the lobby
- Don't send tracking data in the stream
2024-03-30 13:44:51 +01:00
Guillaume Meunier 889f1ad5e6 Show hand models, refactor the scene renderer 2024-03-30 13:44:49 +01:00
Patrick Nicolas cf054dda64 Fix GPU time display in lobby 2024-03-30 13:37:08 +01:00
Patrick Nicolas cd16b45270 Create swapchains in stream render method
Swapchains were created in the network thread, and when interleaved with
lobby render method and using passthrough, this would cause crashes on
HTC headsets.
2024-03-24 21:07:43 +01:00
Patrick Nicolas 2cc267f8d4 Improve stream stalled detection 2024-03-24 17:24:03 +01:00
Patrick Nicolas 94e6014861 Release passthrough resources when lobby is not focused 2024-03-24 17:24:03 +01:00
Patrick Nicolas 8e3979cc8c Use XrTime for all time data 2024-03-24 14:01:44 +01:00
Patrick Nicolas 4d50e35200 Add padding in settings 2024-03-16 20:07:36 +01:00
Guillaume Meunier 3a02198156 Automatically enable passthrough if color passthrough is supported 2024-03-16 20:05:57 +01:00
Guillaume Meunier 6f5a00cdd3 Add support for passthrough in lobby 2024-03-16 20:05:57 +01:00
Patrick Nicolas 2afd2ff86a Staturate haptics amplitude to 1.0 2024-03-15 18:55:39 +01:00
Patrick Nicolas f2dc24c316 Enable microphone support 2024-03-15 15:17:35 +01:00
Patrick Nicolas c006e6c31b Remove useless framebuffer clear in reprojection 2024-03-14 21:15:53 +01:00
Patrick Nicolas 5dc5117441 Don't accumulate delay if tracking is slow on client 2024-03-14 19:58:31 +01:00
Patrick Nicolas d479ae9786 Set clear color to opaque black in reprojection.
Fixes black output in HTC headsets
2024-03-14 18:25:53 +01:00
Patrick Nicolas 1be10f8065 Merge GPU plots, network plots 2024-03-08 17:33:22 +01:00