Commit Graph

25 Commits (d7b896c013e222f96d29baa399cd3eda24fd91fb)

Author SHA1 Message Date
Andrew Tribick d7b896c013 Remove pre-C++17 Eigen alignment code 2021-12-28 21:14:29 +01:00
Andrew Tribick debcca3a1c Further celmath cleanup
- Tidy up includes and namespace handling
- Replace Ray with Eigen::ParametrizedLine
2021-11-14 19:42:39 +01:00
Hleb Valoshka e2bbd838a5 Add state tracking for blending 2020-07-08 15:09:18 +03:00
Hleb Valoshka c588f80824 OpenGL ES 2.0 initial support 2020-06-15 19:27:46 +03:00
Hleb Valoshka b6b543438d Port to filesystem API 2019-08-16 18:11:24 +03:00
Hleb Valoshka 845990a91a Fix virtual methods definition for DSO, make some methods private 2019-07-07 12:10:21 +03:00
Hleb Valoshka a10da37741 Return correct type from DeepSkyObject::getRenderMask()
More correctly is to return Renderer::RenderFlags, but this require big
render.h refactoring.
2019-07-07 12:10:21 +03:00
Hleb Valoshka f3a73dae71 Move math code into celmath namespace 2019-05-20 10:48:04 +03:00
Hleb Valoshka ea3988b6f3 Remove unused GLContext 2018-12-11 20:32:13 +03:00
Hleb Valoshka dbd7090117 Make ShaderManager private property of Renderer 2018-12-11 20:32:13 +03:00
Hleb Valoshka 363abc40f3 Use libfmt instead of C-style & iostream workflow
TODO: check StarDatabase::getStarName
2018-10-17 22:19:03 +03:00
Hleb Valoshka b082d5f47f Automatically convert to c++11 using clan-tidy
+ manual cleanups
2018-09-22 23:42:02 +03:00
Hleb Valoshka 882e4ecf28 fix whitespaces and indents
trailing spaces are removed
tabs are replaced with 4 spaces

# Conflicts:
#	src/celengine/cmdparser.cpp
#	src/celengine/command.cpp
#	src/celestia/celestiacore.cpp
#	src/celestia/celestiacore.h
#	src/celestia/qt/qtappwin.cpp
#	src/celestia/qt/qtglwidget.cpp
#	src/celestia/win32/winmain.cpp
2018-09-22 23:41:57 +03:00
Chris Laurel e36646501b Eigenized more DSO code. 2009-07-25 00:28:19 +00:00
Chris Laurel 5a31a08df9 Eigenized galaxy rendering and more of the core renderer. 2009-07-21 03:14:29 +00:00
Vincent Giangiulio e938b9012a - Added getObjTypeName method to DeepSkyObject class for making celx type return "galaxy", "nebula", or "opencluster" instead of the generic "deepsky"
- Remove unnecessary implementation of get/setHubbleType methods and use getType method instead
2007-04-02 07:55:49 +00:00
Toti f55ed1dd3c Clarified variable names 2007-01-08 00:03:07 +00:00
Toti 11b26cdf45 Corrected metric for DSO pickingdeepskyobj.cpp 2007-01-05 20:29:32 +00:00
Toti b667cc4cae Made several changes to DSO picking code:
- picking is now delegated to subclasses
- ray-ellipsoid intersection test used for galaxies
- made picking of overlapping DSOs possible
2006-12-08 19:19:29 +00:00
Chris Laurel 83bab00d30 Added getDescription method to DeepSkyObject class for returning more detailed information about an object than just its type. 2005-11-21 10:22:52 +00:00
Chris Laurel 974213f905 Integrated changes from Fridger and Toti's Celestia FT 1.2 2005-11-18 09:00:39 +00:00
Chris Laurel 3fb7a9c689 - Add context as a parameter when rendering deep sky objects (required in order to use shaders)
- Add absolute magnitude for deep sky objects
2005-07-12 17:37:00 +00:00
Chris Laurel 57ff878447 Added separate render and label flags for the various types of deep sky objects. This will break some scripts and cel:// URLs that relied on the 'show galaxies' flag to also show nebulae, but this is the inescapable cost of moving to a more flexible set of render settings. 2005-02-11 06:09:37 +00:00
Chris Laurel 7f0df46561 Support local resource directories for deep sky objects and 3DS meshes. 2003-03-24 08:55:54 +00:00
Chris Laurel 013f2a2ab4 Added very basic support for open clusters. 2003-02-01 01:18:16 +00:00