Commit Graph

5798 Commits (65541e2e17049ac73044f11565764f3a2c0def3a)

Author SHA1 Message Date
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
Hleb Valoshka f67b331f02 Show error if an incorrect URL passed to CelestiaCore::goToUrl 2020-03-07 15:40:39 +03:00
Hleb Valoshka 154c06e0a7 Fix failure if an incorrect URL is pasted
Closes: #637

+ small code cleanup
2020-03-07 15:40:39 +03:00
Hleb Valoshka 815c0e46a4 Initial unit tests implementation 2020-03-07 11:05:35 +03:00
Hleb Valoshka b9a4516534 Move test data and scripts to test directory 2020-03-07 11:05:35 +03:00
SevenSpheres 8efb8a2204 Add newlines in solarsys.cpp 2020-03-07 11:04:35 +03:00
pirogronian e8d0e4d1d7 Move blockarray to celutil 2020-03-06 20:47:42 +01:00
pirogronian 035aa30ae5 Replace generic catalog type and related minor polishing. 2020-03-06 18:11:53 +01:00
pirogronian 1ebc427f41 Transform CatEntry into AstroObject with minimal common indexing rountines. 2020-03-06 18:11:53 +01:00
Hleb Valoshka 377d620d5b Extract FramebufferObject to its own file 2020-03-04 19:52:55 +03:00
Hleb Valoshka 6eaa915873 Don't abort if starnames.dat has not been loaded
Closes: #625
2020-03-04 19:52:28 +03:00
Hleb Valoshka 50f15ff5cd [debian] Fix git commit passed to cmake 2020-03-04 19:52:11 +03:00
Hleb Valoshka 9e433e6cd8 Build configuration cleanup 2020-03-03 20:04:55 +03:00
Li Linfeng c5d1f58528 Natural sort based on numeric values in QT 2020-03-01 18:19:06 +08:00
Li Linfeng b2e54e77b3 Fix a bug where shader might not compile
it's discovered while using gl4es shim, the operands should be of the same value type
2020-03-01 17:37:18 +08:00
Li Linfeng fef8d5f153 Update .travis.yml 2020-03-01 17:09:55 +08:00
Hleb Valoshka ec076eb582 [win32] remove uneeded menu separators 2020-02-20 18:44:58 +03:00
Hleb Valoshka f8831d4d2e Common OpenGL information code
Closes: #609
2020-02-18 15:13:06 +03:00
Hleb Valoshka fe35e8e2bd Use Color::parse in AssociativeArray::getColor 2020-02-17 19:52:44 +03:00
Hleb Valoshka 3604152867 Make Color constructors constexpr 2020-02-17 19:52:44 +03:00