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

520 Commits

Author SHA1 Message Date
Zeno Rogue
c556c23276 more equal_weights 2020-05-01 16:41:36 +02:00
Zeno Rogue
2fb865346d generate 'printable' models or not 2020-04-15 16:21:02 +02:00
Zeno Rogue
233adddd36 moved reg3 values to cgi 2020-04-05 10:58:56 +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
c55fddbdc9 error message when polydata is incorrect 2020-03-07 04:47:10 +01:00
Zeno Rogue
45bc731a5b colored Frog Jump Legs 2020-03-07 04:47:10 +01:00
Zeno Rogue
513750a028 vector graphics of Frogs and Pikes 2020-03-07 04:47:10 +01:00
Zeno Rogue
99e64d862d shallow water graphics and mechanics 2020-03-07 04:47:09 +01:00
Zeno Rogue
5707fac1a7 new ring shape: shFrogRing 2020-03-07 04:47:09 +01:00
Zeno Rogue
e133fffd5d nilv:: nilwidth option 2020-02-13 11:09:18 +01:00
Zeno Rogue
756f4b3cd9 in hpcpush further increased error_threshold unless Euclidean 2020-01-18 17:19:58 +01:00
Zeno Rogue
1f575a4347 hpcpush: limit 10 was too small 2019-12-26 22:34:51 +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
f772f9b7fd replaced 'archimedean' with 'arcm::in()' 2019-12-14 11:57:23 +01:00
Zeno Rogue
0a9ec78c18 remplace euclid6, euclid4, 'euclid && \!archimedean && \!penrose' with standard_tiling(), euc::in(dimension, s7) 2019-12-14 11:57:23 +01:00
Zeno Rogue
e8a39e6663 replaced euclid3:: with euc:: 2019-12-08 11:01:28 +01:00
Zeno Rogue
b904fdde1e removed the difference between euclid3::coord and array<int,3> -- euclid3::coord is now array<int,3> 2019-11-30 18:06:48 +01:00
Zeno Rogue
bc2ce4f3dc alternative honeycomb in Nil 2019-11-23 20:39:38 +01:00
Zeno Rogue
d199411248 new tiling: Arnold's cat 2019-11-08 15:01:03 +01:00
Zeno Rogue
272c628229 ray:: horospherical hyperbolic honeycombs 2019-11-02 10:40:22 +01:00
Zeno Rogue
f1e31b961b ray:: product spaces 2019-10-28 17:33:17 +01:00
Zeno Rogue
41107f13d6 fixed singular matrix in raywall 2019-10-27 00:57:06 +02:00
Zeno Rogue
be9cea07b3 raytracing:: better Solv, and Nil 2019-10-23 18:52:57 +02:00
Zeno Rogue
08700803c0 wall coordinate reading 2019-10-22 12:07:38 +02:00
Zeno Rogue
31861cc45a reduced corner_bonus in 334 2019-10-12 13:16:09 +02:00
Zeno Rogue
671990731c ideal 3D honeycombs 2019-10-10 13:49:35 +02:00
Zeno Rogue
7a29d015b3 inforder:: some settings in polygons.cpp to draw procedural graphics correctly 2019-10-10 13:49:35 +02:00
Zeno Rogue
b5f6e6f3f5 inforder basics 2019-10-10 13:08:06 +02:00
Zeno Rogue
71e3bc4759 removed useless debug output 2019-10-03 20:12:53 +02:00
Zeno Rogue
d69cb4e946 SolN manifold 2019-10-03 20:10:48 +02:00
Zeno Rogue
46d127401e nih improvements 2019-10-02 19:22:43 +02:00
Zeno Rogue
d6ab96f821 non-isotropic hyperbolic space 2019-10-01 05:03:46 +02:00
Zeno Rogue
0405584e6d intester shift was interpreted as zero and did not prevent zeros 2019-09-30 02:59:50 +02:00
Zeno Rogue
978022025a geometry_information wall functions compile without MAXMDIM >= 4 2019-09-13 03:47:18 +02:00
Zeno Rogue
848eb8f48b export everything: modules compiled separately 2019-09-12 22:50:16 +02:00
Zeno Rogue
82f24b4b6c exporting necessary stuff all over (in progress) 2019-09-12 22:50:16 +02:00
Zeno Rogue
9647cbd47e added #include hyper.h to all cpp files 2019-09-12 22:50:16 +02:00
Zeno Rogue
d046211a9c better flagging of geometries, and isometry spaces nicely selectable 2019-09-12 22:50:15 +02:00
Zeno Rogue
a0140254c8 slr:: works with bitruncated tilings (Archimedean not tested) 2019-09-12 22:50:15 +02:00
Zeno Rogue
86ca34669a slr:: generalized to other regular 2019-09-12 22:50:15 +02:00
Zeno Rogue
29a54ab5d9 nilv:: simpler honeycomb 2019-09-12 22:50:15 +02:00
Zeno Rogue
1e6970ca28 hybrid:: refactored the common parts of prod and sl2, also used them when applicable 2019-09-12 22:50:15 +02:00
Zeno Rogue
136b931609 PSL(2,R) 2019-09-12 22:50:15 +02:00
Zeno Rogue
0ab4a30406 product:: backwall optimization 2019-09-12 22:50:15 +02:00
Zeno Rogue
872abace91 product:: nice ivies 2019-09-12 22:50:14 +02:00
Zeno Rogue
6705e0286c product:: correct SD3 and SD7 2019-09-12 22:50:14 +02:00
Zeno Rogue
a2919f5a9c product:: works for bitruncated tilings 2019-09-12 22:50:13 +02:00
Zeno Rogue
ebcaabf692 miniwalls generated with create_wall3d 2019-09-12 22:50:13 +02:00
Zeno Rogue
e02290ec98 product:: 'flat' wall faces 2019-09-12 22:50:13 +02:00
Zeno Rogue
fb0f5872c8 3d models in product space 2019-09-12 22:50:13 +02:00
Zeno Rogue
6958cbcbd9 product:: preliminary version (no turning) 2019-09-12 22:50:13 +02:00
Zeno Rogue
96bf478482 renamed DIM to GDIM 2019-09-12 22:50:13 +02:00
Zeno Rogue
8b1c7bffe4 initial reformatting of comments for Doxygen 2019-09-12 22:50:13 +02:00
Zeno Rogue
c131e21198 namespace hyperpoint_vec removed 2019-09-12 22:50:12 +02:00
Zeno Rogue
4d64618600 nilv:: geodesic wall surfaces 2019-09-12 22:50:12 +02:00
Zeno Rogue
4f27b12ca2 nilv:: preliminary implementation 2019-09-12 22:50:11 +02:00
Zeno Rogue
cf496e8940 kite-and-dart tiling 2019-09-12 22:50:09 +02:00
Zeno Rogue
f72da51b38 3D:: support for drawing walls on multiple types of cells 2019-09-12 22:50:09 +02:00
Zeno Rogue
24a23e477b support for weighted 3dwalls 2019-09-12 22:50:09 +02:00
Zeno Rogue
dd5d317cb3 Sol geometry 2019-09-12 22:50:09 +02:00
Zeno Rogue
2d30f3830c standard binary tiling, also improved the looks of variant binary tiling, and optimized shvid for pure 2019-09-12 22:50:09 +02:00
Zeno Rogue
adf0f36ea1 fixed a possible buffer overflow while in finishshape() 2019-09-12 22:50:07 +02:00
Zeno Rogue
7b547a6a77 fixed some shapes in 3D (like Mine Mark) 2019-09-12 22:50:06 +02:00
Zeno Rogue
5fc24ac17a a bit higher sky, and Great Walls with more elements 2019-09-12 22:50:05 +02:00
Zeno Rogue
e61930c0b1 clearing unused TriheptaSpecial shapes to fix a crash on iOS 2019-09-12 22:50:05 +02:00
Zeno Rogue
29278101ba fixed a bug with drawing Rosebushes 2019-09-12 22:50:05 +02:00
Zeno Rogue
5519252fd0 added some missing CAP_* guards 2019-09-12 22:50:04 +02:00
Zeno Rogue
638274504c fixup removed some weird stuff 2019-09-12 22:50:03 +02:00
Zeno Rogue
29c8890c01 removed some trailing spaces 2019-09-12 22:50:03 +02:00
Zeno Rogue
b6e303ec7d MAJOR refactoring: all geometry-dependent data (tessf, geom3::, shapes, hpc) are now contained in a structure 2019-09-12 22:50:03 +02:00
Zeno Rogue
599d5d63e8 2D3D:: higher ceilings in the Palace 2019-09-12 22:50:03 +02:00
Zeno Rogue
4ac7f9043b 3D:: Ratlings improved 2019-09-12 22:50:03 +02:00
Zeno Rogue
7d8f48d48b replaced some debug printfs with print hlog 2019-09-12 22:50:02 +02:00
Zeno Rogue
ae100b1e72 removed some obsolete debug printfs 2019-09-12 22:50:02 +02:00
Zeno Rogue
73a742119d 3D: Roses (items) did not appear 2019-09-12 22:50:02 +02:00
Zeno Rogue
5436265311 2D3D:: Mirror Land ceiling draws halffloors correctly 2019-09-12 22:50:02 +02:00
Zeno Rogue
f2d60f1647 sky fixup 2019-09-12 22:50:02 +02:00
Zeno Rogue
8eb3fa65e2 2D3D:: skies and ceilings 2019-09-12 22:50:02 +02:00
Zeno Rogue
fc7100bbf1 3D:: animation for all birds; fixed a crash on Butterfly drawing 2019-09-12 22:50:02 +02:00
Zeno Rogue
9221a532f9 guard against double-finishshape 2019-09-12 22:50:01 +02:00
Zeno Rogue
eca59e79fa removed debug 2019-09-12 22:50:01 +02:00
Zeno Rogue
bfb0b3f070 quicker editing of 3d models 2019-09-12 22:50:01 +02:00
Zeno Rogue
323bd659c8 reverted reverse_transparent_walls 2019-09-12 22:50:01 +02:00
Zeno Rogue
5fed2d84ee correct transparent wall ordering in S^3 [untested] 2019-09-12 22:50:01 +02:00
Zeno Rogue
0c82bb64f0 added set_depthwrite when clearing depth in spherical 2019-09-12 22:50:01 +02:00
Zeno Rogue
3e7b29a188 3D:: fixed how elliptic geometry works 2019-09-12 22:50:00 +02:00
Zeno Rogue
740cc5fbb6 2D3D:: wall shadows 2019-09-12 22:50:00 +02:00
Zeno Rogue
f88de70a79 3D:: improvements to transparency: works correctly (e.g. in 2D HoM), including models 2019-09-12 22:50:00 +02:00
Zeno Rogue
df3e21b310 debug cleanup 2019-09-12 22:50:00 +02:00
Zeno Rogue
9a21401b9c item/monster icons in 3d 2019-09-12 22:49:56 +02:00
Zeno Rogue
16c4108a8d 3d:: fixed transparent walls 2019-09-12 22:49:44 +02:00
Zeno Rogue
534663e663 3d:: using models not walls for worms 2019-09-12 22:49:41 +02:00
Zeno Rogue
73f53b93a8 3d:: correct eyes 2019-09-12 22:49:05 +02:00
Zeno Rogue
a4fdaac4ab fixup to chasmifyPoly 2019-09-12 22:43:02 +02:00
Zeno Rogue
dc036e7c7b 2d3d:: seeps display 2019-09-12 22:43:02 +02:00
Zeno Rogue
ef4d673196 2d3d:: precise halfmirrors 2019-09-12 22:43:02 +02:00
Zeno Rogue
7abbd6c07a 2d3d:: added missing normalize and memory fix to chasmifyPoly 2019-09-12 22:43:01 +02:00
Zeno Rogue
55d7678c99 2D3D:: Hall of Mirrors 2019-09-12 22:43:01 +02:00
Zeno Rogue
da49e6c8de 2d3d:: textures on sidewalls 2019-09-12 22:43:01 +02:00
Zeno Rogue
d89fb49e13 refactured 'texture_order' as a separate function 2019-09-12 22:43:01 +02:00
Zeno Rogue
5ab7249afd horopoint cleanup in 2D 2019-09-12 22:43:01 +02:00
Zeno Rogue
757a154399 2d3d:: shapes such as shFloor are now full 2019-09-12 22:43:01 +02:00
Zeno Rogue
1c4d86e0e9 3D graphics in 2D (first commit) 2019-09-12 22:43:01 +02:00
Zeno Rogue
29a170f423 fixed wrong declaration order with MINIMIZE_GL_CALLS 2019-09-12 22:43:01 +02:00
Zeno Rogue
c8e950cd40 added some missing CAP_ and MAXMDIM guards 2019-09-12 22:43:01 +02:00
Zeno Rogue
156f56feb0 fixed drawing the sphere in natural perspective 2019-09-12 22:43:00 +02:00
Zeno Rogue
6e26508a77 replaced some instances of double to ld, so that everything compiles when ld is redefined to float 2019-09-12 22:43:00 +02:00
Zeno Rogue
aefea03ce1 3d:: corner_bonus 2019-09-12 22:43:00 +02:00
Zeno Rogue
5d77c86658 scrdist_text removed 2019-09-12 22:43:00 +02:00
Zeno Rogue
5895540ae9 removed mdText as it was equivalent to mdUnchanged 2019-09-12 22:43:00 +02:00
Zeno Rogue
f65c8d5dc8 fixed crashes (?) after moving to 3D and back 2019-09-12 22:43:00 +02:00
Zeno Rogue
c19ffb3597 fixes to projection streamlining 2019-09-12 22:43:00 +02:00
Zeno Rogue
3c9e4db46e major cleanup of projection setting 2019-09-12 22:43:00 +02:00
Zeno Rogue
8b0c0f58c4 animated 3D birds 2019-09-12 22:43:00 +02:00
Zeno Rogue
596b4ce786 3d:: converting the old vector graphics into 3D models 2019-09-12 22:42:59 +02:00
Zeno Rogue
cb2e870a99 3d:: removed some unused debug messages 2019-09-12 22:42:59 +02:00
Zeno Rogue
e1227bcb6e an option for hpcshapes to contain texture information 2019-09-12 22:42:59 +02:00
Zeno Rogue
dd9f7d0275 3d:: rebalanced Asteroids, fixed shots not being displayed at their actual locations 2019-09-12 22:42:59 +02:00
Zeno Rogue
8df0a0144b 3d:: fixed the wrong texturing in hororec 2019-09-12 22:42:59 +02:00
Zeno Rogue
b88ef69f59 fixed a freeze in some Archimedean geometries 2019-09-12 22:42:59 +02:00
Zeno Rogue
8a53258361 fixed mines when more than 7 adjacent mines 2019-09-12 22:42:59 +02:00
Zeno Rogue
36b4b60d46 3d::draw:: added shading 2019-09-12 22:42:58 +02:00
Zeno Rogue
9fece7b342 renamed 'spiral' to 'spiral/ring' and added a comment 2019-09-12 22:42:58 +02:00
Zeno Rogue
55492e229b Asteroids in 3D 2019-09-12 22:42:58 +02:00
Zeno Rogue
5356eba11c Asteroids 2019-09-12 22:42:58 +02:00
Zeno Rogue
076e1f2977 3d:: fixed linewidth 2019-09-12 22:38:47 +02:00
Zeno Rogue
8ea5a618ad 3d:: clipping without OpenGL 2019-09-12 22:38:47 +02:00
Zeno Rogue
5d9518b9cf fixed orientation_yz in GL 2019-09-12 22:38:47 +02:00
Zeno Rogue
bc3e7f2e95 3d:: shader acceleration for 3D ball and 3D halfspace 2019-09-12 22:38:47 +02:00
Zeno Rogue
5116d745c4 gldraw:: offset and texture_offset are now separate 2019-09-12 22:38:47 +02:00
Zeno Rogue
46ae64e945 3d:: native perspective is now pmodel == mdPerspective, and other models work too 2019-09-12 22:38:47 +02:00
Zeno Rogue
c2fbc424e2 always use shWall3D for shPlainWall3D 2019-09-12 22:38:46 +02:00
Zeno Rogue
cb9513dd0d 3d:: horohex geometry 2019-09-12 22:38:46 +02:00
Zeno Rogue
678747ceff 3d:: horo-rec geometry 2019-09-12 22:38:45 +02:00
Zeno Rogue
5db2cfbd1a 3d:: textured walls 2019-09-12 22:38:45 +02:00
Zeno Rogue
43eb9bf0a2 fixed a glitch with a bodypart taking the whole screen in spherical geometry 2019-09-12 22:38:45 +02:00
Zeno Rogue
14ea73be06 choice of the magic sword graphics now depends on the scale; in shmup, the tip is now set automatically based on the graphics 2019-09-12 22:38:45 +02:00
Zeno Rogue
105de56857 3d:: HoroTris geometry 2019-09-12 22:38:44 +02:00
Zeno Rogue
a2c6a4e8b0 3d:: a system for drawing transparent things, with sorting being the responsibility of HR 2019-09-12 22:38:43 +02:00
Zeno Rogue
d3f17858e9 3d:: parrots and seeps now ignore depth testing 2019-09-12 22:38:43 +02:00
Zeno Rogue
53d5510697 fixed texts not appearing 2019-09-12 22:38:43 +02:00
Zeno Rogue
52ce5ac9aa 3d:: all the regular honeycombs 2019-09-12 22:38:43 +02:00
Zeno Rogue
d660531a22 3d:: more elegant euclid3::getcoord 2019-09-12 22:38:43 +02:00
Zeno Rogue
cb8e34204f two more Euclidean honeycombs; also split buildpolys into subfunctions 2019-09-12 22:38:43 +02:00
?
699109ef2a 3d:: draw:: model from triangles 2019-09-12 22:38:43 +02:00
?
33cc46e8d1 3d:: lines with priority set to SUPERLINE ignore depth testing as expected 2019-09-12 22:38:42 +02:00
?
8d83959229 if triangles are drawn, outlines are disabled 2019-09-12 22:38:42 +02:00
?
f879a2c21c draw:: z-level can now be set for each layer 2019-09-12 22:38:42 +02:00