Commit Graph

5720 Commits (2cd95ac2e7b5a0071b1d2f845b2cbc4440dd4fc2)

Author SHA1 Message Date
SevenSpheres 2cd95ac2e7 Update temperatures for cool stars 2019-12-16 19:11:22 +03:00
Hleb Valoshka 705c383b9f Fix VBO data type
GL_DYNAMIC_DRAW == update occasionally
GL_STREAM_DRAW == update on every draw
2019-12-13 20:31:17 +03:00
Hleb Valoshka ad2de6b6a5 [tools,qt] Replace deprecated Qt methods 2019-12-06 10:55:14 +03:00
Hleb Valoshka bcced3c103 [win32] Use ASCII function version explicitly 2019-12-06 10:55:14 +03:00
Hleb Valoshka 754d149b3a Fix includes in bigfix.cpp 2019-12-06 10:55:14 +03:00
Hleb Valoshka 7b592b4eda Remove copy constructor & operator= in LuaHook
Because of member of std::unique_ptr type LuaHook can't be copied
2019-12-06 10:55:14 +03:00
Hleb Valoshka cb6162f4aa Move markerVO from Renderer to glmarker.cpp
As it's a common static buffer
2019-12-06 10:55:14 +03:00
Hleb Valoshka f8a4d69491 Remove dead code from renderer 2019-12-06 10:55:14 +03:00
Hleb Valoshka bb1f3aefe5 Add support for body mass units (Closes: #513) 2019-12-05 11:37:45 +03:00
Hleb Valoshka 99c3e50a18 Fix distance display for m and km units 2019-12-05 11:37:45 +03:00
Hleb Valoshka 971d203ecc Fix copy-paste error 2019-12-05 11:37:45 +03:00
Hleb Valoshka 32eaa68d0a Remove fixed pipeline calls 2019-12-05 11:37:33 +03:00
LukeCEL 18856700a9 Overhaul of nearstars.stc
Changes include:
- Updated distances for most stars, mostly Gaia DR2
- Updated parameters, generally from SIMBAD or individual sources
- New orbital elements for many star systems
- Includes spectral type Y, not included in Celestia 1.6.1
- Changed Gliese/GJ naming scheme: 1 to 999 is Gliese; 1000 above is GJ
- Removed star systems that are known to not be within 25 ly
- Removed remaining textures
The file still retains the overall structure, as well as part of the heading.
2019-12-04 10:43:22 +03:00
Hleb Valoshka 3e133ba119 Refactor boundaries rendering to have common and rendering parts 2019-12-04 10:42:10 +03:00
Hleb Valoshka c21934aee3 Refactor asterisms rendering to have common and rendering parts 2019-12-04 10:42:10 +03:00
Hleb Valoshka 8778c07ccb Refactor render.cpp and extract some classes to own files 2019-12-03 12:13:34 +03:00
SevenSpheres 7f052a65e4 Delete NEWS 2019-12-02 17:54:46 +08:00
Hleb Valoshka e4e1a0ddc5 Remove deprecated C++ features
std::unary_function & std::binary_function were deprecated in C++11
and removed in C++17
2019-11-30 22:45:25 +03:00
Li Linfeng 7a5f9161d6 Update INSTALL 2019-11-29 16:34:35 +08:00
Hleb Valoshka 539f80367f Use shaders to draw object as point (dumb version) 2019-11-28 17:04:36 +03:00
Hleb Valoshka a4af9e3e05 Use shaders to draw star as point 2019-11-28 14:37:27 +03:00
Paolo Pantò f8c254c634 [qt] Process event sent before the event loop started 2019-11-28 14:37:05 +03:00
Hleb Valoshka af83ddae7f [support,win] Build with TTF support 2019-11-28 14:36:49 +03:00
Hleb Valoshka 34882294ab Update appveyor.yaml
* use vcpkg provided cspice
 * fix build with TTF
 * don't upload artifacts to bintray (doesn't work and useless as appveyor
   host them itself)
2019-11-28 14:36:49 +03:00
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