1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00
Commit Graph

594 Commits

Author SHA1 Message Date
Zeno Rogue
0f9b30f51b draw boundary in fisheye Euclidean 2023-03-16 14:44:44 +01:00
Zeno Rogue
ef556185db X symbol from the two-point models is now configurable 2023-03-16 14:44:31 +01:00
Zeno Rogue
2a354786e4 new projection: horocyclic equal-area 2023-03-16 14:42:02 +01:00
Zeno Rogue
a07dac637b vr:: spinEdge for embedded 2023-02-21 18:48:19 +01:00
Zeno Rogue
b89ba69fd9 local_perspective_used now known better 2023-02-05 10:31:58 +01:00
Zeno Rogue
2d4cb637f2 set_view in product uses inverse_exp 2023-02-04 23:07:43 +01:00
Zeno Rogue
cd673b2fd2 disabling frustum_culling option now also disables smart-range frustum culling 2023-02-04 19:44:06 +01:00
Zeno Rogue
2fe39a6613 embeddings:: shmup fixes 2023-02-04 19:40:49 +01:00
Zeno Rogue
5b89cfdecf embeddings:: removed smESL2 method -- smEmbedded works fine now for all non-product embeddings 2023-02-04 11:44:42 +01:00
Zeno Rogue
43f345234a embeddings:: do not try to display model boundary in perspective 2023-02-03 16:20:26 +01:00
Zeno Rogue
6950e0e1ba embeddings:: fixed vertical_vector 2023-02-03 16:11:13 +01:00
Zeno Rogue
395cbf3668 nilv:: the Nil model is now changeable 2023-01-30 00:02:13 +01:00
Zeno Rogue
56f5fee8dd embeddings:: simplified and fixed euc_in_sl2 2023-01-27 10:17:54 +01:00
Zeno Rogue
85dffdbeff rewritten the embeddings more nicely 2023-01-27 00:27:10 +01:00
Zeno Rogue
8744420504 new embedding: Euclidean cylinder 2023-01-24 15:17:09 +01:00
Zeno Rogue
763a932aca fixed radar in euc_in_sph (no animate), radar in euc_in_product (somewhat), fixed_YZ in euc_in_sph 2023-01-08 15:59:28 +01:00
Zeno Rogue
5dcddc9365 shift_view functions refactored 2023-01-08 15:59:28 +01:00
Zeno Rogue
4351f99432 fixed shmup in euc_in_nil and euc_in_sl2 2023-01-07 22:51:46 +01:00
Zeno Rogue
8e49baef0e shmup should work in euc_in_product 2023-01-07 22:19:31 +01:00
Zeno Rogue
64b5c52b80 simplified embedded shift 2023-01-07 19:47:19 +01:00
Zeno Rogue
8136d9b554 fixed camera movement in ESL2 2023-01-07 19:41:42 +01:00
Zeno Rogue
f02073a35f fixed fixed_YZ in euc_in_sl2 2023-01-07 18:56:12 +01:00
Zeno Rogue
e4839a19b7 fixed the coordinate system naming, and added a comment on these names 2023-01-07 16:52:24 +01:00
Zeno Rogue
8dede9f8a0 fixed bucketing for euc_in_sl2 2023-01-07 12:55:28 +01:00
Zeno Rogue
b7a4997509 fixed camera movement in euc_in_sl2 2023-01-07 12:22:14 +01:00
Zeno Rogue
57b762dfe8 fixed shift_view_towards in smLie 2023-01-07 11:44:44 +01:00
Zeno Rogue
63032a42a2 debug removed in lie_exp 2023-01-07 11:44:31 +01:00
Zeno Rogue
f5f6bdcf3b euc_in_sl2 (still buggy) 2023-01-07 11:44:13 +01:00
Zeno Rogue
1fc48be781 fixed lta 2023-01-06 00:24:45 +01:00
Zeno Rogue
4b3bfb9932 euc_in_product 2023-01-06 00:09:12 +01:00
Zeno Rogue
2182f442d9 more detailed Euclidean embedding parameters 2023-01-05 14:01:23 +01:00
Zeno Rogue
601457ebc2 fixed non-shader band with shifts 2023-01-04 23:30:54 +01:00
Zeno Rogue
32546cee4a Clifford torus embedding (needs to be configured manually and on a straight square for now) 2023-01-04 23:30:36 +01:00
Zeno Rogue
1dced09f71 min_cells_drawn setting 2023-01-04 23:26:46 +01:00
Zeno Rogue
7d0235b459 fixed in_smart_range for perspective 2022-12-29 21:49:43 +01:00
Zeno Rogue
7068b41d28 fixes to Lie log/exp in SL2 2022-12-29 21:19:08 +01:00
Zeno Rogue
78fb0cca20 fixed apply_perspective to use the actual z to keep z-ordering correct 2022-12-29 20:50:47 +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
006a325d36 fixed resetview in embedded_plane in product 2022-12-18 00:16:32 +01:00
Zeno Rogue
9793ebbff8 fixup one more isotropic 2022-12-17 21:29:25 +01:00
Zeno Rogue
a5ff327ef3 fixed get_shift_view_embedded_of 2022-12-17 21:29:15 +01:00
Zeno Rogue
1ac28797de fixed autocentering in same_in_same; also renamed smIsometric to smIsotropic 2022-12-17 21:07:32 +01:00
Zeno Rogue
be747b7a44 yet another fix to adjust_eye in nonisotropic space 2022-12-17 19:03:36 +01:00
Zeno Rogue
5f645f2f25 fixed reset and auto centering 2022-12-17 17:37:26 +01:00
Zeno Rogue
814467082f shift_method gets more possible arguments 2022-12-17 11:47:10 +01:00
Zeno Rogue
e1301e10bd fixup to shift: moved the shift methods to hyperpoint, also removed _auto 2022-12-17 11:16:47 +01:00
Zeno Rogue
1210de672e fixed shift in nonisotropic embeddings; also you can now choose between geodesic or embed-aware, for both manual and auto camera movement 2022-12-16 23:03:00 +01:00
Zeno Rogue
839beabbc9 vertical_vector in same-in-same 2022-12-15 18:20:13 +01:00
Zeno Rogue
6b262104fd fixed vertical in embedded_plane in noniso 2022-12-15 18:15:26 +01:00
Zeno Rogue
f61adc2865 Nil embedding 2022-12-13 19:04:43 +01:00
Zeno Rogue
d334062656 fixed some bugs with sphere embedded in product 2022-12-09 02:33:15 +01:00
Zeno Rogue
3e733ae6e9 Big change: spatial_embedding option 2022-12-09 02:33:15 +01:00
Zeno Rogue
42f96b768c improvements to sphere flipping 2022-12-04 14:48:12 +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
875b0159e6 nonisotropic range parameters now work in all perspective modes 2022-10-15 22:58:30 +02:00
Zeno Rogue
a7ca4c2902 relativistic projections added 2022-10-14 00:56:48 +02:00
Zeno Rogue
d218896b63 sl2:: more projections allowed 2022-10-14 00:54:31 +02:00
Zeno Rogue
de859c35aa in sl2, sl2 handling of shifts is executed even if model uses bandshift 2022-09-17 16:46:26 +02:00
Zeno Rogue
8715770649 prevented GPU glitches when rendering long bands 2022-09-14 21:56:02 +02:00
Zeno Rogue
11426c30b3 auto-land-rotation now works even if CAP_ORIENTATION is on 2022-07-17 14:41:57 +02:00
Arthur O'Dwyer
48800f58f8 Fix some compiler errors and a mistake in config.cpp. 2022-07-01 14:07:58 -04:00
Zeno Rogue
e5b561c804 optimize_shift function for shiftpoint 2022-06-16 23:14:10 +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
69a82a8ce1 fixed lie_exp to use correct rules in solnih, and also avoid division by h[2] == 0 2022-05-17 09:37:32 +02:00
Zeno Rogue
b0c34c4f2c added CAP_RAY guard to intra stuff 2022-05-09 15:09:23 +02:00
Zeno Rogue
418eb072dc lie_exp approximation for other geometries 2022-05-06 19:54:55 +02:00
Zeno Rogue
1c907be9da shift_view with geodesic-movement disabled is now based on Lie exponentials (NYI: SL2, Berger) 2022-05-06 19:54:55 +02:00
Zeno Rogue
e4ddfa8250 hyperboloid fixup 2022-04-21 11:59:50 +02:00
Zeno Rogue
197157838d fixed in_smart_range to use nisot::in_table_range 2022-04-16 13:59:38 +02:00
Zeno Rogue
589d2dd72c hemisphere in spherical now produces the hyperboloid model 2022-04-07 20:50:16 +02:00
Zeno Rogue
84446a6b9f disable X'es in set_multi 2022-03-27 22:47:51 +02:00
Zeno Rogue
719aab3fb5 fixed the orientation of two-point azimuthal and two-point hybrid 2022-03-27 22:47:51 +02:00
Zeno Rogue
6d554d6b2e multi:: two-focus projections 2022-03-27 22:47:51 +02:00
Zeno Rogue
5a73eccd4c an option to add more projections via plugins 2022-03-27 22:47:50 +02:00
Zeno Rogue
166f076f2d models:: makeband as a function 2022-03-27 22:47:50 +02:00
Zeno Rogue
94d660cc43 intra:: walking mode 2022-02-27 01:15:45 +01:00
Zeno Rogue
822c77b302 smaller eps in apply_other_model 2022-02-27 01:15:45 +01:00
Zeno Rogue
729566d147 smaller eps in zlev 2022-02-27 01:15:45 +01:00
Zeno Rogue
1bdb187735 made Yendor/Haunted sight radius consistent when the tiling is changed 2022-02-21 22:47:22 +01:00
Zeno Rogue
67a19d93bb added missing MAXMDIM guards 2022-02-17 21:00:10 +01:00
Zeno Rogue
bdc2697f98 fixed pmodel to md in some places in apply_other_model 2022-02-01 17:09:20 +01:00
Zeno Rogue
a8d2e589f1 that fixup was added? 2021-11-07 10:41:27 +01:00
Zeno Rogue
456adb32c0 fixup to 'which_copy includes rotation' 2021-11-07 10:14:08 +01:00
Zeno Rogue
ea079ba0d1 which_copy now consistenly includes rotation -- seems to fix cat moving problem 2021-11-07 10:03:16 +01:00
Zeno Rogue
b866647622 fixes to parabolic 2021-10-10 00:40:22 +02:00
Zeno Rogue
0966d5e36c more accurate portal movement 2021-10-07 12:43:45 +02:00
Zeno Rogue
663e334e38 intra:: first version 2021-09-16 21:30:26 +02:00
Zeno Rogue
a8eef4b717 fixed set_view for 2.5D 2021-08-08 18:29:35 +02:00
Zeno Rogue
b544461dc7 flat_model_enabler now sets the default variation, fixes issue #254 2021-08-04 18:23:26 +02:00
Zeno Rogue
d10181e363 gp:: replaced draw_li with current_li which is computed when needed 2021-07-31 15:12:06 +02:00
Zeno Rogue
81e066d0c3 gp:: replaced the magic constants 15, 16, 31, 32 with named constants derived from GOLDBERG_BITS 2021-07-18 18:32:50 +02:00
Zeno Rogue
3a0b383b9b out_of_bounds cell 2021-06-17 09:44:48 +02:00
Zeno Rogue
95b4ad28b9 fixed some bugs with which_copy -- now should consistently use the View coordinate system 2021-06-01 13:07:56 +02:00
Zeno Rogue
0c816d3c68 in set_view, trust rightward 2021-05-23 16:00:50 +02:00
Zeno Rogue
0678590e77 added MAXMDIM guard 2021-05-12 20:15:40 +02:00
Zeno Rogue
3146fdd02f hybrid:: draw_underlying_space no longer covers the screen in e2xe, and also fixed the orientation in product 2021-05-01 14:14:28 +02:00
Zeno Rogue
3f4135079c fixed set_view in product geometries 2021-04-23 20:11:44 +02:00
Zeno Rogue
2463e0e163 hooks_preoptimize and hooks_postoptimize 2021-04-07 18:15:58 +02:00
Zeno Rogue
41779cd92c set_view in 2D geometries 2021-04-07 18:15:58 +02:00
Zeno Rogue
5a73510c4f added some guards for MAXMDIM >= 4 and CAP_SOLV 2021-03-30 11:27:48 +02:00