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
Zeno Rogue
1cefbd2ffa
anim:: record animation of another content
2020-11-14 14:18:57 +01:00
Zeno Rogue
a1beb28437
ray:: better choosing whether to use multi-cell-type or single-cell-type raycaster; GMS array now starts small and grows as needed
2020-11-14 13:53:19 +01:00
Zeno Rogue
c88827c09f
panini: fix shader-primitvie cooperation
2020-11-01 21:39:18 +01:00
Zeno Rogue
6513b3a87e
Panini projection
2020-11-01 21:20:54 +01:00
Zeno Rogue
bcbe154b3a
ray:: fix matrix in h2xe
2020-10-26 12:02:24 +01:00
Zeno Rogue
8bf9b5f906
fixed EX max_iter_iso
2020-10-18 14:48:35 +02:00
Zeno Rogue
1890381c0e
ray:: changed #if to #ifdef
2020-10-18 14:38:21 +02:00
Zeno Rogue
ade824e97c
ray:: partially works in web
2020-10-15 16:37:43 +02:00
Zeno Rogue
d64c5e338c
extra guards
2020-10-15 16:33:52 +02:00
Zeno Rogue
78757f4017
ray:: fixed export of exp_decay_exp and exp_decay_poly
2020-09-21 12:04:10 +02:00
Zeno Rogue
62b85fff34
ray:: ray-step option
2020-08-23 00:11:47 +02:00
Zeno Rogue
b8b24af6ff
mstretch fixup
2020-08-23 00:11:37 +02:00
Zeno Rogue
b5924ccc5c
mstretch now works in rot spaces including SL2
2020-08-23 00:10:59 +02:00
Zeno Rogue
0926b98c83
fixed raycaster in twisted geometries; weirdly twisted spherical geometry
2020-08-08 16:08:51 +02:00
Zeno Rogue
64279e33cc
ray:: better raycaster in SL/sphere
2020-07-28 22:06:14 +02:00
Zeno Rogue
fbe0df9814
ray:: in berger sphere can be disabled
2020-07-28 22:06:14 +02:00
Zeno Rogue
922e289b14
do not request shader in rotspace -- not that good
2020-07-28 22:06:14 +02:00
Zeno Rogue
82f32607e6
MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix
2020-07-28 22:06:14 +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
7bed07e7b4
ray:: volumetric cheat prevention
2020-07-12 21:39:34 +02:00
Zeno Rogue
65dd868cb7
ray:: volumetric improvements
2020-07-08 12:43:30 +02:00
Zeno Rogue
17e056cdb4
ray:: volumetric raycasting
2020-07-07 22:16:38 +02:00
Zeno Rogue
7d874890ac
ray:: extra options, fixes
2020-07-03 15:39:35 +02:00
Zeno Rogue
dc0ec050af
ray:: get_ms function
2020-07-03 15:39:24 +02:00
Zeno Rogue
244ba53b95
ray:: fix a bug
2020-06-03 17:40:16 +02:00
Zeno Rogue
1ac116909f
ray:: special case for WDIM==2 triangles
2020-06-03 16:43:11 +02:00
Zeno Rogue
511eef0517
ray:: fixed a glitch on movement
2020-06-03 15:44:34 +02:00
Zeno Rogue
6ad9d520db
reset raycaster if wo>=rays
2020-06-03 15:13:30 +02:00
Zeno Rogue
2a0b0101fd
raycasting in 2D
2020-06-03 15:11:20 +02:00
Zeno Rogue
dfa01c8fe5
fixed the raycaster in Nil
2020-05-31 03:31:05 +02:00
Zeno Rogue
98b1e659a5
hyperbolic raycast: fix the matrices
2020-05-28 13:44:32 +02:00
Zeno Rogue
6a19ec2a85
ray:: increased gms_limit, and added CLI option -ray-hard
2020-05-28 01:50:53 +02:00
Zeno Rogue
4217c7ccc7
reg3:: ultra-mirrors
2020-05-28 01:50:00 +02:00
Zeno Rogue
0cb4914ac9
fixed a bug in gl_FragDepth computation in raycaster
2020-05-16 11:16:24 +02:00
Zeno Rogue
823fb3a0e6
warning when honeycomb too complex
2020-05-16 10:56:11 +02:00
Zeno Rogue
3f20ba9d29
getCdata and getBits: prod -> hybri
2020-05-15 18:31:32 +02:00
Zeno Rogue
1b96658a05
fake curvature
2020-05-15 11:46:26 +02:00
Zeno Rogue
c35705cc5c
fixed hybrid bitruncated ray: works after clear map
2020-05-09 18:32:16 +02:00
Zeno Rogue
306d8c3ace
added function to_glsl to convert ld to GLSL strings
2020-05-09 18:30:36 +02:00
Zeno Rogue
fd9ea8793e
stretch:: renamed rots_twist to stretch, also implemented for slr
2020-05-09 10:41:15 +02:00
Zeno Rogue
a4d3ebb06d
ray:: CLI options -ray-range and -ray-sol
2020-05-08 21:20:33 +02:00
Zeno Rogue
54804bc08b
stretched spherical geometry
2020-05-08 21:18:47 +02:00
Zeno Rogue
02de6fa330
ray:: bitruncated product
2020-05-08 21:14:31 +02:00
Zeno Rogue
6f6586b3f2
Merge branch 'master' into hooks-naming
2020-04-19 13:39:07 +02:00
Arthur O'Dwyer
0d42168139
Make hookset<T> a pointer type, just like purehookset.
...
No more declaring `hookset<T> *hooks_foo`; now it's just
`hookset<T> hooks_foo` at global scope. This clears the way to
make `hookset<T>` into a class type if we want.
2020-04-12 10:50:18 -04:00
Zeno Rogue
71513369ea
RK4 in raycaster
2020-04-12 00:40:15 +02:00
Zeno Rogue
46655ac4b5
ray:: removed unused uTest
2020-03-29 17:36:44 +02:00
Zeno Rogue
76e6dc2002
utilities to create geometry raytracers which use only HyperRogue's control scheme
2020-03-29 17:35:42 +02:00
Zeno Rogue
14cc3652de
brief fixup
2020-03-27 21:49:20 +01:00
Zeno Rogue
0412f077e6
added/fixed some \brief descriptions
2020-03-27 21:47:09 +01:00
Arthur O'Dwyer
a0da10b408
Remove extraneous semicolons to quiet pedantic GCC warnings.
2020-03-23 14:38:57 -04:00
Zeno Rogue
64c63b7899
CAP_RAY
2020-03-21 10:49:07 +01:00
Zeno Rogue
759fed36f9
raycaster: correct centering
2020-02-07 19:13:18 +01:00
Zeno Rogue
9d12289933
ray:: unsuccessful attempt to adjust the raycaster to web
2020-01-16 17:13:57 +01:00
Zeno Rogue
769982040d
renamed solnihv:: to sn:: and solnih to sn::in()
2019-12-14 12:28:45 +01:00
Zeno Rogue
8cfc5a578f
renamed penrose.cpp to kite.cpp and 'penrose' to 'kite::in()'
2019-12-14 12:12:24 +01:00
Zeno Rogue
d5c8aebf16
renamed binary:: to bt:: and binarytiling to bt::in()
2019-12-14 12:05:01 +01:00
Zeno Rogue
e092690448
subtler default out-of-range color in raycasting
2019-12-06 14:14:27 +01:00
Zeno Rogue
1a6516196f
subtler default out-of-range color
2019-12-06 14:09:03 +01:00
Zeno Rogue
fedfb5dd20
product turn-space: raycasting
2019-11-30 18:06:48 +01:00
Zeno Rogue
8489b03814
ray:: e2xe
2019-11-30 18:06:48 +01:00
Zeno Rogue
622b683e33
drawcell parameter is now cell, not cellwalker (need to check half-elliptic)
2019-11-30 18:04:54 +01:00
Zeno Rogue
cba7782e64
ray:: fixed guards
2019-11-23 23:51:52 +01:00
Zeno Rogue
bc2ce4f3dc
alternative honeycomb in Nil
2019-11-23 20:39:38 +01:00
Zeno Rogue
928e369977
ray:: stereo modes
2019-11-16 03:04:01 +01:00
Zeno Rogue
c021e74ba0
ray:: save configuration
2019-11-16 01:40:14 +01:00
Zeno Rogue
dca98d5879
ray:: mediump
2019-11-14 21:21:17 +01:00
Zeno Rogue
012d833f50
removed the tohex parameter
2019-11-14 19:33:55 +01:00
Zeno Rogue
3eee611eca
nisot::local_perspective moved to display_data
2019-11-14 17:20:55 +01:00
Zeno Rogue
109dd9823c
simplified ddspin/iddspin/cellgfxdist, replaced cellrelmatrix with adj/iadj
2019-11-14 00:27:59 +01:00
Zeno Rogue
ef9e2236ba
viewctr is no more... major reduction of redundancy/complexity
2019-11-14 00:26:50 +01:00
Zeno Rogue
cbc4cff5bc
asonov:: mirrors in ray
2019-11-09 12:12:16 +01:00
Zeno Rogue
e6be9231c9
noGUI taken into account in more places
2019-11-09 11:18:52 +01:00
Zeno Rogue
6dd47c903d
nilv:: works with small periods
2019-11-08 15:42:31 +01:00
Zeno Rogue
f7fc9d7d5d
asonov:: works even with small periods
2019-11-08 15:35:23 +01:00
Zeno Rogue
add037d4e8
asonov:: changed direct checking of gArnoldCat to asonov::in()
2019-11-08 15:34:51 +01:00
Zeno Rogue
d199411248
new tiling: Arnold's cat
2019-11-08 15:01:03 +01:00
Zeno Rogue
2cf540cfbc
ray:: fixed left/arrow keys doing nothing when editing exp range
2019-11-08 15:00:09 +01:00
Zeno Rogue
97d4e45996
ray:: fixing the vectors (commented off)
2019-11-08 14:59:44 +01:00
Zeno Rogue
effe35dd34
ray:: hard limit
2019-11-08 14:59:19 +01:00
Zeno Rogue
45d74296b3
exporting *_current()
2019-11-08 14:58:46 +01:00
Zeno Rogue
a080be76ad
added missing CAP_SOLV and CAP_TEXTURE guards
2019-11-03 14:20:24 +01:00
Zeno Rogue
43bf7c5cfe
fixed MAXMDIM guards
2019-11-03 14:19:11 +01:00
Zeno Rogue
7a70fc717d
ray:: well-defined bounds in for loops in shaders
2019-11-03 13:36:40 +01:00
Zeno Rogue
3725b06d0b
levellines feature
2019-11-03 13:36:06 +01:00
Zeno Rogue
8d10336c63
ray:: disabled in texture
2019-11-03 11:00:47 +01:00
Zeno Rogue
c25de99e10
ray:: color_out_of_range configurable via CLI
2019-11-02 22:31:50 +01:00
Zeno Rogue
9ff70d568c
ray:: NIH geometries
2019-11-02 11:51:44 +01:00
Zeno Rogue
add21e134a
ray:: do not create through walls
2019-11-02 10:41:42 +01:00
Zeno Rogue
272c628229
ray:: horospherical hyperbolic honeycombs
2019-11-02 10:40:22 +01:00
Zeno Rogue
2002845f8a
option -ray-comp
2019-10-28 17:33:54 +01:00
Zeno Rogue
f1e31b961b
ray:: product spaces
2019-10-28 17:33:17 +01:00
Zeno Rogue
ebba7a2a82
ray:: configurable reflective walls
2019-10-27 02:23:20 +02:00
Zeno Rogue
a766abdff7
ray:: auto-entered sizes of uWall* uniforms
2019-10-27 00:58:02 +02:00
Zeno Rogue
79cbebf22f
ray:: reduced default max_cells
2019-10-26 18:25:14 +02:00
Zeno Rogue
fde37d56a9
ray:: replace GL_RGBA32F with actual value
2019-10-26 17:03:29 +02:00
Zeno Rogue
4df677f22f
ray:: reset raycaster on geometry change
2019-10-26 17:03:10 +02:00
Zeno Rogue
68c7514c2c
clear shaders on resetGL
2019-10-26 17:02:20 +02:00
Zeno Rogue
2645eae237
ray:: rudimentary comments
2019-10-26 15:42:38 +02:00
Zeno Rogue
5f9970fce2
raycasting takes fog into account
2019-10-26 15:33:57 +02:00
Zeno Rogue
6d38362bbc
ray:: take cview() into account
2019-10-26 14:17:50 +02:00
Zeno Rogue
45639c557b
fixup debug removed
2019-10-26 14:17:22 +02:00
Zeno Rogue
3c4fe13fac
ray:: set depth to match primitive-based shader
2019-10-26 14:11:44 +02:00
Zeno Rogue
852c45e429
ray:: trailing space
2019-10-26 10:55:35 +02:00
Zeno Rogue
deb98cba7f
ray:: reflective walls (turned off)
2019-10-26 10:55:19 +02:00
Zeno Rogue
ee06fdc326
ray:: removed extra #define PI
2019-10-26 10:54:59 +02:00
Zeno Rogue
df48abe6b1
ray:: transparent walls
2019-10-26 10:54:26 +02:00
Zeno Rogue
f044544c24
ray:: texture mapping
2019-10-26 10:32:44 +02:00
Zeno Rogue
368fbcbf72
ray:: replaced uniform uN with a constant
2019-10-26 09:25:55 +02:00
Zeno Rogue
74ff8c7192
ray:: use get_darkval
2019-10-26 09:14:38 +02:00
Zeno Rogue
8560f2322c
ray:: minstep and maxstep configurable
2019-10-26 00:43:15 +02:00
Zeno Rogue
5c335fb281
ray:: no render past walls in racing
2019-10-26 00:27:31 +02:00
Zeno Rogue
1f1b04bf93
out-of-range color configurable
2019-10-26 00:17:58 +02:00
Zeno Rogue
5c884dbfc1
ray:: CLI options
2019-10-26 00:12:40 +02:00
Zeno Rogue
fc9e2391dc
ray:: max cells and rays_generate configurable
2019-10-26 00:12:30 +02:00
Zeno Rogue
7879a4abe1
ray:: two-dimensional cell lists
2019-10-26 00:01:12 +02:00
Zeno Rogue
e0f243b11c
ray:: fixed order
2019-10-25 23:24:31 +02:00
Zeno Rogue
fcebfdbcf3
number of iterations configurable
2019-10-25 15:18:31 +02:00
Zeno Rogue
4e8e904ae2
compressed the uniform array uM
2019-10-25 15:11:44 +02:00
Zeno Rogue
8e5cf373cf
ray:: range configurable
2019-10-25 15:05:17 +02:00
Zeno Rogue
bd7805e68d
ray:: namespace and basic configurator
2019-10-25 14:50:48 +02:00
Zeno Rogue
85a08d205d
refactored celldraw
2019-10-25 12:44:41 +02:00
Zeno Rogue
8337a83568
raycasting::: ray_comparison_mode
2019-10-23 23:10:50 +02:00