1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00
Commit Graph

171 Commits

Author SHA1 Message Date
Zeno Rogue
44f359582c coolfog: also affect textures 2020-08-01 16:48:38 +02:00
Zeno Rogue
a27419cf97 cool fog effect now can be disabled 2020-08-01 16:47:21 +02:00
Zeno Rogue
7c3c34c3d8 sky-based fog in 2.5D 2020-08-01 13:59:53 +02:00
Zeno Rogue
82f32607e6 MAJOR CHANGE: replaced (transmatrix,band_shift) pair with shiftmatrix 2020-07-28 22:06:14 +02:00
Zeno Rogue
94cac21716 primitive-based rendering of the Berger sphere (very poor) 2020-07-24 23:39:30 +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
89585f004b fixed some guards (in progress) 2020-07-03 14:42:33 +02:00
Zeno Rogue
a6a0995e85 SOLV_ALL 2020-04-29 15:15:18 +02:00
Zeno Rogue
32ec5db152 stretch no longer affects text 2020-04-17 15:47:50 +02:00
Zeno Rogue
7a71132806 shaded rug 2020-04-17 15:01:55 +02:00
Zeno Rogue
0472bf764f moved all projection-related parameters to a special struct; another copy of that struct created for rug 2020-04-17 00:53:58 +02:00
Zeno Rogue
cfbd5f830c fixed some warnings and errors with ll to int assignment 2020-04-06 09:13:20 +02:00
Zeno Rogue
124ee9a467 fixed no-GL crash again 2020-03-07 04:47:11 +01:00
Zeno Rogue
5d9fdd83a8 fixed ODS; non-isotropic ODS 2020-03-07 04:47:10 +01:00
Zeno Rogue
2e5ee99570 shader:: added missing mediump 2020-01-16 17:13:57 +01:00
Zeno Rogue
2e0cf7fe53 band_shift correctly applied in shader-based band model 2019-12-27 00:49:58 +01:00
Zeno Rogue
769982040d renamed solnihv:: to sn:: and solnih to sn::in() 2019-12-14 12:28:45 +01:00
Zeno Rogue
0b385dd7f4 fixed renderer problem 2019-12-06 14:45:35 +01:00
Zeno Rogue
f3c97f9342 product:: works with Euclidean 2019-11-30 18:06:48 +01:00
Zeno Rogue
5add972bdd product:: using in_h2xe() and in_s2xe() more consistently 2019-11-30 18:06:48 +01:00
Zeno Rogue
4affb01062 fixed the clipping in Poincare Ball model 2019-11-16 01:40:49 +01:00
Zeno Rogue
3eee611eca nisot::local_perspective moved to display_data 2019-11-14 17:20:55 +01:00
Zeno Rogue
cc9e03ddb8 product:: product projections 2019-11-09 13:14:42 +01:00
Zeno Rogue
97c9673b30 fixed simple perspective in nonisotropic 2019-11-09 12:33:13 +01:00
Zeno Rogue
dac132b094 fixed Poincare ball in nonisotropic 2019-11-09 12:33:00 +01:00
Zeno Rogue
d199411248 new tiling: Arnold's cat 2019-11-08 15:01:03 +01:00
Zeno Rogue
a080be76ad added missing CAP_SOLV and CAP_TEXTURE guards 2019-11-03 14:20:24 +01:00
Zeno Rogue
3725b06d0b levellines feature 2019-11-03 13:36:06 +01:00
Zeno Rogue
d375328096 fixed S2xE and H2xE 2019-10-28 17:34:16 +01:00
Zeno Rogue
68c7514c2c clear shaders on resetGL 2019-10-26 17:02:20 +02:00
Zeno Rogue
9cc4f627cf ray:: fixed distance in Sol 2019-10-26 14:19:53 +02:00
Zeno Rogue
2f15d0f013 no more local_perspective taken into account for SF_PIXELS 2019-10-22 22:43:07 +02:00
Zeno Rogue
0e3fc3a0f9 fixed R3 shader 2019-10-22 10:52:30 +02:00
Zeno Rogue
655af58ae1 use shared_ptr consistently 2019-10-22 00:36:44 +02:00
Zeno Rogue
30eda241a8 shader fixup 2019-10-21 22:40:56 +02:00
Zeno Rogue
09fcd14aa7 redesigned shader system 2019-10-21 22:34:20 +02:00
Zeno Rogue
54a9345777 glhr:: a more efficient stringbuilder (previous version caused stack overflow in web) 2019-10-12 11:21:29 +02:00
Zeno Rogue
ec465b2afc separate shader for stretched Sol, to avoid glitches 2019-10-04 13:03:50 +02:00
Zeno Rogue
d69cb4e946 SolN manifold 2019-10-03 20:10:48 +02:00
Zeno Rogue
d6ab96f821 non-isotropic hyperbolic space 2019-10-01 05:03:46 +02:00
Zeno Rogue
a59dc8be58 fixed binocular vision (isotropic only for now) 2019-09-26 13:23:10 +02:00
Zeno Rogue
3b7e929f73 fixed yet another warning 2019-09-13 20:23:43 +02:00
Zeno Rogue
2a950369ba solv:: CAP_SOLV 2019-09-13 17:45:31 +02:00
Zeno Rogue
334ffd644a hyperweb compiles 2019-09-13 03:47:55 +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
caf838ed22 accessors created for shader uniforms 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
71669e3a14 shader debug support 2019-09-12 22:50:15 +02:00
Zeno Rogue
02269267c9 slr:: drawing of looped images, better shader in general, special sightrange setting 2019-09-12 22:50:15 +02:00
Zeno Rogue
136b931609 PSL(2,R) 2019-09-12 22:50:15 +02:00
Zeno Rogue
43a3d0130e product:: shader-side H2xE 2019-09-12 22:50:13 +02:00
Zeno Rogue
00f4f4fca5 fully turnable product spaces 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
a423dbd2da more header cleanup 2019-09-12 22:50:12 +02:00
Zeno Rogue
8ac64fc2a0 nilv:: Nil shader, and improved geodesics 2019-09-12 22:50:11 +02:00
Zeno Rogue
90aa7b5c02 solv:: removed ILP for simplicity and better performance 2019-09-12 22:50:10 +02:00
Zeno Rogue
8da3556448 added a missing definition of atanh in GLSL 2019-09-12 22:50:10 +02:00
Zeno Rogue
60778a6896 new renderer for Solv 2019-09-12 22:50:10 +02:00
Zeno Rogue
598603c937 geodesics in Sol 2019-09-12 22:50:09 +02:00
Zeno Rogue
b4e700c455 a (slow) vertices_texture implemented with CAP_VERTEXBUFFER 2019-09-12 22:50:09 +02:00
Zeno Rogue
31c99e486f CAP_NOSHADER 2019-09-12 22:50:09 +02:00
Zeno Rogue
d67316454c linewidth bugs fixed when MINIMIZE_GL_CALLS 2019-09-12 22:50:09 +02:00
Zeno Rogue
5476b33e94 fixed to work on OPENGL 1.0 2019-09-12 22:50:08 +02:00
Zeno Rogue
77bd96e6b5 switch_to_text, needed for iOS 2019-09-12 22:50:08 +02:00
Zeno Rogue
13b5223ffb fixed missing 3 to SHDIM in shaders.cpp 2019-09-12 22:50:08 +02:00
Zeno Rogue
0f98146d20 3D:: correct shift matrix in stereo mode 2019-09-12 22:50:08 +02:00
Zeno Rogue
3da305b4ca fog is now affected by the background color 2019-09-12 22:50:06 +02:00
Zeno Rogue
8eb3fa65e2 2D3D:: skies and ceilings 2019-09-12 22:50:02 +02:00
Zeno Rogue
6aeba2d906 fixed glDepthMask and thus shadows 2019-09-12 22:50:00 +02:00
Zeno Rogue
e5d6278ab1 disabled set_depthwrite since it has weird results 2019-09-12 22:50:00 +02:00
Zeno Rogue
6e2cf3d2e7 fixed glDisable -> glDepthMask 2019-09-12 22:50:00 +02:00
Zeno Rogue
740cc5fbb6 2D3D:: wall shadows 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
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
2121aacaaf 3d:: clipping configurable 2019-09-12 22:38:47 +02:00
Zeno Rogue
f399a8c980 3d:: shader acceleration in the band model 2019-09-12 22:38:47 +02:00
Zeno Rogue
ad4ecbde0e 3d:: fog in non-native models 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
5db2cfbd1a 3d:: textured walls 2019-09-12 22:38:45 +02:00
?
54f278963c renamed MAXDIM to MAXMDIM (conflict with crystal) 2019-09-12 22:38:42 +02:00
?
3c7824d51e 3d:: fixed implicit conversion warning in GLSL 2019-09-12 22:38:40 +02:00
?
fb71d4fd15 3D:: sightranges are now configurable 2019-09-12 22:38:40 +02:00
?
259e376909 3d:: four-phase drawing of sphere 2019-09-12 22:38:40 +02:00
?
1fcf58e17a 3D:: shader variants for R3 and S3 2019-09-12 22:38:40 +02:00
?
d08e58f404 3d:: 2D/3D is now selectable at runtime 2019-09-12 22:38:40 +02:00
?
0ea37718f0 shaderside projection for DIM==3 2019-09-12 22:38:39 +02:00
?
56d628d4d8 adjusting for 3D part II 2019-09-12 22:38:39 +02:00
Zeno Rogue
952f1c44fe minor fixes to color handling 2019-02-06 18:54:29 +01:00
Charlène
9cee52cf81 Fix colors for big endian architectures. 2019-02-06 18:50:36 +01:00
Zeno Rogue
8ac1cf8731 fixed some issues with commandline arguments (svg shots made correctly from cli) 2019-02-06 18:48:52 +01:00
Zeno Rogue
e25bc8e455 glhr:: shaderside projection for the half-plane model 2018-11-19 20:53:35 +01:00
Zeno Rogue
50a86d1e88 glhr:: shader-side band now ignores depth 2018-11-18 18:26:56 +01:00
Zeno Rogue
680dca90c8 shaderside projection 2018-11-18 18:26:55 +01:00
Zeno Rogue
35353fe70e faster graphics with MINIMIZE_GL_CALLS 2018-09-04 23:27:27 +02:00
Zeno Rogue
1ab460ffb1 type color_t should now be consistently used for colors; reimplemented drawqueue in OO fashion 2018-09-04 19:53:42 +02:00
Zeno Rogue
4d2f79ba95 rewritten the system to display 3D. This fixes the spherical display not working in stereo mode, and is more clean. 2018-07-22 00:39:57 +02:00