1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-15 17:54:48 +00:00
Commit Graph

157 Commits

Author SHA1 Message Date
Zeno Rogue
5c97fbb06e another fix to Panini 2022-08-23 21:52:36 +02:00
Zeno Rogue
c7663c83be fixed a bug in stereographic projection 2022-08-12 09:07:19 +02:00
Zeno Rogue
4892541287 added comments for sl:: parameters, set them as param_, renamed steps to shader_iterations 2022-05-28 18:43:43 +02:00
Zeno Rogue
a6dc4b9314 new projections mostly for Solv: Lie perspective and Lie orthogonal 2022-05-17 09:45:09 +02:00
Zeno Rogue
8c0600d8fe logarithmic fog parameter (logfog) 2022-04-07 20:50:59 +02:00
Zeno Rogue
642f0899b5 fixed box display which sometimes removed parts of the picture 2021-09-30 13:22:48 +02:00
Zeno Rogue
96c143da8e backandfront projection option 2021-09-18 01:39:09 +02:00
Zeno Rogue
e8e6d0aa25 two-sided display of hyperbolic disk with -1<pconf.alpha<0 2021-09-16 22:26:23 +02:00
Zeno Rogue
663e334e38 intra:: first version 2021-09-16 21:30:26 +02:00
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