Commit Graph

5867 Commits (fix/revert-distance-display)

Author SHA1 Message Date
Hleb Valoshka 6b8e3c864a Move eclipsed star exposure correction to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka dfd315ecc7 Move renderList culling to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka b30e12cb87 Move magnitude correction inside atmosphere to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka f8324ecd93 Move near systems lists building to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka 4d13a302b6 Move DSORenderer to its own files 2020-04-24 09:54:19 +03:00
Hleb Valoshka 47b123b183 Optimize annotations rendering using a precomputed projection matrix 2020-04-24 09:54:19 +03:00
Hleb Valoshka c09672bab3 Decrease annotations jittering 2020-04-24 09:54:19 +03:00
Hleb Valoshka 9f371f457b Refactor annotations rendering 2020-04-24 09:54:19 +03:00
Hleb Valoshka f32e8af444 Refactor markers and selection cursor rendering 2020-04-24 09:54:19 +03:00
Hleb Valoshka 53fee32967 Make AtmosphereExtinctionThreshold float constexpr 2020-04-24 09:54:19 +03:00
Hleb Valoshka 4b6062838b Cleanup renderFlags definitions 2020-04-24 09:54:19 +03:00
Hleb Valoshka 97a2ae6330 GL_QUAD_STRIP -> GL_TRIANGLE_STRIP 2020-04-24 09:54:19 +03:00
Hleb Valoshka a7776ccfff Remove polygon mode modification in comet rendering code 2020-04-24 09:54:19 +03:00
Hleb Valoshka d510b2bf6d More methods to work with Color 2020-04-24 09:54:19 +03:00
Hleb Valoshka 21754e0946 Add "_deg" literal
Instead of degToRad(60.0) we can use 60.0_deg
2020-04-24 09:54:19 +03:00
Hleb Valoshka 5c4f6aae87 Update information shown in "OpenGL Info" window 2020-04-19 20:40:28 +03:00
Hleb Valoshka 91131a29cb Remove CustomTemplate from Globulars
Closes: #697
2020-04-14 21:17:45 +03:00
Hleb Valoshka 72bf923741 Better handle libintl dependencies 2020-04-13 09:38:48 +03:00
Hleb Valoshka 91c3e618c2 [travis] pin fmt version 6.1.2 to workaroud build failure
See https://github.com/fmtlib/fmt/issues/1631 for more information.
2020-04-13 13:39:28 +08:00
Levin Li 65541e2e17 Update AUTHORS 2020-04-11 22:03:43 +08:00
Levin Li c6a1b75dcf Update INSTALL.md, rules, CMakeLists.txt 2020-04-11 22:03:24 +08:00
Hleb Valoshka b17d70bcb4 Use glVertexPointer instead of glVertexAttribPointer(0) 2020-04-10 12:22:28 +03:00
Hleb Valoshka 7e5965d437 Remove vsync support
# X11 only
# Basically useless with double buffering
2020-04-10 12:22:28 +03:00
Hleb Valoshka 40d77e41af Another cleanup session in render.cpp
... those things were used in old render paths only
2020-04-10 12:22:28 +03:00
Hleb Valoshka 25c4b50ddf Show planet ring by default 2020-04-10 12:22:28 +03:00
Hleb Valoshka ec1e81e6be Update .gitignore 2020-04-10 12:22:28 +03:00
Hleb Valoshka ef74883114 Set ios::binary for xyzvbin files 2020-04-09 13:43:52 +03:00
Hleb Valoshka 359ee75e81 Remove unused deprecated parameter 2020-04-06 20:30:46 +03:00
Hleb Valoshka 3599f14e12 Restore support for BlendTexture property
Closes: #602
2020-04-06 20:30:46 +03:00
Hleb Valoshka 845c1a5454 Fix keys compare in ShaderManager 2020-04-06 20:30:46 +03:00
Hleb Valoshka 96feeceae4 Add RingRenderData to hide implementation specific data 2020-04-05 13:21:50 +03:00
Hleb Valoshka 64ac62d06d Remove const and inline attribures in Overlay 2020-04-05 13:21:50 +03:00
Hleb Valoshka e5d54df6bb Initial implementation of self shadowing
Known bugs and limitations:
  * Only the 1st light source casts shadows.
  * Thin objects have incorrect shadows, see ISS.
2020-04-03 11:31:09 +03:00
SevenSpheres 9413154ec5 Update author list 2020-04-01 11:19:23 +03:00
Hleb Valoshka 1ca9db3212 Fix some warnings reported by msvc
1) warning C4390: ';': empty controlled statement found; is this the intent?
2) warning C4305: 'argument': truncation from 'double' to 'float'
2020-03-29 17:58:49 +03:00
Hleb Valoshka 04c187d776 [qt] Don't use deprecated Qt features 2020-03-29 17:58:49 +03:00
Hleb Valoshka a325973907 Install data files from git submodule 2020-03-29 09:12:13 +03:00
Hleb Valoshka aa03364c90 [cmake] don't install data files 2020-03-29 09:12:13 +03:00
Hleb Valoshka e336d452fa deb: remove celestia-data package 2020-03-29 09:12:13 +03:00
Hleb Valoshka 8bb74a6ef3 [win32] Fix possible failure if config was not read 2020-03-26 11:24:56 +03:00
Hleb Valoshka bd7f9ebc9b Use libepoxy instead of GLEW
Unlike GLEW libepoxy supports OpenGL ES and better handles cases with
functions provided by different extensions, e.g. the same functions
provided by vendor/EXT/ARB/core.
2020-03-26 11:24:56 +03:00
Hleb Valoshka 15bf42104a Use core/FBO function to generate mipmaps instead of glu 2020-03-23 09:27:10 +03:00
munix9 b83fc8a037 Update openSUSE/AppImage infos 2020-03-21 17:31:36 +03:00
munix9 846e0270d7 Enable TTF support for Debian/Ubuntu builds 2020-03-21 17:10:57 +03:00
Hleb Valoshka 31b98ec657 Add DejaVu fonts and use them by default 2020-03-21 13:21:03 +03:00
Hleb Valoshka b26777dc8c Compute shader variables inside main
Fixes shader compilation with gl4es translation layer
2020-03-17 12:24:01 +03:00
Hleb Valoshka df508a0c59 Make global/static VO class instances again
Closes: #659
2020-03-16 19:31:25 +03:00
pirogronian f75f86436a Use find method in lua getstar and getdso. 2020-03-13 12:43:16 +01:00
Hleb Valoshka 91c09087f6 Use GL3/GLES compatible particle rendering
Closes: #549
2020-03-11 01:20:17 +03:00
Hleb Valoshka 643c705357 Fix VertexObject destruction 2020-03-07 15:40:39 +03:00