pirogronian
e8600c6d9a
Remove bottom size limit of eclipsing satelites.
2018-11-15 17:23:07 +01:00
Hleb Valoshka
b4ccb15c93
Add 4 custom location feature
2018-11-13 20:02:56 +01:00
Hleb Valoshka
e92af93d08
Implement CEL/CELX methods to change texture of planet rings ( Closes : #48 )
2018-11-13 20:01:51 +01:00
Hleb Valoshka
0bfece85c2
[Qt] Add controls to toggle planet's rings
2018-11-13 19:59:17 +01:00
Hleb Valoshka
e40b9549a7
Allow to disable and enable planet rings ( Closes : #47 )
2018-11-13 19:59:17 +01:00
Hleb Valoshka
2e654e451b
Don't render corona for T5-T9 and Y class stars
2018-11-13 19:55:07 +01:00
Hleb Valoshka
52683be09b
Add StellarClass helpers for StarDB Ver. 0x0200
...
Due to emerge of Spectral_Y
2018-11-13 19:55:07 +01:00
Hleb Valoshka
e094e6876e
Simplify StellarClass::str()
2018-11-13 19:55:07 +01:00
Hleb Valoshka
7e1fb92933
Add Brown Dwarf spectral class Y ( Closes : #43 )
2018-11-13 19:55:07 +01:00
Hleb Valoshka
24117cf609
Update bolometric correction and temperature for T class
2018-11-13 19:55:07 +01:00
pirogronian
8d5b729b52
Direct manual control over frame rate. Useful on weaker machines.
2018-11-09 15:21:39 +01:00
Hleb Valoshka
83d2799c0b
Draw asterisms using VBO
2018-11-09 11:14:24 +03:00
Hleb Valoshka
c2205c7f77
Implement AsterismList class with render() method
2018-11-09 11:14:24 +03:00
Hleb Valoshka
8564fa16e7
Make asterism.cpp more C++11-like
2018-11-09 11:14:24 +03:00
Hleb Valoshka
ddd95f6911
Re-implement some annotations using addAnnotation
2018-11-08 23:43:13 +03:00
Hleb Valoshka
e73e366828
Cleanup renderer, no functional changes
2018-11-08 23:43:13 +03:00
Hleb Valoshka
9069df6c6b
Move asterisms and boundaries drawing from Renderer::draw()
2018-11-08 23:43:13 +03:00
Hleb Valoshka
fe40034189
Add helper methods to enable/disable smooth lines
2018-11-08 23:43:13 +03:00
Hleb Valoshka
7bb6ba543a
[Qt] Fix inverted logic of "Latin Names" checkbox
2018-11-08 12:39:16 +03:00
Hleb Valoshka
e66c98189b
Don't include deleted header
2018-11-08 12:38:54 +03:00
Hleb Valoshka
3c04587e3f
Add missing location feature saxum
2018-11-08 12:38:54 +03:00
Hleb Valoshka
d31b4289d5
Add new location features to core, make them 64bit ( Closes : #32 )
2018-11-08 11:07:07 +03:00
Hleb Valoshka
9eec07a589
Sort locations
2018-11-08 11:07:07 +03:00
Hleb Valoshka
e0c1585263
Make work with constellations more C++-like
2018-11-08 11:06:17 +03:00
Hleb Valoshka
9d5c914e4b
Don't use localtime_r on Windows
...
That code was not tested actually.
On windows struct tm doesn't have localtime_r and tm_zone
2018-11-08 11:06:17 +03:00
Hleb Valoshka
d7839beaf2
Fixing nonstandard types found by mingw-w64-i686
2018-11-08 11:06:17 +03:00
Hleb Valoshka
02e920d703
Fix some QString -> std::string conversions
2018-11-08 11:06:17 +03:00
Hleb Valoshka
898c89cb16
Fix preprocessor usage, make code cleareer
2018-11-08 11:06:17 +03:00
Hleb Valoshka
49c34587a3
Fix incorrect replacement in tools/cmod
2018-11-08 11:06:17 +03:00
Hleb Valoshka
1e80930a6d
Use Eigen::Vector*::Unit*() and Eigen::Vector*::Zero() here and there
2018-11-08 11:06:17 +03:00
Hleb Valoshka
5e41e38a8a
[qt] Add menu to toggle VSync
2018-10-31 22:33:12 +03:00
Hleb Valoshka
b4a8279b40
[qt] Set missing dialog titles
2018-10-31 22:33:12 +03:00
Hleb Valoshka
334c6e76f7
[qt] Change InfoPanel data when selection is changed in a *Browser
2018-10-31 22:33:12 +03:00
Hleb Valoshka
8c613c67f5
[qt] Use QString::fromStdString instead of QString::fromUtf8(s.c_str())
2018-10-31 22:33:12 +03:00
Hleb Valoshka
253aaa4985
[qt] Make InfoPanel more L10n friendly
2018-10-31 22:33:12 +03:00
Hleb Valoshka
f11f6133d2
[qt] Fix SolarSystem browser
...
* Fix navigation (SolarSystemTreeModel::sibling())
* Fix ModelTester (SolarSystemTreeModel::flags())
* Style fixes
2018-10-31 22:33:12 +03:00
Hleb Valoshka
f701d4d86e
[qt] Fix numbers output in Celestial & DSO browsers
...
* set precision to 3 for distance in CelBrowser
* set precision to 6 for distance in DSOBrowser
* use locale-defined way to display numbers
2018-10-31 22:33:12 +03:00
Hleb Valoshka
eab70c96cb
Fix more coverity issues
...
Mostly uninitialized variables plus one memory leak
2018-10-30 23:52:19 +03:00
Hleb Valoshka
062bf69397
Use C++11 static_assert
2018-10-30 23:52:19 +03:00
Hleb Valoshka
bd409c1580
Allow Vsync usage (Unix only)
2018-10-30 23:52:19 +03:00
Hleb Valoshka
85f6dad804
Remove code used in old rendering paths
2018-10-30 23:52:19 +03:00
Hleb Valoshka
1fb9f82384
Add missing guards for spice code
2018-10-30 23:52:19 +03:00
Hleb Valoshka
1fda8e35f0
Fix warnings found by PVS
...
- 1 copy-paste error
- 1 nullptr dereference
- fixed self-assignment in Mesh::VertexDescription::operator=
- a few missing delete
- all other are checks for nullptr after new
2018-10-28 22:00:27 +03:00
Hleb Valoshka
fa5ab79304
Cleanup code related to non-GLSL render paths
2018-10-28 22:00:27 +03:00
Hleb Valoshka
2828853d83
Cleanups, no functional changes
2018-10-28 22:00:27 +03:00
Hleb Valoshka
93b25bc5a0
Remove dead StarRenderer code
2018-10-28 22:00:27 +03:00
Hleb Valoshka
c6de578de6
Dummy audio support for scripts ( Closes : #19 )
2018-10-28 12:21:31 +03:00
Hleb Valoshka
4ad277ed7a
Correctly compute planet matrix for frustum ( Closes : #17 )
...
Original misbehaviour was caused by the two facts:
- old matrices are row-based (DX style) while Eigen's are colum-based so
we need to multiply them in an opposite order
- Scaling() is applied to all matrix members while we need just to move
our camera n relative units, where n = camera position/planet radius
+ remove old irrelevant comment
2018-10-28 12:18:38 +03:00
Hleb Valoshka
f478faa5a4
Use std::string instead of char[] in annotations ( Closes : #22 )
2018-10-27 18:37:28 +03:00
Hleb Valoshka
2377b0089c
Draw constellation boundaries using glsl
2018-10-26 00:22:54 +03:00