Commit Graph

5796 Commits (master)

Author SHA1 Message Date
Hleb Valoshka 667577983c Provide clamp only for C++ < 17 2019-11-28 14:36:19 +03:00
Hleb Valoshka 5d4b23f241 Use shaders in sky grid drawing 2019-11-25 15:11:37 +03:00
Hleb Valoshka 8005ac1577 Add shaders for planetographic grid 2019-11-25 10:51:02 +03:00
Hleb Valoshka 7025800e98 Fix typo 2019-11-25 10:50:46 +03:00
Hleb Valoshka 39eb715f98 Reimplement galaxies using shaders 2019-11-25 10:50:46 +03:00
Li Linfeng 02bcf41173 do not use wordexp on unsupported systems 2019-11-22 21:16:19 +08:00
Li Linfeng 741f326eb4 Update .travis.yml 2019-11-22 19:11:33 +08:00
Hleb Valoshka 6f6b3998d3 Use getAspectRatio() where appropriate 2019-11-21 11:50:13 +03:00
Hleb Valoshka 72e6d5bb05 Replace gluOrtho2D with own implementation 2019-11-21 11:50:13 +03:00
Hleb Valoshka bf2f4cb236 Replace gluPerspective with own implementation 2019-11-21 11:50:13 +03:00
Hleb Valoshka 6b954fd7af Replace gluProject with own implementation 2019-11-21 11:50:13 +03:00
SevenSpheres 32ce75e858 Increase star render distance to 1 Gly 2019-11-21 09:01:56 +08:00
Hleb Valoshka 48824889fa Partially revert "Remove fixed pipeline calls in glsl-based code"
Without this chunk garbage is shown on screen when rendering models

This reverts commit e363e9102f.
2019-11-20 17:14:34 +03:00
Hleb Valoshka 682aef8422 Initial implementation for TrueType fonts support 2019-11-20 12:16:15 +03:00
Hleb Valoshka 6e871064e4 Replace deprecated QDesktop::numScreens() call 2019-11-20 12:15:27 +03:00
Li Linfeng c7432f10b2 remove redundant lookat 2019-11-17 20:43:26 +08:00
SevenSpheres 11c7374d17 Remove old redundant models 2019-11-16 12:10:11 +03:00
Hleb Valoshka 6be3afb1e6 Move glut frontend to its own subdir 2019-11-15 21:53:57 +03:00
Hleb Valoshka fbd83e5587 Use shaders to draw orbits 2019-11-15 11:10:21 +03:00
Hleb Valoshka 5af66f9ab2 Reimplement comets using glsl (part I)
TODO: 1) use VertexObject 2) possibly offload more computation to GPU
2019-11-15 11:10:21 +03:00
Hleb Valoshka 702531879c Port particles renderer to use shaders (without VBO yet) 2019-11-15 11:10:21 +03:00
Hleb Valoshka b0ec6d6fc2 Change appveyor image to fix CI failures 2019-11-15 11:09:57 +03:00
SevenSpheres 0cfd894507 Update README.md
Fix display of Celestia logo
2019-11-12 09:20:21 +08:00
Hleb Valoshka b14f4f8b4b Tiny cleanup in renderer 2019-11-11 13:48:37 +03:00
Hleb Valoshka e363e9102f Remove fixed pipeline calls in glsl-based code 2019-11-11 13:48:37 +03:00
Hleb Valoshka 73bcba8fdb Draw unlit clouds using shaders 2019-11-11 13:48:37 +03:00
Hleb Valoshka 4d815ad44e Draw unlit ellipsoid atmosphere using shaders 2019-11-11 13:48:37 +03:00
Hleb Valoshka 54031bba8c Reimplement unlit sphere with shaders 2019-11-11 13:48:37 +03:00
Hleb Valoshka add171b6fa Fix error reporting when shader linking failed 2019-11-11 13:48:37 +03:00
Anthony-B-Russo10 02f8bff902 Added the Archive Repository 2019-11-10 10:40:48 +03:00
Hleb Valoshka b259987e95 Move ellipsoidTangent to mathlib.h 2019-11-09 15:08:03 +03:00
Hleb Valoshka fecd61fcb1 Render crosshair using glsl and common BO 2019-11-09 15:08:03 +03:00
Hleb Valoshka 3f757998f4 Draw ecliptic using glsl and common BO 2019-11-09 15:08:03 +03:00
Hleb Valoshka ae02fe2c38 Refactor selection pointer to use glsl and common BO 2019-11-09 15:08:03 +03:00
Hleb Valoshka 08907c5883 Tiny refactoring for simplify code 2019-11-09 15:08:03 +03:00
Hleb Valoshka 0d5e867219 Add Renderer::getAspectRatio() method 2019-11-09 15:08:03 +03:00
SevenSpheres 972267d69f Remove duplicate moons 2019-11-08 02:19:10 +03:00
Hleb Valoshka cf945d7b6e Show Reference Points labels (Closes: #489) 2019-11-06 12:33:52 +03:00
Hleb Valoshka 00ee0d4bcd [cmake] Update for vcpkg-provided cspice 2019-11-06 02:31:27 +03:00
Hleb Valoshka 16051ed90a [appveyor] disable cmake files dump on error 2019-11-04 15:29:07 +03:00
Hleb Valoshka 26f3a3b5a9 [appveyor] Add build artifacts 2019-11-04 15:29:07 +03:00
Hleb Valoshka 89e1b9c441 Revert "Initialize marker representations in constructor"
...because colors can be changed using celx

This reverts commit 2090a883d4.
2019-11-04 13:09:12 +03:00
Hleb Valoshka 0af14d4ca8 Add LOD for planet rings 2019-11-01 12:12:04 +03:00
Hleb Valoshka 9e9541ce1b Fix markers rendering in multiview mode (Closes: #486) 2019-10-30 09:53:11 +03:00
Hleb Valoshka 99b0acf556 Make Selection variables private again 2019-10-30 09:53:11 +03:00
Li Linfeng f8fcc4c0ae place config.h generation after mac version check 2019-10-29 21:53:28 +08:00
Li Linfeng 7f64139a53 disable c++fs prior to macOS 10.15 2019-10-29 17:44:35 +08:00
Luke McCrone f3edf65d77 Show dwarf planets and minor moons in right-click menu #459 (no pluto yet) 2019-10-28 12:18:52 +03:00
SevenSpheres f1a6af1ab5 Change dwarf planet label color 2019-10-27 12:29:39 +03:00
Hleb Valoshka 7c593f366f Fix compilation without CELX 2019-10-26 00:59:03 +03:00