1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00
Commit Graph

179 Commits

Author SHA1 Message Date
Zeno Rogue
5de7eb2bb2 more eqmatrix precision in raycaster 2021-07-13 17:38:59 +02:00
Zeno Rogue
6e6d0a7839 the main (heptagon) cellshape now also uses subcellshape; removed dirdist and get_vertices and introduced get_cellshape instead 2021-07-12 11:07:22 +02:00
Zeno Rogue
4799f7c5f7 ray:: fixed mirrors in product when cells have different degrees 2021-07-09 22:32:00 +02:00
Zeno Rogue
f3fec9434a ray:: fixup to ms when MDIM==3 2021-07-09 22:32:00 +02:00
Zeno Rogue
03fc72e7d2 ray:: reflection now works with multiple types 2021-07-09 22:32:00 +02:00
Zeno Rogue
0aa1d45287 moved ray_iadj from hybrid to hrmap method 2021-07-09 22:32:00 +02:00
Zeno Rogue
9a319e2d2a refactored shvid_full and wall_offset as virtual functions 2021-07-09 22:32:00 +02:00
Zeno Rogue
bc5ecf35e0 ray:: works with complex subcube-based honeycombs 2021-07-07 23:34:15 +02:00
Zeno Rogue
4590271450 ray:: added constants ray_scale, max_wall_offset and max_celltype to textures-as-arrays 2021-07-07 23:33:34 +02:00
Zeno Rogue
ace4ad62fd fixed a bug with the raycaster shader crashing -- (affected Bringris and notknot) 2021-06-09 04:44:04 +02:00
Zeno Rogue
a1d54a819d ray:: in GLES, disable raycaster in most spaces 2021-06-03 13:26:10 +02:00
Zeno Rogue
ba58789d56 ray:: GLES textures are not precise enough for via_texture ): 2021-06-03 13:26:10 +02:00
Zeno Rogue
cf7d19c775 ray:: fixed the interaction of m_via_texture and changing gms_array_size 2021-06-03 13:26:10 +02:00
Zeno Rogue
2c59bb3004 ray:: fixed getters built with wall_via_texture 2021-06-03 13:26:10 +02:00
Zeno Rogue
10bb713422 ray:: fixed missing mediump 2021-06-03 13:26:10 +02:00
Zeno Rogue
f015023421 more text fixes found while translating 2021-05-24 11:42:46 +02:00
Zeno Rogue
3a9f81a248 ray:: fixed crashes when the raycaster is reset while rendering 2021-05-17 14:21:29 +02:00
Zeno Rogue
8681883e58 raycaster:: work with many tile shapes 2021-05-17 14:21:14 +02:00
Zeno Rogue
891f163954 ray:: fixed crashes when rmap is destroyed while in use 2021-05-12 20:19:45 +02:00
Zeno Rogue
1d2b0cf245 ray:: added reset_raycaster_map() function 2021-04-30 19:45:34 +02:00
Zeno Rogue
6e94d7346e fixed the E2xE raycaster 2021-04-30 19:45:22 +02:00
Zeno Rogue
5cc5af932a improved ray error reporting 2021-04-07 18:15:58 +02:00
Zeno Rogue
c4e260341f ray:: raycaster_state now based on cgi_string, not geometry 2021-04-07 18:15:58 +02:00
Zeno Rogue
97ccc07be6 ray:: reset_raycaster now resets rots::saved_matrices_ray 2021-04-07 18:15:58 +02:00
Zeno Rogue
85683d6688 fixup guard 2021-03-30 11:41:52 +02:00
Zeno Rogue
ee1837e3d8 ray:: fixed for nil with nilwidth changed 2021-03-21 12:51:50 +01:00
Zeno Rogue
0f081fb1ab stereographic projection added 2021-03-21 12:51:50 +01:00
Zeno Rogue
91f7b2696f ray:: in VR raycasting, raycast_map is called just once per frame 2021-03-09 14:09:58 +01:00
Zeno Rogue
f1ecf0ecac ray:: memory cleanup with fixed map 2021-02-23 05:33:35 +01:00
Zeno Rogue
9499c7f81c ray_exp_decay_poly is param_f 2021-02-18 16:16:34 +01:00
Zeno Rogue
ad2ee6d98f an option to generate raycaster map just once 2021-02-18 16:16:34 +01:00
Zeno Rogue
040310eec4 yet one more CAP_VR guard 2021-02-07 22:55:11 +01:00
Zeno Rogue
1307790d46 ray:: fixed on GLSL 2021-02-07 22:55:11 +01:00
Zeno Rogue
16a085f253 ray:: maxstep and iter setting for eyes VR 2021-02-07 22:55:11 +01:00
Zeno Rogue
198decfd64 ray:: vr:: fixed raycaster not recompiling correctly on setting changes 2021-02-07 22:55:11 +01:00
Zeno Rogue
d061e57d07 VR raycaster NYI for sl2 2021-02-07 22:55:11 +01:00
Zeno Rogue
dc20dfe648 moved replace_str to util 2021-02-07 22:55:10 +01:00
Zeno Rogue
f64ada6572 ray::vr:: Nil in equidistant 2021-02-07 22:55:10 +01:00
Zeno Rogue
f9c8a458aa fixup params in vr 2021-02-07 22:55:10 +01:00
Zeno Rogue
cb4c18ee94 ray::vr:: equidistant pseudo-ray in product 2021-02-01 21:26:25 +01:00
Zeno Rogue
b28270959d ray:: fixed in VR-less compile 2021-02-01 11:21:51 +01:00
Zeno Rogue
b40fc679af renamed addparamsaver to param_type 2021-02-01 01:45:10 +01:00
Zeno Rogue
7d5fb11c26 removed param list, changed addsaver to addparamsaver 2021-01-31 18:34:54 +01:00
Zeno Rogue
9e9d136c60 ray:: was disabled in VR-less builds 2021-01-31 15:28:14 +01:00
Zeno Rogue
a76ef1e8da raycasting in VR equidistant, for isotropic geometries 2021-01-31 15:27:58 +01:00
Zeno Rogue
e4e1a856e6 replace vrhr::state checking with nicer functions 2020-12-31 19:11:14 +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
926ca2808a vr:: works with raycasting 2020-12-26 21:13:32 +01:00
Zeno Rogue
f41414a705 ray:: projection is now set via matrix, instead of via five values 2020-12-26 21:12:34 +01:00
Zeno Rogue
0de8ce9a10 initial implementation of VR 2020-11-22 17:58:40 +01:00