1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 13:27:17 +00:00
Commit Graph

178 Commits

Author SHA1 Message Date
Zeno Rogue
34d3d67ace cleaned up stereo/high-FOV projections 2023-11-30 12:32:24 +01:00
Zeno Rogue
b123900b52 fixed camera angle: aura and shader projection 2023-08-15 16:01:38 +02:00
Zeno Rogue
67d38feabd camera_angle now uses matrix dialog 2023-08-14 18:08:28 +02:00
Zeno Rogue
6806a0e7e3 renamed apply_ori to more intuitive scr_to_ori, also invert the matrix 2023-08-14 11:08:37 +02:00
Zeno Rogue
1554caa7b4 rotations are now represented as matrices, not angles 2023-08-08 16:27:52 +02:00
Zeno Rogue
aa729c912c fixed stereo_alpha in some geometries 2023-06-10 10:35:09 +02:00
Zeno Rogue
e6738f6c20 semidirect rendering 2023-05-15 02:50:41 +02:00
Zeno Rogue
1b7f4b869e new Conformal Square projection (with transition and shader and Euclidean form) 2023-03-19 12:21:05 +01:00
Zeno Rogue
eb867ecccc fog color is now model color if the projection is not perspective 2023-03-16 14:48:16 +01:00
Zeno Rogue
2a45504580 fixed the shader ID 2023-03-16 14:47:39 +01:00
Zeno Rogue
395cbf3668 nilv:: the Nil model is now changeable 2023-01-30 00:02:13 +01:00
Zeno Rogue
85dffdbeff rewritten the embeddings more nicely 2023-01-27 00:27:10 +01:00
Zeno Rogue
7068b41d28 fixes to Lie log/exp in SL2 2022-12-29 21:19:08 +01:00
Zeno Rogue
86492d1181 Improved the UI for 'geodesic movement' setting, and also make it work correctly in SL2 and hyperbolic geometries 2022-12-25 12:14:36 +01:00
Zeno Rogue
e9c04e1e77 Sol/NIH geometries now have separate gc constants 2022-12-13 19:46:57 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
06523e063e used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable 2022-11-13 16:22:55 +01:00
Zeno Rogue
a7ca4c2902 relativistic projections added 2022-10-14 00:56:48 +02:00
Zeno Rogue
7a6df6f060 fixed GF_NO_FOG 2022-10-14 00:55:34 +02:00
Zeno Rogue
d218896b63 sl2:: more projections allowed 2022-10-14 00:54:31 +02:00
Zeno Rogue
73c689211f shader flag to use no fog -- useful to display ultra-ideal points 2022-10-11 19:56:37 +02:00
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