1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 03:04:48 +00:00
Commit Graph

148 Commits

Author SHA1 Message Date
Zeno Rogue
c49bf13bbc Panini/stereo projection now works in the 'single' VR screen (didn't work correctly) but not on the eyes (did work) 2021-06-01 13:07:55 +02:00
Zeno Rogue
b597c538ef fixed missing discard 2021-04-15 19:08:35 +02:00
Zeno Rogue
d7d29d8827 shaders:: fixed fog 2021-04-12 13:57:11 +02:00
Zeno Rogue
0f081fb1ab stereographic projection added 2021-03-21 12:51:50 +01:00
Zeno Rogue
56485f20a9 various changes and fixes to make coolfog and sky work correctly in VR 2021-03-09 13:12:53 +01:00
Zeno Rogue
f73bb98a27 fixed unused variable under some settings 2021-01-02 16:58:15 +01:00
Zeno Rogue
e5a7fc9ab9 in truesim, the shader will not recoordinate H3 to azimuthal equidistant; also fixed distfun 2020-12-31 19:11:14 +01:00
Zeno Rogue
cec8a40786 correct equidistant in H3 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
e4e1a856e6 replace vrhr::state checking with nicer functions 2020-12-31 19:11:14 +01:00
Zeno Rogue
38eb8c5122 disk model in Euclidean and hyperbolic 2020-12-31 19:11:13 +01:00
Zeno Rogue
f9d65a2e37 added some missing CAP_VR guards, more work on 2D in VR 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
6eaae5c206 fixed 3D perspective rendering without CAP_VR 2020-12-06 20:48:03 +01:00
Zeno Rogue
0de8ce9a10 initial implementation of VR 2020-11-22 17:58:40 +01:00
Zeno Rogue
72b7cffcaf do not use Panini while panini off 2020-11-19 18:17:49 +01:00
Zeno Rogue
73cc3c549f fixup: Panini is available in any PERS3 (including rug, excluding box) 2020-11-14 12:52:08 +01:00
Zeno Rogue
f0a98bbc55 fixed the positioning in TPP 2020-11-07 15:43:09 +01:00
Zeno Rogue
1198c4467c fixed projections other than perspective not working in 2.5D 2020-11-07 15:06:45 +01:00
Zeno Rogue
fd9fb83540 panini: frustum_culling disabling done nicely 2020-11-01 21:38:45 +01:00
Zeno Rogue
6513b3a87e Panini projection 2020-11-01 21:20:54 +01:00
Zeno Rogue
1425256ef4 shift available also in s2xe 2020-11-01 20:10:23 +01:00
Zeno Rogue
96d28d173a MXDIM, and some extra comments 2020-11-01 17:37:51 +01:00
Zeno Rogue
95f65fa965 bandshift now usable in product 2020-10-06 21:10:18 +02:00
Zeno Rogue
3311809e01 fixed a possible crash with airbuf missing 2020-09-11 11:18:51 +02:00
Zeno Rogue
18ab187547 rotational model of Nil, and change Nil rotation 2020-09-11 11:13:18 +02:00
Zeno Rogue
8173fc0504 more guards 2020-08-03 23:25:08 +02:00
Zeno Rogue
44f359582c coolfog: also affect textures 2020-08-01 16:48:38 +02:00
Zeno Rogue
a27419cf97 cool fog effect now can be disabled 2020-08-01 16:47:21 +02:00
Zeno Rogue
7c3c34c3d8 sky-based fog in 2.5D 2020-08-01 13:59:53 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
94cac21716 primitive-based rendering of the Berger sphere (very poor) 2020-07-24 23:39:30 +02:00
Zeno Rogue
7e85f07458 primitive rendering now implemented for stretched H2xE; removed the old implementation of SL(2,R) 2020-07-22 00:19:13 +02:00
Zeno Rogue
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
Zeno Rogue
a6a0995e85 SOLV_ALL 2020-04-29 15:15:18 +02:00
Zeno Rogue
32ec5db152 stretch no longer affects text 2020-04-17 15:47:50 +02:00
Zeno Rogue
7a71132806 shaded rug 2020-04-17 15:01:55 +02:00
Zeno Rogue
0472bf764f moved all projection-related parameters to a special struct; another copy of that struct created for rug 2020-04-17 00:53:58 +02:00
Zeno Rogue
cfbd5f830c fixed some warnings and errors with ll to int assignment 2020-04-06 09:13:20 +02:00
Zeno Rogue
124ee9a467 fixed no-GL crash again 2020-03-07 04:47:11 +01:00
Zeno Rogue
5d9fdd83a8 fixed ODS; non-isotropic ODS 2020-03-07 04:47:10 +01:00
Zeno Rogue
2e5ee99570 shader:: added missing mediump 2020-01-16 17:13:57 +01:00
Zeno Rogue
2e0cf7fe53 band_shift correctly applied in shader-based band model 2019-12-27 00:49:58 +01:00
Zeno Rogue
769982040d renamed solnihv:: to sn:: and solnih to sn::in() 2019-12-14 12:28:45 +01:00
Zeno Rogue
0b385dd7f4 fixed renderer problem 2019-12-06 14:45:35 +01:00
Zeno Rogue
f3c97f9342 product:: works with Euclidean 2019-11-30 18:06:48 +01:00
Zeno Rogue
5add972bdd product:: using in_h2xe() and in_s2xe() more consistently 2019-11-30 18:06:48 +01:00
Zeno Rogue
4affb01062 fixed the clipping in Poincare Ball model 2019-11-16 01:40:49 +01:00
Zeno Rogue
3eee611eca nisot::local_perspective moved to display_data 2019-11-14 17:20:55 +01:00
Zeno Rogue
cc9e03ddb8 product:: product projections 2019-11-09 13:14:42 +01:00