1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00
Commit Graph

255 Commits

Author SHA1 Message Date
Zeno Rogue
9349d08117 twisted ray now takes angle_of_zero into account 2024-06-21 13:46:31 +02:00
Zeno Rogue
1b51295008 refactored nilv::get_nsi to fix bugs where nil_structure_index is checked incorrectly 2024-06-18 11:40:22 +02:00
Zeno Rogue
a31fe5e2c1 ray:: fixed raycaster for twist/nil to take nilwidth into account 2024-06-18 11:22:48 +02:00
Zeno Rogue
4e090ed365 fixed twist_zlevel in nil, wrong alpha 2024-06-18 11:21:20 +02:00
Zeno Rogue
b5c20ef1da ray:: fixed some confusion between NSI-style nil and twisted 2024-06-18 11:02:05 +02:00
Zeno Rogue
5312852724 ray:: fixed type warning 2024-06-18 10:46:33 +02:00
Zeno Rogue
75f631cd40 twist:: nil twist in raycaster 2024-06-16 23:46:46 +02:00
Zeno Rogue
3d9c4c838e moved underlying space drawer from rots to hybrid, and renamed the rest of rots:: to twist:: 2024-06-16 18:12:52 +02:00
Zeno Rogue
30b9f3e4c7 ray:: renamed rot_* functions to twist_* 2024-06-16 17:47:33 +02:00
Zeno Rogue
de3ad6d718 renamed gRotSpace to gTwistedProduct, and similar 2024-06-16 17:46:56 +02:00
Zeno Rogue
55880bb12b implemented the correct wall shapes in the rotspace raytracer 2024-06-11 00:10:39 +02:00
Zeno Rogue
e2247eaf15 nil raytracer now works correctly with hex nil 2024-06-10 01:34:55 +02:00
Zeno Rogue
86c4f18812 fixed the Nil raytracer to work with other values of model_used 2024-06-10 01:34:19 +02:00
Zeno Rogue
1c74774bfa refactored the parameter (saver/setting) system 2024-05-26 20:22:29 +02:00
Zeno Rogue
fe7e122613 ray:: improved ODS 2023-11-30 12:38:30 +01:00
Zeno Rogue
34d3d67ace cleaned up stereo/high-FOV projections 2023-11-30 12:32:24 +01:00
Zeno Rogue
9d4d085973 equirectangular projection in raycasting 2023-11-23 22:10:59 +01:00
Arthur O'Dwyer
62629f3e70 Change static const to static constexpr wherever possible
Since we require C++11, most of these consts can be constexpr.

Two `static const ld` remain non-compile-time-evaluable because
they depend on the runtime `log` function. One `static const cld`
remains non-compile-time because `std::complex<T>` doesn't become
constexpr until C++14.
2023-08-23 09:47:28 -08:00
Zeno Rogue
b6f13b953b more OOP-style standard dialogs 2023-08-09 14:01:24 +02:00
Zeno Rogue
e658a471da ray:: want_use as param_i 2023-08-08 16:28:13 +02:00
Zeno Rogue
a70e799081 raycaster:: should now work in plane embedded as Solv 2023-05-15 02:50:41 +02:00
Zeno Rogue
acfa454114 aperiodic is now distinct from kite::in 2023-03-23 01:37:52 +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
74b59d3331 fixed raycaster in sph_in_low; seems to still need fixing in non-regular 2022-12-15 21:17:08 +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
419837a375 ray::fixed_map changed from raycaster menu 2022-10-27 16:06:39 +02:00
Zeno Rogue
1ac22f4be1 ray:: use mapeditor::map_version to recreate the map 2022-10-27 16:06:39 +02:00
Zeno Rogue
dbf9b2b325 ray:: max_well_offset anc max_celltype can be increased 2022-09-14 23:38:45 +02:00
Zeno Rogue
dee519badd added make_floor_textures in raycaster 2022-08-07 03:16:24 +02:00
Zeno Rogue
75f58766a2 made background screen darkening consistent and optional 2022-07-05 11:51:06 +02:00
Zeno Rogue
238422fe89 ray:: renamed deparabolic13 and enparabolic13 adding 'i' to signify that they reorder the coordinates 2022-05-17 09:45:09 +02:00
Zeno Rogue
31f70bbbfa ray:: fixed hyperbolic fragdepth (but this should not work, some bug in GLSL?) 2022-03-27 22:47:51 +02:00
Zeno Rogue
049eb33105 ray:: fixed levellines in hyperbolic 2022-03-27 22:47:51 +02:00
Zeno Rogue
b79280e423 in non-fake 2.5D the raycaster is disabled by default 2022-03-27 22:47:51 +02:00
Zeno Rogue
21bd4d7fe0 ray:: uProjection is now always taken as a 4x4 matrix 2022-02-28 17:34:00 +01:00
Zeno Rogue
94d660cc43 intra:: walking mode 2022-02-27 01:15:45 +01:00
Zeno Rogue
015006546e ray:: fixed dark lines in H2xR which happened when we got a=0 in quadratic equation 2022-02-27 01:15:45 +01:00
Zeno Rogue
80b9d9533c intra:: fixed portals to/from S3 and H3 2022-02-27 01:15:45 +01:00
Zeno Rogue
6b17cd6412 intra:: fixed Euclidean portals from/to product spaces 2022-02-26 09:48:49 +01:00
Zeno Rogue
3dde8d805a ray:: rmap_get_by_id and rmap_get_id_of 2021-12-12 00:30:44 +01:00
Zeno Rogue
839ca440ea refer to color by HTML name in commandline arguments 2021-10-17 09:18:31 +02:00
Zeno Rogue
56af053d4b ray:: requested in intra, no cgi_string used 2021-10-10 00:40:22 +02:00
Zeno Rogue
6e9245a6ce ray:: param_i for ray_max_cells 2021-10-10 00:40:22 +02:00
Zeno Rogue
ea2899d7e0 ray:: iteration in intra fix 2021-10-10 00:40:22 +02:00
Zeno Rogue
09f8aefba7 ray:: reordered just in case 2021-10-10 00:40:22 +02:00
Zeno Rogue
912aab9d27 ray:: use the same shader for all starting points in intra 2021-10-10 00:40:22 +02:00
Zeno Rogue
a97fa8a95d ray:: special maxstep and max_iter for intra 2021-10-10 00:40:22 +02:00
Zeno Rogue
a79d28fafe more portal fixes 2021-10-10 00:40:22 +02:00