Commit Graph

50 Commits

Author SHA1 Message Date
Zeno Rogue f853016cff vr:: fixed the formula checking whether we are pointing at something in the UI 2021-03-07 21:37:16 +01:00
Zeno Rogue c6fcfe7f21 auto switch to model_viewing if vr-enabled 2021-03-06 16:27:30 +01:00
Zeno Rogue e4fd468d8d added some missing guards 2021-02-07 22:55:11 +01:00
Zeno Rogue a836384f19 vr:: compute_vr_direction function 2021-02-07 22:55:11 +01:00
Zeno Rogue 8ee918c7ee vr:: fixed VR UI pointing if the rectangle is changed 2021-02-07 22:55:11 +01:00
Zeno Rogue ecb01118c1 vr:: changed cscr default to eyes 2021-02-07 22:55:11 +01:00
Zeno Rogue 7c5691a131 vr:: warning and auto-change when using incorrect headset modes in 2D geometries 2021-02-07 22:55:11 +01:00
Zeno Rogue 1da9622c67 generalized VR UI placement 2021-02-07 22:55:11 +01:00
Zeno Rogue 015f6227fa redone basic graphics settings (vsync, resolution, fullscreen, gl/aa) 2021-02-07 22:55:10 +01:00
Zeno Rogue fd67ec2385 vr:: improved performance? 2021-02-07 22:55:10 +01:00
Zeno Rogue f9c8a458aa fixup params in vr 2021-02-07 22:55:10 +01:00
Zeno Rogue b40fc679af renamed addparamsaver to param_type 2021-02-01 01:45:10 +01:00
Zeno Rogue 298c051beb saver enums 2021-02-01 01:35:34 +01:00
Zeno Rogue 4c94cc793c vr:: fixed rconf to rrconf, as it hit a definition 2021-01-31 15:28:36 +01:00
Zeno Rogue a76ef1e8da raycasting in VR equidistant, for isotropic geometries 2021-01-31 15:27:58 +01:00
Zeno Rogue d48eb17226 vr:: VR demos added 2020-12-31 19:11:14 +01:00
Zeno Rogue f5ac66513c fixed CAP_VR guards 2020-12-31 19:11:14 +01:00
Zeno Rogue 9fc21b67e1 vr:: renamed functions to more accurate names, and fixed pointing in WDIM==2 2020-12-31 19:11:14 +01:00
Zeno Rogue 5ec9f06383 vr:: pointing now works in truesim 2020-12-31 19:11:14 +01:00
Zeno Rogue ecbd0eca83 VR:: -vr-pl option 2020-12-31 19:11:14 +01:00
Zeno Rogue 22fb9d1c30 vr:: pointing in the rug 2020-12-31 19:11:14 +01:00
Zeno Rogue 0ffd31e4b4 vr:: you can still click the map while an UI is shown 2020-12-31 19:11:14 +01:00
Zeno Rogue f9740e5ee3 fixed UI location 2020-12-31 19:11:14 +01:00
Zeno Rogue 384c5eb2da fixed the value shown in 'reset the reference point' 2020-12-31 19:11:14 +01:00
Zeno Rogue faec8c9df2 vr:: all VR settings are now configurable via VR/projection menu. Also cleanup vr_angle 2020-12-31 19:11:14 +01:00
Zeno Rogue d5fc277531 3D drawing 2020-12-31 19:11:14 +01:00
Zeno Rogue 49f0c248bd some debug removed 2020-12-31 19:11:14 +01:00
Zeno Rogue 0f0c4a5d02 vr:: point to the correct side of the sphere 2020-12-31 19:11:14 +01:00
Zeno Rogue 3186ca3e73 vr:: UI smaller for now 2020-12-31 19:11:14 +01:00
Zeno Rogue cafc265cc6 vr:: controller ray now extend to the correct distance 2020-12-31 19:11:14 +01:00
Zeno Rogue 1b976d364b uniform VR control 2020-12-31 19:11:14 +01:00
Zeno Rogue db46f247c5 fixed a crash in perspective move 2020-12-31 19:11:14 +01:00
Zeno Rogue 4b3b7fead0 vr:: vr_distance correct in 2.5D 2020-12-31 19:11:14 +01:00
Zeno Rogue 9895da1483 indentation fix 2020-12-31 19:11:14 +01:00
Zeno Rogue 9dfa4516ed vr:: implemented eCompScreen::single 2020-12-31 19:11:14 +01:00
Zeno Rogue 8914330eb2 vr:: rearranging render() to remember projection data globally 2020-12-31 19:11:14 +01:00
Zeno Rogue e4e1a856e6 replace vrhr::state checking with nicer functions 2020-12-31 19:11:14 +01:00
Zeno Rogue 483ea3369b precise VR pointing (in 2D; still need to send keys) 2020-12-31 19:11:14 +01:00
Zeno Rogue e6ff8c041f pointing in 2D modes 2020-12-31 19:11:14 +01:00
Zeno Rogue 2e0ddd5a48 vr:: correctly rendered 2D sphere 2020-12-31 19:11:13 +01:00
Zeno Rogue 60c3f383b9 extra commandline option 2020-12-31 19:11:13 +01:00
Zeno Rogue da2042265b try to use VR in 2D geometries too 2020-12-31 19:11:13 +01:00
Zeno Rogue ec70119c3e moved vr_scale_factor and vr_zshift to pconf, and added some new projection parameters for the future 2020-12-31 19:11:13 +01:00
Zeno Rogue 319bd1574f VR in non-perspective models 2020-12-26 23:00:51 +01:00
Zeno Rogue 926ca2808a vr:: works with raycasting 2020-12-26 21:13:32 +01:00
Zeno Rogue cd9b8d57ab fixed reference/equidistant in nonisotropic 2020-11-22 20:00:43 +01:00
Zeno Rogue ffcda7f602 vr:: fixes to spinEdge 2020-11-22 20:00:43 +01:00
Zeno Rogue 7e3ecab8ed vr:: two new actions 2020-11-22 17:58:40 +01:00
Zeno Rogue 29c1676c75 vr:: changed the default settings 2020-11-22 17:58:40 +01:00
Zeno Rogue 0de8ce9a10 initial implementation of VR 2020-11-22 17:58:40 +01:00