Commit Graph

43 Commits (spacecruft)

Author SHA1 Message Date
Levin Li e3297b7775 Namespacing Marker* and Rect 2021-05-23 11:03:07 +08:00
Levin Li d6270ecac2 i18n for star and dsos in code 2021-05-22 09:34:34 +08:00
Hleb Valoshka ba7e0602a0 Remove 'using namespace std' from header files 2021-03-08 14:08:36 +03:00
Hleb Valoshka 60c42c2588 Add new Renderer flags
* ShowDwarfPlanets
 * ShowMoons
 * ShowMinorMoons
 * ShowAsteroids
 * ShowComets
 * ShowSpacecrafts
 * ShowFadingOrbits (not used yet)
2018-11-16 21:25:16 +01:00
Hleb Valoshka c2205c7f77 Implement AsterismList class with render() method 2018-11-09 11:14:24 +03:00
Hleb Valoshka b082d5f47f Automatically convert to c++11 using clan-tidy
+ manual cleanups
2018-09-22 23:42:02 +03:00
Chris Laurel c26ea667f2 Eigenized old sphere mesh code (used only for handling .cms mesh files now.) 2009-07-23 23:19:26 +00:00
Chris Laurel 9cca6b8c27 Eigenized Observer and Simulation classes. Fixed star picking bug. 2009-07-22 04:53:15 +00:00
Chris Laurel f73aad83f3 Eigenized picking code. Added new conversion methods to UniversalCoord that
abstract Celestia's internal units.
2009-07-16 02:28:00 +00:00
Chris Laurel 7272945657 First round of Eigen-izing the core Celestia code. 2009-07-15 03:06:30 +00:00
Chris Laurel 58a634722c Implemented NormalizeMesh property for solar system bodies. This property makes it easier to build assemblies from several bodies with mesh geometry. 2008-09-22 21:03:43 +00:00
Chris Laurel f9975120d9 Location fixes:
- Added symbols for locations.
- Fixed visibility calculation for locations on ellipsoidal, non-spherical
bodies.
- Allow location labels to be occluded by foreground objects.
- Added new location types: eruptive center, insula (islands), and
tholus (domical hills and mountains)
2008-05-22 20:30:45 +00:00
Chris Laurel ed9b33dab0 Implemented depth sorting for markers, with option to specify non-occludable
markers.
2008-02-13 21:49:53 +00:00
Vincent Giangiulio 839f745485 Changed from marker 'name' to marker 'label'. 2008-01-03 23:10:12 +00:00
Vincent Giangiulio 612f9fd596 Added name to markers 2008-01-02 23:52:31 +00:00
Toti afd7199bd8 Made object picking aware of renderflags 2006-12-05 17:38:14 +00:00
Chris Laurel a263f0c7e9 Changed Universe find methods to be const. 2006-10-25 07:19:58 +00:00
Chris Laurel 974213f905 Integrated changes from Fridger and Toti's Celestia FT 1.2 2005-11-18 09:00:39 +00:00
Christophe Teyssier 2318e423a3 Adding support for i18n with gettext. 2005-07-19 21:31:04 +00:00
Chris Laurel 55b070d1a4 Fixed bugs for planets in multiple star systems:
- Moons of planets that orbited barycenters were not getting rendered
- Picking was broken in solar systems with moving origins
2004-10-20 07:55:50 +00:00
Chris Laurel 304c984e62 Implemented complex star systems:
- Barycenters may be defined in .stc files; star orbits may be defined with respect to a fixed or moving barycenter
- Eliminated BarycenterIsOrigin flag; barycenters are a more general solution
- Previously, just the closest solar system was rendered; changed renderer to show planets for all solar systems visible
- Added automatic star catalog number generation, so stars can be defined with just a name.  Some futher work required to make these stars work correctly in cel:// URLS.
2004-10-02 10:44:49 +00:00
Chris Laurel bda33fa9b3 More work on star orbits:
- Check for orbit spheres which straddle nodes when inserting stars into the octree.
- Make picking work for orbiting stars (mostly)
- StarDetails::getOrbitalRadius() was always returning zero.  Oops.
2004-09-28 06:34:55 +00:00
Christophe Teyssier ed0a3aa3dd Added support for UTF-8 keyboard entry and completion of location labels. 2004-01-11 17:15:26 +00:00
Chris Laurel 738b8faba4 Generalized 'paths' for the find and completion methods so that they can be any selection. This permits locations to be entered without specifying the parent body when either the parent body or a sibling location is selected already. 2003-08-11 08:51:50 +00:00
Chris Laurel c0aa8a669a Fixed a bug that made findPath fail to find locations on bodies without satellites. Cleaned up find code with addition of helper method findChildObject. 2003-08-11 08:12:28 +00:00
Chris Laurel 62792a9db0 Complete rewrite of texture handling code for cleanup and in order to support virtual textures. What was the texture class is now split between Texture and Image. There are several subclasses of Texture, including ImageTexture, TiledTexture, CubeMap, and VirtualTexture. 2003-07-30 05:34:04 +00:00
Christophe Teyssier 1de258c1fb Completion patch 2003-05-31 10:55:44 +00:00
Chris Laurel fdb41c4a07 Added an unmarkAll method 2003-05-06 05:48:25 +00:00
Chris Laurel a4612a54bc Added a symbol option for markers. 2003-02-25 08:03:27 +00:00
Chris Laurel 85ef10c054 Added priority for markers; implemented isMarked method. 2003-02-04 10:39:38 +00:00
Chris Laurel 7882c880d2 Implemented markers 2003-02-01 04:42:21 +00:00
Chris Laurel 6218428245 Added new DeepSkyObject base class for Galaxy and Nebula 2003-01-29 05:47:50 +00:00
Chris Laurel 022d585596 Made galaxies pickable. 2002-10-10 06:59:09 +00:00
Chris Laurel 835c04d4df Uncommented constellation boundary code. 2002-06-21 21:14:51 +00:00
Bob Ippolito 646ecf860f Changes to allow compile on OS X and to be wrapped with Objective C++, please let me know if this had any adverse effects on other platforms. Don't expect much out of this from OS X, because these are only changes that affect the celestia base.
bob@redivi.com
2002-06-14 15:34:22 +00:00
Chris Laurel 4073f4b641 Added constellation boundaries 2002-06-05 05:27:53 +00:00
Chris Laurel 47aa2716dc Changed base units from light years to micro light years; added new label modes and label colors; added phase lock coordinate system. 2002-03-14 21:48:51 +00:00
Chris Laurel 125f3c8ccc Added a tolerance parameter to picking methods. 2002-01-24 00:50:47 +00:00
Chris Laurel 30dadbc021 Added createSolarSystem method. 2002-01-08 02:58:32 +00:00
Chris Laurel a0718055a7 Use the new Universe class. 2002-01-07 22:48:32 +00:00
Chris Laurel 82c9379ed9 Removed old source files 2001-12-17 20:42:57 +00:00
Chris Laurel 31ff65fb51 Fixed typos and syntax errors 2001-12-09 05:09:17 +00:00
Chris Laurel 7d95fcbb37 Container for galaxy, star, and planet catalogs. 2001-12-09 00:49:50 +00:00