Commit graph

6939 commits

Author SHA1 Message Date
Drew DeVault a736812f63 oxr: mostly implement XR_SESSION_LOSS_PENDING
This is missing support for xrPollEvents, which needs to be handled
separately as it's not properly rigged up throughout Monado yet.
2019-10-10 22:51:21 +00:00
Jakob Bornecrantz bffe802449 t/psmv: Adjust room position in prober instead 2019-10-10 23:47:51 +01:00
Ryan Pavlik 3630dae537 t/psmv: FindLowestScore template param renames
Less terse
2019-10-10 21:48:09 +00:00
Ryan Pavlik 430e27d084 t/psmv: Use new imu fusion in psmv positional tracking. 2019-10-10 21:48:09 +00:00
Ryan Pavlik 18f9760986 tracking: Add t_imu: simple IMU fusion for absolute orientation 2019-10-10 21:48:09 +00:00
Ryan Pavlik b00f5315c2 t/psmv: Initial Kalman filter.
Rotation a little out of control right now because still using bad fusion.
2019-10-10 21:48:09 +00:00
Ryan Pavlik 85b6c7222d tracking: Add t_fusion for Kalman filter added code. 2019-10-10 21:48:09 +00:00
Ryan Pavlik c660183848 external: Add multi-header version of FlexKalman.
Takes off a little build time compared to single-header version.
2019-10-10 21:48:09 +00:00
Jakob Bornecrantz 315d3b65f1 comp: Do not destry VK_NULL_HANDLE buffers and memory 2019-10-10 22:11:09 +01:00
Jakob Bornecrantz 7680038f8b t/gui: Request forward compatible OpenGL version and minimum 3.2 2019-10-10 16:06:57 +01:00
pblack 1dacea071d d/psvr: Add hacked mesh distortion 2019-10-10 13:28:01 +01:00
Jakob Bornecrantz e86628884b comp: Add disabled shader debugging code 2019-10-10 13:28:01 +01:00
Jakob Bornecrantz 2db8138e8e comp: Hack in a flip of the right eye 2019-10-10 13:28:01 +01:00
Jakob Bornecrantz fafbe287e1 comp: Clamp UV textures to a black border 2019-10-10 13:28:01 +01:00
pblack 898c1b4a9f comp: Add mesh distortion shader 2019-10-10 13:28:01 +01:00
pblack b351e8cd75 aux/util: Don't overwrite distortion info 2019-10-10 01:52:45 +01:00
Jakob Bornecrantz 102e36efc9 st/gui: Don't include glad directly 2019-10-09 22:11:41 +01:00
Jakob Bornecrantz 1afc4df95c st/gui: Refactor gui code into it's own state tracker 2019-10-09 21:53:21 +01:00
Jakob Bornecrantz e327d56bf4 aux/ogl: Introduce a single small OpenGL library 2019-10-09 17:07:23 +01:00
Jakob Bornecrantz 420f25c7f7 t/gui: Refactor out SDL2 code 2019-10-09 16:32:58 +01:00
Jakob Bornecrantz 473047962f d/psvr: Correct screen size 2019-10-08 11:19:14 +01:00
Jakob Bornecrantz acd2c50470 aux/math: Rework offset transformation
This reverts commit 0d9aaae470, and changes it.
2019-10-08 11:19:14 +01:00
Jakob Bornecrantz 0d9aaae470 aux/math: Correct(?) transform 2019-10-08 01:04:46 +00:00
Jakob Bornecrantz 68e7544f57 comp: Free window swapchain VkImageViews & VkSwapchainKHR 2019-10-08 00:04:25 +01:00
Jakob Bornecrantz 649bf88379 comp: Make sure to free VkImageViews on swapchains 2019-10-07 23:48:39 +01:00
Jakob Bornecrantz 0108207b3d comp: Use VK_NULL_HANDLE 2019-10-07 23:27:09 +01:00
Jakob Bornecrantz 1d9009a461 comp: Set array_size 2019-10-07 23:26:43 +01:00
Benjamin Saunders 3d5872f346 comp: Fix missing usages on Vulkan client swapchains 2019-10-07 22:08:56 +01:00
Ryan Pavlik 23e7f99a71 t/psmv: More algorithm simplification/optimization 2019-10-07 12:39:56 +00:00
Ryan Pavlik 7e358ea721 t/psmv: Simplify final stage of tracking. 2019-10-07 12:39:56 +00:00
Ryan Pavlik d7d12a69f8 aux/tracking: Remove unused functions.
Use cv::norm instead.
2019-10-07 12:39:56 +00:00
Ryan Pavlik 09f984258f t/psmv: Improve finding the nearest blob.
No more need to construct a vector every time.
2019-10-07 12:39:56 +00:00
Ryan Pavlik 5d9311bd30 d/psmv: Fix size of tracking ball. 2019-10-07 12:39:56 +00:00
Ryan Pavlik 76aa839f5b a/track: Simplify. 2019-10-07 12:39:56 +00:00
Ryan Pavlik 37d4eae37a a/track: Fix typo. 2019-10-07 12:39:56 +00:00
Jakob Bornecrantz d8cd9ffcdd st/prober: Better error printing 2019-10-04 10:32:02 +01:00
Jakob Bornecrantz f2fcfd98e1 aux/os: Return 'errno' on device open failure 2019-10-04 10:32:02 +01:00
Lubosz Sarnecki 979536dd4b xrt/comp/cmake: Enable build of Wayland backend.
Add pkgconfig based Wayland build including protocol generation.
2019-10-02 12:22:42 +02:00
Lubosz Sarnecki 871f6bfc87 cmake: Remove unused and deprecated FindWayland.cmake script.
Martin Gräßlin's script from 2013 does not look for the
Wayland protocols directory and the scanner.
2019-10-02 12:22:36 +02:00
Jakob Bornecrantz 51f3fac192 aux/tracking: Refactor calibration data handling 2019-09-29 15:43:54 +01:00
Jakob Bornecrantz b37eb0f55b xrt: Add xrt_size struct 2019-09-29 15:43:54 +01:00
Emmanuel Gil Peyrot 9aea9aa6d1 meson: Check both opencv4 and opencv dependencies.
OpenCV changed its pkg-config file name from opencv.pc to opencv4.pc in
its latest version apparently.

Fixes #31.
2019-09-29 14:24:46 +00:00
Jakob Bornecrantz cbee61a008 xrt: Don't derive pointer alignment 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz ec7e98538c st/prober: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 76527b73f8 st/oxr: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 0987927343 aux/util: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 423da670fa aux/tracking: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz b95e114160 aux/math: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 3bee6e3a8b d/ohmd: Code style, pointer star location 2019-09-29 11:45:23 +01:00
Jakob Bornecrantz 30de1d0928 d/psvr: Code style, pointer star location 2019-09-29 11:45:23 +01:00