Compare commits

..

456 Commits

Author SHA1 Message Date
Jeff Moe d0cec92b62 celestia screenshot 2022-05-20 22:32:56 -06:00
Jeff Moe 34a3b5a9cd Install *.deb 2022-05-20 22:06:09 -06:00
Jeff Moe 470cbc3c99 oh. Use separate celestiacontent repo 2022-05-20 21:57:31 -06:00
Jeff Moe 88047d9b06 ignore vi 2022-05-20 21:56:32 -06:00
Jeff Moe 71cf5dda82 celestia-gaia-stardb deps, mostly python3 2022-05-20 21:15:01 -06:00
Jeff Moe 646e755964 more ^M 2022-05-20 20:43:19 -06:00
Jeff Moe d00a02c463 star DB perl script had ^M ... 2022-05-20 20:38:51 -06:00
Jeff Moe 791c80d3d0 Package build minihowto 2022-05-20 20:24:19 -06:00
Jeff Moe 7693e49057 Add readmes to install docs 2022-05-20 20:23:19 -06:00
Jeff Moe e5c825b5f0 rm missing qttxf, latest snapshot 2022-05-20 19:58:40 -06:00
Jeff Moe 916ac7be22 Debian notes 2022-05-20 19:50:14 -06:00
Jeff Moe 9878b500b1 readme stub 2022-05-20 19:43:17 -06:00
Jeff Moe 9b561aa551 mv upstream READMEs 2022-05-20 19:42:42 -06:00
dave-kaye 804a5de2a7 Update GTK solar system browser
Add Dwarf Planets and Minor Moons to solar system browser to match Qt version
2022-05-05 10:41:46 +03:00
Andrew Tribick c6a320d086 Allow EOF status after skipping chunks/trailing bytes in 3ds fies.
This shouldn't happen and I cannot reproduce it, but some people
are running into issues with false positive errors.
2022-05-02 19:32:18 +02:00
Andrew Tribick 0c177cae01 Rewrite 3DS loader 2022-05-02 19:32:18 +02:00
Andrew Tribick bc75235150 Skip testing externally-provided charconv 2022-04-30 22:16:25 +02:00
Hleb Valoshka 4c6fa126d6 Remove remnants of the old font rendering system
Closes: #1359
2022-04-17 13:54:24 +03:00
Hleb Valoshka 698d03cd82 [gtk] Fix display of rings and fading orbits
Closes: #1360
2022-04-17 13:54:09 +03:00
Hleb Valoshka 6ab7660e0c [cmake] Don't mix plain & keyword target_link_libraries()
Closes: #1357
2022-04-07 10:45:15 +03:00
Levin Li b4cf176ac3 Fix nebula/ssc sprite rendering on hidpi setting 2022-04-02 07:53:25 -07:00
Georgi 71a65fb33c updated guide 2022-03-31 22:34:58 -07:00
Georgi 704a075d0a updated demo 2022-03-31 22:34:58 -07:00
Georgi a87dc1bc62 added demo_bg.cel 2022-03-31 22:34:58 -07:00
Hleb Valoshka f4bd55991f Optimize meshes with meshoptimizer library if available 2022-03-07 16:59:47 +03:00
Hleb Valoshka 746b9e3ef3 Optimize model by merging similar meshes 2022-03-07 16:59:47 +03:00
Hleb Valoshka ca80f4448a Optimize mesh by merging similar primitive groups 2022-03-07 16:59:47 +03:00
Hleb Valoshka dee6a216f7 Remove discord from Readme.md 2022-03-03 00:19:33 +03:00
Andrew Tribick 2f77629216 Fix parsing and display of luminosity classes Ia-0, Ia, and Ib
- Allow spaces before luminosity class in stc file
- Allow Ia-0 to be spelled "Ia-0" (as displayed), "Ia0" (as previously), or
  "I-a0" (previous display format) in stc file
- Remove str() and ostream << operators on StellarClass (only used in tests)
2022-02-19 11:33:15 +01:00
Andrew Tribick d2f53d0a56 Supersede not supercede 2022-02-19 11:33:15 +01:00
Hleb Valoshka fb08de771a Create Logger in cmodview 2022-02-18 14:03:41 +03:00
Levin Li 318b4378a9 Fix lua crash in cleanup 2022-02-18 01:30:10 -08:00
Levin Li 6b856b3352 Fix broken star browser 2022-02-11 19:09:16 -08:00
Heiko Becker e51f3d5b97 Drop content submodule from .gitmodules
It's seems a bit confusing to have it in .gitmodules and .gitignore at
the same time.
Furthermore it makes distro packaging fail for my distro.
2022-02-05 21:47:29 +03:00
Andrew Tribick 60ed8238b1 Add integration test for 3ds loader 2022-02-05 09:52:02 +01:00
Hleb Valoshka cbdd9de63f Draw glow before objects
Closes: #1339
2022-01-31 12:20:18 +03:00
transifex-integration[bot] a783eee8fe Translate /po/celestia.pot in ru
translation completed for the source file '/po/celestia.pot'
on the 'ru' language.
2022-01-31 12:19:24 +03:00
Hleb Valoshka 9d60f6e660 [sdl] small cleanup 2022-01-26 22:59:43 +03:00
Hleb Valoshka b7dd51fc81 [sdl] set ShadowMapSize and SolarSystemMaxDistance from config 2022-01-26 22:59:43 +03:00
Hleb Valoshka fecc0ca0a9 [sdl] add support for CELESTIA_DATA_DIR environment variable 2022-01-26 22:59:43 +03:00
Hleb Valoshka c95e554c7a [sdl] allow copy/paste URL to/from a clipboard 2022-01-26 22:59:43 +03:00
Yasushi SHOJI 3702250525 cmod: 3dstocmod: Create logger
Without creating a logger, the command dies with SEGFAULT when
Read3DSFile(std::istream&) tries to print the verbose message.

    GetLogger()->verbose("3DS file, {} bytes\n", chunkSize + 6);

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2022-01-26 22:59:28 +03:00
Yasushi SHOJI 3a218976bf cmod: Fix VertexAttributeSemantic::Position compilation error
The commit b79959979a extracted cmod::Mesh::Position to
cmod::VertexAttributeSemantic::Position but didn't change this line.

This problem occurs only with cmake -DENABLE_TOOLS=1.

Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
2022-01-26 22:59:28 +03:00
SevenSpheres 38f645ff8f Add a vcpkg tip thanks to Andrew Tribick 2022-01-26 10:25:16 -07:00
Andrew Tribick 3a7e6d793b [win] Fix initialization of view options checkboxes 2022-01-26 18:21:44 +01:00
Hleb Valoshka 8f8a2f7677 Optimize calculation of center for renderLargePoint 2022-01-26 01:10:46 +03:00
Hleb Valoshka 772fe24e1b Reuse PointStarVertexBuffer do draw objects as points 2022-01-26 01:10:46 +03:00
Hleb Valoshka 96e282e161 Add methods to reset current matrices 2022-01-26 01:10:46 +03:00
Hleb Valoshka 20a4d13328 Refactor code to draw objects as points
* provide common routine to calculate point size
 * precalculate saturation magnitude
 * remove unused variables
2022-01-26 01:10:46 +03:00
Hleb Valoshka 29a2e1ec1c Update .clang-format 2022-01-26 01:01:15 +03:00
Hleb Valoshka 2cb9da1085 [win32] Convert decimal point & thousands separator to UTF-8 2022-01-25 23:28:17 +03:00
Hleb Valoshka 34d18bb316 Add missing include to fix selfshadowing
Fixes: #1330
2022-01-23 11:39:33 +03:00
Hleb Valoshka f969b37c3e Refactor font handling code
* Add cache for loaded fonts
 * Replace `const std::string &` with `std::string_view` in print
 * Remove static load method
 * Reformat with clang-format
 * Return bool from celestiacore::set*Font
2022-01-20 12:10:30 +03:00
Andrew Tribick 3c9334ece9 [qt] Do not capture menu bars when taking screenshots 2022-01-18 19:00:54 +01:00
Levin Li fc561a7927 Add methods for handling HiDPI, scale icons, splash images using StretchBlt 2022-01-16 02:27:25 -08:00
Levin Li 9d1bcf14b3 Enable dpiAwareness in manifest 2022-01-16 02:27:25 -08:00
Andrew Tribick 40ed2011bf Use qreal to store return value of devicePixelRatioF 2022-01-15 18:13:28 +01:00
Andrew Tribick 7cf1aac419 [qt] Experimental Qt6 support
- Switch from legacy QGLWidget to QOpenGLWidget

- [win32] Use a frameless window 1 pixel larger than the monitor instead of a
  fullscreen window, in order to avoid issues showing context menus

- Fix a settings bug where window state on the fullscreen transition was not
  saved in the MainWindow group.
2022-01-15 18:13:28 +01:00
Levin Li 25cbfabba0 Enable visual styles for Win32 controls 2022-01-14 21:13:55 -08:00
Andrew Tribick 245225dcdf Fix for SonarScanner out of bound false positive 2022-01-12 21:40:21 +01:00
Andrew Tribick 410f86fc88 Use while loop to fix SonarScanner issue 2022-01-08 21:25:52 +01:00
Andrew Tribick 3f7bd9c13e Update floating point compilation options 2022-01-08 16:02:52 +01:00
Andrew Tribick 56751882e6 Minor tokenizer fixes
- Functions in cctype should be called with unsigned char.
- Use charconv to convert numeric tokens.
2022-01-08 15:44:25 +01:00
Hleb Valoshka e04ed379a5 [ci] exclude legacy ui from sonar analysis 2022-01-08 17:21:23 +03:00
Hleb Valoshka 849ce6a5c4 [ci] disable dnf invocation as it fails 2022-01-08 17:21:23 +03:00
Hleb Valoshka 98610c9557 [cmake] suppress "deprecated-declarations" warning for gtk ui 2022-01-08 17:21:23 +03:00
Hleb Valoshka c251dac856 Split greek-letters handling from utf8 and refactor a bit 2022-01-08 17:21:23 +03:00
SevenSpheres eaae852f8f Update celestia.cfg
add pulsars.stc & plutocharon_locs.ssc
2022-01-07 12:43:30 -07:00
Hleb Valoshka eb93a24fcc Fix search for planets around stars with Bayer designations
Closes: #1297

The previos code didn't take into account names like "Ups And Ad" and
interpreted them as "Ups And A".
2022-01-05 15:56:34 +03:00
Hleb Valoshka d0899d29ee Fix ring shadow shaders for planets with several suns
Closes: #1305

Was broken in 32baed9bc
2022-01-05 13:34:51 +03:00
Hleb Valoshka 192359bfa0 [ci] remove ENABLE_DATA from cmake calls 2022-01-04 16:21:52 +03:00
Hleb Valoshka 57c0fe1bde Update spice submodule and enable it in CI build on arm64 2022-01-04 16:21:52 +03:00
Hleb Valoshka e4f7df92b8 [ci] run sonar scanner on a self-managed runner
* legacy frontends won't be checked, only sdl & qt
2022-01-03 18:30:02 +03:00
Hleb Valoshka 5bf9471674 Silence AstroObject::setIndex() unless debug verbosity 2022-01-02 19:32:15 +03:00
Andrew Tribick 7cdf65659d Clamp cosine of phase angle to [-1, 1] 2022-01-02 16:03:52 +01:00
Hleb Valoshka dea8c42eb1 [ci] add a custom job for *.po files 2022-01-01 23:59:32 +03:00
Andrew Tribick 7b762832a4 [qtwin] Fix crash on pasting screenshots
Workaround for an issue with the Windows Qt version where Celestia crashes
when a copied screenshot is pasted into another application. This appears to
be because the data sent to the clipboard still contains a reference to the
data in the destructed Image object, despite the Qt documentation stating that
QClipboard::setImage causes the clipboard to take ownership of the data. This
does not occur if the QImage manages its own buffer.
2022-01-01 21:27:10 +01:00
Andrew Tribick 4a9403ecf5 Fix galaxy hue calculation 2022-01-01 12:38:54 +01:00
Andrew Tribick 33116aad4a Backport C++20 numbers header 2021-12-31 17:25:39 +01:00
Andrew Tribick e8ca56f575 Remove unused code and apply bugfixes to SphereMesh
- Remove unused overload of displace
- Fix some bugs retrieving wrong data element
- Use Eigen::Map to simplify vector code
- Remove dispmap.h/dispmap.cpp
2021-12-31 11:12:53 +01:00
Andrew Tribick 727e4c999b Remove unreachable returns 2021-12-30 22:33:18 +01:00
Andrew Tribick f0e6ff3673 Refactor bigfix and univcoord 2021-12-30 21:30:18 +01:00
Andrew Tribick ee74d05f92 Clamp universal position to within 2^62 microlightyears on x, y and z axes 2021-12-30 21:30:18 +01:00
Andrew Tribick c40c04f595 Remove unused memorypool sources 2021-12-30 21:23:58 +01:00
Andrew Tribick fb45b8461d Enforce lower bound on rings/slices for spheremesh
- Avoid potential division-by-zero errors if nSlices=0
- Remove unused SphereMesh constructors
- Un-deprecate the cms format
2021-12-30 13:29:29 +01:00
Andrew Tribick fd9ea94377 Add managers for galaxy/globular details to avoid destructor issues on exit 2021-12-30 11:58:44 +01:00
Andrew Tribick c632aea62d Use std::uint8_t in procedural texture code 2021-12-30 11:58:44 +01:00
Andrew Tribick 85e5bae406 Additional globular refactoring
- Store vector directly in GlobularForm
- Use local statics
2021-12-30 11:58:44 +01:00
Andrew Tribick 657f127a66 Refactor globular: namespace management 2021-12-30 11:58:44 +01:00
Andrew Tribick e8782ceeb0 Reduce indirection, re-use custom templates if possible 2021-12-30 11:58:44 +01:00
Andrew Tribick 31b67185dd Refactor galaxy: namespace management 2021-12-30 11:58:44 +01:00
Andrew Tribick 73176faeb4 Fix parameter order in 'Error loading star X for asterism Y' 2021-12-30 11:58:22 +01:00
Andrew Tribick f15443bf63 Remove WIP HDR implementation 2021-12-29 14:48:36 +01:00
Andrew Tribick 5678539e05 Remove unused particle system code 2021-12-29 14:48:36 +01:00
Andrew Tribick 86f2aab284 Remove glcontext.* 2021-12-29 14:48:36 +01:00
Andrew Tribick b683c7801d Return std::string_view from Tokenizer::getStringValue to reduce copying 2021-12-29 13:08:54 +01:00
Andrew Tribick 2a533b20d5 Remove getNameValue from tokenizer (duplicate functionality of getStringValue) 2021-12-29 13:08:54 +01:00
Andrew Tribick 1d77f75963 Remove celmath::clamp in favour of std::clamp 2021-12-29 12:32:16 +01:00
Andrew Tribick 657604c69a Replace invalid use of memcpy in curveplot
- Vertex is not trivially copyable, therefore memcpy is not allowed.
- Put local classes and functions into unnamed namespace.
- Remove using namespace std, using namespace Eigen.
- Prefer C++-style casts.
- Use C++17 std::clamp where appropriate.
- Use logger for debugging
2021-12-28 23:04:50 +01:00
Andrew Tribick 2069f1ce68 Use <iosfwd> instead of <iostream> in logger.h 2021-12-28 22:36:10 +01:00
Andrew Tribick ea320060dc Only pass -fno-rtti and -fno-exceptions for C++ 2021-12-28 22:14:51 +01:00
Hleb Valoshka 50deb54bff Remove unneeded fs::path.string() conversions 2021-12-28 21:14:29 +01:00
Andrew Tribick e4ea8e0df4 Remove filesystem compatibility implementation
Keep <experimental/filesystem> support for now, so we still need to use a
compatibility header to alias the namespace.
2021-12-28 21:14:29 +01:00
Andrew Tribick e6a7b32fee Remove string_view compatibility headers 2021-12-28 21:14:29 +01:00
Andrew Tribick d7b896c013 Remove pre-C++17 Eigen alignment code 2021-12-28 21:14:29 +01:00
Andrew Tribick 9651e9e265 Use inline constexpr for constants in header files 2021-12-28 21:14:29 +01:00
Andrew Tribick 1dc01e221e Collapse using declarations 2021-12-28 21:14:29 +01:00
Andrew Tribick 4f913eb3ad Collapse nested namespaces 2021-12-28 21:14:29 +01:00
Andrew Tribick 279c721373 Require C++17, CMake 3.8 2021-12-28 21:14:29 +01:00
Andrew Tribick d978e275dd Reject zero-sized chunks in 3DS reader 2021-12-28 20:23:34 +01:00
Andrew Tribick d541a3c9c6 Update Spice submodule 2021-12-28 20:05:05 +01:00
Andrew Tribick 22291cd795 Add PowerShell and sh scripts to clone/update content directory 2021-12-28 18:37:00 +01:00
Andrew Tribick a5ea219b27 CMake fixes
- [msvc] Remove defaulted /W option to prevent override warnings from Spice
- Fix capitalization of Perl in find_package
- Replace deprecated qt5_use_modules in cmodview
2021-12-28 18:21:38 +01:00
Hleb Valoshka 28f47b0dd8 Remove content submodule
Closes: #1260
2021-12-28 15:18:14 +03:00
Hleb Valoshka 3e93c71a95 [ci] Run test builds on ARM64 agent
Signed-off-by: Hleb Valoshka <375gnu@gmail.com>
2021-12-27 12:04:43 +03:00
Hleb Valoshka 98e5684e81 [ci] build usual gnu/linux on old ubuntu only and changes to src & workflow 2021-12-27 12:04:43 +03:00
Hleb Valoshka 15ea2f330f [ci] enable scanning with sonarcloud 2021-12-27 12:04:43 +03:00
Hleb Valoshka 2505e9a51f Fix Bulgarian translation file 2021-12-27 01:33:41 +03:00
Andrew Tribick c85e4550a7 Use submodule for Gaia EDR3 tool 2021-12-26 22:21:02 +01:00
transifex-integration[bot] 53439a5cfd Translate /po/celestia.pot in bg
translation completed for the source file '/po/celestia.pot'
on the 'bg' language.
2021-12-26 23:55:42 +03:00
Hleb Valoshka a264433697 [win32] Create logger earlier to fix segv
SplashScreen class uses LoadImageFromFile which calls GetLogger
2021-12-26 23:06:16 +03:00
Andrew Tribick 9385415788 Fix loop iteration in randutils 2021-12-26 18:09:58 +01:00
Levin Li 968199915c Add support for different temperature scales 2021-12-25 23:10:10 +08:00
Hleb Valoshka ab409356c1 Add versioned local config file support 2021-12-24 21:32:27 +03:00
Hleb Valoshka 29d76471f2 Fix search for stars orbiting barycenters
Closes: #1126
2021-12-24 14:50:58 +03:00
Levin Li f2caba91f1 Update content submodule 2021-12-24 18:38:19 +08:00
Hleb Valoshka 904e4220a8 [ci] build with glut support 2021-12-20 22:36:03 +03:00
Hleb Valoshka f34111c117 [glut] add missing using celestia::util::Level 2021-12-20 22:36:03 +03:00
Hleb Valoshka 14af83a391 Implement Logger to replace raw cerr/cout and DPRINTF usage 2021-12-20 17:54:50 +03:00
Andrew Tribick b94d084af3 Fix floating point from_chars implementation
- Do not assume a zero-byte terminator exists in the source
- Ignore exponent if format does not contain scientific
- Require exponent if format does not contain fixed
- Add support for hexfloat parsing
- Fail if a plus sign is present
- Add bitwise operations to chars_format
- Avoid use of unnamed namespace in header file
- Detect whether charconv is present and if floating point charconv is supported
2021-12-16 16:33:27 +01:00
Georgi 63d4de9d81 Bulgarian language update
adopted the latest changes
2021-12-14 23:49:23 +03:00
Hleb Valoshka 498dc6083c [po] Remove po2, update po 2021-12-14 13:16:18 +03:00
Hleb Valoshka 08b0cd0682 Use custom gettext file to translated object names 2021-12-14 13:16:18 +03:00
Andrew Tribick 2baab87bf0 [qt] Fix storing window state on transition to fullscreen 2021-12-10 20:33:09 +01:00
Hleb Valoshka a5f80d0608 [tests] fix catch_main linkage
This fixes the following error on my Ubuntu 18.04 with CMake 3.10.2:

CMake Error at cmake/TestCase.cmake:8 (target_link_libraries):
Target "catch_main" of type OBJECT_LIBRARY may not be linked into another
target. One may link only to STATIC or SHARED libraries, or to executables
with the ENABLE_EXPORTS property set.
Call Stack (most recent call first):
test/unit/CMakeLists.txt:6 (test_case)
2021-12-06 22:48:18 +03:00
Andrew Tribick 30dda19ef9 Fix warnings in celmodel
- Remove unused variables in createLinePrimitiveGroup
- Ensure result is always set in default case in BinaryModelWrite::writeVertices
2021-12-05 20:32:44 +01:00
Levin Li 9a94e2dc6b Allow to use a custom date formatter for display 2021-12-05 18:56:30 +08:00
Levin Li b9b02beb0e Use localized names at bottom right 2021-12-05 18:30:44 +08:00
Andrew Tribick 2793756f91 Components inherit visibility from first non-component ancestor
- Share visibility logic between Component and SurfaceFeature
- Avoid null dereference for Component/SurfaceFeature defined on stars
2021-12-04 22:48:46 +01:00
Andrew Tribick a670d8e3be Cleanup and fix celutil/util.h; rename to tzutil.h
- Replace deleteFunc with lambdas
- Remove unused printlineFunc, memsize
- string_view does not allow returning the TZ name, replace with std::string&
2021-12-04 11:44:36 +01:00
Andrew Tribick 82ddd20fe2 Code analysis cleanup
- Move modelview/projection matrices to render contexts that use them
- Do not create an unused second light in cmodview
2021-12-04 09:49:52 +01:00
Andrew Tribick bcbd538d0a Remove const_cast in cmodview by implementing Model::setMaterial 2021-12-04 09:49:52 +01:00
Andrew Tribick 7c5c903f47 Remove pointers from mesh and model vectors
- Hold models in unique_ptr
2021-12-04 09:49:52 +01:00
Andrew Tribick 3a02e59b83 Cleanup of operators and material uniquification 2021-12-04 09:49:52 +01:00
Andrew Tribick 8684543580 Store vertex data as array of 4-byte words 2021-12-04 09:49:52 +01:00
Andrew Tribick 019411dc21 Remove pointers from VertexDescription and PrimitiveGroup indices 2021-12-04 09:49:52 +01:00
Andrew Tribick b79959979a Extract inner types from Material and Mesh
- Remove using namspace cmod
- Convert enums to enum classes
2021-12-04 09:49:52 +01:00
Andrew Tribick 474057221b Refactor 3DS loading to avoid excessive use of unique_ptr 2021-12-04 09:49:52 +01:00
Hleb Valoshka 41936fc6bf Remove old fonts support 2021-11-30 14:39:33 +03:00
Hleb Valoshka f46a00f4f1 Remove automatic mipmap mode, as it duplicates the default mode 2021-11-29 12:26:19 +03:00
Hleb Valoshka 7228d408e0 Remove condition which is always true 2021-11-29 12:26:19 +03:00
Hleb Valoshka 8113dae087 Remove GLU usage in texture.cpp 2021-11-29 12:26:19 +03:00
Hleb Valoshka cd2293f6c6 Refactor texture caps 2021-11-29 12:26:19 +03:00
Andrew Tribick 965ee69a98 Replace C++-style comments with C-style comments in gtkegl.c 2021-11-26 19:02:19 +01:00
Andrew Tribick 9f7262bcce Refactor Material and Material::Color comparison operators 2021-11-25 19:11:06 +01:00
Andrew Tribick 990163ac35 Clean up namespaces and includes in model.cpp/model.h 2021-11-25 19:11:06 +01:00
Andrew Tribick 79234cda24 Remove inheritance from Material maps, Model destructor
- Reference texture maps by ResourceHandles in cmod Materials
- Add basic path manager for integration tests and tools
- Remove virtual destructor on Model class as nothing inherits from it
2021-11-25 19:11:06 +01:00
Hleb Valoshka 8a903b0d0d [celx] Add acceleration time to observer:gotoselection()
+ replace magic values with constants
 + small cleanup
2021-11-25 16:22:09 +03:00
Hleb Valoshka 189f6372e3 [celx] handle locations in object:localname() 2021-11-25 01:12:46 +03:00
Andrew Tribick aac69395bb Enforce minimum fmt version 6.1.0 to ensure float roundtrip 2021-11-21 14:39:49 +01:00
Andrew Tribick 7c38b34683 Add test for CMOD binary to ASCII to binary roundtrip 2021-11-21 14:39:49 +01:00
Andrew Tribick 4132f41889 Remove duplicated code from cmodfix 2021-11-21 12:32:37 +01:00
Andrew Tribick 06613bda27 Add unit tests for the tokenizer
- Added tests for the tokenizer
- Reorganized the tests so that the catch main method is only compiled once
- Fixed missing error return in the tokenizer found by the tests
2021-11-18 22:43:03 +01:00
Hleb Valoshka 6b853ce47f Fix fault due to result expanded to int 2021-11-19 00:41:52 +03:00
Hleb Valoshka 2ff075d843 [celx] Fix location type returned by loc:getinfo()
getFeatureType() returns std::uint64_t
  + C++14 style for lambda
  + tiny-tiny optimization around std::string usage
2021-11-18 10:57:42 +03:00
Andrew Tribick e92c3d9bd5 More forgiving handling of invalid UTF-8 sequences
- Report an error (once per stream)
- In string literals, append U+FFFD REPLACEMENT CHARACTER
2021-11-17 12:29:54 +01:00
Andrew Tribick 8ae1fcb88e Additional format checks for string escapes and numbers
- Disallow invalid string escapes
- Disallow numbers ending with a sign character (e.g. + or 3.2e-)
- Disallow exponents immediately after a sign (e.g. +e32)
2021-11-17 12:29:54 +01:00
Levin Li 5f947cfa2c Add atmosphere height to culling radius 2021-11-17 17:24:52 +08:00
Andrew Tribick e686619f2e Don't read DDS header twice, reallow triggering eof() 2021-11-17 08:26:09 +01:00
Hleb Valoshka 6e7787faf3 [ci] Split line for better readability 2021-11-17 09:49:32 +03:00
Hleb Valoshka 204fe018a8 [ci] Build both on Ubuntu 18.04 & latest 2021-11-17 09:49:32 +03:00
Levin Li 2c044240d7 Sync content repo 2021-11-17 14:00:11 +08:00
Andrew Tribick e78b51ad07 Fix ASCII material loading 2021-11-16 21:33:56 +01:00
Andrew Tribick d82043f914 Fix for fmt 4.0 (as used by Ubuntu 18.04 LTS) 2021-11-16 18:56:43 +01:00
Levin Li 7c933c576d Correctly finish rendering point stars before drawing new ones 2021-11-16 21:13:15 +08:00
Andrew Tribick b3efa631d9 Enforce maximum token length, error on invalid UTF-8 sequences 2021-11-15 18:28:06 +01:00
Andrew Tribick 0f1ed583ae Move internal cmod parsing code to unnamed namespace 2021-11-15 18:28:06 +01:00
Andrew Tribick 0d636696eb Add error checking in cmod read/write 2021-11-15 18:28:06 +01:00
Andrew Tribick f79b21e7d3 Use existing tokenizer to parse ASCII cmod files 2021-11-15 18:28:06 +01:00
Andrew Tribick 5e141eef21 Refactor random number and Perlin noise 2021-11-14 19:42:39 +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
Andrew Tribick 43f0cc416e Fix spelling of 'opening' 2021-11-14 12:12:52 +01:00
Levin Li 2cf37d3e70 Abandon line strips that are of size 0/1 2021-11-12 20:00:41 +08:00
Andrew Tribick da5f621a19 Set up common binary IO functions 2021-11-10 19:14:19 +01:00
Andrew Tribick 368d94c0ad Remove unused catalogxref code 2021-11-10 19:13:39 +01:00
Andrew Tribick dc2a506839 Remove unused celmath files 2021-11-08 23:29:00 +01:00
Andrew Tribick 80d098f3c9 Remove using namespace from headers 2021-11-06 16:28:45 +01:00
Andrew Tribick e00f5b7d2c Fix tools, cleanup, remove reinterpret_cast undefined behaviour 2021-11-05 19:53:05 +01:00
Andrew Tribick 61850bfb9b Use unique_ptr to indicate ownership in cel3ds 2021-11-05 19:53:05 +01:00
Andrew Tribick f3e5444003 Add error checking to 3DS loader 2021-11-05 19:53:05 +01:00
Andrew Tribick 71bfec795c Use templated functions in 3dsread (improve type safety) 2021-11-05 19:53:05 +01:00
Andrew Tribick ef10800e7c Clean up headers/using namespace in cel3ds 2021-11-05 19:53:05 +01:00
Andrew Tribick ec232b7fad Fix for debug builds
- Include fmt/ostream.h in debug.h to allow formatting filesystem paths
- Avoid including headers via debug.h on non-debug builds
2021-10-26 10:17:48 +03:00
SevenSpheres ab6bdd75fc Remove content section of README & add help files from 1.6.x branch 2021-10-25 10:13:47 -05:00
SevenSpheres 9f96552540 Some small fixes to documentation
Mostly ported from 1.6.x branch
2021-10-25 10:13:47 -05:00
Andrew Tribick c5d100f698 [qt] Fix info panel for retrograde and subsynchronous rotators 2021-10-24 14:51:57 +02:00
Levin Li dff29425fe Fix crash displaying localized DSOs 2021-10-23 17:35:18 +08:00
Hleb Valoshka 98768a5ea2 [ci] Add build in C++17 mode 2021-10-23 12:15:01 +03:00
Hleb Valoshka b6da4a73f9 [tests] Build filesystem test only if building own fs library 2021-10-23 12:15:01 +03:00
Hleb Valoshka 28f674565e Add and use Overlay::printf instead of Overlay::operator<< 2021-10-23 12:15:01 +03:00
Hleb Valoshka ede49e97c1 [cmake] Build own fs implementation only if needed 2021-10-23 12:15:01 +03:00
Hleb Valoshka 811ed4ff3c Fix a few error messages 2021-10-23 12:15:01 +03:00
Hleb Valoshka d417525d67 [cmake] Allow C++ standard definition via command line 2021-10-23 12:15:01 +03:00
Hleb Valoshka 481f81c664 [cmake] Use FindFilesystem instead of own code 2021-10-23 12:15:01 +03:00
Hleb Valoshka 5f050040fe [cmake] Import FindFilesystem 2021-10-23 12:15:01 +03:00
Hleb Valoshka 58d303478c [cmake] Set policy CMP0004 to NEW 2021-10-23 12:15:01 +03:00
Hleb Valoshka ccd01c460f Fix fs::path printing using fmt 2021-10-23 12:15:01 +03:00
GurrenLagannTSS 1951497aaf Fix spelling mistake (Cource to Source) 2021-10-21 23:39:29 +03:00
Hleb Valoshka 42790d9013 Replace deprecated fmt::fprintf calls 2021-10-19 19:35:23 +03:00
Levin Li 1613542c5d Fix duplicate in Body as well 2021-10-19 17:42:49 +08:00
Levin Li cb0fe13ecd Remove duplciates in star/dso name index 2021-10-19 17:42:49 +08:00
Andrew Tribick 11c0361324 Fixes for the Windows build
- Move the compatibility classes into the cel17 namespace
- Skip generating resource translations if Perl not present
- Use fmt/ostream.h instead of fmt/printf.h for string_view
2021-10-18 09:58:33 +03:00
Andrew Tribick e987a7035d Skip UTF-8 BOM if present 2021-10-18 09:58:19 +03:00
Andrew Tribick df94a78658 Rewrite tokenizer and remove custom float parsing 2021-10-18 09:58:19 +03:00
Hleb Valoshka aacdbaec95 Fix incorrectly updated condition 2021-10-14 17:33:19 +03:00
Levin Li d0ed0d79de Display AVIF support status in QT 2021-10-14 10:35:26 +08:00
Levin Li bf5689574d Make AVIF optional 2021-10-14 10:35:26 +08:00
Levin Li 406f0b3036 Update CI and INSTALL.md 2021-10-14 10:35:26 +08:00
Levin Li 7a91ba9311 Update build script 2021-10-14 10:35:26 +08:00
Levin Li a45425c374 Support AVIF texture 2021-10-14 10:35:26 +08:00
transifex-integration[bot] 4cbc70ec8d Translate /po/celestia.pot in bg
translation completed for the source file '/po/celestia.pot'
on the 'bg' language.
2021-10-10 19:59:10 +03:00
SevenSpheres cfc77c67d8 Update celestia.cfg 2021-10-07 10:47:35 +03:00
Hleb Valoshka e7ee8ba045 Update content submodule 2021-10-06 15:29:19 +03:00
Levin Li be980acf11 Update celestia.cfg to include descriptions of new parameters 2021-10-05 00:11:10 +08:00
SevenSpheres 9133103817 Update celestia.cfg 2021-10-03 16:13:51 -04:00
Levin Li b04ffab738 Add support in .cfg 2021-09-28 14:03:24 +08:00
Levin Li f0db65c8f6 Add support for imperial units 2021-09-28 14:03:24 +08:00
Levin Li 103ba3e889 Translate well known star and dsos 2021-09-28 13:14:12 +08:00
Hleb Valoshka 6d23c903b2 [tests] update catch.hpp to fix build with glibc 2.34
Closes: #1117
2021-09-24 09:44:16 +03:00
Hleb Valoshka 8cd7bd1036 Allow to use Lunar-Lambert and specular together 2021-09-21 16:27:09 +03:00
Suleyman Poyraz 506d7c600c Updated Turkish Translations.
*Turkish Translation reviewed.
* Fixed translation.
    I don't think just one /n cause problem :)
2021-09-13 09:35:32 +03:00
Hleb Valoshka a2a67c59e8 Fix a bug in fs::recursive_directory_iterator()
The 4th element of directory_iterator() controls if it should advance to
the first non special directory entry (not . nor ..).

If m_iter advances itself and m_iter->path() is a directory then the next
call to recursive_directory_iterator.increment() will not step down into
this directory.
2021-09-06 20:53:36 +03:00
Hleb Valoshka 6f666280fd [celx] fix paths in loadtexture() and runscript() 2021-09-06 20:53:36 +03:00
Hleb Valoshka 4786cac9f4 [win] Fix Chinese grammar used in China and Taiwan 2021-08-31 09:28:19 +03:00
Hleb Valoshka 8e5a89a5a7 [win] build DLLs with UI translation 2021-08-30 11:10:47 +03:00
Hleb Valoshka f4ef910886 [win,ci] skip ffmpeg installation 2021-08-30 11:10:47 +03:00
Hleb Valoshka b067799a3c Use old way to capture video in windows environment 2021-08-23 11:04:03 +03:00
Hleb Valoshka f731579681 Revert "Refactor movie capture to use FFMPEG only" 2021-08-23 11:04:03 +03:00
Hleb Valoshka 7b52f23c97 Open log file with relative name in the current dir not in the data dir 2021-08-09 08:58:52 +03:00
Andrew Tribick f5f8d895db Match line length in row inversion with Image constructor 2021-07-31 16:35:25 +03:00
Hleb Valoshka 8153d2b5b4 [celx] Use default GLSL program in gl.Begin 2021-07-29 10:36:37 +03:00
Hleb Valoshka 1f286c67d2 [qt] Remove menu and toolbars in fullscreen mode
Based on GottfriedSp code
2021-07-27 08:19:32 +03:00
Konstantin Podsvirov dec8acafe5 Refine the URL of the Spice submodule 2021-07-22 22:57:56 +03:00
Hleb Valoshka b3d37663f3 Fix errors and warnings with VC++2019 2021-07-13 10:03:38 +03:00
Hleb Valoshka d6ceb8176c [cmake] don't compile qttxf 2021-07-13 10:03:38 +03:00
Hleb Valoshka 53b2012b82 [fs] add current_path() function 2021-07-13 10:03:38 +03:00
Levin Li 32baed9bcd Do not rely on clamp to border on ring textures 2021-06-28 22:21:13 +08:00
Joseph C Wang 05cb7196b5 make it compile with fmt v8 2021-06-27 20:52:35 +03:00
Hleb Valoshka e78a178a16 [win32] Fix "codecs" combobox
The 3rd parameter is a position not a special id associated with the entry
2021-06-24 17:59:04 +03:00
Hleb Valoshka 4cc79c1349 Add support for ffmpeg 4.4 2021-06-24 17:59:04 +03:00
Hleb Valoshka e20a07ae94 [cmake] Remove cotire completely 2021-06-24 17:59:04 +03:00
Hleb Valoshka 7b5adfffd3 [cmake] Remove workaround for static libintl
We need a more generic and simpler way to add additional dependencies
manually.
2021-06-24 17:59:04 +03:00
Hleb Valoshka d3cfa9f333 [cmake] Rename FindCspice to FindCSPICE 2021-06-24 17:59:04 +03:00
Hleb Valoshka 1c68ecdd8e [cmake] Update FindFFMPEG 2021-06-24 17:59:04 +03:00
Hleb Valoshka d394192999 Allow binary orbits without text source
Closes: #1088
2021-06-24 09:41:15 +03:00
Hleb Valoshka 03388d6d1d Add support for more JPL compatible ephemerides
Original patch was posted to https://celestia.space/forum/viewtopic.php?f=4&t=17282

====================================
Here comes the original description:
====================================
Before this update, the celestia code supports only JPL Big Endian
ephemerides DE406/DE405/DE200.

The big endian ephemeris DE406 comes in chunk of 300 years. If you
want to concatenate several pieces, using the software provided by JPL
(which does not handle endianess), you need a big endian platform. The
little endian DE406 comes in one piece of 6000 years, so you don't
even need to concatenate this one.

This commit adds the following:
- support for both endianess with autodetection of endianess
- support for all JPL DE ephemeris (from DE200) with autodetection of
record size.
- support for JPL DE compatible ephemeris such as the INPOP ephemeris
from Paris observatory (only the ephemeris files in the legacy JPL DE
compatible format and with timescale TDB, not the INPOP native format,
or the TCB files). http://www.imcce.fr/inpop/download10e.php

The method to autodetect ephemeris type, record size and endianess is
based on the CALCEPH software.
It would probably be better if possible to wrap around the CALCEPH
library (so that it would also support INPOP native format) but this
would be more work.

In addition to the ephemeris number and the start and end date, the
record size and endianess are also printed to the log (which you get
by pressing the tilde key).
If the ephemeris is an INPOP ephemeris, then the ephemeris number is
not printed to the log: it just says "INPOP".

It has been tested with:
- DE406 big endian
- DE406 little endian
- DE405 big endian
- DE423 little endian
- INPOP10A little endian
on Linux/x86_64.

However, no accurate regression testing has been performed. It has
only been tested visually that the planets orbits do not look wrong
and that the log is reporting the correct endianess, record size and
ephemeris name.
2021-06-16 15:38:51 +03:00
Hleb Valoshka d4c8cc8149 Star classes T5-Y should not have glow around them 2021-06-16 15:38:44 +03:00
Hleb Valoshka e1cec55218 Fix movie capture in GL ES environment 2021-06-16 14:15:32 +03:00
Hleb Valoshka bece12f6e4 Refactor Image class and image capture
* use GL_MESA_pack_invert to flip captured buffer
 * move enum PixelFormat to own file
 * use PixelFormat instead of GL formats in Image
 * provide captureImage() in CelestiaCore
 * use CelestiaCore methods to capture images in Qt UI
2021-06-16 14:15:32 +03:00
Levin Li c7018259a6 Remove alpha channel for DXT1 textures 2021-06-15 09:36:14 +08:00
Levin Li 5d1bcc2256 Remove make_unique compat 2021-06-13 15:50:22 +08:00
Levin Li fbc165c9d6 Drop C++11 and defaults to build with C++14 2021-06-13 15:50:22 +08:00
transifex-integration[bot] 42bb3103ed Translate /po/celestia.pot in bg
translation completed updated for the source file '/po/celestia.pot'
on the 'bg' language.
2021-06-12 18:55:05 +03:00
Hleb Valoshka 9ec482e24e Update installation instructions 2021-06-09 14:15:18 +03:00
Hleb Valoshka 5cba3df157 Position label in front of star drawn as mesh
Closes: #1041
2021-06-09 14:15:05 +03:00
Andrew Tribick 83a98802ee Add .vscode to .gitignore 2021-06-08 14:24:14 +08:00
Hleb Valoshka 098a383c78 Fix formatting in shader code 2021-06-07 23:10:04 +03:00
Hleb Valoshka 1c6219ed7a Don't calculate light half vector in vertex shader
1) It's already calculated in CelestiaGLProgram::initParameters()
2) This decreases number of varying floats by 3 per light, so for the case
listed in #593 we save 9 floats, so 8 are available.
2021-06-07 23:10:04 +03:00
Hleb Valoshka 51f8af2479 [win32] Add "select primary body" menu entry to win UI 2021-06-07 10:43:16 +03:00
Hleb Valoshka 45635522dc [win32] Add minor moons and dwarf planets into an object's context menu (Closes: #459) 2021-06-07 10:43:16 +03:00
Hleb Valoshka 0efba5944b [win32] Fix compilation without FFMPEG 2021-06-07 10:43:16 +03:00
Hleb Valoshka 378a431532 [qt] Use QFileDialog::getSaveFileName to select video file 2021-06-06 08:44:21 +03:00
Hleb Valoshka 076662df9f Fix warnings produced by MSVC 2021-06-06 08:44:21 +03:00
Hleb Valoshka 6e83aa9e04 Refactor movie capture to use FFMPEG only 2021-06-06 08:44:21 +03:00
Hleb Valoshka 8dab250f22 Use FFMpeg to capture video 2021-06-06 08:44:21 +03:00
Hleb Valoshka 5af65a58f3 [cmake] Remove cotire usage
* It doesn't work with cmake >= 3.12 and M$ VC++ (not a big issue)
* It doesn't work with extern "C" properly (blocks FFMPEG)
* It's unmaintained
2021-06-06 08:44:21 +03:00
Levin Li 04c6b40c50 Fix parsing URLs containing non ascii values 2021-06-05 15:57:06 +08:00
Hleb Valoshka c9f04184fa [tools] bump requests version to 2.25.1 to fix compatibility with urllib3 2021-06-03 11:33:20 +03:00
Hleb Valoshka 16a3f65ed0 try 2021-06-03 10:45:58 +03:00
Hleb Valoshka ecd99f948c [CI] Enable github actions for windows 2021-06-03 10:45:58 +03:00
Andrew Tribick 4c24b235b6 Remove duplicated assets 2021-06-03 10:45:44 +03:00
dependabot[bot] 79ccbe4f9b Bump urllib3 from 1.25.10 to 1.26.5 in /src/tools/celestia-gaia-stardb
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.10 to 1.26.5.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.25.10...1.26.5)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-03 15:01:22 +08:00
Levin Li 28bb2b52bd Fix compatibility with QT6 2021-05-31 15:13:02 +08:00
Levin Li cc3c6df49c Avoid showing duplicate names 2021-05-31 08:11:54 +08:00
Levin Li 009e09df63 Clear dateStrWidth on clearFonts 2021-05-27 16:34:33 +08:00
Levin Li fd2ba19d79 Add back support for URL version 4 2021-05-26 08:40:34 +08:00
Levin Li b4858b1e72 Use shared_ptr around TextureFont 2021-05-24 08:37:01 +08:00
Levin Li c79979a477 Query directly into localizedNameIndex for i18n completion 2021-05-24 08:36:34 +08:00
Andrew Tribick 3836d4cf23 [qt] Fix deprecation warnings 2021-05-23 16:25:38 +03:00
Levin Li f72f5993c6 Apply changes to frontends 2021-05-23 11:03:07 +08:00
Levin Li e3297b7775 Namespacing Marker* and Rect 2021-05-23 11:03:07 +08:00
Hleb Valoshka d1e62e9d23 [pkg] fix debian/control 2021-05-22 09:18:30 +03:00
Levin Li d6270ecac2 i18n for star and dsos in code 2021-05-22 09:34:34 +08:00
Hleb Valoshka c72c4aef51 [CI] Package some tools 2021-05-21 17:44:43 +03:00
Hleb Valoshka 88e2f742d7 Fix signed/unsigned mismatch in comparrisions 2021-05-21 17:44:43 +03:00
Hleb Valoshka 1c078b1186 Don't use deprecated methods 2021-05-21 17:44:43 +03:00
Hleb Valoshka 1e55054eb1 [pkg] add missing build-depdendency on cmake to debian/control 2021-05-21 17:44:43 +03:00
Levin Li 0fb2b4e7c0 Add an option to not search for localized version of a script 2021-05-17 08:00:40 +08:00
Levin Li 9d74b326a9 Implement skip_permission_denied and align behavior with std::filesystem 2021-05-17 08:00:17 +08:00
Levin Li 72367cc1b7 HiDPI mouse events for QT 2021-05-16 10:15:52 +08:00
Levin Li 631d109741 Support HiDPI on QT front end 2021-05-15 07:57:40 +08:00
transifex-integration[bot] 83f7ca59b2 Translate /po/celestia.pot in zh_CN
translation completed updated for the source file '/po/celestia.pot'
on the 'zh_CN' language.
2021-05-14 10:40:54 +08:00
transifex-integration[bot] abb34b4f99 Translate /po/celestia.pot in ru
translation completed for the source file '/po/celestia.pot'
on the 'ru' language.
2021-05-12 17:38:26 +03:00
Levin Li d79a4ac43b Sort DSO directories in extras directories 2021-05-11 16:28:13 +08:00
transifex-integration[bot] f11e4d6864 Translate /po/celestia.pot in bg
translation completed for the source file '/po/celestia.pot'
on the 'bg' language.
2021-05-10 23:30:24 +03:00
transifex-integration[bot] f1c8eb2ae5 Translate /po/celestia.pot in be
translation completed for the source file '/po/celestia.pot'
on the 'be' language.
2021-05-10 23:07:29 +03:00
Hleb Valoshka e356f9339e Fix a few strings 2021-05-10 23:03:53 +03:00
Hleb Valoshka 4c09e9d77a [cmake] very simple implementation of target_link_directories 2021-05-10 19:47:15 +03:00
munix9 4d67bf0cee Update INSTALL.md 2021-05-10 09:37:00 +03:00
Levin Li 87e2aefc0c Update azure-pipelines.yml and INSTALL.md 2021-05-09 15:10:51 +08:00
Levin Li bf10d8d6e1 Make theora and gtk usable on Mac 2021-05-09 15:10:51 +08:00
transifex-integration[bot] 5dd7444720 Translate /po/celestia.pot in bg
translation completed updated for the source file '/po/celestia.pot'
on the 'bg' language.
2021-05-08 19:20:42 +03:00
transifex-integration[bot] 12dbdac148 Translate /po/celestia.pot in bg
translation completed for the source file '/po/celestia.pot'
on the 'bg' language.
2021-05-08 19:17:28 +03:00
transifex-integration[bot] 97a393f6b2 Translate /po/celestia.pot in be
translation completed updated for the source file '/po/celestia.pot'
on the 'be' language.
2021-05-08 13:56:57 +03:00
Levin Li 657eb4a1d5 Speed up start_ru.cel
Also converting the file to UTF-8
2021-05-08 18:31:37 +08:00
Hleb Valoshka 08d2a0b7eb [i18n] Update translation files 2021-05-08 13:13:37 +03:00
Hleb Valoshka c906f917eb [i18n] translate more strings 2021-05-08 13:13:37 +03:00
Hleb Valoshka 668a6023e9 [win32] Remove useless check for nullptr 2021-05-08 13:13:37 +03:00
transifex-integration[bot] 50800f4f22 Translate /po/celestia.pot in bg
translation completed updated for the source file '/po/celestia.pot'
on the 'bg' language.
2021-05-06 23:14:48 +03:00
Hleb Valoshka 1ee185318e Update translations 2021-05-05 15:04:47 +03:00
Hleb Valoshka ca95ccc4b8 [qt] Place colons before closing "b" tag 2021-05-05 15:04:47 +03:00
Hleb Valoshka a7b5ed202f [i18n] Use C_ macro to correctly translate "Spacecraft" 2021-05-05 15:04:47 +03:00
Hleb Valoshka e65e535a2e [i18n] Add support for context-dependent translations 2021-05-05 15:04:47 +03:00
Hleb Valoshka dd9b91f459 Fix rendering of elliptical bodies' rings 2021-05-05 15:04:31 +03:00
Levin Li 499e115a70 Remove Eigen and fmt submodules 2021-05-03 21:01:55 +03:00
Hleb Valoshka cb8c1e8f03 [utils] add generic util::ResolveWildcard() method 2021-04-25 14:22:59 +03:00
Hleb Valoshka f8105c1bda [compat] add fs::path::replace_extension() 2021-04-25 14:22:59 +03:00
transifex-integration[bot] 4c5769ff17 Translate /po/celestia.pot in ru
translation completed for the source file '/po/celestia.pot'
on the 'ru' language.
2021-04-21 17:56:56 +03:00
Hleb Valoshka 173f2399ff Disable depth writing for objects rendered as points (Closes: #947) 2021-04-19 10:24:20 +03:00
Hleb Valoshka c9d2b4ac79 [gtk] Allow Gtk3 usage 2021-04-18 10:41:21 +03:00
Hleb Valoshka 460046776b [gtk] Update information shown in help->about 2021-04-18 10:41:21 +03:00
Hleb Valoshka 2efdd54233 [gtk] Set max width of tour description widget (Gtk3 compatibility)
It's too wide with Gtk3.
2021-04-18 10:41:21 +03:00
Hleb Valoshka a84958355a [gtk] Enable processing of scroll-event signals (Gtk3 compatibility) 2021-04-18 10:41:21 +03:00
Hleb Valoshka 0e97ade98a [gtk] Add own implementation of EGL-capable window 2021-04-18 10:41:21 +03:00
Hleb Valoshka e3c62264e5 Remove reference to bintray from INSTALL.md 2021-04-17 21:23:16 +03:00
Hleb Valoshka 2de9a72027 [gtk] Fix speed in Time menu 2021-04-14 08:44:48 +03:00
Hleb Valoshka 375e45f857 [gtk] Hide options dialog instead of removal (Closes: #17) 2021-04-14 08:44:48 +03:00
Hleb Valoshka 828e7d44e1 [gtk] Use cairo if present 2021-04-14 08:44:48 +03:00
Hleb Valoshka b43f2abe24 [gtk] Replace deprecated API with Gtk3 compatible 2021-04-14 08:44:48 +03:00
Levin Li 3de6707b0c Include setjmp.h for jpeg.cpp 2021-04-10 21:33:23 +08:00
SevenSpheres 9582eef708 Update star data
Update of temperatures and bolometric corrections for all main-sequence stars and brown dwarfs. Also updated temperature for the Sun.
2021-04-09 14:37:12 -04:00
transifex-integration[bot] 8746f9501b Translate /po/celestia.pot in zh_CN
translation completed updated for the source file '/po/celestia.pot'
on the 'zh_CN' language.
2021-04-09 21:32:24 +03:00
Hleb Valoshka 77af6f7419 Refactor images related code
* move different formats support to its own directory
 * add common CaptureBufferToFile subroutine
2021-04-06 10:23:53 +03:00
Hleb Valoshka ad5f3d31b3 Change texture clamp mode for stars to Texture::EdgeClamp
For better compatibility with OpenGL ES
2021-04-05 13:33:32 +03:00
Hleb Valoshka ccd0d64bdc [gtk] Fix buffer overflow in eclipse finder
Fixes: #935
2021-03-30 14:23:51 +03:00
Levin Li 37de4c3784 Fix incorrect bracket around & 2021-03-30 15:23:54 +08:00
Hleb Valoshka 94ed734f83 Add Doxygen config 2021-03-29 10:35:56 +03:00
Levin Li 164d8ef8bd Avoid usiing reserve and assign by index, as it might result in undefined behavior 2021-03-27 22:30:39 +08:00
Levin Li 80fb64ecc5 Use quoted include for lua.hpp 2021-03-27 22:30:39 +08:00
Levin Li dc88685c2c Fix compilation with std filesystem 2021-03-27 22:30:39 +08:00
Hleb Valoshka b8dd1d2282 Refactor software DDS decoder
* Use C++ memory API (new/delete) instead of malloc/free
 * Remove unneeded variables
 * Format using clang-format
 * Use PackRGBA instead of hardcoding color value
2021-03-19 11:00:49 +03:00
Levin Li 2f7662fd3b Avoid undefined behavior caused by passing negative value to isdigit 2021-03-15 17:44:55 +08:00
Levin Li 7a21915460 Add missing using namespace std; 2021-03-15 17:44:55 +08:00
Levin Li 2f12dd9452 Add some utils for apple platform and remove functions for portable builds 2021-03-15 17:44:55 +08:00
Levin Li 08037d78e8 Add cctype include for toupper 2021-03-15 17:44:55 +08:00
Levin Li 8540ed5d9f Move UI related code to celestia/win32 2021-03-15 17:44:55 +08:00
Levin Li bce3dd0b9d Use new[] for GalaxyVertices 2021-03-14 20:40:59 +08:00
Levin Li 4959ffbe6e Correctly set __cplusplus with /Zc:__cplusplus 2021-03-14 20:40:59 +08:00
Levin Li a32e905556 Fix for lua 5.4 2021-03-14 20:40:59 +08:00
Levin Li e24d7e002d Use string_view.data instead of .begin and .end 2021-03-14 20:40:59 +08:00
Levin Li 2ccf453644 Make dds_decompress .cpp instead of .c 2021-03-14 20:40:59 +08:00
Hleb Valoshka f16c355d11 Add a new body parameter "reflectivity" complementing albedos 2021-03-10 17:51:10 +03:00
Hleb Valoshka 8e0efe3868 Build GTK+ frontend in CI 2021-03-09 09:07:21 +03:00
Hleb Valoshka de06f3d3cd Fix gtk+ frontend build failures caused by #925 2021-03-09 09:07:21 +03:00
Hleb Valoshka f89d9068ab [win] copy old favorites file to the new location 2021-03-09 09:07:21 +03:00
Hleb Valoshka 93ec39a836 Add guards for portable builds
ports commit c4f02af from 1.6.x
2021-03-09 09:07:21 +03:00
Hleb Valoshka 451fe6ffcb Read favorites file from system data directory
This commits ports 8ba1ab7 from 1.6.x branch
2021-03-09 09:07:21 +03:00
Hleb Valoshka df25eed5a2 Add fs::create_directory() and move fs utility function to their own file 2021-03-09 09:07:21 +03:00
Hleb Valoshka f1d84435a0 Add missing operators and constructors to array_view 2021-03-09 09:07:21 +03:00
Hleb Valoshka 757fda0e36 Disable more MSVC warnings 2021-03-08 14:08:36 +03:00
Hleb Valoshka 7069cebb90 Fix missing return statement 2021-03-08 14:08:36 +03:00
Hleb Valoshka 6b14925798 Produce release builds without exceptions and RTTI 2021-03-08 14:08:36 +03:00
Hleb Valoshka f5f8770f7f Keep Url objects instead of pointer in history 2021-03-08 14:08:36 +03:00
Hleb Valoshka 332840fdd1 Refactor Url class
* Critical change:
   - Drop Url versions 1, 2 and 4. Versions 1 and 2 are
     too old and can't be handled properly. Version 4
     was added to handle 64 bit RenderFlags but we can
     encode them in backward compatible way by adding a
     new parameter "nrf" ignored by Celestia 1.6.

 * Use string_view to reduce memory allocation during Url
   parsing.

 * Use non-throwing functions to parse numbers.
2021-03-08 14:08:36 +03:00
Hleb Valoshka db9dd5cb18 Extract string utilities to own file 2021-03-08 14:08:36 +03:00
Hleb Valoshka 5f911ca18e Add ISO-8801 time format used in URL to astro::Date 2021-03-08 14:08:36 +03:00
Hleb Valoshka fe810135f6 Translate and simplify displayed RA/Dec 2021-03-08 14:08:36 +03:00
Hleb Valoshka b954e279a2 A bit of refactoring in legacy scripting support 2021-03-08 14:08:36 +03:00
Hleb Valoshka ba7e0602a0 Remove 'using namespace std' from header files 2021-03-08 14:08:36 +03:00
Hleb Valoshka 8f46b2b978 astro - use std::string_view where appropriate 2021-03-08 14:08:36 +03:00
Hleb Valoshka 0dab2d9d5b astro - add useful literals
* au (astronomic units)
 * ly (light years)
 * c (speed of light)
2021-03-08 14:08:36 +03:00
Hleb Valoshka b714d109af Fix warnings shown by MinGW compiler 2021-03-03 20:18:32 +03:00
Hleb Valoshka 7043d45164 Restore possibility to blacklist GL extensions 2021-03-03 20:18:32 +03:00
Hleb Valoshka 41c4ecf47c Fix RenderFlags' compatibility with 1.6.x 2021-03-03 20:18:32 +03:00
Hleb Valoshka 959d31de70 Fix LuaState::loadScript() usage 2021-03-03 20:18:32 +03:00
Hleb Valoshka d41a375c04 Use std::tie in `operator<` 2021-03-03 20:18:32 +03:00
Hleb Valoshka f265e70607 Add an array_view class as a read-only analog of c++20's std::span 2021-03-03 20:18:32 +03:00
Hleb Valoshka bb9551bcf5 Add a C++17 compatible charconv, from_chars only 2021-03-03 20:18:32 +03:00
Hleb Valoshka 95c24446c1 Add a C++17 compatible string_view implementation
Actually there are some limitation caused by the fact that other classes
(e.g. std::string) don't know about string_view, so such limitation must
be handled manually.
2021-03-03 20:18:32 +03:00
Levin Li 00a395d3c6 Fix crash due to use of uninitialized memory 2021-03-01 19:24:06 +08:00
Levin Li f761c59f32 Fix crash in rendering orbits again 2021-02-26 20:56:16 +08:00
Darshaka Pathirana 52cb444d02 Update Debian 10 (buster) installation instruction
Avoid using `apt-key add -` and follow Debian best-practices on how to use 3rd party Debian repository signed keys:

* https://michael-prokop.at/blog/2021/02/16/how-to-properly-use-3rd-party-debian-repository-signing-keys-with-apt/
* https://wiki.debian.org/DebianRepository/UseThirdParty#Sources.list_entry

That way you can also encourage the user to check the GPG fingerprint.

Added Debian codename "buster", so people can find it when searching for it in this repository.

Also removed Bintray URL as it is deprecated and is going "sunset" on May 1st 2021,
see: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
2021-02-26 15:56:08 +03:00
Levin Li e0e49a6d24 Call flush in end and only bind buffer once 2021-02-22 20:17:28 +08:00
dependabot[bot] a8bfcc9691 Bump cryptography from 3.2 to 3.3.2 in /src/tools/celestia-gaia-stardb
Bumps [cryptography](https://github.com/pyca/cryptography) from 3.2 to 3.3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/3.2...3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-12 01:08:32 +03:00
Hleb Valoshka 5360a165e0 Update debian/copyright for new files 2021-01-14 16:46:12 +03:00
Hleb Valoshka 18c5126459 Copy console output into a file
Currently Qt frontend only, can be activated by passing -l/--log option:
celestia-qt --log /tmp/celestia.log
2021-01-14 16:45:57 +03:00
Hleb Valoshka 6b512f5fe9 Drop software S3/DXT compression support 2021-01-14 16:45:42 +03:00
Levin Li d6a5b7240e Fix point sprite not scaled in models 2021-01-05 13:50:06 +08:00
Levin Li 6e9bf032d8 Remove dead frontends 2021-01-04 16:28:04 +08:00
Levin Li 0c6ef0d0d6 Draw lines in models with triangles 2021-01-04 08:32:52 +08:00
Levin Li b21a5fd404 Draw lines with lines when lineWidth < maxLineWidth 2021-01-03 17:21:55 +08:00
Levin Li 668fd219cc Render lines with triangles 2021-01-03 17:21:55 +08:00
Georgi 7d4398c088 Wording Improvements to BG 2
Redo the last PR.
2021-01-01 13:39:57 +03:00
Levin Li 160d1b95cd Fix galaxy flickering on zooming in 2020-12-29 15:16:29 +08:00
Levin Li c507171ee3 Update azure-pipelines.yml 2020-12-29 15:15:36 +08:00
Levin Li fe6a832941 Update .appveyor.yml
Temporary fix to appveyor build.
2020-12-09 19:26:14 +08:00
SevenSpheres 694110ccc3 Update celestia-gaia-stardb
v1.0.4, hopefully final version
2020-12-06 12:26:03 -05:00
Levin Li c31e0da681 Show line width range in info 2020-12-05 23:00:31 +08:00
SevenSpheres 4e5d5bd33b Auto-update version number in README 2020-12-04 09:27:38 -05:00
Levin Li e2b9598f17 Always use gl_PointSize in shader to set point size 2020-12-04 19:46:32 +08:00
Hleb Valoshka 3ece44ff2a Update latest release version and download page 2020-12-03 20:18:08 +03:00
Levin Li ddf92cb77c Set up CI with Azure Pipelines
[skip ci]
2020-12-03 23:26:12 +08:00
Levin Li 22590114d1 Set line width according to DPI 2020-12-03 15:14:39 +08:00
Levin Li 21cba1eaeb Fix orbit depth bug in rendering 2020-12-01 15:59:41 +08:00
Levin Li 6848f65ee9 Fix point star rendering 2020-11-29 18:21:51 +08:00
Levin Li a0186828eb Fix largestar shader on some platforms 2020-11-22 14:48:34 +08:00
Levin Li b465017de8 Support fisheye projection, dumb version 2020-11-20 23:52:23 +08:00
Levin Li 62b5f58351 Fix GTK building with gettext
@munix9
2020-11-18 08:06:54 +08:00
SevenSpheres 753efbf6ac Update celestia-gaia-stardb 2020-11-17 12:21:48 -05:00
Levin Li 0a891c4a11 More eigen fixes 2020-11-17 21:10:01 +08:00
Levin Li b8caa691f4 Use cmake define for filesystem include 2020-11-17 21:08:55 +08:00
Levin Li 9678af503e Update .travis.yml 2020-11-17 20:57:54 +08:00
Levin Li 2d16342b5f Strip alpha value in save screenshot as PNG as well 2020-11-14 10:10:18 +08:00
Levin Li 16f06574ab Use GL_RGBA to read pixels on GLES 2020-11-12 22:54:06 +08:00
Levin Li b64abb2a56 Allow to block text display with text display hander 2020-11-09 22:29:03 +08:00
Levin Li 1a2ccd2d59 Add callback for text display 2020-11-07 07:20:50 +08:00
dependabot[bot] 6739779ce0 Bump cryptography from 2.7 to 3.2 in /src/tools/celestia-gaia-stardb
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.7 to 3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.7...3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-28 13:29:19 +08:00
Levin Li 021d821031 Automatically adopt font DPI from screen DPI 2020-10-27 20:33:10 +08:00
Levin Li b1d7797e54 Restore sun halo 2020-10-27 16:53:59 +08:00
Levin Li aca0243488 Add scale for globular shader for HiDPI 2020-10-25 16:29:26 +08:00
Levin Li 8129589490 Fix potential crash in galaxy rendering 2020-10-23 16:05:20 +08:00
Levin Li 8fe5f876a3 Fix wrong constellation name in zh_CN.po 2020-10-19 20:24:18 +08:00
Levin Li 2a6abbce9d Support configurable pick tolerance 2020-10-11 16:53:37 +08:00
Levin Li 536c064160 Fix crash in DDS and galaxy picking 2020-10-11 16:53:12 +08:00
Levin Li 17cd02b3cc Add view port effect for post processing 2020-10-10 20:18:15 +08:00
Levin Li 1f8cc6bb52 Enable point fade 2020-10-09 01:23:42 +08:00
Levin Li 1f150db611 separate modelview and projection 2020-10-06 13:39:09 +08:00
Levin Li 5f2484cf5a Fix depth test for rendering object 2020-09-29 17:32:35 +08:00
Levin Li 94930934aa Safety check 2020-09-28 20:37:31 +08:00
Levin Li 431f2b7a98 Support DXTc software decompressing 2020-09-28 20:37:31 +08:00
Levin Li d92e5a2151 Update .appveyor.yml 2020-09-28 11:13:16 +08:00
Melroy van den Berg 6891b7560b Change domain to https://celestia.space/ 2020-09-08 21:56:32 +03:00
Tom Callaway 316d7c4a06 update ambiguous licensing 2020-08-25 12:37:51 +03:00
Georgi acd80d7dc3 Update bg.po 2020-08-09 11:42:07 +03:00
Georgi b9fb55d3aa Update bg.po 2020-08-09 11:42:07 +03:00
Georgi 2e16877701 Update start_bg.cel 2020-08-09 11:42:07 +03:00
Georgi 8378a3f72b Update guide_bg.cel 2020-08-09 11:42:07 +03:00
Georgi a20ded92e8 the actual commit 2020-08-09 11:42:07 +03:00
Georgi 331c2b0725 Update controls_bg.txt 2020-08-09 11:42:07 +03:00
Georgi b6b6d0ee66 Update TRANSLATORS 2020-08-09 11:42:07 +03:00
Georgi c5c40dfcd8 Add files via upload 2020-08-09 11:42:07 +03:00
Konstantin Podsvirov 5c17a06661 Building celestia-sdl with MinGW
Tested with SDL2 library from MSYS2 software distribution.
2020-08-07 11:48:39 +03:00
Hleb Valoshka 929390eec6 Use internal state management to check MSAA state 2020-08-05 09:58:26 +03:00
Hleb Valoshka 8768f3497a Refactor depth state changing 2020-08-05 09:58:26 +03:00
Hleb Valoshka c26f64a89e Remove unneeded texture unbinds 2020-08-05 09:58:26 +03:00
Hleb Valoshka 6e8dbde814 Remove unneeded glUseProgram(0) 2020-08-05 09:58:26 +03:00
1228 changed files with 139357 additions and 584272 deletions

View File

@ -59,6 +59,8 @@ install:
- vcpkg install freetype:x86-windows
- vcpkg install sdl2:x86-windows
- git pull
- git checkout 99cfc38036f330a035b57aa67f661526153e31c7
- .\bootstrap-vcpkg.bat
- vcpkg install cspice:x86-windows
- vcpkg integrate install
- cd %APPVEYOR_BUILD_FOLDER%
@ -93,6 +95,10 @@ after_build:
7z a celestia-qt.x86.7z qt\RelWithDebInfo\*
cd ..\tools
7z a celestia-tools.x86.7z xyzv2bin\RelWithDebInfo\*.exe spice2xyzv\RelWithDebInfo\*.exe
#on_failure:
#- type "c:\projects\celestia\build\CMakeFiles\CMakeOutput.log"
#- type "c:\projects\celestia\build\CMakeFiles\CMakeError.log"

View File

@ -1,47 +1,63 @@
AccessModifierOffset: -3
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackParameters: false
BreakBeforeBinaryOperators: false
---
AccessModifierOffset: '-4'
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveMacros: 'true'
AlignConsecutiveAssignments: 'true'
AlignConsecutiveDeclarations: 'true'
AlignEscapedNewlines: Left
AlignOperands: 'true'
AlignTrailingComments: 'true'
AllowAllArgumentsOnNextLine: 'false'
AllowAllConstructorInitializersOnNextLine: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: 'true'
AlwaysBreakAfterReturnType: TopLevelDefinitions
AlwaysBreakBeforeMultilineStrings: 'false'
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakBeforeBinaryOperators: All
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 80
CommentPragmas: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 0
ContinuationIndentWidth: 0
Cpp11BracedListStyle: false
DerivePointerBinding: false
IndentCaseLabels: false
IndentFunctionDeclarationAfterType: false
IndentWidth: 4
BreakBeforeTernaryOperators: 'false'
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
BreakStringLiterals: 'true'
ColumnLimit: '100'
CompactNamespaces: 'false'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'false'
Cpp11BracedListStyle: 'false'
FixNamespaceComments: 'true'
IncludeBlocks: Regroup
IndentCaseLabels: 'false'
IndentPPDirectives: None
IndentWidth: '4'
IndentWrappedFunctionNames: 'false'
KeepEmptyLinesAtTheStartOfBlocks: 'false'
Language: Cpp
MaxEmptyLinesToKeep: 2
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: None
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 100
PenaltyBreakComment: 100
PenaltyBreakFirstLessLess: 0
PenaltyBreakString: 100
PenaltyExcessCharacter: 1
PenaltyReturnTypeOnItsOwnLine: 20
PointerBindsToType: true
SpaceBeforeAssignmentOperators: true
PointerAlignment: Right
ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'
SpaceAfterLogicalNot: 'false'
SpaceAfterTemplateKeyword: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
Standard: Cpp11
TabWidth: 4
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceInEmptyParentheses: 'false'
SpacesBeforeTrailingComments: '1'
SpacesInAngles: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: c++17
TabWidth: '4'
UseTab: Never
UseCRLF: 'false'

248
.github/workflows/ci.yml vendored 100644
View File

@ -0,0 +1,248 @@
name: Celestia
on:
push:
branches: [ master ]
paths: [ src/**, test/**, .github/workflows/ci.yml, CMakeLists.txt ]
pull_request:
branches: [ master ]
paths: [ src/**, test/**, .github/workflows/ci.yml, CMakeLists.txt ]
env:
BUILD_TYPE: RelWithDebInfo
CTEST_OUTPUT_ON_FAILURE: 1
VCPKG_BINARY_SOURCES: 'clear;nuget,GitHub,readwrite'
jobs:
build-windows:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
platform: [x64, x86]
generator_platform: [x64, Win32]
include:
- platform: x64
generator_platform: x64
- platform: x86
generator_platform: Win32
exclude:
- platform: x64
generator_platform: Win32
- platform: x86
generator_platform: x64
steps:
- name: 'Setup NuGet Credentials'
shell: 'bash'
run: >
$(c:/vcpkg/vcpkg fetch nuget | tail -n 1)
sources add
-source "https://nuget.pkg.github.com/CelestiaProject/index.json"
-storepasswordincleartext
-name "GitHub"
-username "CelestiaProject"
-password "${{ secrets.GITHUB_TOKEN }}"
- name: 'Install dependencies'
run: vcpkg --triplet=${{matrix.platform}}-windows install --recurse libpng libjpeg-turbo gettext luajit fmt libepoxy eigen3 freetype cspice qt5-base
- name: 'Checkout source code'
uses: actions/checkout@v2
with:
submodules: true
- name: 'Configure CMake'
run: cmake -B ${{github.workspace}}/build -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=${{matrix.platform}}-windows -DCMAKE_GENERATOR_PLATFORM=${{matrix.generator_platform}} -DENABLE_SPICE=ON -DENABLE_TOOLS=ON -DENABLE_TESTS=ON -DENABLE_SDL=OFF -DENABLE_QT=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- /maxcpucount:2 /nologo
- name: 'Copy DLL for tests'
working-directory: ${{github.workspace}}/build
run: |
copy src\celestia\${{env.BUILD_TYPE}}\*.dll test\unit\${{env.BUILD_TYPE}}\
copy src\celestia\${{env.BUILD_TYPE}}\*.dll test\integration\${{env.BUILD_TYPE}}\
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}
- name: Package artifacts
working-directory: ${{github.workspace}}/build/src/celestia
run: |
7z a celestia-dep.${{matrix.platform}}.7z ${{env.BUILD_TYPE}}\*
7z a celestia-win.${{matrix.platform}}.7z win32\${{env.BUILD_TYPE}}\* win32\res\${{env.BUILD_TYPE}}\res_*.dll
c:\vcpkg\ports\qt5-base\qtdeploy.ps1 qt\${{env.BUILD_TYPE}}\
7z a celestia-qt.${{matrix.platform}}.7z qt\${{env.BUILD_TYPE}}\*
cd ..\tools
7z a celestia-tools.${{matrix.platform}}.7z xyzv2bin\${{env.BUILD_TYPE}}\*.exe spice2xyzv\${{env.BUILD_TYPE}}\*.exe
- name: Upload artifacts
uses: actions/upload-artifact@v2
if: success()
with:
name: celestia-${{matrix.platform}}
path: ${{github.workspace}}/build/src/*/*.7z
build-ubuntu-old:
strategy:
fail-fast: false
matrix:
platform: [ ubuntu-18.04 ]
runs-on: ${{matrix.platform}}
steps:
- name: 'Install dependencies'
run: |
sudo apt update
sudo apt install -y libeigen3-dev \
libepoxy-dev \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libswscale-dev \
libjpeg-dev \
libpng-dev \
libglu1-mesa-dev \
qtbase5-dev \
qtbase5-dev-tools \
libqt5opengl5-dev \
libgtk-3-dev \
libfreetype6-dev \
libsdl2-dev \
libluajit-5.1-dev \
libfmt-dev \
ninja-build
- name: 'Checkout source code'
uses: actions/checkout@v2
with:
submodules: true
- name: 'Configure CMake'
run: |
cmake -B ${{github.workspace}}/build \
-G Ninja \
-DENABLE_GLES=ON \
-DENABLE_SPICE=ON \
-DENABLE_TOOLS=OFF \
-DENABLE_TESTS=ON \
-DENABLE_SDL=ON \
-DENABLE_GTK=ON \
-DUSE_GTK3=ON \
-DENABLE_FFMPEG=ON
- name: Build
working-directory: ${{github.workspace}}/build
run: ninja
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest
gnulinux-arm64:
runs-on: self-hosted
steps:
- name: 'Install dependencies'
run: |
#sudo dnf config-manager --set-enabled ol8_codeready_builder
sudo yum install -y eigen3-devel \
libepoxy-devel \
libpng-devel \
libjpeg-turbo-devel \
freetype-devel \
SDL2-devel \
lua-devel \
gtk3-devel \
gettext-devel \
cmake \
ninja-build \
gcc-toolset-11-gcc-c++
- name: 'Checkout source code'
uses: actions/checkout@v2
with:
submodules: true
- name: 'Configure CMake'
run: |
cmake -B ${{github.workspace}}/build \
-G Ninja \
-DENABLE_GLES=ON \
-DENABLE_SPICE=ON \
-DENABLE_TOOLS=ON \
-DENABLE_TESTS=ON \
-DENABLE_SDL=ON \
-DENABLE_GTK=ON \
-DUSE_GTK3=ON \
-DENABLE_QT=OFF \
-DENABLE_FFMPEG=OFF
env:
CC: /opt/rh/gcc-toolset-11/root/usr/bin/gcc
CXX: /opt/rh/gcc-toolset-11/root/usr/bin/g++
- name: Build
working-directory: ${{github.workspace}}/build
run: ninja
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest
sonarscanner:
runs-on: sonarscanner
steps:
- name: 'Install dependencies'
run: |
sudo apt update
sudo apt install -y libeigen3-dev \
libepoxy-dev \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libswscale-dev \
libjpeg-dev \
libpng-dev \
libglu1-mesa-dev \
qtbase5-dev \
qtbase5-dev-tools \
libqt5opengl5-dev \
libfreetype6-dev \
libsdl2-dev \
libluajit-5.1-dev \
cmake
- name: 'Checkout source code'
uses: actions/checkout@v2
with:
submodules: true
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: 'Configure CMake'
run: |
cmake -B ${{github.workspace}}/build \
-G Ninja \
-DENABLE_GLES=ON \
-DENABLE_SPICE=OFF \
-DENABLE_TOOLS=OFF \
-DENABLE_TESTS=OFF \
-DENABLE_SDL=ON \
-DENABLE_GTK=OFF \
-DENABLE_QT=ON \
-DENABLE_FFMPEG=ON \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
- name: Analyze
run: |
sonar-scanner \
-Dsonar.cfamily.compile-commands=build/compile_commands.json \
-Dsonar.organization=celestiaproject \
-Dsonar.projectKey=CelestiaProject_Celestia \
-Dsonar.sources=src/ \
-Dsonar.exclusions=src/celestia/win32/**,src/celestia/win32/gtk/**,src/celestia/glut/** \
-Dsonar.test.exclusions=test/** \
-Dsonar.tests=test/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -0,0 +1,29 @@
name: Celestia
on:
push:
branches: [ master ]
paths: [ po/**, .github/workflows/translations.yml ]
pull_request:
branches: [ master ]
paths: [ po/**, .github/workflows/translations.yml ]
jobs:
gettext:
strategy:
fail-fast: true
matrix:
platform: [ ubuntu-latest ]
runs-on: ubuntu-latest
steps:
- name: 'Install dependencies'
run: |
sudo apt update
sudo apt install -y gettext
- name: 'Checkout source code'
uses: actions/checkout@v2
- name: 'Validate translations'
working-directory: ${{github.workspace}}/po
run: for i in *.po; do msgfmt --statistics --verbose $i; done

4
.gitignore vendored
View File

@ -2,12 +2,14 @@
Debug/
Release/
.vs/
.vscode/
*~
*.o
*.a
*.la
*.exe
*.dll
*.swp
.DS_Store
po*/*.gmo
po*/POTFILES
@ -21,3 +23,5 @@ extras-standard/
models/
textures/
mingw/
content/
CMakeSettings.json

18
.gitmodules vendored
View File

@ -1,13 +1,9 @@
[submodule "thirdparty/Eigen"]
path = thirdparty/Eigen
url = https://github.com/eigenteam/eigen-git-mirror
branch = branches/3.3
[submodule "thirdparty/fmt"]
path = thirdparty/fmt
url = https://github.com/fmtlib/fmt
[submodule "thirdparty/Spice"]
path = thirdparty/Spice
url = https://github.com/OpenSpace/Spice
[submodule "content"]
path = content
url = https://github.com/CelestiaProject/CelestiaContent.git
url = https://github.com/OpenSpace/Spice.git
[submodule "thirdparty/fmt"]
path = thirdparty/fmt
url = https://github.com/fmtlib/fmt.git
[submodule "src/tools/celestia-gaia-stardb"]
path = src/tools/celestia-gaia-stardb
url = https://github.com/ajtribick/celestia-gaia-stardb.git

View File

@ -1,5 +1,5 @@
dist: xenial
osx_image: xcode11.4
osx_image: xcode12.2
language: cpp
sudo: true
@ -66,4 +66,3 @@ addons:
- freetype
- libepoxy
- sdl2
update: true

View File

@ -1,7 +1,12 @@
cmake_minimum_required(VERSION 3.1.0)
cmake_minimum_required(VERSION 3.8)
option(LEGACY_OPENGL_LIBS "Use legacy OpenGL libraries instead of glvnd library (Default: off)" OFF)
# Plain and keyword target_link_libraries() signatures cannot be mixed
if (POLICY CMP0023)
cmake_policy(SET CMP0023 NEW)
endif()
# Honor link flags in try_compile()
if (POLICY CMP0056)
cmake_policy(SET CMP0056 NEW)
@ -34,7 +39,7 @@ endif()
# Remove leading and trailing whitespace from libraries linked
if(POLICY CMP0004)
cmake_policy(SET CMP0004 OLD)
cmake_policy(SET CMP0004 NEW)
endif()
project(celestia VERSION 1.7.0 LANGUAGES C CXX)
@ -45,21 +50,30 @@ set(DISPLAY_NAME "Celestia")
option(ENABLE_CELX "Enable celx scripting, requires Lua library? (Default: on)" ON)
option(ENABLE_SPICE "Use spice library? (Default: off)" OFF)
option(ENABLE_NLS "Enable interface translation? (Default: on)" ON)
option(ENABLE_GLUT "Build simple Glut frontend? (Default: on)" OFF)
option(ENABLE_GLUT "Build simple Glut frontend? (Default: off)" OFF)
option(ENABLE_GTK "Build GTK2 frontend (Unix only)? (Default: off)" OFF)
option(ENABLE_QT "Build Qt frontend? (Default: on)" ON)
option(ENABLE_SDL "Build SDL frontend? (Default: off)" OFF)
option(ENABLE_WIN "Build Windows native frontend? (Default: on)" ON)
option(ENABLE_THEORA "Support video capture to OGG Theora? (Default: on)" ON)
option(ENABLE_FFMPEG "Support video capture using FFMPEG (Default: off)" OFF)
option(ENABLE_TOOLS "Build different tools? (Default: off)" OFF)
option(NATIVE_OSX_APP "Support native OSX paths read data from (Default: off)" OFF)
option(FAST_MATH "Build with unsafe fast-math compiller option (Default: off)" OFF)
option(ENABLE_TESTS "Enable unit tests? (Default: off)" OFF)
option(ENABLE_DATA "Install data from content submodule? (Default: on)" ON)
option(ENABLE_GLES "Build for OpenGL ES 2.0 instead of OpenGL 2.1 (Default: off)" OFF)
option(USE_GTKGLEXT "Use libgtkglext1 for GTK2 frontend (Default: on)" ON)
option(USE_QT6 "Use Qt6 in Qt frontend (Default: off)" OFF)
option(USE_GTK3 "Use Gtk3 in GTK2 frontend (Default: off)" OFF)
if(ENABLE_GLES)
add_definitions(-DGL_ES)
# Disable USE_GTKGLEXT if using OpenGL ES
set(USE_GTKGLEXT OFF)
endif()
if(USE_GTK3)
# Disable USE_GTKGLEXT if using Gtk+3
set(USE_GTKGLEXT OFF)
endif()
if(NOT CMAKE_BUILD_TYPE)
@ -68,7 +82,7 @@ endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(UNIX AND (NOT APPLE) AND (NOT CYGWIN))
if(UNIX AND (NOT CYGWIN))
set(_UNIX true)
endif()
@ -77,7 +91,9 @@ endif()
add_definitions(-D_USE_MATH_DEFINES)
# Let CMake handle setting C++11 (since 3.1)
set(CMAKE_CXX_STANDARD 11)
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
set(CMAKE_C_STANDARD 11)
# Use our cmake files
@ -90,26 +106,32 @@ endif()
include(CheckIncludeFiles)
include(CheckIncludeFileCXX)
include(FastMath)
if(NOT WIN32)
include(cotire)
else()
macro(cotire _target)
endmacro()
endif()
#
# Compile options
#
if(MSVC)
# CMake 3.14 and below set warning flags by default, remove them to prevent conflicts
string(REGEX REPLACE "/W[3|4]" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
string(REGEX REPLACE "/W[3|4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
# Disabled warnings
# C4244, C4267, C4503: implicit type conversion to a smaller type
# C4786: long names in templates
# C4800: forcing value to bool
# C4455: reserved literals (no undescore at the beginning)
# C5030: not recognized attribute
# C5105: macro expansion producing 'defined' has undefined behavior
# Additional options
# bigobj: generate more object sections than allowed by default
# Promoted to errors
# C4316: object allocated on the heap may not be aligned 16
add_compile_options("/wd4244" "/wd4267" "/wd4503" "/wd4800" "/bigobj" "/we4316")
add_compile_options("/wd4244" "/wd4267" "/wd4503" "/wd4800" "/wd4455" "/wd5030" "/wd5105" "/bigobj" "/we4316")
if(MSVC_VERSION GREATER_EQUAL 1914)
# /Zc:__cplusplus: correctly set __cplusplus macro value
add_compile_options("/Zc:__cplusplus")
endif()
endif()
if(NOT WIN32)
@ -118,6 +140,12 @@ if(NOT WIN32)
add_compile_options(-fPIC)
endif()
if(MINGW)
# MinGW has a bug which causes too many false-positive warnings
# for 'operator!='
add_compile_options(-Wno-attributes)
endif()
EnableFastMath(${FAST_MATH})
#
@ -133,51 +161,20 @@ if(ENABLE_NLS)
find_package(Intl REQUIRED)
include_directories(${Intl_INCLUDE_DIRS})
link_libraries(${Intl_LIBRARIES})
# begin static libintl support
# libintl.a may depend on libiconv.a and libcharset.a
# this is the case of vcpkg + mingw, for example
macro(try_compile_intl)
set(_argv ${ARGV})
try_compile(INTLLIB ${CMAKE_BINARY_DIR}
"${CMAKE_SOURCE_DIR}/checks/intl.cpp"
LINK_LIBRARIES ${_argv}
CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${Intl_INCLUDE_DIRS}")
endmacro()
try_compile_intl(${Intl_LIBRARIES})
if (NOT INTLLIB)
message(STATUS "Checking for libiconv and libcharset dependencies of libintl")
find_package(Iconv REQUIRED)
link_libraries(${Iconv_LIBRARIES})
try_compile_intl(${Intl_LIBRARIES} ${Iconv_LIBRARIES})
if (NOT INTLLIB)
find_library(Charset_LIBRARY NAMES libcharset charset HINTS Charset_DIR)
try_compile_intl(${Intl_LIBRARIES} ${Iconv_LIBRARIES} ${Charset_LIBRARY})
if (NOT INTLLIB)
message(FATAL_ERROR "LibIntl has unknown dependencies")
else()
link_libraries(${Charset_LIBRARY})
endif()
endif()
endif()
# end static libintl support
add_definitions(-DENABLE_NLS)
else()
message(STATUS "NLS is disabled. Not looking for gettext and libintl.")
endif()
if(ENABLE_SPICE)
find_package(Cspice)
find_package(CSPICE)
if(NOT CSPICE_FOUND)
message(STATUS "Using cspice submodule")
add_subdirectory("${CMAKE_SOURCE_DIR}/thirdparty/Spice")
get_target_property(SPICE_INCLUDE_DIR Spice INCLUDE_DIRECTORIES)
get_target_property(SPICE_INCLUDE_DIR spice INCLUDE_DIRECTORIES)
include_directories(${SPICE_INCLUDE_DIR})
message(STATUS "Spice include directories: ${SPICE_INCLUDE_DIR}")
add_library(CSPICE::CSPICE ALIAS Spice)
add_library(CSPICE::CSPICE ALIAS spice)
else()
include_directories(${CSPICE_INCLUDE_DIR})
endif()
@ -186,15 +183,22 @@ else()
message(STATUS "NAIF SPICE is disabled. Not looking for cspice library.")
endif()
if(_UNIX)
find_package(PkgConfig)
if(ENABLE_FFMPEG)
include(FindFFMPEG)
find_package(FFMPEG REQUIRED COMPONENTS avcodec avutil avformat swscale)
include_directories(${FFMPEG_INCLUDE_DIRS})
add_definitions(-DUSE_FFMPEG)
endif()
if(_UNIX AND ENABLE_THEORA)
pkg_search_module(THEORA theora REQUIRED)
include_directories(${THEORA_INCLUDE_DIRS})
link_libraries(${THEORA_LIBRARIES})
add_definitions(-DTHEORA)
if(ENABLE_LIBAVIF)
find_package(Libavif REQUIRED)
link_libraries(libavif::libavif)
include_directories(${LIBAVIF_INCLUDE_DIR})
add_definitions(-DUSE_LIBAVIF)
endif()
if(_UNIX)
find_package(PkgConfig)
endif()
if(WIN32)
@ -211,23 +215,16 @@ find_package(Libepoxy REQUIRED)
link_libraries(libepoxy::libepoxy)
include_directories(${LIBEPOXY_INCLUDE_DIR})
find_package(Eigen3 3.3 NO_MODULE) # -DEigen3_DIR=...
if(TARGET Eigen3::Eigen)
message(STATUS "Found Eigen3 ${EIGEN3_VERSION_STRING}")
link_libraries(Eigen3::Eigen)
else()
message(STATUS "Using Eigen submodule")
include_directories("${CMAKE_SOURCE_DIR}/thirdparty/Eigen")
endif()
find_package(Eigen3 3.3 REQUIRED NO_MODULE) # -DEigen3_DIR=...
message(STATUS "Found Eigen3 ${EIGEN3_VERSION_STRING}")
link_libraries(Eigen3::Eigen)
find_package(fmt 4.0.0 CONFIG QUIET)
if(fmt_FOUND)
link_libraries(fmt::fmt)
else()
find_package(fmt 6.1.0 CONFIG QUIET)
if(NOT fmt_FOUND)
message(STATUS "Using fmt submodule")
add_subdirectory("${CMAKE_SOURCE_DIR}/thirdparty/fmt")
link_libraries(fmt::fmt)
endif()
link_libraries(fmt::fmt)
find_package(PNG REQUIRED)
add_definitions(${PNG_DEFINITIONS})
@ -253,6 +250,14 @@ endif()
find_package(Freetype REQUIRED)
link_libraries(Freetype::Freetype)
find_package(meshoptimizer CONFIG QUIET)
if(meshoptimizer_FOUND)
message(STATUS "Found meshoptimizer library")
set(HAVE_MESHOPTIMIZER 1)
else()
message(STATUS "meshoptimizer library is missing")
endif()
#[[
get_cmake_property(_variableNames VARIABLES)
list (SORT _variableNames)
@ -344,6 +349,12 @@ if("${build_type_lc}" STREQUAL "debug")
add_definitions(-D_DEBUG -DDEBUG)
else()
add_definitions(-DNO_DEBUG -DEIGEN_NO_DEBUG)
if(NOT MSVC)
add_compile_options(
$<$<COMPILE_LANGUAGE:CXX>:-fno-rtti>
$<$<COMPILE_LANGUAGE:CXX>:-fno-exceptions>
)
endif()
endif()
# Turning all debug on dramatically decreases performance
@ -358,36 +369,27 @@ include_directories("${CMAKE_SOURCE_DIR}/src" ${CMAKE_BINARY_DIR})
include(CheckSymbolExists)
check_symbol_exists(wordexp wordexp.h HAVE_WORDEXP)
check_include_files(byteswap.h HAVE_BYTESWAP_H)
check_include_file_cxx(experimental/filesystem HAVE_EXPERIMENTAL_FILESYSTEM)
if(HAVE_EXPERIMENTAL_FILESYSTEM)
# Try compile without linking against any library
try_compile(CXXFSLIB ${CMAKE_BINARY_DIR} "${CMAKE_SOURCE_DIR}/checks/cxxfs.cpp")
if(CXXFSLIB)
# Nothing to do, linking is not explicitly required
else()
# Find the filesystem lib we need to link against
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
find_library(CLANG_FS_LIBRARY "c++fs")
if(CLANG_FS_LIBRARY)
set(FS_LIBRARY c++fs)
else()
set(FS_LIBRARY stdc++fs)
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(FS_LIBRARY stdc++fs)
endif()
try_compile(CXXFSLIB ${CMAKE_BINARY_DIR} "${CMAKE_SOURCE_DIR}/checks/cxxfs.cpp" LINK_LIBRARIES "${FS_LIBRARY}")
if(CXXFSLIB)
link_libraries("${FS_LIBRARY}")
else()
set(HAVE_EXPERIMENTAL_FILESYSTEM OFF)
message(WARNING "C++ experimental filesystem library is unusable!\nWill use own implementation.")
endif()
endif()
find_package(Filesystem REQUIRED COMPONENTS Final Experimental)
if(CXX_FILESYSTEM_IS_EXPERIMENTAL)
message(WARNING "C++ lacks header <filesystem>, using <experimental/filesystem> instead.")
else()
set(HAVE_STD_FILESYSTEM ON)
endif()
link_libraries(std::filesystem)
try_compile(HAVE_CHARCONV ${CMAKE_BINARY_DIR} "${CMAKE_SOURCE_DIR}/checks/cxxccint.cpp")
if(HAVE_CHARCONV)
try_compile(HAVE_FLOAT_CHARCONV ${CMAKE_BINARY_DIR} "${CMAKE_SOURCE_DIR}/checks/cxxccfloat.cpp")
if(NOT HAVE_FLOAT_CHARCONV)
message(WARNING "C++ charconv lacks floating point support!\nWill use own implementation.")
endif()
else()
message(WARNING "C++ charconv is unusable!\nWill use own implementation.")
endif()
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
configure_file("config.h.in" "config.h")
@ -407,17 +409,12 @@ endif()
add_subdirectory(src)
add_subdirectory(po)
add_subdirectory(po2)
add_subdirectory(fonts)
add_subdirectory(images)
add_subdirectory(locale)
add_subdirectory(scripts)
add_subdirectory(shaders)
if(ENABLE_DATA)
add_subdirectory(content)
endif()
if(ENABLE_TESTS)
enable_testing()
add_subdirectory(test)

108
ChangeLog
View File

@ -246,7 +246,7 @@ Code:
* Windows version: InstallShield setup
* Windows version: added controls help dialog
* UNIX version: implemented find object and about dialogs (Gnome/Gtk only)
Code:
* Moved star browser and solar system browser code into separate modules
* Fixed DPRINTF macro so it's not broken in g++
@ -276,7 +276,7 @@ Code:
textures added to OpenGL Info dialog.
* New objects: Comet Borrelly, the giant Kuiper Belt object 2001 KX76,
and the Hubble Space Telescope
Code:
* Rewrote texture and model managers
* Cleaned up simulation.cpp to use frames of reference and eliminated a lot
@ -393,7 +393,7 @@ Code:
a single modeless dialog.
* Fixed period and rotation of Phoebe
1.2.1
* Unix: configure.in changes to better find OpenGL libraries by Bruckner.
* Added accurate orbital calculations for Galilean satellites.
@ -404,7 +404,7 @@ Code:
* Windows: Fixed crash that occurred when recalling a location with
no selection
1.2.2
* Improved find algorithm for starnames, and combined names from hdnames.dat
into starnames.dat. Also added several additional names and variant spellings
@ -557,7 +557,7 @@ Code:
* New colors for celestial grid and constellation figures
* Tuning of Gnome GUI: underlined key accelerators, enabled operation of all
dialogs and menus with ALT <key>, arrow keys, and Tab
* Linux: GUI now synced with current state of pixel/vertex shaders
* Linux: GUI now synced with current state of pixel/vertex shaders
* New keyboard bindings:
Ctrl+Y : automag toggle
Ctrl+T : toggle display of comet tails
@ -572,16 +572,16 @@ Code:
when building with VS.NET
* Cleaned up OpenGL extension initialization
* Significantly improved the reliability of object selection via mouse
click, notably for small fields of view in the arcsec range.
click, notably for small fields of view in the arcsec range.
* Fixed the 'move' script command
* New script commands: setfaintestautomag45deg {magnitude float},
lookback {}
* [,] keys now adjust the limiting magnitude at 45 degrees
field of view, if automag is ON. Values displayed via flash messages
* New script commands: setfaintestautomag45deg {magnitude float},
lookback {}
* [,] keys now adjust the limiting magnitude at 45 degrees
field of view, if automag is ON. Values displayed via flash messages
* Associated the 'looking back' operation with the '*' key shortcut
* Fixed bug in orbits of Galilean moons
* Corrected equatorial planes and rotation offsets for the major planets
* Linux: Added KDE interface, all features of the GTK interface are
* Linux: Added KDE interface, all features of the GTK interface are
available (except for the Tour Guide), new features include:
- Bookmarks / URLs;
- History navigation;* Improved drag and drop of cel:// URLs on Windows
@ -632,8 +632,8 @@ Code:
- Markers may also be set on objects using the right-click context menu
- Added mark/unmark commands for scripts
- Bound Ctrl+K to toggle display of markers
- Added flash messages indicating on|off status of markers
- Implemented markers into KDE interface
- Added flash messages indicating on|off status of markers
- Implemented markers into KDE interface
* Added triangle-accurate picking of mesh objects
* Multiview
- Ctrl+R : split view vertically
@ -664,7 +664,7 @@ Code:
* Updated configuration files for new versions of autoconf
1.3.1
* Improved inclusion of light travel delay, also in KDE time setting dialog
* Improved inclusion of light travel delay, also in KDE time setting dialog
* Fixed lookback command for subsequent changes of target speed
* Allow wildcard character * inplace of extension for texture filenames
* Fix bump mapping (again)
@ -706,7 +706,7 @@ Code:
* Made cancel script command stop motion, tracking, and any object-relative
coordinate system.
* Adjusted estimates for radii and rotation periods of extrasolar planets;
rotation rates account (somewhat) for the effects of tidal despinning.
rotation rates account (somewhat) for the effects of tidal despinning.
* Fixed a bug that was causing precision loss in orientation values; this fixes
some of the jerkiness apparent at very low fields of view.
* Corrected radii of Uranus's rings
@ -739,7 +739,7 @@ Code:
* Eliminated obscuring of location labels that occurred low view aspect ratios
* Added models of comet Halley and the small moons Pandora and Larissa
* Added limit of knowledge masks for the Galilean moons
* Changed spectral class of carbon stars to C, which supercedes and combines
* Changed spectral class of carbon stars to C, which supersedes and combines
R and N
* Lua scripting additions
* View management commands
@ -760,7 +760,7 @@ Code:
* Implemented an algorithm for importance weights to avoid overlapping or
too crowded location labels for Mars, Venus and the Moon
* Added new textures for Titan based on recent imaging from the Cassini
mission
mission
* Improved depth sorting so that hidden surface removal works properly for
overlapping objects
* Added theoretical estimates of oblateness and rotation rate for extrasolar
@ -805,16 +805,16 @@ Code:
* Implemented new GLSL render path; NVIDIA combiners and GeForceFX paths
deprecated.
* Display UTF-8 superscript digits in some star names
* Updated the Titan texture. It accomodates all published high resolution
imaging from the Cassini mission until and including the flyby of 03/31/05.
* Updated the Titan texture. It accomodates all published high resolution
imaging from the Cassini mission until and including the flyby of 03/31/05.
* Updated the Iapetus texture. It accomodates all published high resolution
imaging from the Cassini mission, including also a unique hires photo taken
in "Saturn shine".
imaging from the Cassini mission, including also a unique hires photo taken
in "Saturn shine".
* Added catalogs of 163 visual and 39 spectroscopic binary orbits,
respectively, (S<>erhjelm 1999, Pourbaix 2000) with known primary/secondary
mass ratios.
* Added an extended and precise data base of 942 galaxies
(Steinicke's rev. NGC/IC, 2005) with a magnitude cutoff Bmag < 12.
* Added an extended and precise data base of 942 galaxies
(Steinicke's rev. NGC/IC, 2005) with a magnitude cutoff Bmag < 12.
* Included the commented PERL scripts used to extract and adapt the binary
orbit and galaxy data from published professional catalogs.
* Added --extrasdir command line option for specifying additional directories
@ -843,13 +843,13 @@ Code:
- fixed automake bug where GConf schema would always install
- removed linking against glut for no reason
* Implemented complete precision catalog (Steinicke's revised NGC/IC, 2005) of
10610 galaxies with
- distance information from four catalogs ( 6 methods ),
- <= 4 alternate names,
- info-URLs,
- absolute magnitudes and
10610 galaxies with
- distance information from four catalogs ( 6 methods ),
- <= 4 alternate names,
- info-URLs,
- absolute magnitudes and
- correct sizes & orientations in space, as calculated from catalog
parameters.
parameters.
* Included well commented Perl script (deepsky.pl) as documentation. The used distance determination method is indicated in catalog for each galaxy.
* Updated binary star data base (visualbins.stc, spectbins.dsc) and respective
PERL catalog extraction scripts (visualbins.pl, spectbins.pl), such as to eliminate double occurences wrto nearstars.stc (, which remained unaffected).
@ -890,7 +890,7 @@ Code:
template from S0 disk template via rescaling by (1.0f, 3.8f, 1.0f);
- fixed wrong x,y alignment of elliptical rescaling.
* Added code to ease compilation with newer Xcode versions (Macintosh).
* Updated src/celengine/Makefile.am for Linux building.
* Updated src/celengine/Makefile.am for Linux building.
* Introduced a new cel function => renderflags {set "nebulae"}.
* Reduced the default value of 'faintestAutoMag45deg' from 8.5 to 7.0.
* Fixed the visibility of the Milky Way during day-time and the abrupt
@ -904,10 +904,10 @@ Code:
* Deleted various source code files that became superfluous.
* Improved comet display. Introduced a neat scheme implementing comet tail
fading (between 4 and 6 AU for Sol). Systems with several suns and
luminosities different from the solar one are accounted for.
* Implemented a new, simple scheme avoiding overcrowded galaxy labels.
luminosities different from the solar one are accounted for.
* Implemented a new, simple scheme avoiding overcrowded galaxy labels.
Their "importance" is sorted according to apparent magnitude! Thus the
labels of the brightest galaxies pop up first upon zooming in...
labels of the brightest galaxies pop up first upon zooming in...
* Fixes/workarounds for OpenGL 2.0 render paths on both nVidia and ATI cards.
@ -932,7 +932,7 @@ Code:
located inside the galaxy (Milky Way...).
* Eliminated various incorrect Hubble type acronyms in deepsky.dsc that had
penetrated the PERL filter.
* Add the corrected PERL script deepsky.pl.
* Add the corrected PERL script deepsky.pl.
* Mac: Universal binary - runs natively on Intel and PPC
* Mac: OpenGL 2.0 render path should now work on many configurations
(requires OS X 10.4.3 or later)
@ -948,7 +948,7 @@ Code:
* Mac: Fixed crash when LANG or LC environment variables are set
* Mac: Added bona fide English and French help menu
* Mac: Cleaned up README in general
* Added Phoebe textures in medres and lores directories from recent published
* Added Phoebe textures in medres and lores directories from recent published
Ciclops cylindrical maps
* Updated Titan and Iapetus textures in lores directory
* Windows: save and restore the last used GL render path
@ -959,10 +959,10 @@ Code:
* KDE: Reverted mouse wheel action to be compatible with the other interfaces.
* KDE: New configurable splash screen
(http://celestia.teyssier.org/splash_spec.html)
* Updated/added Tethys textures in lores, medres and hires directories.
* Updated/added Tethys textures in lores, medres and hires directories.
* Added locations on Phoebe in satmoons2.ssc, as extracted from USGS/IAU
official data.
* Added Mesh for Phoebe texture.
* Added Mesh for Phoebe texture.
* Updated Iapetus texture.
* Moved locations files from extras into data directory for inclusion in
standard package.
@ -1002,7 +1002,7 @@ Code:
- HIP 14810 c, HD 185269 b, Gliese 849 b
- Mu Ara e
- Gliese 581 c & d, HD 175541 b, HD 210702 b, HD192699 b
- HD 47536 c, XO-2 b, HD 147506 (HAT-P-2), HD 17092 b
- HD 47536 c, XO-2 b, HD 147506 (HAT-P-2), HD 17092 b
* Revised orbits of many extrasolar planets to reflect new data
* Added stars for new extrasolar planets: GSC 92941-01657
* Mac: Show menu bar when moving mouse to top of screen in full screen
@ -1067,7 +1067,7 @@ Code:
* Added cmodsphere, a utility for producing cmod meshes from height samples
regularly spaced in longitude and latitude.
* COPYING, controls.txt, start script, and guide can all be localized
* cel and celx scripting:
* cel and celx scripting:
- added openclusters and cloudshadows render flags
- added location, nebulae, openclusers, and i18nconsteallations label flags
* Established Barycentric Dynamical Time (TDB) as the time scale used
@ -1090,12 +1090,12 @@ Code:
spectra
* Made star orbit paths visible
* galaxies:
-changed galaxy template format to standard (grayscale) PNG
-changed galaxy template format to standard (grayscale) PNG
-allow a custom template for each galaxy in deepsky.dsc
-new approach to thickness of galaxy (arms): assumed proportional to read-in
brightness values
brightness values
-emulate dust lanes around galactic plane (y=0)
-considerable improvement of Milky Way appearance as seen from Earth
-considerable improvement of Milky Way appearance as seen from Earth
-implement galaxy labels of transparency increasing with distance, thus
providing a neat 3d effect
* galaxy templates:
@ -1114,10 +1114,10 @@ Code:
- Guarded against crash when the JPL ephemeris file can't be found
* Generalized rotations
- Clear syntax for ssc files
- UniformRotation
- UniformRotation
- PrecessingOrientation
- SampledOrientation - interpolated sequence of quaternion key frames
* Scripting improvements
* Scripting improvements
- New celx scripting commands:
- utctotdb and tdbtoutc
- gl commands
@ -1125,7 +1125,7 @@ Code:
- iterators: celestia:stars and celestia:dsos
- get/setaltazimuthmode
- Lua hooks for script extensions to Celestia
- Script interfaces for orbits and rotation models (ScriptedOrbit and
- Script interfaces for orbits and rotation models (ScriptedOrbit and
ScriptedRotation)
- Support Lua 5.1 (5.0 compatibility retained)
- Made celestia:loadtexture use relative file names
@ -1148,7 +1148,7 @@ Code:
* Corrected kilometers per light year constant
* Added various improvements to the MilkyWay & other galaxy template display.
* Added E0.png galaxy template that allows for better En, n=1..7 elliptical
shapes.
shapes.
* Fixed sizes of irregular galaxies (factor of 2!).
* Prevented galaxy code from crashing if a template is missing.
* Improved selection of galaxies by taking into account their 3d shape
@ -1163,11 +1163,11 @@ Code:
* Windows: Fixed crash that occurred when star browser was closed
* Fixed bug that made moons disappear as a planet approached stellar transit
* Added a major update of the galaxy database such that close to 100% of the
galaxies now involve distance measurements
* Included the complete local group of galaxies
galaxies now involve distance measurements
* Included the complete local group of galaxies
* Added varying label transparency also for stars
* Added the PERL scripts used for extraction of galaxy and binary orbit data
from scientific sources. They both are useful tools and a concise
from scientific sources. They both are useful tools and a concise
documentation of Celestia's data
* updated binary orbit data (visualbins.stc and spectbins.stc) along with
respective PERL scripts (visualbins.pl and spectbins.pl)
@ -1220,7 +1220,7 @@ Code:
HD 167042 b, HD 74156 d, HD 285968 b, V391 Peg b,
HD 132406 b, HD 43691 b, NGC 2423 3 b, Gliese 317 b & c,
TrES-3, HD 155358 b&c, HD 5319 b, HD 75898 b, OGLE-TR-182 b, WASP-3 b,
55 Cnc f, Lupus-TR-3 b, OGLE-TR-211 b, HD 156846 b, HD 4113 b, Kap CrB b,
55 Cnc f, Lupus-TR-3 b, OGLE-TR-211 b, HD 156846 b, HD 4113 b, Kap CrB b,
GD 66 b, XO-3 b, WASP-4 b TW Hya b
removed HD 33636 b
* Set up transit of Gliese 436
@ -1383,7 +1383,7 @@ Bug fixes
* Fixed search path for Lua scripts
* Fixed numerous bugs that occurred when an object's orbit center was different
* Fixed a bug in the celx function celestia:getscreendimension
* Fixed bug with returning Hubble type for galaxies
* Fixed bug with returning Hubble type for galaxies
* Eliminated error-prone min/max macros; use STL functions instead
* Fixed discrepancy between apparent magnitudes shown in the 3D view and
the star browser.
@ -1424,9 +1424,9 @@ Data file updates
* Changed class of small outer planet moons to minormoon
* Included new and updated solar system body features from the IAU
* Added provisional rotation period for Eris
Tools
* Added Perl script globulars.pl used to extract the globular data from scientific publications and as documentation
* Added Perl script globulars.pl used to extract the globular data from scientific publications and as documentation
* Added spice2xyzv tool for extracting xyzv files from a pool of SPICE kernels
* Added Perl script to build cross-indices
* Added Perl script to generate CHARM2 catalog
@ -1557,7 +1557,7 @@ Scripting
- windowbordersvisible, setwindowbordersvisible
* Split celx scripting support into several modules
* Cel scripting
- splitview, deleteview, singleview, setactiveview
- splitview, deleteview, singleview, setactiveview
- setgalaxylightgain
- setradius
- setlinecolor

View File

@ -3,18 +3,24 @@
Stable version installation on Unix-like systems (e.g. GNU/Linux or *BSD):
* Check your OS repository for already built packages.
* Check https://celestia.space/download.html.
* Check https://bintray.com/celestia if it contains packages for your system.
Stable version installation on Windows and OSX:
* Check https://celestia.space/download.html.
Development snapshots installation on Unix-like systems:
### On Debian 10 and derived systems:
### On Debian 10 (buster) and derived systems:
```
curl https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/Release.key | sudo apt-key add -
echo "deb https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/ ./" | sudo tee /etc/apt/sources.list.d/celestia-obs.list
sudo apt update && sudo apt install celestia
curl -fsSL -o celestia.gpg https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/Release.key
gpg --keyid-format long celestia.gpg
gpg: WARNING: no command supplied. Trying to guess what you mean ...
pub rsa2048/BDF3F6ACD4D81407 2014-06-09 [SC] [expires: 2023-02-14]
3FE0C0AC1FD6F1034B818A14BDF3F6ACD4D81407
uid home:munix9 OBS Project <home:munix9@build.opensuse.org>
sudo mv celestia.gpg /usr/share/keyrings/celestia.asc
echo "deb [signed-by=/usr/share/keyrings/celestia.asc] https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/ ./" | sudo tee /etc/apt/sources.list.d/celestia-obs.list
sudo apt update && sudo apt install celestia
```
### On Ubuntu 18.04/20.04 and derived systems:
@ -28,49 +34,31 @@ sudo apt update && sudo apt install celestia
Where VERSION is 18.04 or 20.04.
### On openSUSE Leap 15.1:
### On openSUSE Leap/Tumbleweed:
```
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_Leap_15.1/home:munix9:unstable.repo
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_${VERSION}/home:munix9:unstable.repo
sudo zypper refresh
sudo zypper install celestia
```
### On openSUSE Leap 15.2:
Where VERSION is 'Leap_15.2', 'Leap_15.3' or 'Tumbleweed'.
```
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_Leap_15.2/home:munix9:unstable.repo
sudo zypper refresh
sudo zypper install celestia
```
### On openSUSE Tumbleweed:
```
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_Tumbleweed/home:munix9:unstable.repo
sudo zypper refresh
sudo zypper install celestia
```
See also the download package sites on OBS for [celestia](https://software.opensuse.org/download.html?project=home:munix9:unstable&package=celestia) and [celestia-data](https://software.opensuse.org/download.html?project=home:munix9:unstable&package=celestia-data).
### On other GNU/Linux distributions:
Try experimental portable AppImage (see https://github.com/CelestiaProject/Celestia/issues/333):
Try experimental portable AppImage (see https://github.com/CelestiaProject/Celestia/issues/333):
```
wget https://download.opensuse.org/repositories/home:/munix9:/unstable/AppImage/celestia-1.7.0-git-x86_64.AppImage
chmod 755 celestia-1.7.0-git-x86_64.AppImage
```
Optionally create a portable, main version-independent `$HOME` directory in the same folder as the AppImage file:
Optionally create a portable, main version-independent `$HOME` directory in the same folder as the AppImage file:
```
mkdir celestia-1.7.home
```
Development snapshots installation on Windows:
* https://bintray.com/celestia/celestia-builds/snapshots contains
official 32/64 bit development snapshots for Windows.
To build from sources please follow instructions below.
@ -89,25 +77,26 @@ cd Celestia
git submodule update --init
```
If you have fmtlib and Eigen3 installed from other sources (OS repository or
vcpkg) or don't want to build Celestia with SPICE support then you can skip the 3rd step.
## Celestia Install instructions for UNIX
First you need a C++ compiler able to compile C++11 code (GCC 4.8.1 or later,
Clang 3.3 or later), CMake, GNU Make or Ninja.
Then you need to have the following devel components installed before Celestia
will build: OpenGL, glu, libepoxy, theora, libjpeg, and libpng. Optional
packages are fmtlib, Eigen3, Qt5, Gtk2 and glut.
will build: OpenGL, libepoxy, fmtlib, Eigen3, freetype, libjpeg, and libpng.
Optional packages are gettext, Qt5, Gtk2 or Gtk3, sdl2, ffmpeg, libavif, glu and glut.
For example on modern Debian-derived system you need to install the following
packages: libepoxy-dev, libjpeg-dev, libpng-dev, libtheora-dev, libgl1-mesa-dev,
libglu1-mesa-dev. Then you may want to install libeigen3-dev, libfmt-dev;
qtbase5-dev, qtbase5-dev-tools and libqt5opengl5-dev if you want to build with
Qt5 interface; libgtk2.0-dev and libgtkglext1-dev to build with legacy Gtk2
interface; or freeglut3-dev to build with glut interface.
packages: libepoxy-dev, libjpeg-dev, libpng-dev, libgl1-mesa-dev,
libeigen3-dev, libfmt-dev, libfreetype6-dev. Then you may want to install
libglu1-mesa-dev, required by some tools; qtbase5-dev, qtbase5-dev-tools and
libqt5opengl5-dev if you want to build with Qt5 interface; libgtk2.0-dev and
libgtkglext1-dev to build with legacy Gtk2 interface; libgtk3.0-dev to build
Gtk3 interface, libsdl2-dev to build SDL interface or freeglut3-dev to build
with glut interface. libavcodec-dev, libavformat-dev, libavutil-dev and
libswscale-dev are required to build with video capture support. libavif-dev
is required to build to AVIF texture support.
OK, assuming you've collected all the necessary libraries, here's
what you need to do to build and run Celestia:
@ -115,7 +104,7 @@ what you need to do to build and run Celestia:
```
mkdir build
cd build
cmake .. -DENABLE_INTERFACE=ON [*]
cmake .. -DENABLE_DATA=ON -DENABLE_INTERFACE=ON [*]
make
sudo make install
```
@ -137,10 +126,10 @@ Four interfaces are available for Celestia on Unix-like systems:
Starting with version 1.3.1, Lua is the new scripting engine for Celestia,
the old homegrown scripting engine is still available. By default Lua support
is enabled, it can be disabled passing -DENABLE_CELX=OFF to cmake.
Versions 5.1, 5.2 or 5.3 of Lua library is required. On Debian-based systems
either one of liblua5.3-dev, liblua5.2-dev or liblua5.1-dev should be installed
to have Lua support.
is enabled, it can be disabled passing -DENABLE_CELX=OFF to cmake. Supported
Lua versions are 5.1 - 5.4. On Debian-based systems install liblua5.x-dev
package (replace `x` with 1, 2, 3 or 4) or libluajit-5.1-dev. The latter is
preferred.
To check wether your Celestia has been compiled with Lua support, go to File
-> Open. If you have '*.cel *.celx' in the filter box, then Lua is available
@ -150,7 +139,9 @@ The GtkGLExt widget that is required in order to build Celestia with Gtk+ may
be downloaded from http://gtkglext.sf.net. Note that depending in your
distribution you may also need other packages containing various files needed
by the build process. For instance, to build under SUSE Linux, you will also
need to have the gtk-devel package installed.
need to have the gtk-devel package installed. GtkGLExt widget support is
optional and own EGL-based implementation of GL widget can be used instead.
It also required only if Gtk2 used, with Gtk3 own implementation used always.
Celestia will be installed into /usr/local by default, with data files landing
in /usr/local/share/celestia, but you may specify a new location with the
@ -159,27 +150,35 @@ following option to cmake: -DCMAKE_INSTALL_PREFIX=/another/path.
## Celestia Install instructions for Windows (MSVC)
Currently to build on Windows you need a Visual Studio 2015 or later, CMake
Currently to build on Windows you need Visual Studio 2015 or later, CMake
and vcpkg (*).
Install required packages:
```
vcpkg install libpng libjpeg-turbo gettext lua fmt libepoxy eigen3
vcpkg --triplet=TRIPLET install --recurse libpng libjpeg-turbo gettext luajit fmt libepoxy eigen3 freetype
```
Install optional packages:
```
vcpkg install qt5 luajit
vcpkg --triplet=TRIPLET install --recurse qt5-base ffmpeg cspice libavif
```
Replace TRIPLET with `x86-windows` to build 32-bit versions or `x64-windows`
for 64-bit versions.
Instead of `luajit` `lua` can be used.
Use `vcpkg list` to ensure that all packages have actually been installed.
If not, try installing them one at a time.
Configure and build 32-bit version:
```
md build32
cd build32
cmake -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
cmake -DCMAKE_GENERATOR_PLATFORM=Win32 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x86-windows ..
cmake --build . -- /maxcpucount:N /nologo
```
@ -188,12 +187,15 @@ Configure and build 64-bit version:
```
md build64
cd build64
cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows ..
cmake --build . -- /maxcpucount:N /nologo
```
Instead of N in /maxcpucount pass a number of CPU cores you want to use during
a build.
Instead of N in /maxcpucount pass the number of CPU cores you want to use during
the build.
This example assumes that `vcpkg` is installed into `c:/tools/vcpkg`. Update
the path to `vcpkg.cmake` according to your installation.
If you have Qt5 installed using official Qt installer, then pass parameter
CMAKE_PREFIX_PATH to cmake call used to configure Celestia, e.g.
@ -213,6 +215,8 @@ Notes:
## Celestia Install instructions for Windows (MINGW64), qt-only
NOTE: this part is not up to date!
It is recommended to build the source with MSYS2
https://www.msys2.org/ .
@ -227,14 +231,14 @@ pacman -S git
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-qt5
pacman -S mingw-w64-x86_64-freeglut mingw-w64-x86_64-libepoxy mingw-w64-x86_64-lua
pacman -S mingw-w64-x86_64-libtheora mingw-w64-x86_64-mesa
pacman -S mingw-w64-x86_64-mesa
```
Install optional packages:
```
pacman -S mingw-w64-x86_64-fmt mingw-w64-x86_64-eigen3 mingw-w64-x86_64-luajit
pacman -S mingw-w64-x86_64-sld2
pacman -S mingw-w64-x86_64-sdl2
```
Clone the source and go to the source directory.
@ -281,13 +285,13 @@ Install Homebrew
Install required packages:
```
brew install cmake fmt gettext libepoxy libpng lua qt5 jpeg eigen freetype
brew install pkg-config cmake fmt gettext libepoxy libpng lua qt5 jpeg eigen freetype
```
Install optional packages:
```
brew install cspice
brew install cspice ffmpeg libavif
```
Follow common building instructions to fetch the source.
@ -323,7 +327,7 @@ List of supported parameters (passed as `-DPARAMETER=VALUE`):
Parameter | TYPE | Default | Description
----------------------| ------|---------|--------------------------------------
| CMAKE_INSTALL_PREFIX | path | * | Prefix where to install Celestia
| CMAKE_INSTALL_PREFIX | path | \* | Prefix where to install Celestia
| CMAKE_PREFIX_PATH | path | | Additional path to look for libraries
| LEGACY_OPENGL_LIBS | bool | \*\*OFF | Use OpenGL libraries not GLvnd
| ENABLE_CELX | bool | ON | Enable Lua scripting support
@ -334,11 +338,14 @@ List of supported parameters (passed as `-DPARAMETER=VALUE`):
| ENABLE_QT | bool | ON | Build Qt frontend
| ENABLE_SDL | bool | OFF | Build SQL frontend
| ENABLE_WIN | bool | \*\*\*ON | Build Windows native frontend
| ENABLE_THEORA | bool | \*\*ON | Support video capture to OGG Theora
| ENABLE_FFMPEG | bool | \*\*ON | Support video capture using ffmpeg
| ENABLE_LIBAVIF | bool | OFF | Support AVIF texture using libavif
| ENABLE_TOOLS | bool | OFF | Build tools for Celestia data files
| ENABLE_DATA | bool | OFF | Use CelestiaContent submodule for data
| ENABLE_GLES | bool | OFF | Use OpenGL ES 2.0 in rendering code
| NATIVE_OSX_APP | bool | OFF | Support native OSX data paths
| USE_GTKGLEXT | bool | ON | Use libgtkglext1 in GTK2 frontend
| USE_GTK3 | bool | OFF | Use Gtk3 instead of Gtk2 in GTK2 frontend
Notes:
\* /usr/local on Unix-like systems, c:\Program Files or c:\Program Files (x86)
@ -346,16 +353,22 @@ Notes:
This option effect is overriden by NATIVE_OSX_APP.
\*\* Ignored on Windows systems.
\*\*\* Ignored on Unix-like systems.
\*\*\*\* This option support is not finished yet.
`USE_GTK3` requires `ENABLE_GTK`
Parameters of type "bool" accept ON or OFF value. Parameters of type "path"
accept any directory.
On Windows systems two additonal options are supported:
- `CMAKE_GENERATOR_PLATFORM` - can be set to x64 on 64-bit Windows to build
64-bit Celestia. To build 32-bit Celestia it should be omitted.
- `CMAKE_GENERATOR_PLATFORM` - can be set to `x64` on 64-bit Windows to build
64-bit Celestia. To build 32-bit Celestia it should be `Win32`.
- `CMAKE_TOOLCHAIN_FILE` - location of vcpkg.cmake if vcpkg is used.
Please note that not all options are compatible:
- `USE_GTKGLEXT` is not compatible with `ENABLE_GLES` and `USE_GTK3` and will
be disabled if any of this is set.
- `ENABLE_GLES` is not compatible with `ENABLE_GLUT` and with `ENABLE_QT` if
your `glut` or Qt5 installation don't support OpenGL ES.
Executable files
----------------

View File

@ -1,17 +1,17 @@
***************************************************************************
* Celestia *
* Celestia *
* *
* A real-time space simulation that lets you experience our universe in *
* three dimensions. *
* *
* Copyright (c) 2001-2020, Celestia Development Team *
* Copyright (c) 2001-2021, Celestia Development Team *
* *
*-------------------------------------------------------------------------*
* Celestia web site: https://celestia.space *
* Celestia web site: https://celestia.space/ *
* *
* Celestia documentation: *
* http://celestiamotherlode.net/catalog/documentation.html *
* Celestia WikiBook: http://en.wikibooks.org/wiki/Celestia *
* https://celestia.space/guides.html *
* Celestia WikiBook: https://en.wikibooks.org/wiki/Celestia *
* *
* Celestia forums: https://celestia.space/forum/ *
* *
@ -87,7 +87,7 @@ button, and you're off.
That covers the very basics. For a more in-depth look at Celestia and the
controls available to you, download the "Celestia User's Guide" (written by
Frank Gregorio), available in several languages, from:
http://celestiamotherlode.net/catalog/documentation.html
https://celestia.space/guides.html
This web page also includes links to the Celestia README file translated into
Japanese.
@ -171,16 +171,16 @@ favorite text editing program.
CELESTIA RESOURCES
------------------
Celestia Web Site:
https://celestia.space
https://celestia.space/
Celestia User Forums:
https://celestia.space/forum/
Selden's List of Resources for Celestia:
http://www.lepp.cornell.edu/~seb/celestia/
https://www.classe.cornell.edu/~seb/celestia/
Celestia WikiBook:
http://en.wikibooks.org/wiki/Celestia
Celestia Wikibook:
https://en.wikibooks.org/wiki/Celestia
Celestial Matters Website and Forums:
http://www.celestialmatters.org/
@ -189,24 +189,23 @@ Celestial Matters Website and Forums:
Celestia Motherlode:
http://www.celestiamotherlode.net/
Celestia Cource Repository:
Celestia Source Repository:
https://github.com/CelestiaProject/Celestia
Celestia Binary Repository:
https://bintray.com/celestia
Celestia Bug Tracking:
https://github.com/CelestiaProject/celestia/issues
https://github.com/CelestiaProject/Celestia/issues
Celestia Feature Requests:
https://github.com/CelestiaProject/celestia/issues
https://github.com/CelestiaProject/Celestia/issues
Celestia Discord Server:
https://discordapp.com/invite/WEWDcJh
Celestia SubReddit:
Celestia Subreddit:
https://www.reddit.com/r/Celestiasoftware/
Celestia Archive Repository:
https://github.com/Anthony-B-Russo10/Celestia-Archive
BUILDING FROM SOURCES
---------------------
@ -235,7 +234,7 @@ Authors
Contributors
------------
Deon Ramsey ........... original GTK1 interface
Deon Ramsey ........... Original GTK1 interface
Christopher Andre ..... Eclipse Finder
Colin Walters ......... Endianness fixes
Peter Chapman ......... Orbit path rendering changes
@ -253,164 +252,9 @@ Documentation
Harald Schmidt ........ Celx/Lua Scripting Guide
Scientific Data Base
--------------------
# Grant Hutchison
Supplied the correct orientations for the major planets, their moons, and a
number of asteroids and also worked on these data files:
Solarsys.ssc, nearstars.stc, extrasolar.ssc, extrasolar.stc, earth_locs.ssc
# Fridger Schrempp
Complete NGC/IC galaxy database + local group galaxies (galaxies.dsc)
Data base on globular clusters (globulars.dsc)
Data base on visual and spectroscopic binaries (visualbins.stc,
spectbins.stc)
World-capitals.ssc
Asterisms.dat
# Andrew Tribick
Significant update of the star.dat base based on new HIP Reduction of the
Raw data, Floor van Leeuwen, 2007.
CHARM2 stellar radii (charm2.stc)
Texture maps
------------
# The new textures repository in their original quality can be found here:
https://www.deviantart.com/celestiaofficial/gallery/68412929/Release-Textures
In particular, there are textures of Jupiter, Saturn, Phobos and Deimos.
# Most of the old maps are from David Seal's site: http://maps.jpl.nasa.gov/.
Some of these maps were modified, with fictional terrain added to fill in
gaps. The Galileo spacecraft model is also from David Seal's site (though
it was converted from Inventor to 3DS format.)
# The Mars, Neptune, and Uranus textures and Mars bump maps are all from James
Hastings-Trew's collection.
# Grant Hutchison
Saturn's rings were built by Grant Hutchison from Cassini imaging.
The Eros map is a shaded relief generated from the NEAR laser rangefinder.
# Jens Meyer
Dione and Rhea are USGS maps colored and modified by Jens Meyer.
The Moon map is based on data from PDS Map-A-Planet at with colors from
Mark Robinson.
# Fridger Schrempp
'Available data' Pluto and Charon textures using maps created by Marc Buie
at Lowell Observatory. Buie's maps were generated from photometric data
gathered during six years of mutual occultations of Pluto and Charon.
Titan's cloud texture in natural colors and its surface map at near-infrared
wavelength. They are based on resources available from the imaging site
(Ciclops) of the Cassini mission http://ciclops.org/
The Phoebe base texture was created from the cylindrical map published by
the Cassini imaging team
(http://photojournal.jpl.nasa.gov/catalog/PIA07775)
The Tethys textures are based on the Oct 2008 Ciclops map
(http://photojournal.jpl.nasa.gov/catalog/PIA11116)
The Iapetus texture was created from the Oct 2008 Ciclops map
(http://photojournal.jpl.nasa.gov/catalog/PIA11116)
The Lunar topography and bump maps, using Clementine laser altimeter data,
merged in the polar regions with topographic data from Clementine 750 nm
oblique and nadir images.
The Mercury map was created from a combination of Mariner 10 imaging
with recent MESSENGER WAC images from the first two flybys, as collected
and reprojected by Steve Albers.
# Phil Stooke
Proteus, Janus, Prometheus and Epimetheus maps are from Phil Stooke.
The Ida and Gaspra photomosaic maps are by Phil Stooke.
# Venus's clouds and the textures for Ganymede, Callisto and Saturn are from
Björn Jónsson.
# Venus's surface is a copyright-free NASA image, prepared from Magellan radar
data. The original is available at
http://www.solarviews.com/cap/venus/venmap.htm
# The Earth texture was created by NASA using data from the MODIS instrument
aboard the Terra satellite.
# Steve Albers
The Io and Europa maps are by Steve Albers.
# The textures for the Uranian satellites were created by Ivan Rivera from JPL
data. His Celestia page is: http://bruckner.homelinux.net/celestia.html
# The Hyperion map is a photomosaic assembled by Phil Stooke and
colored by Jens Meyer.
# Amalthea is a shaded relief map by Phil Stooke, colored by Wm. Robert Johnston
(http://www.johnstonsarchive.net/spaceart/cylmaps.html), and further modified
by Jens Meyer and Grant Hutchison.
# The asteroid.jpg texture was created by Paul Roberts.
# The textures for the five classes of extrasolar giant planet were created by
Andrew Tribick.
# CICLOPS
The map of Enceladus is derived from the December 2008 CICLOPS map:
http://ciclops.org/view/5447/Map_of_Enceladus_December_2008
3D Models
---------
# New space bodies models can be found in Greg Friger's 3D Asteroid Catalogue:
https://space.frieger.com/asteroids/
# Models of Mars Global Surveyor and Mars Odyssey were created by Shrox:
http://www.shrox.com/
# The Cassini and Huygens models are by Jack Higgins:
http://homepage.eircom.net/~jackcelestia/
# The 3D model of ISS is a deconstruction of Andrew Farnaby's
complete ISS model with textures by Bob Hundley. The model
represents the ISS as of June 2008 and is a modification of
the model that can be found here:
http://www.celestiamotherlode.net/catalog/show_addon_details.php?addon_id=1199
ISS model of June 2008 (with Kibo) by krisci3 (modified and
converted in order to work with JPG by Ulrich Dickmann, a.k.a.
Adirondack)
# 3D asteroid models of Toutatis, Kleopatra, Geographos, 1998 KY26, Bacchus,
Castalia and Golevka are courtesy of Scott Hudson, Washington State
University.
# 3D models of Amalthea, Janus, Epimetheus, Prometheus, Pandora,
Hyperion, Larissa, Proteus, Vesta, Ida, Gaspra and Halley are derived from
Phil Stooke's Cartography of Non-Spherical Worlds.
# The 3D model of Eros was prepared from the NEAR laser rangefinder shape model.
# The Phoebe mesh was designed by Jerry Gardner aka Jestr, jestr@ntlworld.com,
based on Phoebe's bumpy topography display from Cassini,
http://photojournal.jpl.nasa.gov/catalog/PIA06070
Content
-------
Please see the README file in the CelestiaContent repository.
Libraries
@ -454,8 +298,7 @@ ACKNOWLEDGEMENTS
A very big thank you for creating Celestia goes to Chris Laurel who started this
program in the year 2001.
<claurel@gmail.com>
http://www.shatters.net/~claurel/
http://www.shatters.net/celestia/
https://celestia.space/
Special thanks go to all Celestia users who submit bug reports, suggestions, and
fixes. Celestia wouldn't be the program it is today, without their help.

142
README-upstream.md 100644
View File

@ -0,0 +1,142 @@
| **`Release`** | **`Localized`** | **`License`** | **`Contribute`** |
|-------------------|---------------|---------------|---------------|
|[![GitHub release](https://img.shields.io/github/v/release/CelestiaProject/Celestia?label=Release)](https://celestia.space/download.html) | [![Localization](https://img.shields.io/badge/Localized-85%25-green.svg)](#) | [![License](https://img.shields.io/github/license/CelestiaProject/Celestia?label=License)](https://github.com/CelestiaProject/Celestia/blob/master/COPYING) | [![Contribute](https://img.shields.io/badge/PRs-Welcome-brightgreen.svg)](#contributing) |
# Celestia
![Celestia](celestia-logo.png)<br>
**A real-time space simulation that lets you experience our universe in three dimensions.**
**Copyright © 2001-2021, Celestia Development Team**<br>
**Celestia website: https://celestia.space**<br>
**Celestia Wikibook: https://en.wikibooks.org/wiki/Celestia**<br>
**Celestia forums: https://celestia.space/forum/**<br>
**Celestia Subreddit: https://www.reddit.com/r/Celestiasoftware/**<br>
**Celestia Archive Repository: https://github.com/Anthony-B-Russo10/Celestia-Archive**
## License
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details,
which you should have received along with this program (filename: COPYING).
If not, request a copy from:<br>
Free Software Foundation, Inc.<br>
59 Temple Place - Suite 330<br>
Boston, MA 02111-1307<br>
USA
## Getting started
Celestia will start up in a window, and if everything is working correctly,
you'll see Earth in front of a field of stars. Displayed on-screen, is some
information about your target (Earth), your speed, and the current time
(Universal Time, so it'll probably be a few hours off from your computer's
clock).
Right drag the mouse to orbit Earth and you might see the Moon and some
familiar constellations. Left dragging the mouse changes your orientation
also, but the camera rotates about its center instead of rotating around
Earth. Rolling the mouse wheel will change your distance to Earth--you can
move light years away, then roll the wheel in the opposite direction to get
back to your starting location. If your mouse lacks a wheel, you can use the
Home and End keys instead.
When running Celestia, you will usually have some object selected. Currently,
it's Earth, but it could also be a star, moon, spacecraft, galaxy, or some
other object. The simplest way to select an object is to click on it. Try
clicking on a star to select it. The information about Earth is replaced with
some details about the star. Press G (or use the Navigation menu), and you'll
zoom through space toward the selected star. If you press G again, you'll
approach the star even closer.
Press H to select our Sun, and then G to go back to our Sun. Right click on
the sun to bring up a menu of planets and other objects in the solar system.
After selecting a planet from the menu, hit G again to travel toward it. Once
there, hold down the right mouse button and drag to orbit the planet.
The Tour Guide is a list of some of the more interesting objects you can visit
in Celestia. Select the Tour Guide option in the Navigation menu to display
the Tour Guide window. Choose a destination from the list, click the Goto
button, and you're off.
That covers the very basics. For a more in-depth look at Celestia and the
controls available to you, download the "Celestia User's Guide" (written by
Frank Gregorio), available in several languages, from:<br>
https://celestia.space/guides.html<br>
This web page also includes links to the Celestia README file translated into
Japanese.
### Star browser
By default, the Star Browser window displays a table of the 100 nearest stars,
along with their Distance, Apparent and Absolute Magnitude, and Type. Clicking
on the column headers will sort the stars. The table is not continuously
updated, so if you travel to another star, you should press the Refresh button
to update the table for your current position. The radio buttons beneath the
table let you switch between viewing a list of Nearest, Brightest, or 'With
planets' stars. As with the solar system browser, clicking on any star name
in the table will select it. Use this feature along with the Center and Go
To buttons to tour the stars visible from any night sky in the galaxy.
### Solar system browser
The Solar System Browser displays a window with a tree view of all the objects
in the nearest solar system (if there is one within a light year of your current
position.) Clicking on the name of any object in the window will select it.
You can then use the Center or Go To buttons to display that object in the main
Celestia window.
### Selecting objects by name
Celestia provides several ways to select an object by name...
1. Choose 'Select Object' from the Navigation menu, type in the object name, and click OK.
2. Press Enter, type in the entire object name, and press Enter again.
3. Press Enter, type in the first few characters of the object name,
press the Tab key to move through the displayed listing until the object is highlighted,
then press Enter again.
You can use common names, Bayer designations or catalog numbers for stars.
Celestia currently supports the HIP, HD and SAO catalogs. Catalog numbers must
be entered with a space between the prefix and the catalog number.
### Known issues
For up-to-the-minute answers to some common problems encountered when running
Celestia, please view either the FAQ in the Help menu or take a look at the
"Celestia User's FAQ" located on the Celestia User's Forum:
https://celestia.space/forum/
### User modifiable elements
You can modify how Celestia starts up each time you run it, by defining your
own start-up settings. Simply open the file "start.cel" in a plain text
editor and follow the in-file instructions. Also, view the celestia.cfg file
in a plain text editor to see additional settings.
Celestia allows you to easily add real, hypothetical, or fictional objects
by creating new catalog files. It is *not* recommended that you alter the
built-in data files; nearly all desired modifications and additions can be
made by placing new catalog files in Celestia's extras folders. There are three
types of catalog files:
* ssc (solar system catalog: planets, moons, spacecraft, etc.)
* stc (star catalog)
* dsc (deep sky catalog: galaxies, star clusters, and nebulae)
All three types of catalog file are text files that can be updated with your
favorite text editing program.
### Building from sources
See instructions in file [INSTALL.md](INSTALL.md).
## Contributions
| **`Authors`** | **`Contributors`** | **`Documentation`** | **`Other`** |
|-----------------|---------------------|------------------|-------------------|
| Chris Laurel, Clint Weisbrod, Fridger Schrempp, Bob Ippolito, Christophe Teyssier, Hank Ramsey, Grant Hutchison, Pat Suwalski, Toti, Da Woon Jung, Vincent Giangiulio, Andrew Tribick, Hleb Valoshka, Łukasz Buczyński, Li Linfeng | Deon Ramsey, Christopher Andre, Colin Walters, Peter Chapman, James Holmes, Harald Schmidt, Nils Larsson, Sergey Leonov, Alexell, Dmitry Brant, Janus | Selden Ball, Frank Gregorio, Hitoshi Suzuki, Christophe Teyssier, Diego Rodriguez, Don Goyette, Harald Schmidt | Creators of scientific database, texture maps, 3D models and used libraries, you can see in full README.|
### Contributing
**We welcome feedback, bug reports, and pull requests!**
For pull requests, please stick to the following guidelines:
* Be sure to test your code changes.
* Follow the existing code style (e.g., indents).
* Put a lot of comments into the code, if necessary.
* Separate unrelated changes into multiple pull requests.

207
README.md
View File

@ -1,143 +1,110 @@
| **`Release`** | **`Localized`** | **`License`** | **`Contribute`** |
|-------------------|---------------|---------------|---------------|
|[![GitHub release](https://img.shields.io/badge/Release-v1.6.1-blue.svg)](https://celestiaproject.net/download.html) | [![Localization](https://img.shields.io/badge/Localized-85%25-green.svg)](#) | [![License](https://img.shields.io/badge/License-GPLv2-blue.svg)](https://github.com/CelestiaProject/Celestia/blob/master/COPYING) | [![Contribute](https://img.shields.io/badge/PRs-Welcome-brightgreen.svg)](#contributing) |
# Celestia
![Celestia](celestia-logo.png)<br>
**A real-time space simulation that lets you experience our universe in three dimensions.**
Celestia is a "real-time space simulation that lets you experience
our universe in three dimensions".
**Copyright © 2001-2020, Celestia Development Team**<br>
**Celestia website: https://celestia.space**<br>
**Celestia WikiBook: https://en.wikibooks.org/wiki/Celestia**<br>
**Celestia forums: https://celestia.space/forum/**<br>
**Celestia Discord Server: https://discordapp.com/invite/WEWDcJh**<br>
**Celestia SubReddit: https://www.reddit.com/r/Celestiasoftware/**<br>
**Celestia Archive Repository: https://github.com/Anthony-B-Russo10/Celestia-Archive**
## License
![celestia-screenshot](pics/celestia-screenshot.png)
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
# Upstream
This repo is a lesser fork of the upstream project,
which has been revived.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details,
which you should have received along with this program (filename: COPYING).
If not, request a copy from:<br>
Free Software Foundation, Inc.<br>
59 Temple Place - Suite 330<br>
Boston, MA 02111-1307<br>
USA
* https://celestia.space/
## Getting started
* https://github.com/CelestiaProject/Celestia
Celestia will start up in a window, and if everything is working correctly,
you'll see Earth in front of a field of stars. Displayed on-screen, is some
information about your target (Earth), your speed, and the current time
(Universal Time, so it'll probably be a few hours off from your computer's
clock).
See also: `README-upstream`, `README-upstream.md`.
Right drag the mouse to orbit Earth and you might see the Moon and some
familiar constellations. Left dragging the mouse changes your orientation
also, but the camera rotates about its center instead of rotating around
Earth. Rolling the mouse wheel will change your distance to Earth--you can
move light years away, then roll the wheel in the opposite direction to get
back to your starting location. If your mouse lacks a wheel, you can use the
Home and End keys instead.
## License/Copyright
GPLv2+
When running Celestia, you will usually have some object selected. Currently,
it's Earth, but it could also be a star, moon, spacecraft, galaxy, or some
other object. The simplest way to select an object is to click on it. Try
clicking on a star to select it. The information about Earth is replaced with
some details about the star. Press G (or use the Navigation menu), and you'll
zoom through space toward the selected star. If you press G again, you'll
approach the star even closer.
Copyright © 2001-2021, Celestia Development Team
Press H to select our Sun, and then G to go back to our Sun. Right click on
the sun to bring up a menu of planets and other objects in the solar system.
After selecting a planet from the menu, hit G again to travel toward it. Once
there, hold down the right mouse button and drag to orbit the planet.
# Debian
Package was removed from Debian in the ancient days due to bitrot.
The upstream code has a new team and active development, using
recent libraries. The package can be built under Debian Ok, except
for the `data/` files.
The Tour Guide is a list of some of the more interesting objects you can visit
in Celestia. Select the Tour Guide option in the Navigation menu to display
the Tour Guide window. Choose a destination from the list, click the Goto
button, and you're off.
Debian upstream bug:
That covers the very basics. For a more in-depth look at Celestia and the
controls available to you, download the "Celestia User's Guide" (written by
Frank Gregorio), available in several languages, from:<br>
https://celestia.space/guides.html<br>
This web page also includes links to the Celestia README file translated into
Japanese.
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809916
### Star browser
By default, the Star Browser window displays a table of the 100 nearest stars,
along with their Distance, Apparent and Absolute Magnitude, and Type. Clicking
on the column headers will sort the stars. The table is not continuously
updated, so if you travel to another star, you should press the Refresh button
to update the table for your current position. The radio buttons beneath the
table let you switch between viewing a list of Nearest, Brightest, or 'With
planets' stars. As with the solar system browser, clicking on any star name
in the table will select it. Use this feature along with the Center and Go
To buttons to tour the stars visible from any night sky in the galaxy.
```
Upstream has not produced any new releases in the last 4 years. In the
mean time, the package is accumulating bugs due to bitrot. It already
wasn't a trouble-free package, due to some quite important resources not
being DFSG compliant.
```
### Solar system browser
The Solar System Browser displays a window with a tree view of all the objects
in the nearest solar system (if there is one within a light year of your current
position.) Clicking on the name of any object in the window will select it.
You can then use the Center or Go To buttons to display that object in the main
Celestia window.
I do see some of the resources now are CC-by-SA 4.0, a license which
didn't exist when the Debian bug was created. So it may be that it
can be built happily without DFSG issues using new data files.
### Selecting objects by name
Celestia provides several ways to select an object by name...
1. Choose 'Select Object' from the Navigation menu, type in the object name, and click OK.
2. Press Enter, type in the entire object name, and press Enter again.
3. Press Enter, type in the first few characters of the object name,
press the Tab key to move through the displayed listing until the object is highlighted,
then press Enter again.
You can use common names, Bayer designations or catalog numbers for stars.
Celestia currently supports the HIP, HD and SAO catalogs. Catalog numbers must
be entered with a space between the prefix and the catalog number.
### Known issues
For up-to-the-minute answers to some common problems encountered when running
Celestia, please view either the FAQ in the Help menu or take a look at the
"Celestia User's FAQ" located on the Celestia User's Forum:
https://celestia.space/forum/
Celestia depending on NASA's Spice/NAIF may be afoul of Debian's
DFSG because the terms are unique. It isn't really a standard license.
### User modifiable elements
You can modify how Celestia starts up each time you run it, by defining your
own start-up settings. Simply open the file "start.cel" in a plain text
editor and follow the in-file instructions. Also, view the celestia.cfg file
in a plain text editor to see additional settings.
Celestia allows you to easily add real, hypothetical, or fictional objects
by creating new catalog files. It is *not* recommended that you alter the
built-in data files; nearly all desired modifications and additions can be
made by placing new catalog files in Celestia's extras folders. There are three
types of catalog files:
* ssc (solar system catalog: planets, moons, spacecraft, etc.)
* stc (star catalog)
* dsc (deep sky catalog: galaxies, star clusters, and nebulae)
Debian tracker link:
All three types of catalog file are text files that can be updated with your
favorite text editing program.
* https://tracker.debian.org/pkg/celestia
### Building from sources
See instructions in file [INSTALL.md](INSTALL.md).
# Build
Mini Debian package build howto.
## Contributions
| **`Authors`** | **`Contributors`** | **`Documentation`** | **`Other`** |
|-----------------|---------------------|------------------|-------------------|
| Chris Laurel, Clint Weisbrod, Fridger Schrempp, Bob Ippolito, Christophe Teyssier, Hank Ramsey, Grant Hutchison, Pat Suwalski, Toti, Da Woon Jung, Vincent Giangiulio, Andrew Tribick, Hleb Valoshka, Łukasz Buczyński, Li Linfeng | Deon Ramsey, Christopher Andre, Colin Walters, Peter Chapman, James Holmes, Harald Schmidt, Nils Larsson, Sergey Leonov, Alexell, Dmitry Brant, Janus | Selden Ball, Frank Gregorio, Hitoshi Suzuki, Christophe Teyssier, Diego Rodriguez, Don Goyette, Harald Schmidt | Creators of scientific database, texture maps, 3D models and used libraries, you can see in full README.|
```
# Install deps
sudo apt update
sudo apt install build-essential ccache devscripts \
debhelper chrpath cmake freeglut3-dev libeigen3-dev libfmt-dev \
libfreetype6-dev libepoxy-dev libglu1-mesa-dev libgtk2.0-dev \
libgtkglext1-dev libjpeg62-turbo-dev libluajit-5.1-dev libpng-dev \
libqt5opengl5-dev libtheora-dev qtbase5-dev qtbase5-dev-tools
### Contributing
# Add ccache to PATH in ~/.bashrc, and log back in
PATH=/usr/lib/ccache:$PATH
**We welcome feedback, bug reports, and pull requests!**
# Make dirs to put it all, as it writes packages to the *parent* dir.
mkdir celestia-deb
cd celestia-deb
git clone https://spacecruft.org/spacecruft/CelestiaContent
cd CelestiaContent
# Build the source package, writes to parent dir
dpkg-buildpackage -rfakeroot -S -uc -us -sa
# Build Debian Packages
dpkg-buildpackage -rfakeroot -b -uc
cd ..
# Install the data package
sudo dpkg -i celestia-data_1.7.0~git20211202+668347e9+0_all.deb
# Make sure apt is happy
sudo apt -f install
git clone --recursive https://spacecruft.org/spacecruft/celestia
cd celestia
# Build the source package, writes to parent dir
dpkg-buildpackage -rfakeroot -S -uc -us -sa
# Build Debian Packages
dpkg-buildpackage -rfakeroot -b -uc
cd ..
# Install
sudo dpkg -i celestia_1.7.0~git20220520+1_all.deb \
celestia-common_1.7.0~git20220520+1_all.deb \
celestia-qt_1.7.0~git20220520+1_amd64.deb \
celestia-tools_1.7.0~git20220520+1_amd64.deb \
libcelestia1.7_1.7.0~git20220520+1_amd64.deb
# Make sure apt is happy
sudo apt -f install
```
For pull requests, please stick to the following guidelines:
* Be sure to test your code changes.
* Follow the existing code style (e.g., indents).
* Put a lot of comments into the code, if necessary.
* Separate unrelated changes into multiple pull requests.

View File

@ -1,5 +1,6 @@
AR: Ali Al-Khudair <saudilink@lycos.com>
BG: Atanas Kumbarov <kumbarov@gmail.com>
Georgi Georgiev <georgiev_1994@abv.bg>
DE: German Translator Team <celestia-deutsch@gmx.net>
U. Dickmann / C. Lenz / S. Schreiber / A. Wagner
EL: Charis Kouzinopoulos <ckouz@uom.gr>
@ -34,4 +35,3 @@ ZH_TW: An-Li Chen<alchen@tam.gov.tw>
Lung-Chin Hsieh<lungchin@gmail.com>
Frank Weng<franklin@goodhorse.idv.tw>
Shan-wun Yang<oiseaumer@gmail.com>

View File

@ -0,0 +1,79 @@
trigger:
- main
strategy:
matrix:
Linux:
imageName: 'ubuntu-latest'
enableLibavif: 'OFF'
enableGLUT: 'ON'
Mac:
imageName: 'macos-latest'
enableLibavif: 'ON'
enableGLUT: 'OFF'
pool:
vmImage: $(imageName)
steps:
- checkout: self
submodules: true
- bash: echo "##vso[task.setvariable variable=shellopts]errexit"
displayName: "Force exit on error (bash)"
- script: |
sudo apt update
sudo apt install -y libeigen3-dev \
libepoxy-dev \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libswscale-dev \
libjpeg-dev \
libpng-dev \
libglu1-mesa-dev \
qtbase5-dev \
qtbase5-dev-tools \
libqt5opengl5-dev \
libgtk2.0-dev \
libgtkglext1-dev \
libfreetype6-dev \
libsdl2-dev \
libluajit-5.1-dev \
freeglut3-dev \
libfmt-dev
displayName: 'Install Linux dependencies'
condition: eq( variables['Agent.OS'], 'Linux' )
- script: |
brew install pkg-config \
eigen \
ffmpeg \
gtk+ \
gtkglext \
cspice \
fmt \
jpeg \
gettext \
libpng \
lua \
qt5 \
freetype \
libepoxy \
sdl2 \
freeglut \
libavif
brew link gettext --force
brew link lua --force
displayName: 'Install macOS dependencies'
condition: eq( variables['Agent.OS'], 'Darwin' )
- script: |
mkdir build
cd build
cmake -DENABLE_SPICE=ON -DENABLE_TOOLS=ON -DENABLE_TESTS=ON -DENABLE_SDL=ON -DENABLE_GTK=ON -DENABLE_GLUT=$(enableGLUT) -DENABLE_FFMPEG=ON -DENABLE_LIBAVIF=$(enableLibavif) ..
make -j $(nproc || echo 4)
CTEST_OUTPUT_ON_FAILURE=1 ctest
workingDirectory: "$(system.defaultworkingdirectory)"
displayName: "Build and test"

View File

@ -34,34 +34,35 @@ Configuration
"data/nearstars.stc"
"data/visualbins.stc"
"data/spectbins.stc"
"data/charm2.stc" ]
"data/charm2.stc"
"data/pulsars.stc" ]
HDCrossIndex "data/hdxindex.dat"
SAOCrossIndex "data/saoxindex.dat"
GlieseCrossIndex "data/gliesexindex.dat"
SolarSystemCatalogs [ "data/solarsys.ssc"
"data/dwarfplanets.ssc"
"data/asteroids.ssc"
"data/comets.ssc"
"data/dwarfplanets.ssc"
"data/outersys.ssc"
"data/minormoons.ssc"
"data/numberedmoons.ssc"
"data/extrasolar.ssc"
"data/eros_locs.ssc"
"data/gaspra_locs.ssc"
"data/ida_locs.ssc"
"data/itokawa_locs.ssc"
"data/merc_locs.ssc"
"data/venus_locs.ssc"
"data/earth_locs.ssc"
"data/mars_locs.ssc"
"data/moon_locs.ssc"
"data/mars_locs.ssc"
"data/marsmoons_locs.ssc"
"data/jupitermoons_locs.ssc"
"data/saturnmoons_locs.ssc"
"data/uranusmoons_locs.ssc"
"data/neptunemoons_locs.ssc"
"data/plutocharon_locs.ssc"
"data/eros_locs.ssc"
"data/gaspra_locs.ssc"
"data/ida_locs.ssc"
"data/itokawa_locs.ssc"
"data/ring_locs.ssc"
"data/world-capitals.ssc" ]
@ -82,14 +83,14 @@ StarTextures
{
# This texture will be used for any spectral type not listed
# in this block.
Default "astar.jpg"
Default "astar.*"
O "bstar.*"
O "ostar.*"
B "bstar.*"
A "astar.*"
F "astar.*"
F "fstar.*"
G "gstar.*"
K "gstar.*"
K "kstar.*"
M "mstar.*"
# carbon stars
@ -99,18 +100,18 @@ StarTextures
S "mstar.*" # roughly between M and C
# Wolf-Rayet stars
WC "bstar.*"
WN "bstar.*"
WO "bstar.*"
WC "ostar.*"
WN "ostar.*"
WO "ostar.*"
# brown dwarfs
L "browndwarf.*"
L "lstar.*"
T "browndwarf.*"
Y "browndwarf.*"
Y "exo-class4night.*"
# stellar remnants
WD "astar.jpg"
NeutronStar "astar.jpg"
WD "whitedwarf.*"
NeutronStar "ostar.*"
}
@ -178,7 +179,7 @@ StarTextures
#
# To learn more about how to use and write CEL scripts and Lua scripts
# in Celestia, please visit the Celestia Scripting forum at:
# http://www.shatters.net/forum/viewforum.php?f=9
# https://celestia.space/forum/viewforum.php?f=9
#------------------------------------------------------------------------
InitScript "start.cel"
DemoScript "demo.cel"
@ -188,7 +189,7 @@ StarTextures
# The 'extras' directory is located under the celestia root directory
# and is used for storing third-party add-ons to Celestia. To learn
# more about Add-Ons for Celestia, visit the Celestia Add-Ons forum at:
# http://celestia.space/forum/viewforum.php?f=6
# https://celestia.space/forum/viewforum.php?f=6
#
# You may specify additional add-on directories by adding additional
# entries, such as the following example shows:
@ -226,16 +227,17 @@ StarTextures
# text on the display screen. To view the list of fonts available with
# your distribution of Celestia, look in the fonts directory located
# under the Celestia root directory. The default fonts are UTF-8
# compatible in order to display non-English characters.
# compatible in order to display non-English characters. Font size is
# measured in points to ensure the same sizes on all DPI configurations.
#
# Font: Used to display all informational text.
# Default: "sans12.txf"
# Default: "DejaVuSans.ttf,9"
#
# LabelFont: Used to display all label text (objects, locations, etc.).
# Default "sans12.txf"
# Default "DejaVuSans.ttf,9"
#
# TitleFont: Used to display object names, messages, and script text.
# Default "sansbold20.txf"
# Default "DejaVuSans-Bold.ttf,15"
#------------------------------------------------------------------------
Font "DejaVuSans.ttf,9"
LabelFont "DejaVuSans.ttf,9"
@ -388,4 +390,36 @@ StarTextures
#------------------------------------------------------------------------
# LogSize 1000
#------------------------------------------------------------------------
# The following define options for x264 and ffvhuff video codecs when
# Celestia is compiled with ffmpeg library support for video capture.
#------------------------------------------------------------------------
# X264EncoderOptions ""
# FFVHEncoderOptions ""
#------------------------------------------------------------------------
# The following define the measurement system Celestia uses to display
# in HUD, available options for MeasurementSystem are `metric` and
# `imperial`. By default, metric measurement system is used. Available
# options for TemperatureScale are `kelvin`, `celsius`, and `fahrenheit`.
# By default kelvin is used.
#------------------------------------------------------------------------
# MeasurementSystem "imperial"
# TemperatureScale "celsius"
#------------------------------------------------------------------------
# The following options are used to configure how scenes in Celestia
# are projected and what distortion method is used.
# Available options for ProjectionMode are `perspective` (default) and
# `fisheye`. Available `ViewportEffect`s (distortion methods) are `none`
# (default), `passthrough`, and `warpmesh`.
# For `warpmesh` viewport effect, you need to specify a warp mesh file
# under the parameter name `WarpMeshFile`, The file should be placed
# inside the `warp` folder.
# File format for warp mesh: http://paulbourke.net/dataformats/meshwarp/
#------------------------------------------------------------------------
# ProjectionMode "fisheye"
# ViewportEffect "warpmesh"
# WarpMeshFile "warp.map"
}

View File

@ -7,9 +7,9 @@
AppName=Celestia
AppVerName=Celestia 1.7.0
AppPublisher=Shatters Software
AppPublisherURL=http://www.shatters.net/celestia/
AppSupportURL=http://www.shatters.net/celestia/
AppUpdatesURL=http://www.shatters.net/celestia/
AppPublisherURL=https://celestia.space/
AppSupportURL=https://celestia.space/
AppUpdatesURL=https://celestia.space/
DefaultDirName={code:DefDirRoot}\Celestia
DefaultGroupName=Celestia
LicenseFile=COPYING
@ -212,6 +212,7 @@ Source: "locale\controls_zh_CN.txt"; DestDir: "{app}/locale"; Flags: ignor
Source: "locale\controls_zh_TW.txt"; DestDir: "{app}/locale"; Flags: ignoreversion
Source: "locale\demo_be.cel"; DestDir: "{app}/locale"; Flags: ignoreversion
Source: "locale\demo_bg.cel"; DestDir: "{app}/locale"; Flags: ignoreversion
Source: "locale\demo_de.cel"; DestDir: "{app}/locale"; Flags: ignoreversion
Source: "locale\demo_es.cel"; DestDir: "{app}/locale"; Flags: ignoreversion
Source: "locale\demo_fr.cel"; DestDir: "{app}/locale"; Flags: ignoreversion
@ -675,7 +676,7 @@ Type: files; Name: "{app}\extras\minormoons.ssc";
Type: files; Name: "{app}\extras\numberedmoons.ssc";
[INI]
Filename: "{app}\celestia.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.shatters.net/celestia/"
Filename: "{app}\celestia.url"; Section: "InternetShortcut"; Key: "URL"; String: "https://celestia.space/"
[Icons]
Name: "{group}\Celestia"; Filename: "{app}\celestia.exe"; WorkingDir: "{app}"

View File

@ -0,0 +1,8 @@
#include <charconv>
int main()
{
const char* src = "123";
float x;
std::from_chars_result result = std::from_chars(src, src + 3, x);
}

View File

@ -0,0 +1,8 @@
#include <charconv>
int main()
{
const char* src = "123";
int x;
std::from_chars_result result = std::from_chars(src, src + 3, x, 10);
}

View File

@ -1,7 +0,0 @@
#include <experimental/filesystem>
int main()
{
std::error_code ec;
throw std::experimental::filesystem::filesystem_error("test", ec);
}

View File

@ -1,7 +0,0 @@
#include <libintl.h>
int main()
{
gettext("test");
return 0;
}

View File

@ -6,6 +6,6 @@ function(EnableFastMath flag)
if(MSVC)
add_compile_options("/fp:fast")
else()
add_compile_options("-ffast-math")
add_compile_options("-ffast-math -fno-finite-math-only")
endif()
endfunction()

View File

@ -0,0 +1,86 @@
macro(find_ffmpeg_lib)
if(NOT(${ARGC} EQUAL 3))
message(FATAL_ERROR "find_ffmpeg_lib requires exactly 3 arguments")
endif()
set(__name ${ARGV0})
set(__header ${ARGV1})
set(__lib ${ARGV2})
find_library(${__name}_LIBRARY ${__lib})
find_path(${__name}_INCLUDE_DIR ${__header}
HINTS /usr/include/ffmpeg)
set(FPHSA_NAME_MISMATCHED 1)
find_package_handle_standard_args(${__name}
FOUND_VAR ${__name}_FOUND
REQUIRED_VARS ${__name}_INCLUDE_DIR ${__name}_LIBRARY
FAIL_MESSAGE "Failed to find ${__name}")
unset(FPHSA_NAME_MISMATCHED)
set(${__name}_INCLUDE_DIRS ${${__name}_INCLUDE_DIR})
set(${__name}_LIBRARIES ${${__name}_LIBRARY})
list(APPEND FFMPEG_INCLUDE_DIRS ${${__name}_INCLUDE_DIR})
list(REMOVE_DUPLICATES FFMPEG_INCLUDE_DIRS)
list(APPEND FFMPEG_LIBRARIES ${${__name}_LIBRARY})
list(REMOVE_DUPLICATES FFMPEG_LIBRARIES)
if(NOT TARGET FFMPEG::${__name})
add_library(FFMPEG::${__name} UNKNOWN IMPORTED)
set_target_properties(FFMPEG::${__name} PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${${__name}_INCLUDE_DIR}"
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
IMPORTED_LOCATION "${${__name}_LIBRARY}")
endif()
mark_as_advanced(${__name}_INCLUDE_DIR ${__name}_LIBRARY ${__name}_INCLUDE_DIRS ${__name}_LIBRARIES)
endmacro()
include(FindPackageHandleStandardArgs)
if(FFMPEG_FIND_COMPONENTS)
foreach(component ${FFMPEG_FIND_COMPONENTS})
string(TOUPPER ${component} _COMPONENT)
set(FFMPEG_USE_${_COMPONENT} 1)
endforeach()
endif()
set(FFMPEG_INCLUDE_DIRS)
set(FFMPEG_LIBRARIES)
if(FFMPEG_USE_AVCODEC)
find_ffmpeg_lib(AVCODEC libavcodec/avcodec.h avcodec)
endif()
if(FFMPEG_USE_AVFORMAT)
find_ffmpeg_lib(AVFORMAT libavformat/avformat.h avformat)
endif()
if(FFMPEG_USE_AVUTIL)
find_ffmpeg_lib(AVUTIL libavutil/avutil.h avutil)
endif()
if(FFMPEG_USE_AVDEVICE)
find_ffmpeg_lib(AVDEVICE libavdevice/avdevice.h avdevice)
endif()
if(FFMPEG_USE_SWSCALE)
find_ffmpeg_lib(SWSCALE libswscale/swscale.h swscale)
endif()
if(NOT TARGET FFMPEG::FFMPEG)
add_library(FFMPEG::FFMPEG UNKNOWN IMPORTED)
set_target_properties(FFMPEG::FFMPEG PROPERTIES
IMPORTED_LINK_INTERFACE_LANGUAGES "C"
INTERFACE_INCLUDE_DIRECTORIES "${FFMPEG_INCLUDE_DIR}")
if(TARGET FFMPEG::AVCODEC)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::AVCODEC)
endif()
if(TARGET FFMPEG::AVUTIL)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::AVUTIL)
endif()
if(TARGET FFMPEG::AVDEVICE)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::AVDEVICE)
endif()
if(TARGET FFMPEG::AVFORMAT)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::AVFORMAT)
endif()
if(TARGET FFMPEG::SWSCALE)
set_target_properties(FFMPEG::FFMPEG PROPERTIES INTERFACE_LINK_LIBRARIES FFMPEG::SWSCALE)
endif()
endif()

View File

@ -0,0 +1,247 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#[=======================================================================[.rst:
FindFilesystem
##############
This module supports the C++17 standard library's filesystem utilities. Use the
:imp-target:`std::filesystem` imported target to
Options
*******
The ``COMPONENTS`` argument to this module supports the following values:
.. find-component:: Experimental
:name: fs.Experimental
Allows the module to find the "experimental" Filesystem TS version of the
Filesystem library. This is the library that should be used with the
``std::experimental::filesystem`` namespace.
.. find-component:: Final
:name: fs.Final
Finds the final C++17 standard version of the filesystem library.
If no components are provided, behaves as if the
:find-component:`fs.Final` component was specified.
If both :find-component:`fs.Experimental` and :find-component:`fs.Final` are
provided, first looks for ``Final``, and falls back to ``Experimental`` in case
of failure. If ``Final`` is found, :imp-target:`std::filesystem` and all
:ref:`variables <fs.variables>` will refer to the ``Final`` version.
Imported Targets
****************
.. imp-target:: std::filesystem
The ``std::filesystem`` imported target is defined when any requested
version of the C++ filesystem library has been found, whether it is
*Experimental* or *Final*.
If no version of the filesystem library is available, this target will not
be defined.
.. note::
This target has ``cxx_std_17`` as an ``INTERFACE``
:ref:`compile language standard feature <req-lang-standards>`. Linking
to this target will automatically enable C++17 if no later standard
version is already required on the linking target.
.. _fs.variables:
Variables
*********
.. variable:: CXX_FILESYSTEM_IS_EXPERIMENTAL
Set to ``TRUE`` when the :find-component:`fs.Experimental` version of C++
filesystem library was found, otherwise ``FALSE``.
.. variable:: CXX_FILESYSTEM_HAVE_FS
Set to ``TRUE`` when a filesystem header was found.
.. variable:: CXX_FILESYSTEM_HEADER
Set to either ``filesystem`` or ``experimental/filesystem`` depending on
whether :find-component:`fs.Final` or :find-component:`fs.Experimental` was
found.
.. variable:: CXX_FILESYSTEM_NAMESPACE
Set to either ``std::filesystem`` or ``std::experimental::filesystem``
depending on whether :find-component:`fs.Final` or
:find-component:`fs.Experimental` was found.
Examples
********
Using `find_package(Filesystem)` with no component arguments:
.. code-block:: cmake
find_package(Filesystem REQUIRED)
add_executable(my-program main.cpp)
target_link_libraries(my-program PRIVATE std::filesystem)
#]=======================================================================]
if(TARGET std::filesystem)
# This module has already been processed. Don't do it again.
return()
endif()
cmake_minimum_required(VERSION 3.10)
include(CMakePushCheckState)
include(CheckIncludeFileCXX)
# If we're not cross-compiling, try to run test executables.
# Otherwise, assume that compile + link is a sufficient check.
if(CMAKE_CROSSCOMPILING)
include(CheckCXXSourceCompiles)
macro(_cmcm_check_cxx_source code var)
check_cxx_source_compiles("${code}" ${var})
endmacro()
else()
include(CheckCXXSourceRuns)
macro(_cmcm_check_cxx_source code var)
check_cxx_source_runs("${code}" ${var})
endmacro()
endif()
cmake_push_check_state()
set(CMAKE_REQUIRED_QUIET ${Filesystem_FIND_QUIETLY})
# All of our tests required C++17 or later
set(CMAKE_CXX_STANDARD 17)
# Normalize and check the component list we were given
set(want_components ${Filesystem_FIND_COMPONENTS})
if(Filesystem_FIND_COMPONENTS STREQUAL "")
set(want_components Final)
endif()
# Warn on any unrecognized components
set(extra_components ${want_components})
list(REMOVE_ITEM extra_components Final Experimental)
foreach(component IN LISTS extra_components)
message(WARNING "Extraneous find_package component for Filesystem: ${component}")
endforeach()
# Detect which of Experimental and Final we should look for
set(find_experimental TRUE)
set(find_final TRUE)
if(NOT "Final" IN_LIST want_components)
set(find_final FALSE)
endif()
if(NOT "Experimental" IN_LIST want_components)
set(find_experimental FALSE)
endif()
if(find_final)
check_include_file_cxx("filesystem" _CXX_FILESYSTEM_HAVE_HEADER)
mark_as_advanced(_CXX_FILESYSTEM_HAVE_HEADER)
if(_CXX_FILESYSTEM_HAVE_HEADER)
# We found the non-experimental header. Don't bother looking for the
# experimental one.
set(find_experimental FALSE)
endif()
else()
set(_CXX_FILESYSTEM_HAVE_HEADER FALSE)
endif()
if(find_experimental)
check_include_file_cxx("experimental/filesystem" _CXX_FILESYSTEM_HAVE_EXPERIMENTAL_HEADER)
mark_as_advanced(_CXX_FILESYSTEM_HAVE_EXPERIMENTAL_HEADER)
else()
set(_CXX_FILESYSTEM_HAVE_EXPERIMENTAL_HEADER FALSE)
endif()
if(_CXX_FILESYSTEM_HAVE_HEADER)
set(_have_fs TRUE)
set(_fs_header filesystem)
set(_fs_namespace std::filesystem)
set(_is_experimental FALSE)
elseif(_CXX_FILESYSTEM_HAVE_EXPERIMENTAL_HEADER)
set(_have_fs TRUE)
set(_fs_header experimental/filesystem)
set(_fs_namespace std::experimental::filesystem)
set(_is_experimental TRUE)
else()
set(_have_fs FALSE)
endif()
set(CXX_FILESYSTEM_HAVE_FS ${_have_fs} CACHE BOOL "TRUE if we have the C++ filesystem headers")
set(CXX_FILESYSTEM_HEADER ${_fs_header} CACHE STRING "The header that should be included to obtain the filesystem APIs")
set(CXX_FILESYSTEM_NAMESPACE ${_fs_namespace} CACHE STRING "The C++ namespace that contains the filesystem APIs")
set(CXX_FILESYSTEM_IS_EXPERIMENTAL ${_is_experimental} CACHE BOOL "TRUE if the C++ filesystem library is the experimental version")
set(_found FALSE)
if(CXX_FILESYSTEM_HAVE_FS)
# We have some filesystem library available. Do link checks
string(CONFIGURE [[
#include <cstdlib>
#include <@CXX_FILESYSTEM_HEADER@>
int main() {
auto cwd = @CXX_FILESYSTEM_NAMESPACE@::current_path();
printf("%s", cwd.c_str());
return EXIT_SUCCESS;
}
]] code @ONLY)
# Check a simple filesystem program without any linker flags
_cmcm_check_cxx_source("${code}" CXX_FILESYSTEM_NO_LINK_NEEDED)
set(can_link ${CXX_FILESYSTEM_NO_LINK_NEEDED})
if(NOT CXX_FILESYSTEM_NO_LINK_NEEDED)
set(prev_libraries ${CMAKE_REQUIRED_LIBRARIES})
# Add the libstdc++ flag
set(CMAKE_REQUIRED_LIBRARIES ${prev_libraries} -lstdc++fs)
_cmcm_check_cxx_source("${code}" CXX_FILESYSTEM_STDCPPFS_NEEDED)
set(can_link ${CXX_FILESYSTEM_STDCPPFS_NEEDED})
if(NOT CXX_FILESYSTEM_STDCPPFS_NEEDED)
# Try the libc++ flag
set(CMAKE_REQUIRED_LIBRARIES ${prev_libraries} -lc++fs)
_cmcm_check_cxx_source("${code}" CXX_FILESYSTEM_CPPFS_NEEDED)
set(can_link ${CXX_FILESYSTEM_CPPFS_NEEDED})
endif()
endif()
if(can_link)
add_library(std::filesystem INTERFACE IMPORTED)
set_property(TARGET std::filesystem APPEND PROPERTY INTERFACE_COMPILE_FEATURES cxx_std_17)
set(_found TRUE)
if(CXX_FILESYSTEM_NO_LINK_NEEDED)
# Nothing to add...
elseif(CXX_FILESYSTEM_STDCPPFS_NEEDED)
set_property(TARGET std::filesystem APPEND PROPERTY INTERFACE_LINK_LIBRARIES -lstdc++fs)
elseif(CXX_FILESYSTEM_CPPFS_NEEDED)
set_property(TARGET std::filesystem APPEND PROPERTY INTERFACE_LINK_LIBRARIES -lc++fs)
endif()
endif()
endif()
cmake_pop_check_state()
set(Filesystem_FOUND ${_found} CACHE BOOL "TRUE if we can run a program using std::filesystem" FORCE)
if(Filesystem_FIND_REQUIRED AND NOT Filesystem_FOUND)
message(FATAL_ERROR "Cannot run simple program using std::filesystem")
endif()

View File

@ -0,0 +1,59 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#.rst:
# FindLibavif
# --------
#
# Find the avif headers and libraries.
#
# This module reports information about the avif
# installation in several variables. General variables::
#
# LIBAVIF_FOUND - true if the avif headers and libraries were found
# LIBAVIF_INCLUDE_DIRS - the directory containing the avif headers
# LIBAVIF_LIBRARIES - avif libraries to be linked
#
# The following cache variables may also be set::
#
# LIBAVIF_INCLUDE_DIR - the directory containing the avif headers
# LIBAVIF_LIBRARY - the avif library (if any)
# Find include directory
# TODO: use pkgconfig
find_path(LIBAVIF_INCLUDE_DIR
NAMES avif/avif.h
HINTS LIBAVIF_DIR
DOC "avif headers")
mark_as_advanced(LIBAVIF_INCLUDE_DIR)
find_library(LIBAVIF_LIBRARY
NAMES avif
HINTS LIBAVIF_DIR
DOC "avif libraries")
mark_as_advanced(LIBAVIF_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Libavif
FOUND_VAR LIBAVIF_FOUND
REQUIRED_VARS LIBAVIF_INCLUDE_DIR LIBAVIF_LIBRARY
FAIL_MESSAGE "Failed to find avif")
if(LIBAVIF_FOUND)
set(LIBAVIF_INCLUDE_DIRS "${LIBAVIF_INCLUDE_DIR}")
if(LIBAVIF_LIBRARY)
set(LIBAVIF_LIBRARIES "${LIBAVIF_LIBRARY}")
else()
unset(LIBAVIF_LIBRARIES)
endif()
if(NOT TARGET libavif::libavif)
add_library(libavif::libavif UNKNOWN IMPORTED)
set_target_properties(libavif::libavif PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${LIBAVIF_INCLUDE_DIRS}")
set_target_properties(libavif::libavif PROPERTIES
IMPORTED_LOCATION "${LIBAVIF_LIBRARY}")
endif()
endif()

View File

@ -3,7 +3,8 @@ macro(test_case)
set(libs ${ARGV})
list(REMOVE_AT libs 0 0)
add_executable(${trgt} "${trgt}_test.cpp")
add_executable(${trgt} $<TARGET_OBJECTS:catch_main> "${trgt}_test.cpp")
target_include_directories(${trgt} PRIVATE "${CMAKE_SOURCE_DIR}/test/common")
target_link_libraries(${trgt} PRIVATE celestia ${libs})
add_test(${trgt} ${trgt})
set_target_properties(${trgt} PROPERTIES FOLDER test/unit)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,52 @@
function(_WINDRES_GET_UNIQUE_TARGET_NAME _name _unique_name)
set(propertyName "_WINDRES_UNIQUE_COUNTER_${_name}")
get_property(currentCounter GLOBAL PROPERTY "${propertyName}")
if(NOT currentCounter)
set(currentCounter 1)
endif()
set(${_unique_name} "${_name}_${currentCounter}" PARENT_SCOPE)
math(EXPR currentCounter "${currentCounter} + 1")
set_property(GLOBAL PROPERTY ${propertyName} ${currentCounter} )
endfunction()
macro(WINDRES_CREATE_TRANSLATIONS _rcFile _firstPoFileArg)
# make it a real variable, so we can modify it here
set(_firstPoFile "${_firstPoFileArg}")
set(_addToAll)
if(${_firstPoFile} STREQUAL "ALL")
set(_addToAll "ALL")
set(_firstPoFile)
endif()
set(_dllFiles)
foreach(_currentPoFile ${_firstPoFile} ${ARGN})
get_filename_component(_absFile ${_currentPoFile} ABSOLUTE)
get_filename_component(_lang ${_absFile} NAME_WE)
set(_locRcFile ${CMAKE_CURRENT_BINARY_DIR}/celestia_${_lang}.rc)
set(_dllFile res_${_lang})
add_custom_command(
OUTPUT ${_locRcFile}
COMMAND perl ${CMAKE_SOURCE_DIR}/po/translate_resources.pl ${_lang}
DEPENDS ${_absFile}
)
add_library(${_dllFile} MODULE ${_locRcFile})
set_target_properties(${_dllFile} PROPERTIES PREFIX "" LINKER_LANGUAGE C)
if(MSVC)
set_target_properties(${_dllFile} PROPERTIES LINK_FLAGS "/MANIFEST:NO /NODEFAULTLIB /NOENTRY")
endif()
install(TARGETS ${_dllFile} LIBRARY DESTINATION ${CMAKE_INSTALL_BINDIR})
set(_dllFiles ${_dllFiles} ${_dllFile})
endforeach()
if(NOT TARGET resources)
add_custom_target(resources)
endif()
_WINDRES_GET_UNIQUE_TARGET_NAME(resources uniqueTargetName)
add_custom_target(${uniqueTargetName} ${_addToAll} DEPENDS ${_dllFiles})
add_dependencies(resources ${uniqueTargetName})
endmacro()

View File

@ -1,4 +1,7 @@
#cmakedefine HAVE_BYTESWAP_H
#cmakedefine HAVE_FILESYSTEM
#cmakedefine HAVE_EXPERIMENTAL_FILESYSTEM
#cmakedefine HAVE_CHARCONV
#cmakedefine HAVE_FLOAT_CHARCONV
#cmakedefine HAVE_STD_FILESYSTEM
#cmakedefine HAVE_WORDEXP
#cmakedefine HAVE_MESHOPTIMIZER
#cmakedefine WORDS_BIGENDIAN

@ -1 +0,0 @@
Subproject commit 7012d92a37b240a53ce8d445907d4b2d32433e5a

View File

@ -1,49 +0,0 @@
if(ENABLE_HIPPARCOS)
add_custom_command(OUTPUT stars.dat COMMAND buildstardb -q DEPENDS buildstardb)
add_custom_target(hipparcos_data ALL DEPENDS stars.dat)
endif()
set(DATA_SOURCES
asterisms.dat
boundaries.dat
hdxindex.dat
saoxindex.dat
starnames.dat
stars.dat
extrasolar.ssc
solarsys.ssc
charm2.stc
extrasolar.stc
nearstars.stc
revised.stc
spectbins.stc
visualbins.stc
stars.txt
asteroids.ssc
comets.ssc
dwarfplanets.ssc
earth_locs.ssc
eros_locs.ssc
galaxies.dsc
gaspra_locs.ssc
globulars.dsc
ida_locs.ssc
itokawa_locs.ssc
jupitermoons_locs.ssc
mars_locs.ssc
marsmoons_locs.ssc
merc_locs.ssc
minormoons.ssc
moon_locs.ssc
neptunemoons_locs.ssc
numberedmoons.ssc
openclusters.dsc
outersys.ssc
ring_locs.ssc
saturnmoons_locs.ssc
uranusmoons_locs.ssc
venus_locs.ssc
world-capitals.ssc
)
install(FILES ${DATA_SOURCES} DESTINATION "${DATADIR}/data")

View File

@ -1,529 +0,0 @@
"Andromeda"
[
[ "Beta And" "Upsilon And" "Almach" ]
[ "Beta And" "Delta And" "Alpha And" ]
[ "Beta And" "Mu And" "Nu And" ]
[ "Upsilon And" "51 And" ]
]
"Antlia"
[
[ "Iota Ant" "Alpha Ant" "Theta Ant" "Epsilon Ant" ]
]
"Apus"
[
[ "Beta Aps" "Gamma Aps" "Delta1 Aps" "Alpha Aps" ]
]
"Aquarius"
[
[ "88 Aqr" "Delta Aqr" "Tau Aqr" "Lambda Aqr" "Phi Aqr" "Zeta Aqr" "Gamma Aqr" "Alpha Aqr" "Beta Aqr" "Mu Aqr" "Epsilon Aqr" ]
[ "Alpha Aqr" "Theta Aqr" "Iota Aqr" ]
]
"Aquila"
[
[ "Epsilon Aql" "Zeta Aql" "Gamma Aql" "Alpha Aql" "Beta Aql" "Theta Aql" "Eta Aql" "Delta Aql" "Zeta Aql" ]
[ "Delta Aql" "Lambda Aql" "12 Aql" ]
]
"Ara"
[
[ "Delta Ara" "Gamma Ara" "Beta Ara" "Alpha Ara" "Epsilon1 Ara" "Zeta Ara" "Eta Ara" ]
[ "Zeta Ara" "Gamma Ara" ]
]
"Aries"
[
[ "41 Ari" "Alpha Ari" "Beta Ari" "Gamma Ari" ]
]
"Auriga"
[
[ "Alpha Aur" "Delta Aur" "Beta Aur" "Tet Aur" "Beta Tau" "Iota Aur" "Eta Aur" "Alpha Aur" ]
[ "Beta Aur" "Alpha Aur" "Epsilon Aur" "Zeta Aur" ]
]
"Boötes"
[
[ "Gamma Boo" "Beta Boo" "Delta Boo" "Epsilon Boo" "Alpha Boo" "Pi1 Boo" "Zeta Boo" ]
[ "Upsilon Boo" "Tau Boo" "Eta Boo" "Alpha Boo" "Rho Boo" "Gamma Boo" "Lambda Boo" "Kappa2 Boo"]
[ "Delta Boo" "Mu1 Boo" ]
]
"Caelum"
[
[ "Alpha Cae" "Beta Cae" ]
]
"Camelopardalis"
[
[ "7 Cam" "Beta Cam" "Alpha Cam" "Gamma Cam" ]
]
"Cancer"
[
[ "Alpha Cnc" "Delta Cnc" "Gamma Cnc" "Iota Cnc" ]
[ "Delta Cnc" "Beta Cnc" ]
]
"Canes Venatici"
[
[ "Alpha1 CVn" "Beta CVn" ]
]
"Canis Major"
[
[ "Beta CMa" "Alpha CMa" "Iota CMa" "Gamma CMa" "Theta CMa" "Alpha CMa" ]
[ "Alpha CMa" "Omicron2 CMa" "Delta CMa" "Sigma CMa" "Epsilon CMa" "Zeta CMa" ]
[ "Delta CMa" "Omega CMa" "Eta CMa" ]
[ "Omega CMa" "Tau CMa" ]
]
"Canis Minor"
[
[ "Alpha CMi" "Beta CMi" ]
]
"Capricornus"
[
[ "Alpha1 Cap" "Beta Cap" "Psi Cap" "Omega Cap" "24 Cap" "Zeta Cap" "Epsilon Cap" "Delta Cap" "Gamma Cap" "Iota Cap" "Theta Cap" "Beta Cap" ]
]
"Carina"
[
[ "Alpha Car" "N Car" "Chi Car" "Epsilon Car" "Iota Car" "Q Car" "P Car" "Theta Car" "Omega Car" "Beta Car" "Upsilon Car" ]
]
"Cassiopeia"
[
[ "Epsilon Cas" "Delta Cas" "Gamma Cas" "Alpha Cas" "Beta Cas" ]
]
"Centaurus"
[
[ "Iota Cen" "D Cen" "Nu Cen" ]
[ "Theta Cen" "Nu Cen" ]
[ "Kappa Cen" "Eta Cen" "Nu Cen" "Mu Cen" "Zeta Cen" "Epsilon Cen" "Gamma Cen" "Sigma Cen" "Delta Cen" "Rho Cen" "Pi Cen" "Lambda Cen" ]
[ "Beta Cen" "Epsilon Cen" "Alpha Cen" ]
]
"Cepheus"
[
[ "Theta Cep" "Eta Cep" "Alpha Cep" "Beta Cep" "Gamma Cep" "Iota Cep" "Zeta Cep" "Alpha Cep" ]
[ "Zeta Cep" "Epsilon Cep" "Delta Cep" ]
]
"Cetus"
[
[ "Gamma Cet" "Alpha Cet" "Lambda Cet" "Mu Cet" "Xi2 Cet" "Nu Cet" "Gamma Cet" "Delta Cet" "Omicron Cet" "Zeta Cet" "Theta Cet" "Eta Cet" "Iota Cet" "Beta Cet" "Tau Cet" "Zeta Cet" ]
]
"Chamaeleon"
[
[ "Alpha Cha" "Gamma Cha" "Beta Cha" "Delta2 Cha" "Theta Cha" "Alpha Cha" ]
]
"Circinus"
[
[ "Beta Cir" "Alpha Cir" "Gamma Cir" ]
]
"Columba"
[
[ "Epsilon Col" "Alpha Col" "Beta Col" "Gamma Col" "Kappa Col" "Delta Col" ]
[ "Beta Col" "Eta Col" ]
]
"Coma Berenices"
[
[ "Alpha Com" "Beta Com" "Gamma Com" ]
]
"Corona Australis"
[
[ "Epsilon CrA" "Gamma CrA" "Alpha CrA" "Beta CrA" "Delta CrA" "Zeta CrA" ]
]
"Corona Borealis"
[
[ "Theta CrB" "Beta CrB" "Alpha CrB" "Gamma CrB" "Delta CrB" "Epsilon CrB" "Iota CrB" ]
]
"Corvus"
[
[ "Alpha Crv" "Epsilon Crv" "Gamma Crv" "Delta Crv" "Beta Crv" "Epsilon Crv" ]
]
"Crater"
[
[ "Eta Crt" "Zeta Crt" "Gamma Crt" "Delta Crt" "Epsilon Crt" "Theta Crt" ]
[ "Gamma Crt" "Beta Crt" "Alpha Crt" "Delta Crt" ]
]
"Crux"
[
[ "Alpha Cru" "Gamma Cru" ]
[ "Beta Cru" "Delta Cru" ]
]
"Cygnus"
[
[ "Kappa Cyg" "Iota Cyg" "Theta Cyg" "Delta Cyg" "Gamma Cyg" "Epsilon Cyg" "Zeta Cyg" ]
[ "Alpha Cyg" "Gamma Cyg" "Eta Cyg" "Beta Cyg" ]
]
"Delphinus"
[
[ "Epsilon Del" "Beta Del" "Delta Del" "Gamma1 Del" "Alpha Del" "Beta Del" ]
]
"Dorado"
[
[ "Gamma Dor" "Alpha Dor" "Zeta Dor" "Beta Dor" "Delta Dor" ]
[ "Beta Dor" ]
]
"Draco"
[
[ "Nu1 Dra" "Beta Dra" "Gamma Dra" "Xi Dra" "Nu1 Dra" ]
[ "Xi Dra" "Delta Dra" "Epsilon Dra" "Chi Dra" "Zeta Dra" "Eta Dra" "Theta Dra" "Iota Dra" "Alpha Dra" "Kappa Dra" "Lambda Dra" ]
]
"Equuleus"
[
[ "Delta Equ" "Beta Equ" "Alpha Equ" "Gamma Equ" ]
]
"Eridanus"
[
[ "Lambda Eri" "Beta Eri" "Omega Eri" "Mu Eri" "Nu Eri" "Omicron1 Eri" "Gamma Eri" "Pi Eri" "Delta Eri" "Epsilon Eri" "Eta Eri" "Tau1 Eri" "Tau2 Eri" "Tau3 Eri" "Tau4 Eri" "Tau5 Eri" "Tau6 Eri" "Tau9 Eri" "Upsilon1 Eri" "Upsilon2 Eri" "43 Eri" "41 Eri" "G Eri" "F Eri" "E Eri" "Theta Eri" "Iota Eri" "S Eri" "Kappa Eri" "Phi Eri" "Chi Eri" "Alpha Eri" ]
]
"Fornax"
[
[ "Alpha For" "Beta For" "Nu For" ]
]
"Gemini"
[
[ "Beta Gem" "Upsilon Gem" "Delta Gem" "Zeta Gem" "Gamma Gem" ]
[ "1 Gem" "Eta Gem" "Mu Gem" "Epsilon Gem" "Tau Gem" "Rho Gem" "Alpha Gem" ]
[ "Delta Gem" "Lambda Gem" "51 Gem" "Xi Gem"]
[ "Nu Gem" "Epsilon Gem" ]
[ "Tau Gem" "Theta Gem" ]
[ "Upsilon Gem" "Kappa Gem" ]
[ "Upsilon Gem" "Iota Gem" "Tau Gem" ]
]
"Grus"
[
[ "Gamma Gru" "Lambda Gru" "Mu1 Gru" "Delta1 Gru" "Beta Gru" "Epsilon Gru" "Zeta Gru" ]
[ "Alpha Gru" "Beta Gru" "Iota Gru" "Theta Gru" ]
]
"Hercules"
[
[ "Pi Her" "Epsilon Her" "Zeta Her" ]
[ "Phi Her" "Sigma Her" "Eta Her" "Zeta Her" "Beta Her" "Gamma Her" ]
[ "Beta Her" "Alpha Her" ]
[ "Iota Her" "Theta Her" "Rho Her" "Pi Her" "Eta Her" ]
[ "Epsilon Her" "Delta Her" "Lambda Her" "Mu Her" "Xi Her" "Omicron Her" "Nu Her" ]
[ "Omicron Her" "109 Her" "110 Her" "111 Her" ]
[ "109 Her" "102 Her" ]
]
"Horologium"
[
[ "Alpha Hor" "Iota Hor" "Eta Hor" "Zeta Hor" "Mu Hor" "Beta Hor" ]
]
"Hydra"
[
[ "Gamma Hya" "Beta Hya" "Xi Hya" ]
[ "Pi Hya" "Gamma Hya" ]
[ "Xi Hya" "Nu Hya" "Mu Hya" "Lambda Hya" "Upsilon2 Hya" "Upsilon1 Hya" "Alpha Hya" "Iota Hya" "Theta Hya" "Zeta Hya" "Eta Hya" "Sigma Hya" "Delta Hya" "Epsilon Hya" "Zeta Hya" ]
]
"Hydrus"
[
[ "Gamma Hyi" "Beta Hyi" "Alpha Hyi" "Gamma Hyi" ]
]
"Indus"
[
[ "Alpha Ind" "Theta Ind" "Delta Ind" ]
[ "Theta Ind" "Beta Ind" ]
]
"Lacerta"
[
[ "1 Lac" "Star Lac" "6 Lac" "2 Lac" "5 Lac" "4 Lac" "Alpha Lac" "Beta Lac" ]
]
"Leo"
[
[ "Gamma1 Leo" "Epsilon Leo" "Mu Leo" "Zeta Leo" "Gamma1 Leo" "Eta Leo" "Alpha Leo" "Theta Leo" "Beta Leo" "Delta Leo" "Gamma1 Leo" ]
[ "Alpha Leo" "Omicron Leo" ]
[ "Theta Leo" "Iota Leo" "Sigma Leo" ]
]
"Leo Minor"
[
[ "46 LMi" "Beta LMi" "21 LMi" ]
]
"Lepus"
[
[ "Mu Lep" "Alpha Lep" "Zeta Lep" "Eta Lep" ]
[ "Alpha Lep" "Beta Lep" ]
[ "Delta Lep" "Gamma Lep" "Beta Lep" "Epsilon Lep" ]
]
"Libra"
[
[ "Sigma Lib" "Beta Lib" ]
[ "48 Lib" "Theta Lib" "Eta Lib" "Gamma Lib" "Beta Lib" "Alpha2 Lib" "Sigma Lib" "Upsilon Lib" "Tau Lib" ]
]
"Lupus"
[
[ "Theta Lup" "Eta Lup" "Gamma Lup" "Epsilon Lup" "Kappa Lup" "Zeta Lup" "Alpha Lup" "Beta Lup" "Delta Lup" "Phi1 Lup" "Chi Lup" ]
[ "Gamma Lup" "Delta Lup" ]
]
"Lynx"
[
[ "Alpha Lyn" "38 Lyn" "31 Lyn" "21 Lyn" "15 Lyn" "2 Lyn" ]
]
"Lyra"
[
[ "Epsilon1 Lyr" "Alpha Lyr" "Zeta1 Lyr" "Beta Lyr" "Gamma Lyr" "Delta1 Lyr" "Zeta1 Lyr" ]
[ "Alpha Lyr" "Kappa Lyr" ]
]
"Mensa"
[
[ "Alpha Men" "Gamma Men" "Eta Men" "Beta Men" ]
]
"Microscopium"
[
[ "Theta1 Mic" "Epsilon Mic" "Gamma Mic" "Alpha Mic" ]
]
"Monoceros"
[
[ "Zeta Mon" "Alpha Mon" "Delta Mon" "Beta Mon" "Gamma Mon" ]
[ "Delta Mon" "18 Mon" "8 Mon" "13 Mon" ]
]
"Musca"
[
[ "Delta Mus" "Alpha Mus" "Gamma Mus" ]
[ "Beta Mus" "Alpha Mus" "Epsilon Mus" "Mu Mus" ]
]
"Norma"
[
[ "Epsilon Nor" "Gamma1 Nor" "Gamma2 Nor" "Eta Nor" ]
]
"Octans"
[
[ "Delta Oct" "Nu Oct" "Epsilon Oct" "Beta Oct" "Delta Oct" ]
]
"Ophiuchus"
[
[ "Kappa Oph" "Alpha Oph" "Beta Oph" "Eta Oph" ]
[ "45 Oph" "Theta Oph" "44 Oph" "Xi Oph" "Eta Oph" "Zeta Oph" "Epsilon Oph" "Delta Oph" "Kappa Oph" ]
[ "Beta Oph" "Gamma Oph" "67 Oph" "70 Oph" ]
[ "Gamma Oph" "Nu Oph" ]
]
"Orion"
[
[ "Xi Ori" "Mu Ori" "Alpha Ori" "Zeta Ori" "Kappa Ori" "Beta Ori" "Delta Ori" "Gamma Ori" "Lambda Ori" "Alpha Ori" ]
[ "Chi2 Ori" "Nu Ori" "Xi Ori" "68 Ori" ]
[ "Gamma Ori" "Pi3 Ori" "Pi4 Ori" "Pi5 Ori" "Pi6 Ori" ]
[ "Pi3 Ori" "Pi2 Ori" "Pi1 Ori" ][ "Zeta Ori" "Epsilon Ori" "Delta Ori" ]
]
"Pavo"
[
[ "Alpha Pav" "Beta Pav" "Upsilon Pav" "Epsilon Pav" "Zeta Pav" "Eta Pav" "Pi Pav" "Xi Pav" "Lambda Pav" "Delta Pav" "Beta Pav" "Gamma Pav" ]
]
"Pegasus"
[
[ "Epsilon Peg" "Theta Peg" "Zeta Peg" "Xi Peg" "Alpha Peg" "Gamma Peg" ]
[ "Kappa Peg" "Iota Peg" "Eta Peg" "Beta Peg" "Mu Peg" "Lambda Peg" "9 Peg" ]
[ "Alpha Peg" "Beta Peg" ]
]
"Perseus"
[
[ "Alpha Per" "Gamma Per" "Eta Per" ]
[ "Alpha Per" "Iota Per" "Kappa Per" "Beta Per" "Rho Per" "20 Per" "16 Per" ]
[ "Alpha Per" "Psi Per" "Delta Per" "Nu Per" "Epsilon Per" "Xi Per" "Zeta Per" "Omicron Per" ]
[ "Delta Per" "48 Per" "Mu Per" "Lambda Per" ]
[ "Iota Per" "Theta Per" ]
]
"Phoenix"
[
[ "Delta Phe" "Gamma Phe" "Nu Phe" "Beta Phe" "Alpha Phe" "Epsilon Phe" "Eta Phe" "Beta Phe" ]
]
"Pictor"
[
[ "Alpha Pic" "Gamma Pic" "Beta Pic" ]
]
"Pisces"
[
[ "Tau Psc" "Upsilon Psc" "Phi Psc" "Eta Psc" "Omicron Psc" "Alpha Psc" "Nu Psc" "Mu Psc" "Epsilon Psc" "Delta Psc" "Omega Psc" "Iota Psc" "Theta Psc" "Gamma Psc" "Kappa Psc" "Lambda Psc" "Iota Psc" ]
]
"Piscis Austrinus"
[
[ "Alpha PsA" "Epsilon PsA" "Lambda PsA" "Theta PsA" "Iota PsA" "Mu PsA" "Beta PsA" "Gamma PsA" "Delta PsA" "Alpha PsA" ]
]
"Puppis"
[
[ "Xi Pup" "K Pup" "Pi Pup" "Nu Pup" "Tau Pup" "Sigma Pup" "Zeta Pup"
"Rho Pup" "11 Pup" "Xi Pup" ]
[ "11 Pup" "16 Pup" ]
]
"Pyxis"
[
[ "Beta Pyx" "Alpha Pyx" "Gamma Pyx" ]
]
"Reticulum"
[
[ "Beta Ret" "Alpha Ret" "Epsilon Ret" "Iota Ret" "Delta Ret" "Beta Ret" ]
]
"Sagitta"
[
[ "Eta Sge" "Gamma Sge" "Delta Sge" "Beta Sge" ]
[ "Delta Sge" "Alpha Sge" ]
]
"Sagittarius"
[
[ "Phi Sgr" "Delta Sgr" ]
[ "Beta2 Sgr" "Iota Sgr" "Alpha Sgr" ]
[ "Iota Sgr" "Theta1 Sgr" "Theta2 Sgr" "62 Sgr" "59 Sgr" "52 Sgr" "Psi Sgr" "Tau Sgr" "Zeta Sgr" "Phi Sgr" "Sigma Sgr" "Tau Sgr" ]
[ "Sigma Sgr" "Omicron Sgr" "Pi Sgr" "53 Sgr" "Rho1 Sgr" ]
[ "Omicron Sgr" ]
[ "Phi Sgr" "Lambda Sgr" "Mu Sgr" ]
[ "Lambda Sgr" "Delta Sgr" "Epsilon Sgr" "Eta Sgr" ]
[ "Delta Sgr" "Gamma Sgr" "3 Sgr" ]
[ "Zeta Sgr" "Epsilon Sgr" "Gamma Sgr" ]
]
"Scorpius"
[
[ "Delta Sco" "Sigma Sco" "Alpha Sco" "Tau Sco" "Epsilon Sco" "Mu Sco" "Zeta Sco" "Eta Sco" "Theta Sco" "Iota1 Sco" "Kappa Sco" "Lambda Sco" ]
[ "Beta2 Sco" "Omega1 Sco" "Nu Sco" "11 Sco" "Beta2 Sco" "Delta Sco" "Pi Sco" "Rho Sco" ]
[ "Iota1 Sco" "G Sco" ]
]
"Sculptor"
[
[ "Alpha Scl" "Iota Scl" "Delta Scl" "Gamma Scl" "Beta Scl" ]
]
"Scutum"
[
[ "Beta Sct" "Alpha Sct" "Gamma Sct" ]
[ "Alpha Sct" "Zeta Sct" ]
]
"Serpens Caput"
[
[ "Mu Ser" "Omega Ser" "Epsilon Ser" "Alpha Ser" "Delta Ser" "Beta Ser" "Gamma Ser" "Kappa Ser" "Beta Ser" ]
]
"Serpens Cauda"
[
[ "Nu Ser" "Xi Ser" "Omicron Ser" ]
[ "Omicron Ser" "Eta Ser" "Theta Ser" ]
]
"Sextans"
[
[ "Beta Sex" "Alpha Sex" "Gamma Sex" ]
]
"Taurus"
[
[ "Beta Tau" "Tau Tau" "Epsilon Tau" "68 Tau" "Delta1 Tau" "Gamma Tau" "Theta2 Tau" "Alpha Tau" "Zeta Tau" ]
[ "Gamma Tau" "Lambda Tau" "47 Tau" "Mu Tau" "Nu Tau" ]
[ "Lambda Tau" "5 Tau" "Xi Tau" "Omicron Tau" ]
[ "Alpha Tau" "Epsilon Tau" ]
]
"Telescopium"
[
[ "Zeta Tel" "Alpha Tel" ]
[ "Alpha Tel" "Epsilon Tel" ]
]
"Triangulum"
[
[ "Alpha Tri" "Epsilon Tri" "Beta Tri" "Gamma Tri" "Alpha Tri" ]
]
"Triangulum Australe"
[
[ "Beta TrA" "Epsilon TrA" "Gamma TrA" "Alpha TrA" "Beta TrA" ]
]
"Tucana"
[
[ "Delta Tuc" "Alpha Tuc" "Gamma Tuc" "Epsilon Tuc" "Zeta Tuc" "Beta Tuc" "Gamma Tuc" ]
]
"Ursa Major"
[
[ "Eta UMa" "Zeta UMa" "Epsilon UMa" "Delta UMa" "Gamma UMa" "Beta UMa" "Alpha UMa" "Delta UMa" ]
]
"Ursa Minor"
[
[ "Alpha UMi" "Delta UMi" "Epsilon UMi" "Zeta UMi" "Beta UMi" "Gamma UMi" "Eta UMi" "Zeta UMi" ]
]
"Vela"
[
[ "Mu Vel" "Rho Vel" "Q Vel" "Psi Vel" "Lambda Vel" "D Vel" "E Vel" "Gamma Vel" "Delta Vel" "Kappa Vel" "Phi Vel" "Mu Vel" ]
[ "Delta Vel" ]
[ "Kappa Vel" ]
]
"Virgo"
[
[ "Beta Vir" "Eta Vir" "Gamma Vir" "Delta Vir" "Epsilon Vir" ]
[ "Delta Vir" "Zeta Vir" "Alpha Vir" "Theta Vir" "Gamma Vir" ]
[ "Zeta Vir" "Tau Vir" "109 Vir" ]
[ "Alpha Vir" "Kappa Vir" "Iota Vir" "Mu Vir" ]
]
"Volans"
[
[ "Alpha Vol" "Beta Vol" "Epsilon Vol" "Delta Vol" "Gamma Vol" "Zeta Vol" "Epsilon Vol" ]
]
"Vulpecula"
[
[ "13 Vul" "Alpha Vul" "1 Vul" ]
]

View File

@ -1,557 +0,0 @@
# All asteroid colors (except for Dactyl) are derived from SMASS spectra
# and converted to RGB values using Matt Wronkiewicz's spectrum2rgb utility
# that is distributed with the Celestia source package.
# A few main belt asteroids . .
"2 Pallas:Pallas" "Sol"
# Pole and shape from Schmidt et al
# "Hubble takes a look at Pallas: Shape, Size and Surface"
# (2008) http://www.lpi.usra.edu/meetings/lpsc2008/pdf/2502.pdf
{
Class "asteroid"
Texture "asteroid.jpg"
Color [ 1.000 0.952 0.903 ]
BlendTexture true
SemiAxes [ 291 278 250 ]
EllipticalOrbit
{
Epoch 2452600.5 # 2002 Nov 22 00:00UT
Period 4.61868
SemiMajorAxis 2.7733
Eccentricity 0.2300
Inclination 34.846
AscendingNode 173.166
ArgOfPericenter 310.423
MeanAnomaly 218.057
}
UniformRotation
{
Period 7.81323264
Inclination 113
AscendingNode 118
MeridianAngle 339
}
Albedo 0.159
}
"3 Juno:Juno" "Sol"
{
Class "asteroid"
Texture "asteroid.jpg"
Color [ 1.000 0.912 0.833 ]
BlendTexture true
SemiAxes [ 145 120 95 ]
EllipticalOrbit
{
Epoch 2452600.5 # 2002 Nov 22 00:00UT
Period 4.35540
SemiMajorAxis 2.6669
Eccentricity 0.2589
Inclination 12.972
AscendingNode 170.133
ArgOfPericenter 247.948
MeanAnomaly 119.146
}
UniformRotation
{
Period 7.811
Inclination 56
AscendingNode 196
}
Albedo 0.238
}
"4 Vesta:Vesta" "Sol"
{
Class "asteroid"
Mesh "vesta.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.923 0.851 ]
BlendTexture true
Radius 279 # maximum semi-axis
MeshCenter [ 0.77 3.424 -0.554 ]
InfoURL "http://www.solarviews.com/eng/vesta.htm"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 3.62729
SemiMajorAxis 2.3670775
Eccentricity 0.089753
Inclination 7.1346
AscendingNode 103.9510
ArgOfPericenter 149.4585
MeanAnomaly 104.980
}
UniformRotation
{
Period 5.342
Epoch 2450124.90833 # 1996 May 11 09:48UT
Inclination 40
AscendingNode 91
MeridianAngle 325.77
}
Albedo 0.423
}
# Some of the asteroids visited by spacecraft
"951 Gaspra:Gaspra:A913 YA" "Sol"
{
Class "asteroid"
Mesh "gaspra.cmod"
Texture "gaspramosaic.*" # Phil Stooke
Color [ 1.000 0.883 0.769 ]
BlendTexture true
Radius 9.1 # maximum semi-axis
MeshCenter [ 1.540 -0.064 -0.118 ]
EllipticalOrbit
{
Epoch 2448559.0 # 1991 Oct 29 12:00UT (Galileo encounter)
Period 3.2837 # average
SemiMajorAxis 2.2096348 # at epoch
Eccentricity 0.1738752 # at epoch
Inclination 4.0975771 # at epoch
AscendingNode 253.445592 # at epoch
ArgOfPericenter 129.045896 # at epoch
MeanAnomaly 280.769206 # at epoch
}
UniformRotation
{
Period 7.042073
Inclination 69.28
AscendingNode 109.59
MeridianAngle 58.865
}
Albedo 0.1
}
"243 Ida:Ida:A910 CD" "Sol"
{
Class "asteroid"
Mesh "ida.cmod"
Texture "idamosaic.*" # Phil Stooke
Color [ 1.000 0.901 0.815 ]
BlendTexture true
Radius 28.9 # maximum semi-axis
MeshCenter [ -1.424 -0.417 0.115 ]
EllipticalOrbit
{
Epoch 2449228.0 # 1993 Aug 28 12:00UT (Galileo encounter)
Period 4.8417 # mean
SemiMajorAxis 2.863731 # at epoch
Eccentricity 0.043109 # at epoch
Inclination 1.137110 # at epoch
AscendingNode 324.586055 # at epoch
ArgOfPericenter 113.017101 # at epoch
MeanAnomaly 131.594945 # at epoch
}
UniformRotation
{
Period 4.633632
Inclination 156.96
AscendingNode 352.77
MeridianAngle 359.46
}
Albedo 0.24
}
"Dactyl:243 Ida I:Ida I:1993 (243) 1" "Sol/Ida"
{
# Data for Dactyl taken from:
# Petit et al.: The Long-Term Dynamics of Dactyl's Orbit
# (Icarus 1997: 130; 177-197) - linked in the InfoURL
InfoURL "http://www.lpl.arizona.edu/~hurfordt/research/papers/Icarus130.pdf"
Class "asteroid"
Texture "asteroid.jpg"
# Use the same color as for Ida--uncertain if this is correct
Color [ 1.000 0.901 0.815 ]
BlendTexture true
Mesh "roughsphere.cms"
Radius 0.7
EllipticalOrbit
{
Epoch 2449228.2028 # 1993 Aug 28 16:52:05UT
Period 0.96534 # stable 5:1 resonant orbit (Petit et al.)
SemiMajorAxis 83.5 # stable 5:1 resonant orbit (Petit et al.)
Eccentricity 0.13 # stable 5:1 resonant orbit (Petit et al.)
LongOfPericenter 310 # stable pericenter at 90:E Ida longitude (Petit et al.)
AscendingNode 90 # VERY approximate - chosen to place Dactyl north
# of Ida's equator, as seen at time of Galileo encounter
Inclination 8 # estimated at 7-9 degrees (Petit et al.)
}
UniformRotation
{
MeridianAngle 123 # place prime meridian facing Ida
}
Albedo 0.2
}
"433 Eros:Eros:1898 DQ" "Sol"
{
Class "asteroid"
Mesh "eros.cmod"
Texture "eros.*"
# NormalMap "erosbump2k.jpg"
Color [ 1.000 0.880 0.764 ]
# The texture is already tinted with the asteroid color
#BlendTexture true
Radius 16.3 # maximum semi-axis
MeshCenter [ -1.262 0.168 -0.164 ]
EllipticalOrbit
{
Epoch 2451171.0 # 1998 Dec 23 12:00UT (NEAR-Shoemaker encounter)
Period 1.761 # average
SemiMajorAxis 1.458261 # at epoch
Eccentricity 0.222885 # at epoch
Inclination 10.830143 # at epoch
AscendingNode 304.430882 # at epoch
ArgOfPericenter 178.613184 # at epoch
MeanAnomaly 208.403434 # at epoch
}
UniformRotation
{
Period 5.270
Inclination 78.70
AscendingNode 107.23
MeridianAngle 338.165
}
Albedo 0.16
}
"25143 Itokawa:Itokawa:1998 SF36" "Sol"
{
Class "asteroid"
Mesh "itokawa.cmod"
Radius 0.315
InfoURL "http://en.wikipedia.org/wiki/25143_Itokawa"
# Osculating elements from HORIZONS
EllipticalOrbit
{
Epoch 2453625.5 # 2005 Sep 12--Hayabusa arrival
Period 1.523231392
SemiMajorAxis 1.323849003
Eccentricity 0.2801215972
Inclination 1.622265921
AscendingNode 69.09461308
ArgOfPericenter 162.7594572
MeanAnomaly 310.6795025
}
# Retrograde rotation pole with RA 90.53 and Dec -66.30
# From "Pole and global shape of 25143 Itokawa",
# Demura et al, Science, 2 Jun 2006
BodyFrame { EquatorJ2000 {} }
UniformRotation
{
Inclination 156.30
AscendingNode 180.53
Period 12.132
}
Color [ 1 0.96 0.80 ] # Approximation based on natural color images
LunarLambert 0.5 # Approximate a dusty surface
# Align model with Celestia's coordinate system
# Orientation [ 90 1 0 0 ]
Orientation [ 180 0 1 1 ]
Albedo 0.53
}
# Radar-imaged asteroids
"4179 Toutatis:Toutatis:1989 AC" "Sol"
{
Class "asteroid"
Mesh "toutatis.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.904 0.803 ]
BlendTexture true
Radius 2.3 # maximum semi-axis
MeshCenter [ 0.0313 0.2171 0.0064 ]
InfoURL "http://echo.jpl.nasa.gov/asteroids/4179_Toutatis/toutatis.html"
EllipticalOrbit
{
Epoch 2452200.5 # 2001 Oct 18 00:00UT
Period 3.976715
SemiMajorAxis 2.5100537
Eccentricity 0.6342274
Inclination 0.46959
AscendingNode 128.24788
ArgOfPericenter 274.78070
MeanAnomaly 86.28120
}
PrecessingRotation
{
Period 129.6 # 5.41 days
Inclination 145
PrecessionPeriod -0.0201 # 7.35 day period
}
Albedo 0.16
}
"1620 Geographos:Geographos:1951 RA" "Sol"
{
Class "asteroid"
Mesh "geographos.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.901 0.802 ]
BlendTexture true
Radius 2.53 # maximum semi-axis
MeshCenter [ 0.154 -0.002 -0.026 ]
InfoURL "http://www.solarviews.com/eng/geograph.htm"
EllipticalOrbit
{
Epoch 2450800.5 # 1997 Dec 18 00:00UT
Period 1.39
SemiMajorAxis 1.2455
Eccentricity 0.3354
Inclination 13.34
AscendingNode 337.352
ArgOfPericenter 276.756
MeanAnomaly 180.595
}
UniformRotation
{
Period 5.223
Inclination 136
AscendingNode 145
}
Albedo 0.326
}
"216 Kleopatra:Kleopatra:A905 OA" "Sol"
{
Class "asteroid"
Mesh "kleopatra.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.932 0.888 ]
BlendTexture true
Radius 110 # maximum semi-axis
MeshCenter [ -3.049 2.379 1.429 ]
InfoURL "http://echo.jpl.nasa.gov/~ostro/kle/index.html"
EllipticalOrbit
{
Epoch 2450800.5 # 1997 Dec 12 00:00UT
Period 4.67
SemiMajorAxis 2.791
Eccentricity 0.2531
Inclination 13.138
AscendingNode 215.699
ArgOfPericenter 179.350
MeanAnomaly 225.804
}
UniformRotation
{
Period 5.385
Inclination 63
AscendingNode 162
}
Albedo 0.16
# Class M
}
"1998 KY26" "Sol"
{
Class "asteroid"
Mesh "ky26.cmod"
Texture "asteroid.jpg"
Radius 0.015 # maximum semi-axis
MeshCenter [ -0.000718 -0.000099 0.000556 ]
InfoURL "http://echo.jpl.nasa.gov/~ostro/KY26/index.html"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 1.3752
SemiMajorAxis 1.2320798
Eccentricity 0.20151423
Inclination 1.48127
AscendingNode 84.45490
ArgOfPericenter 209.14766
MeanAnomaly 356.6879717
}
UniformRotation
{
Period 0.178
}
Albedo 0.15
}
"2063 Bacchus:Bacchus:1977 HB" "Sol"
{
Class "asteroid"
Mesh "bacchus.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.899 0.777 ]
BlendTexture true
Radius 0.55 # maximum semi-axis
MeshCenter [ -0.00936 -0.00610 0.00289 ]
InfoURL "http://echo.jpl.nasa.gov/~ostro/bacchus/index.html"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 1.1223
SemiMajorAxis 1.0781035
Eccentricity 0.34951251
Inclination 9.43160
AscendingNode 33.23590
ArgOfPericenter 55.18040
MeanAnomaly 229.8627955
}
UniformRotation
{
Period 14.90
Inclination 116
AscendingNode 114
}
Albedo 0.15
}
"6489 Golevka:Golevka:1991 JX" "Sol"
{
Class "asteroid"
Mesh "golevka.cmod"
Texture "asteroid.jpg"
Color [ 1.000 0.856 0.747 ]
BlendTexture true
Radius 0.34 # maximum semi-axis
MeshCenter [ -0.0289 -0.0111 -0.0331 ]
InfoURL "http://echo.jpl.nasa.gov/~ostro/gol/index.html"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 3.995
SemiMajorAxis 2.5120500
Eccentricity 0.60117380
Inclination 2.28701
AscendingNode 212.16560
ArgOfPericenter 65.25133
MeanAnomaly 159.8983670
}
UniformRotation
{
Period 6.0289
Inclination 135
AscendingNode 292
}
Albedo 0.15
}
"4769 Castalia:Castalia:1989 PB" "Sol"
{
Class "asteroid"
Mesh "castalia.cmod"
Texture "asteroid.jpg"
BlendTexture true
Radius 0.81 # maximum semi-axis
MeshCenter [ -0.0456 -0.0347 -0.0178 ]
InfoURL "http://echo.jpl.nasa.gov/asteroids/4769_Castalia/cast01.html"
EllipticalOrbit
{
Epoch 2452000.5 # 2001 Apr 1 00:00UT
Period 1.096
SemiMajorAxis 1.0632007
Eccentricity 0.48324394
Inclination 8.88806
AscendingNode 325.71246
ArgOfPericenter 121.26355
MeanAnomaly 152.5186007
}
UniformRotation
{
Period 4.095
Inclination 146
AscendingNode 325
}
Albedo 0.15
}
# Centaurs
"2060 Chiron:Chiron:1977 UB:95P Chiron" "Sol"
{
Class "asteroid"
Texture "asteroid.jpg"
Color [ 1.000 0.960 0.919 ]
BlendTexture true
Radius 144
EllipticalOrbit
{
Epoch 2449608.5 # 1994 Sep 13 00:00UT
Period 50.90359
SemiMajorAxis 13.734941
Eccentricity 0.384424
Inclination 6.927771
AscendingNode 209.395188
ArgOfPericenter 339.432152
MeanAnomaly 349.983669
}
UniformRotation
{
Period 5.918
}
Albedo 0.048
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,117 +0,0 @@
# Comets
"Halley:1P Halley" "Sol"
{
Class "comet"
Mesh "halley.cmod"
Texture "asteroid.jpg"
Radius 7.6 # maximum semi-axis
MeshCenter [ -0.338 1.303 0.230 ]
EllipticalOrbit
{
Epoch 2449400.5 #1994 Feb 17 00:00UT
Period 75.31589
SemiMajorAxis 17.834144
Eccentricity 0.967143
Inclination 162.262690
AscendingNode 58.420081
ArgOfPericenter 111.332485
MeanAnomaly 38.384264
}
# chaotic rotation, imperfectly defined:
# this version from "The New Solar System", 4th Edition; Eds.
# JK Beatty, CC Petersen, A Chaikin
PrecessingRotation
{
Period 170 # 7.1 day axial rotation period
Inclination 66
PrecessionPeriod 0.010 # 3.7 day precession period
}
Albedo 0.04
}
"Borrelly:19P Borrelly" "Sol"
{
Class "comet"
Mesh "borrelly.cms"
Texture "asteroid.jpg"
Radius 2.2
InfoURL "http://www.solarviews.com/eng/borrelly.htm"
EllipticalOrbit
{
Epoch 2452174.5 # 2001 Sep 22 00:00UT
Period 6.86302
SemiMajorAxis 3.611363
Eccentricity 0.623908
Inclination 30.324612
AscendingNode 75.424869
ArgOfPericenter 353.375385
MeanAnomaly 358.956091
}
UniformRotation
{
Period 25
Inclination 90
AscendingNode 315
}
Albedo 0.04
}
"Ikeya-Zhang:153P Ikeya-Zhang" "Sol"
{
Class "comet"
Texture "asteroid.jpg"
Mesh "roughsphere.cms"
EllipticalOrbit
{
Epoch 2452352.47847 # 2002 Mar 18 23:29UT
Period 367.181906
SemiMajorAxis 51.276792
Eccentricity 0.990111
Inclination 28.1206
AscendingNode 93.3718
ArgOfPericenter 34.6666
MeanAnomaly 0
}
# These are all made up (copied from Halley)
Radius 7.5
UniformRotation
{
Period 170
}
Albedo 0.04
}
"Hale-Bopp:C1995 O1 Hale-Bopp" "Sol"
{
Class "comet"
Mesh "asteroid.cms"
Texture "asteroid.jpg"
Radius 13
EllipticalOrbit
{
Period 2523.4
PericenterDistance 0.914142
Eccentricity 0.995068
Inclination 89.4300
AscendingNode 282.4707
ArgOfPericenter 130.5887
MeanAnomaly -0.007
Epoch 2450520.5
}
# Estimate of rotation period from here: http://www.usafa.af.mil/dfp/research/astro/papers/icqpaper.htm
RotationPeriod 11.47
Albedo 0.1
}

View File

@ -1,417 +0,0 @@
# Five official dwarf planets of the Solar system along with all known
# satellites. The total number of satellites is 9, of which 7 are not in
# hydrostatic equilibrium and they have been assigned the class "minormoon".
# Each object has all the alternative designations.
"Ceres:1 Ceres:1943 XB:A899 OF" "Sol"
{
Class "dwarfplanet"
# NormalMap "ceres-normal.*"
Texture "asteroid.*"
Radius 482.6
Oblateness 0.07475
EllipticalOrbit
{
Epoch 2458423.5 # 2018 Nov 01
Period 4.60401747781265
SemiMajorAxis 2.7674886021025
Eccentricity 0.07564579725783116
Inclination 10.59365304837129
AscendingNode 80.30765909009021
ArgOfPericenter 73.24257694493157
MeanAnomaly 39.86376095818883
}
UniformRotation
{
Period 9.074170
Epoch 2449249.91125 # 1993 Sept 19 09:52:12
Inclination 11
AscendingNode 29
MeridianAngle 339.85
}
GeomAlbedo 0.09
InfoURL "https://en.wikipedia.org/wiki/Ceres_(dwarf_planet)"
}
ReferencePoint "Pluto-Charon" "Sol"
{
CustomOrbit "pluto"
# Make the orbit and label visible
Visible true
Clickable true
}
"Pluto:134340 Pluto" "Sol/Pluto-Charon"
{
Class "dwarfplanet"
Texture "pluto-lok.*"
# NormalMap "pluto-normal.*"
Radius 1188.3
Atmosphere
{
Height 200
Lower [ 0.04 0.06 0.08 ]
Upper [ 0.04 0.06 0.08 ]
Sky [ 0.16 0.24 0.32 ]
Sunset [ 0.20 0.29 0.40 ]
}
EllipticalOrbit
{
Epoch 2457217.5 # 2015 Jul 14
Period 6.3872273
SemiMajorAxis 2035
Eccentricity 0.000075
Inclination 112.896
AscendingNode 227.402
ArgOfPericenter 357.940
MeanAnomaly 179.759
}
UniformRotation
{
Period 153.2934552
Inclination 115.60
AscendingNode 228.34
MeridianAngle 320.75
}
GeomAlbedo 0.575
BondAlbedo 0.72
TempDiscrepancy 0
InfoURL "https://en.wikipedia.org/wiki/Pluto"
}
"Charon:134340 Pluto I:Pluto I:S-1978 P 1:S-1978 134340 I" "Sol/Pluto-Charon"
{
Class "moon"
Texture "charon-lok.*"
# NormalMap "charon-normal.*"
Radius 606
EllipticalOrbit
{
Epoch 2457217.5 # 2015 Jul 14
Period 6.3872273
SemiMajorAxis 17538
Eccentricity 0.000075
Inclination 112.896
AscendingNode 227.402
ArgOfPericenter 178.031
MeanAnomaly 179.672
}
UniformRotation
{
Period 153.2934552
Inclination 115.9
AscendingNode 227.3
MeridianAngle 140.4
}
GeomAlbedo 0.34
BondAlbedo 0.25
TempDiscrepancy 0
InfoURL "https://en.wikipedia.org/wiki/Charon_(moon)"
}
"Styx:134340 Pluto V:Pluto V:S-2012 P 1:S-2012 134340 I:P5" "Sol/Pluto-Charon"
{
Class "minormoon"
Mesh "roughsphere.cms"
Texture "asteroid.*"
SemiAxes [ 8 4.5 4 ]
EllipticalOrbit
{
Epoch 2457217.5 # 2015 Jul 14
Period 20.16155
SemiMajorAxis 42656
Eccentricity 0.005787
Inclination 112.852
AscendingNode 227.410
ArgOfPericenter 66.378
MeanAnomaly 268.585
}
PrecessingRotation
{
Period 77.76
Inclination 82
PrecessionPeriod 0.0175
}
GeomAlbedo 0.65
InfoURL "https://en.wikipedia.org/wiki/Styx_(moon)"
}
"Nix:134340 Pluto II:Pluto II:S-2005 P 2:S-2005 134340 II" "Sol/Pluto-Charon"
{
Class "minormoon"
Mesh "roughsphere.cms"
Texture "asteroid.*"
SemiAxes [ 25 17.5 16.5 ]
EllipticalOrbit
{
Epoch 2457217.5 # 2015 Jul 14
Period 24.85463
SemiMajorAxis 48694
Eccentricity 0.002036
Inclination 112.907
AscendingNode 227.406
ArgOfPericenter 170.720
MeanAnomaly 19.742
}
PrecessingRotation
{
Period 43.896
Inclination 132
PrecessionPeriod 0.0175
}
GeomAlbedo 0.56
InfoURL "https://en.wikipedia.org/wiki/Nix_(moon)"
}
"Kerberos:134340 Pluto IV:Pluto IV:S-2011 P 1:S-2011 134340 I:P4" "Sol/Pluto-Charon"
{
Class "minormoon"
Mesh "roughsphere.cms"
Texture "asteroid.*"
SemiAxes [ 9.5 5 4.5 ]
EllipticalOrbit
{
Epoch 2457217.5 # 2015 Jul 14
Period 32.16756
SemiMajorAxis 57783
Eccentricity 0.003280
Inclination 113.006
AscendingNode 227.847
ArgOfPericenter 13.009
MeanAnomaly 34.021
}
PrecessingRotation
{
Period 127.44
Inclination 60
PrecessionPeriod 0.0175
}
GeomAlbedo 0.56
InfoURL "https://en.wikipedia.org/wiki/Kerberos_(moon)"
}
"Hydra:134340 Pluto III:Pluto III:S-2005 P 1:S-2005 134340 I" "Sol/Pluto-Charon"
{
Class "minormoon"
Mesh "roughsphere.cms"
Texture "asteroid.*"
Radius 32.5
EllipticalOrbit
{
Epoch 2457217.5 # 2015 Jul 14
Period 38.20177
SemiMajorAxis 64738
Eccentricity 0.005862
Inclination 112.873
AscendingNode 227.711
ArgOfPericenter 16.234
MeanAnomaly 49.041
}
PrecessingRotation
{
Period 10.308
Inclination 60
PrecessionPeriod 0.0175
}
GeomAlbedo 0.83
InfoURL "https://en.wikipedia.org/wiki/Hydra_(moon)"
}
"Haumea:136108 Haumea:2003 EL61" "Sol"
{
Class "dwarfplanet"
Texture "asteroid.*"
# BumpMap "haumea-bump.*"
# BumpHeight 10
SemiAxes [ 1161 852 569 ]
EllipticalOrbit
{
Epoch 2457754.5 # 2017 Jan 01
Period 285.403349506119
SemiMajorAxis 43.34781810217893
Eccentricity 0.1890678495140467
Inclination 28.19989692339964
AscendingNode 121.9097389667176
ArgOfPericenter 239.1614230615888
MeanAnomaly 212.8666443020125
}
Rings
{
Inner 2250
Outer 2325
Texture "haumea-rings.png"
}
UniformRotation
{
Period 3.9155
Inclination 126.356
AscendingNode 206.766
}
GeomAlbedo 0.51
InfoURL "https://en.wikipedia.org/wiki/Haumea"
}
"Namaka:136108 Haumea II:Haumea II:S-2005 2003 EL61 II" "Sol/Haumea"
{
Class "minormoon"
Mesh "roughsphere.cms"
Texture "asteroid.*"
Radius 80
OrbitFrame
{
EclipticJ2000 { Center "Sol/Haumea" }
}
EllipticalOrbit
{
Epoch 2454615.0 # 2008 May 28 12:00
Period 18.2783
SemiMajorAxis 25657
Eccentricity 0.249
Inclination 113.013
AscendingNode 205.016
ArgOfPericenter 178.9
MeanAnomaly 178.5
}
UniformRotation
{
Period 10
}
GeomAlbedo 0.8
InfoURL "https://en.wikipedia.org/wiki/Namaka_(moon)"
}
"Hi'iaka:136108 Haumea I:Haumea I:S-2005 2003 EL61 I" "Sol/Haumea"
{
Class "minormoon"
Mesh "roughsphere.cms"
Orientation [ 180 1 0 0 ]
Texture "asteroid.*"
Radius 160
OrbitFrame
{
EclipticJ2000 { Center "Sol/Haumea" }
}
EllipticalOrbit
{
Epoch 2454615.0 # 2008 May 28 12:00
Period 49.462
SemiMajorAxis 49880
Eccentricity 0.0513
Inclination 126.356
AscendingNode 206.766
ArgOfPericenter 154.1
MeanAnomaly 152.8
}
UniformRotation
{
Period 9.8
}
GeomAlbedo 0.8
InfoURL "https://en.wikipedia.org/wiki/Hi'iaka_(moon)"
}
"Makemake:136472 Makemake:2005 FY9" "Sol"
{
Class "dwarfplanet"
Texture "asteroid.*"
Radius 717
Oblateness 0.0083682
EllipticalOrbit
{
Epoch 2457754.5 # 2017 Jan 01
Period 309.455480667431
SemiMajorAxis 45.7502337840583
Eccentricity 0.1541148091612063
Inclination 28.99154991411699
AscendingNode 79.53671234818503
ArgOfPericenter 296.3828107491902
MeanAnomaly 159.7684362949699
}
UniformRotation
{
Period 7.771
}
GeomAlbedo 0.8
InfoURL "https://en.wikipedia.org/wiki/Makemake"
}
"S-2015 136472 I:MK 2" "Sol/Makemake"
{
Class "minormoon"
Mesh "roughsphere.cmod"
Texture "asteroid.*"
Radius 87.5
EllipticalOrbit
{
Period 12.4
SemiMajorAxis 21100
}
UniformRotation
{
Period 10
}
LunarLambert 0.5
Albedo 0.07
InfoURL "https://en.wikipedia.org/wiki/S/2015_(136472)_1"
}
"Eris:136199 Eris:2003 UB313" "Sol"
{
Class "dwarfplanet"
Texture "asteroid.*"
Radius 1163
Atmosphere
{
Height 1
Lower [ 0.5 0.5 0.5 ]
Upper [ 0.5 0.5 0.5 ]
Sky [ 0.0 0.0 0.0 ]
}
EllipticalOrbit
{
Epoch 2457754.5 # 2017 Jan 01
Period 556.408148826341
SemiMajorAxis 67.648294665707
Eccentricity 0.4422298308951646
Inclination 44.1915186880217
AscendingNode 35.88361468064419
ArgOfPericenter 151.3937724129806
MeanAnomaly 204.7422108973147
}
UniformRotation
{
Period 378.86064
Inclination 61.1
AscendingNode 139.6
}
GeomAlbedo 0.96
InfoURL "https://en.wikipedia.org/wiki/Eris_(dwarf_planet)"
}
"Dysnomia:136199 Eris I:Eris I:S-2005 2003 UB313 I" "Sol/Eris"
{
Class "moon"
Texture "asteroid.*"
Radius 350
OrbitFrame
{
EclipticJ2000 { Center "Sol/Eris" }
}
EllipticalOrbit
{
Epoch 2457054.95 # 2015 Feb 01 10:48
Period 15.78586
SemiMajorAxis 37460
Eccentricity 0.004
Inclination 61.1
AscendingNode 139.6
MeanAnomaly 273.2
}
UniformRotation
{
Period 378.86064
}
GeomAlbedo 0.04
InfoURL "https://en.wikipedia.org/wiki/Dysnomia_(moon)"
}

View File

@ -1,84 +0,0 @@
Location "NORTH AMERICA" "Sol/Earth"
{
LongLat [ -105 40 0 ]
Size 5000
Type "TA"
}
Location "SOUTH AMERICA" "Sol/Earth"
{
LongLat [ -60 -10 0 ]
Size 4200
Type "TA"
}
Location "EURASIA" "Sol/Earth"
{
LongLat [ 60 50 0 ]
Size 7300
Type "TA"
}
Location "AFRICA" "Sol/Earth"
{
LongLat [ 20 5 0 ]
Size 5500
Type "TA"
}
Location "AUSTRALIA" "Sol/Earth"
{
LongLat [ 135 -25 0 ]
Size 2800
Type "TA"
}
Location "ANTARCTICA" "Sol/Earth"
{
LongLat [ 0 -90 0 ]
Size 3600
Type "TA"
}
Location "NORTH ATLANTIC OCEAN" "Sol/Earth"
{
LongLat [ -45 40 0 ]
Size 6400
Type "ME"
}
Location "SOUTH ATLANTIC OCEAN" "Sol/Earth"
{
LongLat [ -15 -15 0 ]
Size 6400
Type "ME"
}
Location "NORTH PACIFIC OCEAN" "Sol/Earth"
{
LongLat [ 180 30 0 ]
Size 9000
Type "ME"
}
Location "SOUTH PACIFIC OCEAN" "Sol/Earth"
{
LongLat [ -160 -10 0 ]
Size 9000
Type "ME"
}
Location "INDIAN OCEAN" "Sol/Earth"
{
LongLat [ 75 -15 0 ]
Size 8500
Type "ME"
}
Location "ARCTIC OCEAN" "Sol/Earth"
{
LongLat [ 0 90 0 ]
Size 3700
Type "ME"
}

View File

@ -1,288 +0,0 @@
Location "Abelard" "Sol/Eros"
{
LongLat [ -12.2 -3.5 0 ]
Size 1.1
Type "AA"
}
Location "Aida" "Sol/Eros"
{
LongLat [ -130.5 7.9 0 ]
Size 1.6
Type "AA"
}
Location "Avtandil" "Sol/Eros"
{
LongLat [ -233.1 -22.5 0 ]
Size 1.2
Type "AA"
}
Location "Bovary" "Sol/Eros"
{
LongLat [ -27.3 -61.0 0 ]
Size 0.8
Type "AA"
}
Location "Casanova" "Sol/Eros"
{
LongLat [ -236.0 46.6 0 ]
Size 0.9
Type "AA"
}
Location "Catherine" "Sol/Eros"
{
LongLat [ -171.1 9.1 0 ]
Size 1.1
Type "AA"
}
Location "Cupid" "Sol/Eros"
{
LongLat [ -230.2 8.1 0 ]
Size 1.8
Type "AA"
}
Location "Don Juan" "Sol/Eros"
{
LongLat [ -356.7 29.5 0 ]
Size 1.1
Type "AA"
}
Location "Don Quixote" "Sol/Eros"
{
LongLat [ -250.8 -57.7 0 ]
Size 0.9
Type "AA"
}
Location "Dulcinea" "Sol/Eros"
{
LongLat [ -272.9 -76.1 0 ]
Size 1.4
Type "AA"
}
Location "Eurydice" "Sol/Eros"
{
LongLat [ -170.0 13.5 0 ]
Size 2.2
Type "AA"
}
Location "Fujitsubo" "Sol/Eros"
{
LongLat [ -62.7 -3.7 0 ]
Size 1.7
Type "AA"
}
Location "Galatea" "Sol/Eros"
{
LongLat [ -183.1 -10.2 0 ]
Size 1.4
Type "AA"
}
Location "Gamba" "Sol/Eros"
{
LongLat [ -54.1 -20.6 0 ]
Size 1.3
Type "AA"
}
Location "Genji" "Sol/Eros"
{
LongLat [ -88.6 -19.5 0 ]
Size 1.5
Type "AA"
}
Location "Heathcliff" "Sol/Eros"
{
LongLat [ -167.9 7.4 0 ]
Size 1.1
Type "AA"
}
Location "Himeros" "Sol/Eros"
{
LongLat [ -282.3 21.2 0 ]
Size 10.0
Type "AA"
}
Location "Hios" "Sol/Eros"
{
LongLat [ -130.9 -9.4 0 ]
Size 1.3
Type "AA"
}
Location "Jahan" "Sol/Eros"
{
LongLat [ -293.5 74.2 0 ]
Size 2.1
Type "AA"
}
Location "Kastytis" "Sol/Eros"
{
LongLat [ -161.3 6.8 0 ]
Size 1.7
Type "AA"
}
Location "Leander" "Sol/Eros"
{
LongLat [ -210.3 25.6 0 ]
Size 1.4
Type "AA"
}
Location "Leylie" "Sol/Eros"
{
LongLat [ -23.5 -3.0 0 ]
Size 1.9
Type "AA"
}
Location "Lolita" "Sol/Eros"
{
LongLat [ -197.7 -35.2 0 ]
Size 1.8
Type "AA"
}
Location "Mahal" "Sol/Eros"
{
LongLat [ -170.0 79.4 0 ]
Size 1.2
Type "AA"
}
Location "Majnoon" "Sol/Eros"
{
LongLat [ -28.8 3.8 0 ]
Size 2.1
Type "AA"
}
Location "Mélisande" "Sol/Eros"
{
LongLat [ -185.6 67.1 0 ]
Size 1.0
Type "AA"
}
Location "Narcissus" "Sol/Eros"
{
LongLat [ -7.1 18.2 0 ]
Size 2.9
Type "AA"
}
Location "Orpheus" "Sol/Eros"
{
LongLat [ -176.7 25.6 0 ]
Size 1.1
Type "AA"
}
Location "Pao-yü" "Sol/Eros"
{
LongLat [ -105.6 -73.2 0 ]
Size 0.8
Type "AA"
}
Location "Pelléas" "Sol/Eros"
{
LongLat [ -221.3 63.1 0 ]
Size 1.2
Type "AA"
}
Location "Psyche" "Sol/Eros"
{
LongLat [ -94.6 31.6 0 ]
Size 4.8
Type "AA"
}
Location "Pygmalion" "Sol/Eros"
{
LongLat [ -191.1 -1.8 0 ]
Size 1.7
Type "AA"
}
Location "Radames" "Sol/Eros"
{
LongLat [ -115.1 -5.2 0 ]
Size 1.6
Type "AA"
}
Location "Selene" "Sol/Eros"
{
LongLat [ -12.5 -14.2 0 ]
Size 3.6
Type "AA"
}
Location "Tai-yü" "Sol/Eros"
{
LongLat [ -126.1 -47.0 0 ]
Size 1.4
Type "AA"
}
Location "Tutanekai" "Sol/Eros"
{
LongLat [ -3.3 56.4 0 ]
Size 2.1
Type "AA"
}
Location "Valentine" "Sol/Eros"
{
LongLat [ -208.4 14.6 0 ]
Size 2.2
Type "AA"
}
Location "CHARLOIS REGIO" "Sol/Eros"
{
LongLat [ -330 -16 0 ]
Size 10
Type "RE"
}
Location "WITT REGIO" "Sol/Eros"
{
LongLat [ -348 18 0 ]
Size 10
Type "RE"
}
Location "Finsen Dorsum" "Sol/Eros"
{
LongLat [ -350 -48 0 ]
Size 10
Type "DO"
}
Location "Hinks Dorsum" "Sol/Eros"
{
LongLat [ -318 42 0 ]
Size 10
Type "DO"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,245 +0,0 @@
# Feature locations on Phil Stooke's Gaspra mosaic do not
# match the coordinates given by the IAU. This file contains
# coordinates adjusted to match Stooke's shape model and
# mosaic, guided by the IAU labelled photos at:
# http://planetarynames.wr.usgs.gov/images/gaspra_craters.pdf
Location "Aix" "Sol/Gaspra"
{
LongLat [ -156 47 0 ]
Size 0.6
Type "AA"
}
Location "Alupka" "Sol/Gaspra"
{
LongLat [ -72 67 0 ]
Size 0.3
Type "AA"
}
Location "Baden-Baden" "Sol/Gaspra"
{
LongLat [ -57 42 0 ]
Size 0.3
Type "AA"
}
Location "Badagstein" "Sol/Gaspra"
{
LongLat [ -6 27 0 ]
Size 0.4
Type "AA"
}
Location "Bagnoles" "Sol/Gaspra"
{
LongLat [ -120 56 0 ]
Size 0.4
Type "AA"
}
Location "Bath" "Sol/Gaspra"
{
LongLat [ -11 12 0 ]
Size 0.9
Type "AA"
}
Location "Beppu" "Sol/Gaspra"
{
LongLat [ -58 -3 0 ]
Size 0.6
Type "AA"
}
Location "Brookton" "Sol/Gaspra"
{
LongLat [ -102 25 0 ]
Size 0.3
Type "AA"
}
Location "Calistoga" "Sol/Gaspra"
{
LongLat [ -5 30 0 ]
Size 1.2
Type "AA"
}
Location "Carlsbad" "Sol/Gaspra"
{
LongLat [ -86 29 0 ]
Size 0.5
Type "AA"
}
Location "Charax" "Sol/Gaspra"
{
LongLat [ 0 7 0 ]
Size 0.9
Type "AA"
}
Location "Helwan" "Sol/Gaspra"
{
LongLat [ -115 23 0 ]
Size 0.4
Type "AA"
}
Location "Ixtapan" "Sol/Gaspra"
{
LongLat [ -87 7 0 ]
Size 0.7
Type "AA"
}
Location "Katsiveli" "Sol/Gaspra"
{
LongLat [ -68 53 0 ]
Size 0.3
Type "AA"
}
Location "Krynica" "Sol/Gaspra"
{
LongLat [ -37 46 0 ]
Size 0.4
Type "AA"
}
Location "Lisdoonvarna" "Sol/Gaspra"
{
LongLat [ -357 14 0 ]
Size 0.4
Type "AA"
}
Location "Loutraki" "Sol/Gaspra"
{
LongLat [ -130 41 0 ]
Size 0.4
Type "AA"
}
Location "Mandal" "Sol/Gaspra"
{
LongLat [ -48 20 0 ]
Size 0.1
Type "AA"
}
Location "Manikaran" "Sol/Gaspra"
{
LongLat [ -152 66 0 ]
Size 0.5
Type "AA"
}
Location "Marienbad" "Sol/Gaspra"
{
LongLat [ -81 32 0 ]
Size 0.6
Type "AA"
}
Location "Miskhor" "Sol/Gaspra"
{
LongLat [ -66 8 0 ]
Size 0.5
Type "AA"
}
Location "Moree" "Sol/Gaspra"
{
LongLat [ -143 34 0 ]
Size 0.7
Type "AA"
}
Location "Ramlösa" "Sol/Gaspra"
{
LongLat [ -7 15 0 ]
Size 0.7
Type "AA"
}
Location "Rio Hondo" "Sol/Gaspra"
{
LongLat [ -22 30 0 ]
Size 0.6
Type "AA"
}
Location "Rotorua" "Sol/Gaspra"
{
LongLat [ -32 17 0 ]
Size 0.5
Type "AA"
}
Location "Saratoga" "Sol/Gaspra"
{
LongLat [ -221.5 16.2 0 ]
Size 2.8
Type "AA"
}
Location "Spa" "Sol/Gaspra"
{
LongLat [ -146 52 0 ]
Size 1.6
Type "AA"
}
Location "Tang-Shan" "Sol/Gaspra"
{
LongLat [ -258.8 50.6 0 ]
Size 0.7
Type "AA"
}
Location "Yalova" "Sol/Gaspra"
{
LongLat [ -12 27 0 ]
Size 0.4
Type "AA"
}
Location "Yalta" "Sol/Gaspra"
{
LongLat [ -231.3 45.7 0 ]
Size 1.4
Type "AA"
}
Location "Zohar" "Sol/Gaspra"
{
LongLat [ -117 21 0 ]
Size 0.4
Type "AA"
}
Location "DUNNE REGIO" "Sol/Gaspra"
{
LongLat [ -15 15 0 ]
Size 5
Type "RE"
}
Location "NEUJMIN REGIO" "Sol/Gaspra"
{
LongLat [ -80 2 0 ]
Size 5
Type "RE"
}
Location "YEATES REGIO" "Sol/Gaspra"
{
LongLat [ -75 65 0 ]
Size 5
Type "RE"
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -1,174 +0,0 @@
Location "Afon" "Sol/Ida"
{
LongLat [ 0 6.5 0 ]
Size 25.0
Type "AA"
}
Location "Atea" "Sol/Ida"
{
LongLat [ -18.9 5.7 0 ]
Size 2.0
Type "AA"
}
Location "Azzurra" "Sol/Ida"
{
LongLat [ -217.2 -30.5 0 ]
Size 9.6
Type "AA"
}
Location "Bilemot" "Sol/Ida"
{
LongLat [ -29.2 27.8 0 ]
Size 1.8
Type "AA"
}
Location "Castellana" "Sol/Ida"
{
LongLat [ -335.2 13.4 0 ]
Size 5.2
Type "AA"
}
Location "Choukoutien" "Sol/Ida"
{
LongLat [ -23.6 -12.8 0 ]
Size 1.1
Type "AA"
}
Location "Fingal" "Sol/Ida"
{
LongLat [ -39.9 13.2 0 ]
Size 1.5
Type "AA"
}
Location "Kartchner" "Sol/Ida"
{
LongLat [ -179.0 7.0 0 ]
Size 0.9
Type "AA"
}
Location "Kazumura" "Sol/Ida"
{
LongLat [ -41.1 32.0 0 ]
Size 2.1
Type "AA"
}
Location "Lascaux" "Sol/Ida"
{
LongLat [ -161.2 -0.8 0 ]
Size 11.8
Type "AA"
}
Location "Lechuguilla" "Sol/Ida"
{
LongLat [ -357.1 -7.9 0 ]
Size 1.5
Type "AA"
}
Location "Mammoth" "Sol/Ida"
{
LongLat [ -180.3 18.3 0 ]
Size 10.2
Type "AA"
}
Location "Manjang" "Sol/Ida"
{
LongLat [ -90.5 28.3 0 ]
Size 1.0
Type "AA"
}
Location "Orgnac" "Sol/Ida"
{
LongLat [ -202.7 6.3 0 ]
Size 10.6
Type "AA"
}
Location "Padirac" "Sol/Ida"
{
LongLat [ -5.2 4.3 0 ]
Size 1.9
Type "AA"
}
Location "Peacock" "Sol/Ida"
{
LongLat [ -52.0 2.0 0 ]
Size 0.2
Type "AA"
}
Location "Postojna" "Sol/Ida"
{
LongLat [ -359.9 42.9 0 ]
Size 6.0
Type "AA"
}
Location "Sterkfontein" "Sol/Ida"
{
LongLat [ -54.1 4.1 0 ]
Size 4.7
Type "AA"
}
Location "Stiffe" "Sol/Ida"
{
LongLat [ -126.5 27.9 0 ]
Size 1.5
Type "AA"
}
Location "Undara" "Sol/Ida"
{
LongLat [ -113.8 -2.0 0 ]
Size 8.5
Type "AA"
}
Location "Viento" "Sol/Ida"
{
LongLat [ -343.9 -12.2 0 ]
Size 1.6
Type "AA"
}
Location "PALISA REGIO" "Sol/Ida"
{
LongLat [ -34 23 0 ]
Size 23
Type "RE"
}
Location "POLA REGIO" "Sol/Ida"
{
LongLat [ -184 11 0 ]
Size 8
Type "RE"
}
Location "VIENNA REGIO" "Sol/Ida"
{
LongLat [ -2 -8 0 ]
Size 13
Type "RE"
}
Location "Townsend Dorsum" "Sol/Ida"
{
LongLat [ -30 -25 0 ]
Size 40
Type "DO"
}

View File

@ -1,125 +0,0 @@
# IAU names for features on the asteroid 25143 Itokawa
Location "MUSES-C REGIO" "Sol/Itokawa"
{
LongLat [ -60 -70 0 ]
Size 0.3
Type "RE"
}
Location "SAGAMIHARA REGIO" "Sol/Itokawa"
{
LongLat [ -15 80 0 ]
Size 0.23
Type "RE"
}
Location "UCHINOURA REGIO" "Sol/Itokawa"
{
LongLat [ 90 40 0 ]
Size 0.07
Type "RE"
}
# Position from IAU map; coords inconsistent
Location "Miyabaru" "Sol/Itokawa"
{
LongLat [ 5 10 0 ]
Size 0.088
Type "AA"
}
Location "Fuchinobe" "Sol/Itokawa"
{
LongLat [ 269 34 0 ]
Size 0.037
Type "AA"
}
Location "Komaba" "Sol/Itokawa"
{
LongLat [ 102 -10 0 ]
Size 0.028
Type "AA"
}
Location "Hammaguira" "Sol/Itokawa"
{
LongLat [ 205 -18 0 ]
Size 0.028
Type "AA"
}
Location "Laurel" "Sol/Itokawa"
{
LongLat [ 162 1 0 ]
Size 0.022
Type "AA"
}
Location "Catalina" "Sol/Itokawa"
{
LongLat [ 14 -17 0 ]
Size 0.021
Type "AA"
}
Location "Kamisunagawa" "Sol/Itokawa"
{
LongLat [ 45 -28 0 ]
Size 0.013
Type "AA"
}
Location "Kamoi" "Sol/Itokawa"
{
LongLat [ 244 6 0 ]
Size 0.01
Type "AA"
}
Location "San Marco" "Sol/Itokawa"
{
LongLat [ 319 -28 0 ]
Size 0.01
Type "AA"
}
Location "Gando" "Sol/Itokawa"
{
LongLat [ 205 -76 0 ]
Size 0.01
Type "AA"
}
# Position from IAU map; coords inconsistent
Location "YOSHINOBU REGIO" "Sol/Itokawa"
{
LongLat [ -10 20 0 ]
Size 0.163
Type "RE"
}
# Position from IAU map; coords inconsistent
Location "ARCOONA REGIO" "Sol/Itokawa"
{
LongLat [ -190 -10 0 ]
Size 0.161
Type "RE"
}
# Position from IAU map; coords inconsistent
Location "OHSUMI REGIO" "Sol/Itokawa"
{
LongLat [ 255 -20 0 ]
Size 0.140
Type "RE"
}
# Position from IAU map; coords inconsistent
Location "LINEAR REGIO" "Sol/Itokawa"
{
LongLat [ 130 0 0 ]
Size 0.122
Type "RE"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,126 +0,0 @@
Location "Kepler Dorsum" "Sol/Mars/Phobos"
{
LongLat [ -30 -30 0 ]
Size 3
Type "DO"
}
Location "Clustril" "Sol/Mars/Phobos"
{
LongLat [ -91 60 0 ]
Size 3.4
Type "AA"
}
Location "D'Arrest" "Sol/Mars/Phobos"
{
LongLat [ -179 -39 0 ]
Size 2.1
Type "AA"
}
Location "Drunlo" "Sol/Mars/Phobos"
{
LongLat [ -92 36.5 0 ]
Size 4.2
Type "AA"
}
Location "Flimnap" "Sol/Mars/Phobos"
{
LongLat [ -350 60 0 ]
Size 1.5
Type "AA"
}
Location "Grildrig" "Sol/Mars/Phobos"
{
LongLat [ -195 81 0 ]
Size 2.6
Type "AA"
}
Location "Gulliver" "Sol/Mars/Phobos"
{
LongLat [ -163 62 0 ]
Size 5.5
Type "AA"
}
Location "Hall" "Sol/Mars/Phobos"
{
LongLat [ -210 -80 0 ]
Size 5.4
Type "AA"
}
Location "Limtoc" "Sol/Mars/Phobos"
{
LongLat [ -54 -11 0 ]
Size 2.0
Type "AA"
}
Location "Reldresal" "Sol/Mars/Phobos"
{
LongLat [ -39 41 0 ]
Size 2.9
Type "AA"
}
Location "Roche" "Sol/Mars/Phobos"
{
LongLat [ -183 53 0 ]
Size 2.3
Type "AA"
}
Location "Sharpless" "Sol/Mars/Phobos"
{
LongLat [ -154 -27.5 0 ]
Size 1.8
Type "AA"
}
Location "Skyresh" "Sol/Mars/Phobos"
{
LongLat [ -320 52.5 0 ]
Size 1.5
Type "AA"
}
Location "Stickney" "Sol/Mars/Phobos"
{
LongLat [ -49 1 0 ]
Size 9.0
Type "AA"
}
Location "Todd" "Sol/Mars/Phobos"
{
LongLat [ -153 -9 0 ]
Size 2.6
Type "AA"
}
Location "Wendell" "Sol/Mars/Phobos"
{
LongLat [ -132 -1 0 ]
Size 1.7
Type "AA"
}
Location "Swift" "Sol/Mars/Deimos"
{
LongLat [ -358 14 0 ]
Size 1.5
Type "AA"
}
Location "Voltaire" "Sol/Mars/Deimos"
{
LongLat [ -2 23 0 ]
Size 3
Type "AA"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,434 +0,0 @@
Location "Abatos Planum" "Sol/Neptune/Triton"
{
LongLat [ -58 21.5 0 ]
Size 400
Type "PM"
}
Location "Akupara Maculae" "Sol/Neptune/Triton"
{
LongLat [ -63 27.5 0 ]
Size 100
Type "MA"
}
Location "Amarum" "Sol/Neptune/Triton"
{
LongLat [ -24.5 -26 0 ]
Size 25
Type "AA"
}
Location "Andvari" "Sol/Neptune/Triton"
{
LongLat [ -34 -20.5 0 ]
Size 25
Type "AA"
}
Location "Apep Cavus" "Sol/Neptune/Triton"
{
LongLat [ -301.5 -20 0 ]
Size 25
Type "CB"
}
Location "Awib Dorsa" "Sol/Neptune/Triton"
{
LongLat [ -80 7 0 ]
Size 100
Type "DO"
}
Location "Bheki Cavus" "Sol/Neptune/Triton"
{
LongLat [ -308 -16 0 ]
Size 25
Type "CB"
}
Location "Bia Sulci" "Sol/Neptune/Triton"
{
LongLat [ -3 38 0 ]
Size 200
Type "SU"
}
Location "Boynne Sulci" "Sol/Neptune/Triton"
{
LongLat [ -350 13 0 ]
Size 500
Type "SU"
}
Location "BUBEMBE REGIO" "Sol/Neptune/Triton"
{
LongLat [ -335 -18 0 ]
Size 700
Type "RE"
}
Location "Cay" "Sol/Neptune/Triton"
{
LongLat [ -44 12 0 ]
Size 25
Type "AA"
}
Location "Cipango Planum" "Sol/Neptune/Triton"
{
LongLat [ -34 -11.5 0 ]
Size 300
Type "PM"
}
Location "Dagon Cavus" "Sol/Neptune/Triton"
{
LongLat [ -345 -29 0 ]
Size 25
Type "CB"
}
Location "Dilolo Patera" "Sol/Neptune/Triton"
{
LongLat [ -24.3 -26.2 0 ]
Size 25
Type "PE"
}
Location "Doro Macula" "Sol/Neptune/Triton"
{
LongLat [ -31.7 27.5 0 ]
Size 100
Type "MA"
}
Location "Gandvik Patera" "Sol/Neptune/Triton"
{
LongLat [ -5.5 -28 0 ]
Size 25
Type "PE"
}
Location "Hekt Cavus" "Sol/Neptune/Triton"
{
LongLat [ -342 -26 0 ]
Size 25
Type "CB"
}
Location "Hili" "Sol/Neptune/Triton"
{
LongLat [ -35 57 0 ]
Size 25
Type "PU"
}
Location "Hirugo Cavus" "Sol/Neptune/Triton"
{
LongLat [ -345 -14.5 0 ]
Size 25
Type "CB"
}
Location "Ho Sulci" "Sol/Neptune/Triton"
{
LongLat [ -305 -2 0 ]
Size 300
Type "SU"
}
Location "Ilomba" "Sol/Neptune/Triton"
{
LongLat [ -57 14.5 0 ]
Size 25
Type "AA"
}
Location "Jumna Fossae" "Sol/Neptune/Triton"
{
LongLat [ -44 13.5 0 ]
Size 300
Type "FO"
}
Location "Kasu Patera" "Sol/Neptune/Triton"
{
LongLat [ -14 -39 0 ]
Size 25
Type "PE"
}
Location "Kasyapa Cavus" "Sol/Neptune/Triton"
{
LongLat [ -358 -7.5 0 ]
Size 25
Type "CB"
}
Location "Kibu Patera" "Sol/Neptune/Triton"
{
LongLat [ -43 -10.5 0 ]
Size 25
Type "PE"
}
Location "Kikimora Maculae" "Sol/Neptune/Triton"
{
LongLat [ -78 31 0 ]
Size 100
Type "MA"
}
Location "Kormet Sulci" "Sol/Neptune/Triton"
{
LongLat [ -335.5 -23 0 ]
Size 300
Type "SU"
}
Location "Kraken Catena" "Sol/Neptune/Triton"
{
LongLat [ -35.5 -14 0 ]
Size 150
Type "CA"
}
Location "Kulilu Cavus" "Sol/Neptune/Triton"
{
LongLat [ -4 -41 0 ]
Size 25
Type "CB"
}
Location "Kurma" "Sol/Neptune/Triton"
{
LongLat [ -61 16.5 0 ]
Size 25
Type "AA"
}
Location "Leipter Sulci" "Sol/Neptune/Triton"
{
LongLat [ -9 -7 0 ]
Size 200
Type "SU"
}
Location "Leviathan Patera" "Sol/Neptune/Triton"
{
LongLat [ -28.5 -17 0 ]
Size 100
Type "PE"
}
Location "Lo Sulci" "Sol/Neptune/Triton"
{
LongLat [ -321 -3.8 0 ]
Size 150
Type "SU"
}
Location "Mah Cavus" "Sol/Neptune/Triton"
{
LongLat [ -6 -38 0 ]
Size 25
Type "CB"
}
Location "Mahilani" "Sol/Neptune/Triton"
{
LongLat [ -359.5 50.5 0 ]
Size 25
Type "PU"
}
Location "Mangwe Cavus" "Sol/Neptune/Triton"
{
LongLat [ -343 7 0 ]
Size 25
Type "CB"
}
Location "Mazomba" "Sol/Neptune/Triton"
{
LongLat [ -63.5 18.5 0 ]
Size 25
Type "AA"
}
Location "Medamothi Planum" "Sol/Neptune/Triton"
{
LongLat [ -69 -3.5 0 ]
Size 300
Type "PM"
}
Location "MONAD REGIO" "Sol/Neptune/Triton"
{
LongLat [ -37 -20 0 ]
Size 1000
Type "RE"
}
Location "Namazu Macula" "Sol/Neptune/Triton"
{
LongLat [ -14 25.5 0 ]
Size 100
Type "MA"
}
Location "Ob Sulci" "Sol/Neptune/Triton"
{
LongLat [ -328 6 0 ]
Size 300
Type "SU"
}
Location "Ormet Sulci" "Sol/Neptune/Triton"
{
LongLat [ -337 -17 0 ]
Size 300
Type "SU"
}
Location "Ravgga" "Sol/Neptune/Triton"
{
LongLat [ -71.5 3 0 ]
Size 25
Type "AA"
}
Location "Raz Fossae" "Sol/Neptune/Triton"
{
LongLat [ -21.5 -8 0 ]
Size 300
Type "FO"
}
Location "Rem Maculae" "Sol/Neptune/Triton"
{
LongLat [ -349.5 -13 0 ]
Size 150
Type "MA"
}
Location "Ruach Planitia" "Sol/Neptune/Triton"
{
LongLat [ -24 -28 0 ]
Size 200
Type "PL"
}
Location "Ryugu Planitia" "Sol/Neptune/Triton"
{
LongLat [ -27 5 0 ]
Size 100
Type "PL"
}
Location "Set Catena" "Sol/Neptune/Triton"
{
LongLat [ -33.5 -22 0 ]
Size 200
Type "CA"
}
Location "Sipapu Planitia" "Sol/Neptune/Triton"
{
LongLat [ -36 4 0 ]
Size 100
Type "PL"
}
Location "Slidr Sulci" "Sol/Neptune/Triton"
{
LongLat [ -350 -23.5 0 ]
Size 200
Type "SU"
}
Location "Tangaroa" "Sol/Neptune/Triton"
{
LongLat [ -65.5 25 0 ]
Size 100
Type "AA"
}
Location "Tano Sulci" "Sol/Neptune/Triton"
{
LongLat [ -337 -33.5 0 ]
Size 300
Type "SU"
}
Location "Tuonela Planitia" "Sol/Neptune/Triton"
{
LongLat [ -14.5 -34 0 ]
Size 300
Type "PL"
}
Location "UHLANGA REGIO" "Sol/Neptune/Triton"
{
LongLat [ -357 37 0 ]
Size 1000
Type "RE"
}
Location "Ukupanio Cavus" "Sol/Neptune/Triton"
{
LongLat [ -23 -35 0 ]
Size 25
Type "CB"
}
Location "Vimur Sulci" "Sol/Neptune/Triton"
{
LongLat [ -59 11 0 ]
Size 400
Type "SU"
}
Location "Viviane Macula" "Sol/Neptune/Triton"
{
LongLat [ -36.5 31 0 ]
Size 100
Type "MA"
}
Location "Vodyanoy" "Sol/Neptune/Triton"
{
LongLat [ -28.5 17 0 ]
Size 100
Type "AA"
}
Location "Yasu Sulci" "Sol/Neptune/Triton"
{
LongLat [ -347 -2 0 ]
Size 300
Type "SU"
}
Location "Yenisey Fossa" "Sol/Neptune/Triton"
{
LongLat [ -56.2 -3 0 ]
Size 300
Type "FO"
}
Location "Zin Maculae" "Sol/Neptune/Triton"
{
LongLat [ -68 24.5 0 ]
Size 300
Type "MA"
}
Location "Pharos" "Sol/Neptune/Proteus"
{
LongLat [ -5 -20 0 ]
Size 255
Type "AA"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,203 +0,0 @@
# The largest Edgeworth-Kuiper belt objects
"90482 Orcus:Orcus:2004 DW" "Sol" {
Class "asteroid"
Texture "asteroid.jpg"
Color [ 0.65 0.45 0.35 ]
BlendTexture true
Radius 800
InfoURL "http://www.gps.caltech.edu/~chad/2004dw/"
EllipticalOrbit {
Period 245.976
SemiMajorAxis 39.258
Eccentricity 0.2258
Inclination 20.539
AscendingNode 268.457
ArgOfPericenter 73.731
MeanAnomaly 150.066
}
Albedo 0.09
UniformRotation
{
Period 48.0 # guess
}
}
"50000 Quaoar:Quaoar:2002 LM60" "Sol" {
Class "asteroid"
Texture "asteroid.jpg"
Color [ 0.60 0.45 0.35 ] # only slight red
BlendTexture true
Radius 625
Oblateness 0.12 # minimum axis ratio of 1.133
InfoURL "http://www.gps.caltech.edu/~chad/quaoar/"
EllipticalOrbit {
Period 283.234
SemiMajorAxis 43.128
Eccentricity 0.0395
Inclination 8.005
AscendingNode 189.081
ArgOfPericenter 163.885
MeanAnomaly 258.858
}
Albedo 0.12
UniformRotation
{
Period 17.6788 # for a double-peaked light curve
}
}
"28978 Ixion:Ixion:(2001 KX76" "Sol" {
Class "asteroid"
Texture "asteroid.jpg"
Color [ 0.65 0.45 0.35 ] # "reddish"
BlendTexture true
Radius 600
InfoURL "http://www.noao.edu/outreach/press/pr01/pr0110.html"
EllipticalOrbit {
Epoch 2452400.5 # 2002 May 6 00:00UT
Period 246.50564
SemiMajorAxis 39.3138672
Eccentricity 0.2447032
Inclination 19.68326
AscendingNode 71.0155
ArgOfPericenter 300.9234
MeanAnomaly 259.585
}
Albedo 0.04
UniformRotation
{
Period 30.0
}
}
"20000 Varuna:Varuna:2000 WR106" "Sol" {
Class "asteroid"
Texture "asteroid.jpg"
Color [ 0.65 0.45 0.35 ] # "reddish"
BlendTexture true
Radius 450
Oblateness 0.333 # axis ratio 1.5:1
InfoURL "http://www.aas.org/publications/baas/v34n3/dps2002/9.htm"
EllipticalOrbit {
Epoch 2452400.5 # 2002 May 6 00:00UT
Period 284.83446
SemiMajorAxis 43.290196
Eccentricity 0.053794
Inclination 17.12557
AscendingNode 97.2843
ArgOfPericenter 275.5744
MeanAnomaly 82.67171
}
Albedo 0.07
UniformRotation
{
Period 6.3442 # for a double-peaked light curve
}
}
"55565 2002 AW197:2002 AW197" "Sol" {
Class "asteroid"
Texture "asteroid.jpg"
Color [ 0.65 0.45 0.35 ]
BlendTexture true
Radius 450
InfoURL "http://www.aas.org/publications/baas/v34n3/dps2002/301.htm"
EllipticalOrbit {
Period 323.976
SemiMajorAxis 47.171
Eccentricity 0.1257
Inclination 24.370
AscendingNode 297.463
ArgOfPericenter 296.073
MeanAnomaly 272.766
}
Albedo 0.10
UniformRotation
{
Period 48.0 # guess
}
}
"2004 XR190" "Sol" {
Class "asteroid"
Texture "asteroid.jpg"
Radius 320 # "diameter is between 425-850km"
InfoURL "http://arxiv.org/abs/astro-ph/0512430"
EllipticalOrbit {
Epoch 2453800.5 # 2006 Mar 6 00:00UT
Period 434.981
SemiMajorAxis 57.409
Eccentricity 0.111
Inclination 46.735
AscendingNode 252.369
ArgOfPericenter 284.115
MeanAnomaly 268.060
}
UniformRotation
{
Period 48.0 # guess
}
}
# Inner Oort cloud
"90377 Sedna:Sedna:2003 VB12" "Sol" {
Class "asteroid"
Texture "asteroid.jpg"
Color [ 0.75 0.45 0.35 ] # almost as red as Mars
BlendTexture true
Radius 850
InfoURL "http://www.gps.caltech.edu/~mbrown/sedna/"
EllipticalOrbit {
Epoch 2453200.5 # 2004 Jul 14 00:00UT
Period 12258.809
SemiMajorAxis 531.658
Eccentricity 0.8574
Inclination 11.930
AscendingNode 144.493
ArgOfPericenter 311.827
MeanAnomaly 357.881
}
Albedo 0.05
UniformRotation
{
Period 10 # (much shorter than previously thought)
}
}

View File

@ -1,919 +0,0 @@
# Revisions to stars listed in Celestia distribution stars.dat
#
# These consist of improvements or revisions to the Hipparcos
# data from which stars.dat was prepared, the addition of some
# bright stars with incomplete data in Hipparcos, and the correction
# of some parallax errors introduced by Celestia's processing of
# apparently fictitious multiple systems generated by Hipparcos.
# Commonly used sources are listed below, and other sources are
# referenced in the annotations.
#
# NASA's NStars Database of nearby stars:
# http://nstars.arc.nasa.gov/select_fields.cfm
# McCook & Sion's white dwarf database:
# http://www.astronomy.villanova.edu/WDCatalog/index.html
# The RECONS database of nearby stars:
# http://joy.chara.gsu.edu/RECONS/TOP100.htm
# The SIMBAD stellar database:
# http://simbad.u-strasbg.fr/sim-fid.pl
# WEBDA database of open clusters:
# http://www.univie.ac.at/webda/
207 # missing bright star - used Hipparcos 1 parallax
{
RA 0.65034381
Dec 66.09896232
Distance 2077 # Parallax 1.57 +/- 1.67
AppMag 5.87
SpectralType "G8III"
}
Modify 3829 # van Maanen's Star: improved spectral class from McCook & Sion
{
SpectralType "DZ8"
}
4266 # Missing star - data from original Hipparcos catalog
# Spectral class from SIMBAD, replacing "R..."
{
RA 13.63993371
Dec -82.66931994
Distance 1707.6806
AppMag 8.39
SpectralType "M0"
}
5165 # Bet Phe: missing bright star - used Hipparcos 1 parallax
{
RA 16.52128448
Dec -46.71849569
Distance 198 # Parallax 16.46 +/- 22.22
AppMag 3.32
SpectralType "G8IIIvar"
}
Modify 5336 # Mu Cas: Revised luminosity class from RECONS; subdwarf
{
SpectralType "G5VIp"
}
5743 # Zet Psc B: missing named star - used parallax from Zet Psc A
{
RA 18.43822822
Dec 7.57838236
Distance 173.863006 # Parallax 18.76 +/- 2.76
AppMag 6.44
SpectralType "F7V"
}
6242 # Phi Cas: missing bright star - used Hipparcos 1 parallax
{
RA 20.02049032
Dec 58.23161618
Distance 2330 # Parallax 1.4 +/- 0.68
AppMag 4.95
SpectralType "F0Ia"
}
Modify 8709 # Improved spectral class from McCook & Sion
{
SpectralType "DA3"
}
Modify 9640 # Almaak: Spectral class of primary component from SIMBAD
{
SpectralType "K3II"
}
10180 # 59 And B: missing named star - used parallax from 59 And A
{
RA 32.72362967
Dec 39.04333734
Distance 455.540503 # Parallax 7.16 +/- 3.42
AppMag 6.82
SpectralType "A1Vn"
}
Modify 10267 # Spectral class from SIMBAD, replacing "DF"
{
SpectralType "G0"
}
Modify 10280 # 6 Tri: spectral class from SIMBAD, replacing "F5V"
{
SpectralType "G5III"
}
Modify 11644 # Spectral class from SIMBAD, replacing "DAn"
{
SpectralType "A9V"
}
Modify 11650 # Improved spectral class from McCook & Sion
{
SpectralType "DA3"
}
12031 # Missing star - data from original Hipparcos catalog
# Improved spectral class from McCook & Sion
{
RA 38.78144144
Dec 3.73243056
Distance 242.681
AppMag 8.39
SpectralType "DA1"
}
Modify 14754 # Improved spectral class from McCook & Sion
{
SpectralType "DA3"
}
Modify 17797 # Spectral class of primary component from SIMBAD
{
SpectralType "B9V"
}
Modify 21088 # Stein 2051: Spectral class of primary component from RECONS
{
SpectralType "M4V"
}
21148 # 1 Cam: missing bright star (negative parallax) - used Tycho value
{
RA 68.00768144
Dec 53.91084624
Distance 3262 # Parallax 1.00 +/- 5.20
AppMag 5.78
SpectralType "B0III SB"
}
Modify 21392 # Spectral class from SIMBAD, replacing "R..."
{
SpectralType "K5"
}
21986 # 55 Eri: missing bright star - used Hipparcos 1 parallax
{
RA 70.89469834
Dec -8.79424599
Distance 406 # Parallax 8.04 +/- 1.39
AppMag 5.98
SpectralType "F4IIIp (Sr)"
}
22024 # 56 Eri: missing bright star - used Hipparcos 1 parallax
{
RA 71.02215831
Dec -8.50357398
Distance 1342 # Parallax 2.43 +/- 0.82
AppMag 5.78
SpectralType "B2Ve"
}
Modify 22767 # Spectral class from SIMBAD, replacing "N..."
{
SpectralType "A0"
}
Modify 23692 # Improved spectral class from McCook & Sion
{
SpectralType "DA1"
}
Modify 24186 # Kapteyn's Star: Spectral/luminosity class from RECONS; subdwarf
{
SpectralType "M1VI"
}
Modify 24608 # Capella: Spectral class from SIMBAD, replacing "M1:"
{
SpectralType "G5III"
}
25950 # missing bright star - used Hipparcos 1 parallax
{
RA 83.05893615
Dec 17.05815344
Distance 1117 # Parallax 2.92 +/- 1.57
AppMag 5.5
SpectralType "B7III"
}
25984 # Chi Aur: missing bright star - used Hipparcos 1 parallax
{
RA 83.18197569
Dec 32.19203144
Distance 4077 # Parallax 0.8 +/- 0.89
AppMag 4.71
SpectralType "B5Iab"
}
26220 # Tet1 Ori A: missing star - Hipparcos parallax unreliable; distance set
# to 1400ly. RA/Dec from 2007 reduction of Hipparcos catalog, AppMag and
# spectral type from original version of Hipparcos catalog.
{
RA 83.81588707
Dec -5.38727971
Distance 1400
AppMag 4.98
SpectralType "O7"
}
26221 # Tet1 Ori C: missing star - Hipparcos parallax unreliable; distance set
# to 1400ly. RA/Dec from 2007 reduction of Hipparcos catalog, AppMag and
# spectral type from original version of Hipparcos catalog.
{
RA 83.81860906
Dec -5.38969673
Distance 1400
AppMag 5.13
SpectralType "O6"
}
26224 # Tet1 Ori D: missing star - Hipparcos parallax unreliable; distance set
# to 1400ly. The position was taken from the GSFC/NASA XML/NVO Project
# Data Archive at http://nvo.gsfc.nasa.gov//archive/. It gives a better
# correspondence with photographs of the Tet1 Ori stars than does the
# Hipparcos position
{
RA 83.82186
Dec -5.388025
Distance 1400
AppMag 6.71
SpectralType "B0.5Vp..."
}
Modify 26235 # Tet2 Ori: Distance set to 1400ly, to match Tet1 Ori stars
{
Distance 1400
}
26536 # 26 Aur: missing bright star - used Hipparcos 1 parallax
{
RA 84.65874804
Dec 30.49244271
Distance 447 # Parallax 7.29 +/- 0.96
AppMag 5.4
SpectralType "A2V + GIII"
}
26549 # Sig Ori: missing bright star - used Hipparcos 1 parallax
{
RA 84.68652551
Dec -2.60006563
Distance 1148 # Parallax 2.84 +/- 0.91
AppMag 3.77
SpectralType "O9.5V..."
}
28814 # 66 Ori: missing bright star - used Hipparcos 1 parallax
{
RA 91.24316612
Dec 4.15867686
Distance 2490 # Parallax 1.31 +/- 0.76
AppMag 5.63
SpectralType "G4III"
}
29225 # 3 Gem: missing bright star - used Hipparcos 2 parallax
{
RA 92.43327249
Dec 23.11346968
Distance 14181 # Parallax 0.23 +/- 0.88
AppMag 5.75
SpectralType "B2.5Ib"
}
29450 # 6 Gem: missing named star - used (high error) Hipparcos 1 parallax
{
RA 93.07957868
Dec 22.90851937
Distance 4300 # Parallax 0.76 +/- 1.02
SpectralType "M1Ia-ab"
AppMag 6.51
}
Modify 29564 # Spectral class from SIMBAD, replacing "R..."
{
SpectralType "K5"
}
29840 # 9 Gem: missing named star - used Hipparcos 1 parallax
{
RA 94.24460584
Dec 23.74091549
Distance 2091 # Parallax 1.56 +/- 0.87
SpectralType "B3Ia"
AppMag 6.24
}
30089 # Red Rectangle: missing named star - used Hipparcos 1 parallax
{
RA 94.99259327
Dec -10.63736308
Distance 1245 # Parallax 2.62 +/- 2.37
SpectralType "B8"
AppMag 8.85
}
30756 # Star missing from stars.dat - added using Hipparcos data
{
RA 96.941434
Dec 20.78323
Distance 58.747658
SpectralType "G0"
AppMag 8.31
}
30827 # 48 Aur: missing bright star (negative parallax) - used HIP1 value
{
RA 97.14203611
Dec 30.49306995
Distance 1561 # Parallax 2.09 +/- 0.89
AppMag 5.75
SpectralType "F5.5Ibv"
}
31579 # missing bright star - used Hipparcos 1 parallax
{
RA 99.13682390
Dec 38.44555222
Distance 1812 # Parallax 1.8 +/- 0.81
AppMag 5.4
SpectralType "C5II"
}
Modify 32349 # Sirius A: Spectral class of primary from SIMBAD,
# replacing "A0m..."
{
SpectralType "A1V"
}
Modify 32560 # Improved spectral class from Gliese catalogue (Gliese 246)
{
SpectralType "DA2"
}
33152 # Omi1 CMa: missing bright star - used Hipparcos 1 parallax
{
RA 103.53314510
Dec -24.18422314
Distance 1977 # Parallax 1.65 +/- 0.62
AppMag 3.89
SpectralType "K3Iab"
}
Modify 33226 # Wolf 294: Spectral class from RECONS, replacing "K:..."
{
SpectralType "M3V"
}
34360 # missing bright star - used Hipparcos 1 parallax
{
RA 106.84412146
Dec -23.84073455
Distance 2965 # Parallax 1.1 +/- 0.74
AppMag 5.75
SpectralType "B2V:nn"
}
35488 # Bernes 135: missing named star - used (high error) Hipparcos 1 parallax
# Apparent magnitude from SIMBAD
{
RA 109.86776929
Dec -44.58649914
Distance 1600 # Parallax 1.99 +/- 2.38
AppMag 9.96
SpectralType "A6IIIe"
}
35783 # 19 Lyn B: missing star (negative parallax) - used weighted average of
# HIP1 parallaxes for 19 Lyn A and 19 Lyn B
{
RA 110.71187894
Dec 55.28439050
Distance 458 # Average parallax 7.12 +/- 1.86
AppMag 6.86
SpectralType "B9V"
}
35785 # 19 Lyn A: missing bright star (negative parallax) - used weighted
# average of HIP1 parallaxes for 19 Lyn A and 19 Lyn B
{
RA 110.71692441
Dec 55.28147059
Distance 458 # Parallax 7.12 +/- 1.86
AppMag 5.8
SpectralType "B8V"
}
37842 # 2 Pup B: missing named star - used parallax of 2 Pup A
{
RA 116.36975791
Dec -14.68611721
Distance 253.826459 # Parallax 12.85 +/- 2.93
AppMag 7.03
SpectralType "A0/A1V"
}
Modify 40765 # Spectral class from SIMBAD, replacing "R..."
{
SpectralType "G1V"
}
41074 # missing bright star (negative parallax) - used Tycho value
{
RA 125.70808191
Dec -26.34823502
Distance 2965 # Parallax 1.10 +/- 2.70
AppMag 5.88
SpectralType "F2Iab"
}
Modify 43177 # Luminosity class from Extra-solar Planets Catalog at
# http://www.obspm.fr/encycl/cat1.html (The Hipparcos
# luminosity class of 1a0 is incompatible with the
# observed distance and luminosity.)
{
SpectralType "G0V"
}
Modify 45343 # Struve 1321: Improved spectral class from SIMBAD
{
SpectralType "K7"
}
45982 # HD 80606: Missing star - use weighted average of HIP1 parallaxes for
# stars HD 80606 and HD 80607
{
RA 140.65635304
Dec 50.60370444
AppMag 9.06
Distance 220.1 # Parallax 14.82 +/- 4.82
SpectralType "G5"
}
45983 # HD 80607: missing star - use weighted average of HIP1 parallaxes for
# stars HD 80606 and HD 80607
{
RA 140.66536376
Dec 50.60384845
AppMag 9.17
Distance 220.1 # Parallax 14.82 +/- 4.82
SpectralType "G5"
}
51192 # missing bright star - used cluster distance to IC 2581 from WEBDA
{
RA 156.85199266
Dec -57.63881366
Distance 8000
AppMag 4.65
SpectralType "A6Ia"
}
52004 # missing bright star - used Hipparcos 1 parallax
{
RA 159.36281803
Dec -58.73334693
Distance 8154 # Parallax 0.4 +/- 0.53
AppMag 5.47
SpectralType "A0Ia"
}
Modify 54061 # Dubhe: Spectral class from SIMBAD, replaces "F7V comp"
{
SpectralType "K0Ib"
}
54461 # missing bright star - used Hipparcos 1 parallax
{
RA 167.14169020
Dec -61.94717967
Distance 5528 # Parallax 0.59 +/- 0.55
AppMag 5.11
SpectralType "B9Ia"
}
54751 # missing bright star (negative parallax) - used Hipparcos 1 value
{
RA 168.15008446
Dec -60.31763067
Distance 12545 # Parallax 0.26 +/- 0.55
AppMag 4.59
SpectralType "A6Ia"
}
55203 # Alula Australis: Missing star - data from SIMBAD and NStars
{
RA 169.54545
Dec 31.528891
Distance 27.3
SpectralType "G0V"
AppMag 3.78
}
Modify 56662 # Improved spectral class from Gliese catalogue (Gliese 433.1)
{
SpectralType "DA3"
}
Modify 57367 # Luyten 145-141: Improved spectral class from McCook & Sion
{
SpectralType "DQ6"
}
57741 # missing bright star (negative parallax) - used Hipparcos 1 value
{
RA 177.61368703
Dec -62.64938345
Distance 3077 # Parallax 1.06 +/- 0.54
AppMag 5.68
SpectralType "A3Iab"
}
58427 # missing bright star - used Hipparcos 1 parallax
{
RA 179.69861993
Dec -64.33955671
Distance 2836 # Parallax 1.15 +/- 0.54
AppMag 5.59
SpectralType "A3Ib"
}
59517 # missing bright star - used Hipparcos 1 parallax
{
RA 183.09161071
Dec -62.95077297
Distance 4868 # Parallax 0.67 +/- 0.55
AppMag 5.91
SpectralType "B9Ia"
}
62931 # Kap Cru: missing bright star (negative parallax) - used cluster
# distance to NGC 4755 from WEBDA
{
RA 193.45384769
Dec -60.37624006
Distance 6400
AppMag 5.89
SpectralType "B5Ia"
}
64094 # Tet Mus: missing bright star - used Hipparcos 2 parallax
{
RA 197.02982835
Dec -65.30601745
Distance 12545 # Parallax 0.26 +/- 0.48
AppMag 5.44
SpectralType "WC6 + O9.5I"
}
Modify 65877 # Improved spectral class from McCook & Sion
{
SpectralType "DA5"
}
Modify 66578 # Improved spectral class from McCook & Sion
{
SpectralType "DA3"
}
66984 # missing bright star - used Hipparcos 1 parallax
{
RA 205.91706324
Dec -42.06750984
Distance 1591 # Parallax 2.05 +/- 1.47
AppMag 5.96
SpectralType "B8III"
}
67861 # missing bright star (negative parallax) - used Tycho value
{
RA 208.48852964
Dec -47.12815338
Distance 2330 # Parallax 1.40 +/- 3.00
AppMag 5.83
SpectralType "B2IIIe"
}
71500 # missing bright star - used Hipparcos 1 parallax
{
RA 219.33402274
Dec -46.13341420
Distance 1337 # Parallax 2.44 +/- 1.25
AppMag 5.39
SpectralType "K0III"
}
Modify 72105 # Eps Boo: Primary spectral class from SIMBAD
{
SpectralType "K0III"
}
74184 # missing bright star - used Hipparcos 2 parallax
{
RA 227.37466412
Dec -67.08412720
Distance 9319 # Parallax 0.35 +/- 0.42
AppMag 5.76
SpectralType "F8Iab-Ib"
}
77442 # R CrB: missing bright star - used Hipparcos 1 parallax
{
RA 237.14340123
Dec 28.15677697
Distance 6040 # Parallax 0.54 +/- 0.72
AppMag 5.89
SpectralType "F8"
}
77501 # V CrB: missing named star - used distance from
# Bergeat and Chevallier (2005), A&A 429, 235
# "The mass loss of C-rich giants"
# Spectral type chosen to match effective temperature
{
RA 237.38044772
Dec 39.57167223
Distance 2760
AppMag 9.33
SpectralType "N9"
}
78727 # Xi Sco: missing parallax taken from companion star Hip 78738
{
RA 241.09245
Dec -11.372945
Distance 58.5473
SpectralType "F6IV"
AppMag 4.16016
}
79045 # 7 Her B: missing named star - parallax taken from 7 Her A
{
RA 242.02070724
Dec 17.05445291
Distance 367.719278 # Parallax 8.87 +/- 0.55
SpectralType "K1III"
AppMag 6.25
}
Modify 79607 # Sig CrB: revised spectral class from SIMBAD
{
SpectralType "G0V"
}
Modify 80300 # Improved spectral class from McCook & Sion
{
SpectralType "DA2"
}
81702 # missing bright star (negative parallax) - used cluster distance to
# NGC 6193 from WEBDA
{
RA 250.33506521
Dec -48.76296807
Distance 3800
AppMag 5.57
SpectralType "O5"
}
Modify 82257 # Improved spectral class from McCook & Sion
{
SpectralType "DAV4"
}
Modify 84123 # Spectral class from ARCINS; replaces "G"
# http://www.ari.uni-heidelberg.de/aricns/cnspages/4c01372.htm
{
SpectralType "M3V"
}
Modify 84140 # Spectral class from RECONS
{
SpectralType "M3V"
}
Modify 84405 # 36 Oph A: Spectral class from RECONS
{
SpectralType "K1V"
}
Modify 84720 # 41 Ara: Spectral class from SIMBAD; replaces "M0V"
{
SpectralType "G8V"
}
Modify 85523 # Spectral class from RECONS; replaces "K5"
{
SpectralType "M3V"
}
86961 # GJ 2130 A: Missing star - data from Hipparcos & RECONS
{
RA 266.5527
Dec -32.10355
Distance 20.162391
SpectralType "M2V:"
AppMag 10.4883
}
87706 # 63 Oph: missing star - data from Hipparcos and SIMBAD
# distance estimated from spectral class and app mag
{
RA 268.72518
Dec -24.887088
Distance 8180
SpectralType "O8III"
AppMag 6.198
}
Modify 88267 # 95 Her: Spectral class from SIMBAD; replaces "G5"
{
SpectralType "A5III"
}
88298 # missing bright star (negative parallax) - used cluster distance to
# NGC 6514 from WEBDA
{
RA 270.47658705
Dec -22.78029073
Distance 2700
AppMag 5.72
SpectralType "B0Iab..."
}
88522 # Missing star - data from Hipparcos and SIMBAD
# distance estimated from spectral class and app mag
{
RA 271.15565
Dec 1.9190071
Distance 5800
SpectralType "B0III"
AppMag 6.15
}
89341 # Mu Sgr: missing bright star - used approximate distance to Sgr OB1
# association
{
RA 273.44086939
Dec -21.05883052
Distance 4000
AppMag 3.84
SpectralType "B2III:"
}
89439 # 15 Sgr: missing bright star - used approximate distance to Sgr OB1
{
RA 273.80377253
Dec -20.72826682
Distance 4000
AppMag 5.29
SpectralType "B0/1Ia/ab"
}
89440 # 16 Sgr: missing bright star - used approximate distance to Sgr OB1
{
RA 273.80403813
Dec -20.38796944
Distance 4000
AppMag 5.96
SpectralType "B0.5Ib/II"
}
Modify 91768 # Struve 2398 A: Spectral class from RECONS; replaces "K5"
{
SpectralType "M3V"
}
Modify 91772 # Struve 2398 B: Spectral class from RECONS; replaces "K5"
{
SpectralType "M3V"
}
Modify 95071 # Improved spectral class from McCook & Sion
{
SpectralType "DBZ5"
}
96295 # Campbell's star: missing named star - used distance from
# J.P. Phillips (2004), MNRAS 353 (2), 589
# "Planetary nebula distances re-examined: an improved statistical scale"
{
RA 293.68847918
Dec 30.51639558
Distance 7000
SpectralType "WC..."
AppMag 10.00
}
96840 # missing bright star - used Hipparcos 1 parallax
{
RA 295.27303472
Dec 13.81570849
Distance 1647 # Parallax 1.98 +/- 0.82
AppMag 5.98
SpectralType "B5V"
}
97796 # 9 Sge: missing named star - used (high error) Hipparcos 1 parallax
{
RA 298.09068798
Dec 18.67190029
Distance 14000 # Parallax 0.23 +/- 0.70
AppMag 6.25
SpectralType "O8e"
}
101120 # Omi Cap B: Missing star - data from Hipparcos and SIMBAD
# parallax matched to Omi Cap A = HIP 101123
{
RA 307.46907
Dec -18.586163
Distance 162.191
SpectralType "A8V"
AppMag 6.74
}
Modify 101516 # Improved spectral class from McCook & Sion
{
SpectralType "DA3"
}
Modify 102207 # Improved spectral class from McCook & Sion
{
SpectralType "DA3"
}
Modify 103039 # Spectral class from RECONS
{
SpectralType "M"
}
103312 # missing bright star (negative parallax) - used HIP1 value
{
RA 313.95752469
Dec 47.41766580
Distance 9319 # Parallax 0.35 +/- 0.58
AppMag 5.68
SpectralType "B8Ia"
}
Modify 105259 # Spectral class from SIMBAD; replaces "B3Vv comp"
{
SpectralType "M1Ib"
}
Modify 105680 # Spectral class from SIMBAD; replaces "G0"
{
SpectralType "B"
}
105811 # 69 Cyg: missing bright star - used Hipparcos 1 parallax
{
RA 321.44591739
Dec 36.66740768
Distance 2764 # Parallax 1.18 +/- 0.58
AppMag 5.93
SpectralType "B0Ib"
}
106801 # 9 Cep: missing bright star (zero parallax) - used HIP1 value
{
RA 324.48011139
Dec 62.08194691
Distance 4530 # Parallax 0.72 +/- 0.49
AppMag 4.76
SpectralType "B2Ib"
}
107930 # missing bright star - used Hipparcos 1 parallax
{
RA 328.00425773
Dec 55.79674473
Distance 643 # Parallax 5.07 +/- 1.52
AppMag 5.7
SpectralType "B6IV-V"
}
Modify 107968 # Improved spectral class from McCook & Sion
{
SpectralType "DA3"
}
Modify 108317 # VV Cep: Spectral class from SIMBAD; replaces "M2 comp"
{
SpectralType "M2Ia"
}
112247 # Babcock's Star: missing named star - used Hipparcos 1 parallax
{
RA 341.03125164
Dec 55.58922828
Distance 2330 # Parallax 1.40 +/- 0.90
AppMag 8.82
SpectralType "A0p"
}

View File

@ -1,447 +0,0 @@
Location "Colombo Gap" "Sol/Saturn"
{
LongLat [ 0 0 17530 ]
Size 100
Type "Ring"
}
Location "C Ring" "Sol/Saturn"
{
LongLat [ 0 0 23000 ]
Size 17500
Type "Ring"
}
Location "Maxwell Gap" "Sol/Saturn"
{
LongLat [ 0 0 27230 ]
Size 270
Type "Ring"
}
Location "Bond Gap" "Sol/Saturn"
{
LongLat [ 0 0 28440 ]
Size 30
Type "Ring"
}
Location "Dawes Gap" "Sol/Saturn"
{
LongLat [ 0 0 29940 ]
Size 20
Type "Ring"
}
Location "B Ring" "Sol/Saturn"
{
LongLat [ 0 0 44500 ]
Size 25500
Type "Ring"
}
Location "Huygens Gap" "Sol/Saturn"
{
LongLat [ 0 0 57410 ]
Size 440
Type "Ring"
}
Location "Herschel Gap" "Sol/Saturn"
{
LongLat [ 0 0 57966 ]
Size 102
Type "Ring"
}
Location "Russell Gap" "Sol/Saturn"
{
LongLat [ 0 0 58345 ]
Size 33
Type "Ring"
}
Location "Jeffreys Gap" "Sol/Saturn"
{
LongLat [ 0 0 58682 ]
Size 38
Type "Ring"
}
Location "Kuiper Gap" "Sol/Saturn"
{
LongLat [ 0 0 59136 ]
Size 3
Type "Ring"
}
Location "Laplace Gap" "Sol/Saturn"
{
LongLat [ 0 0 59699 ]
Size 238
Type "Ring"
}
Location "Bessel Gap" "Sol/Saturn"
{
LongLat [ 0 0 59973 ]
Size 10
Type "Ring"
}
Location "Barnard Gap" "Sol/Saturn"
{
LongLat [ 0 0 60044 ]
Size 13
Type "Ring"
}
Location "Cassini Division" "Sol/Saturn"
{
LongLat [ 0 0 59580 ]
Size 4700
Type "Ring"
}
Location "A Ring" "Sol/Saturn"
{
LongLat [ 0 0 69200 ]
Size 14600
Type "Ring"
}
Location "Encke Gap" "Sol/Saturn"
{
LongLat [ 0 0 73300 ]
Size 325
Type "Ring"
}
Location "Keeler Gap" "Sol/Saturn"
{
LongLat [ 0 0 76260 ]
Size 35
Type "Ring"
}
Location "Roche Division" "Sol/Saturn"
{
LongLat [ 0 0 78220 ]
Size 2600
Type "Ring"
}
Location "F Ring" "Sol/Saturn"
{
LongLat [ 0 0 79950 ]
Size 500
Type "Ring"
}
Location "Colombo Gap" "Sol/Saturn"
{
LongLat [ 180 0 17530 ]
Size 100
Type "Ring"
}
Location "C Ring" "Sol/Saturn"
{
LongLat [ 180 0 23000 ]
Size 17500
Type "Ring"
}
Location "Maxwell Gap" "Sol/Saturn"
{
LongLat [ 180 0 27230 ]
Size 270
Type "Ring"
}
Location "Bond Gap" "Sol/Saturn"
{
LongLat [ 180 0 28440 ]
Size 30
Type "Ring"
}
Location "Dawes Gap" "Sol/Saturn"
{
LongLat [ 180 0 29940 ]
Size 20
Type "Ring"
}
Location "B Ring" "Sol/Saturn"
{
LongLat [ 180 0 44500 ]
Size 25500
Type "Ring"
}
Location "Huygens Gap" "Sol/Saturn"
{
LongLat [ 180 0 57410 ]
Size 440
Type "Ring"
}
Location "Herschel Gap" "Sol/Saturn"
{
LongLat [ 180 0 57966 ]
Size 102
Type "Ring"
}
Location "Russell Gap" "Sol/Saturn"
{
LongLat [ 180 0 58345 ]
Size 33
Type "Ring"
}
Location "Jeffreys Gap" "Sol/Saturn"
{
LongLat [ 180 0 58682 ]
Size 38
Type "Ring"
}
Location "Kuiper Gap" "Sol/Saturn"
{
LongLat [ 180 0 59136 ]
Size 3
Type "Ring"
}
Location "Laplace Gap" "Sol/Saturn"
{
LongLat [ 180 0 59699 ]
Size 238
Type "Ring"
}
Location "Bessel Gap" "Sol/Saturn"
{
LongLat [ 180 0 59973 ]
Size 10
Type "Ring"
}
Location "Barnard Gap" "Sol/Saturn"
{
LongLat [ 180 0 60044 ]
Size 13
Type "Ring"
}
Location "Cassini Division" "Sol/Saturn"
{
LongLat [ 180 0 59580 ]
Size 4700
Type "Ring"
}
Location "A Ring" "Sol/Saturn"
{
LongLat [ 180 0 69200 ]
Size 14600
Type "Ring"
}
Location "Encke Gap" "Sol/Saturn"
{
LongLat [ 180 0 73300 ]
Size 325
Type "Ring"
}
Location "Keeler Gap" "Sol/Saturn"
{
LongLat [ 180 0 76260 ]
Size 35
Type "Ring"
}
Location "Roche Division" "Sol/Saturn"
{
LongLat [ 180 0 78220 ]
Size 2600
Type "Ring"
}
Location "F Ring" "Sol/Saturn"
{
LongLat [ 180 0 79950 ]
Size 500
Type "Ring"
}
Location "Ring 6" "Sol/Uranus"
{
LongLat [ 0 0 16278 ]
Importance 2000
Type "Ring"
}
Location "Ring 5" "Sol/Uranus"
{
LongLat [ 0 0 16675 ]
Importance 2000
Type "Ring"
}
Location "Ring 4" "Sol/Uranus"
{
LongLat [ 0 0 17012 ]
Importance 2000
Type "Ring"
}
Location "Alpha Ring" "Sol/Uranus"
{
LongLat [ 0 0 19159 ]
Importance 2000
Type "Ring"
}
Location "Beta Ring" "Sol/Uranus"
{
LongLat [ 0 0 20102 ]
Importance 2000
Type "Ring"
}
Location "Eta Ring" "Sol/Uranus"
{
LongLat [ 0 0 21617 ]
Importance 2000
Type "Ring"
}
Location "Gamma Ring" "Sol/Uranus"
{
LongLat [ 0 0 22068 ]
Importance 2000
Type "Ring"
}
Location "Delta Ring" "Sol/Uranus"
{
LongLat [ 0 0 22741 ]
Importance 2000
Type "Ring"
}
Location "Lambda Ring" "Sol/Uranus"
{
LongLat [ 0 0 24465 ]
Importance 2000
Type "Ring"
}
Location "Epsilon Ring" "Sol/Uranus"
{
LongLat [ 0 0 25590 ]
Importance 2000
Type "Ring"
}
Location "Ring 6" "Sol/Uranus"
{
LongLat [ 180 0 16278 ]
Importance 2000
Type "Ring"
}
Location "Ring 5" "Sol/Uranus"
{
LongLat [ 180 0 16675 ]
Importance 2000
Type "Ring"
}
Location "Ring 4" "Sol/Uranus"
{
LongLat [ 180 0 17012 ]
Importance 2000
Type "Ring"
}
Location "Alpha Ring" "Sol/Uranus"
{
LongLat [ 180 0 19159 ]
Importance 2000
Type "Ring"
}
Location "Beta Ring" "Sol/Uranus"
{
LongLat [ 180 0 20102 ]
Importance 2000
Type "Ring"
}
Location "Eta Ring" "Sol/Uranus"
{
LongLat [ 180 0 21617 ]
Importance 2000
Type "Ring"
}
Location "Gamma Ring" "Sol/Uranus"
{
LongLat [ 180 0 22068 ]
Importance 2000
Type "Ring"
}
Location "Delta Ring" "Sol/Uranus"
{
LongLat [ 180 0 22741 ]
Importance 2000
Type "Ring"
}
Location "Lambda Ring" "Sol/Uranus"
{
LongLat [ 180 0 24465 ]
Importance 2000
Type "Ring"
}
Location "Epsilon Ring" "Sol/Uranus"
{
LongLat [ 180 0 25590 ]
Importance 2000
Type "Ring"
}
Location "Le Verrier Ring" "Sol/Neptune"
{
LongLat [ 0 0 28430 ]
Importance 3000
Type "Ring"
}
Location "Adams Ring" "Sol/Neptune"
{
LongLat [ 0 0 38166 ]
Importance 2000
Type "Ring"
}
Location "Le Verrier Ring" "Sol/Neptune"
{
LongLat [ 180 0 28430 ]
Importance 3000
Type "Ring"
}
Location "Adams Ring" "Sol/Neptune"
{
LongLat [ 180 0 38166 ]
Importance 2000
Type "Ring"
}

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,603 +0,0 @@
# 0 records, 8269 lines read.
# 0 records, 8269 lines read.
Location "Alberich" "Sol/Uranus/Umbriel"
{
LongLat [ -42.2 33.6 0 ]
Size 52
Type "AA"
}
Location "Fin" "Sol/Uranus/Umbriel"
{
LongLat [ -44.3 37.4 0 ]
Size 43
Type "AA"
}
Location "Gob" "Sol/Uranus/Umbriel"
{
LongLat [ -27.8 12.7 0 ]
Size 88
Type "AA"
}
Location "Kanaloa" "Sol/Uranus/Umbriel"
{
LongLat [ -345.7 10.8 0 ]
Size 86
Type "AA"
}
Location "Malingee" "Sol/Uranus/Umbriel"
{
LongLat [ -13.9 22.9 0 ]
Size 164
Type "AA"
}
Location "Minepa" "Sol/Uranus/Umbriel"
{
LongLat [ -8.2 42.7 0 ]
Size 58
Type "AA"
}
Location "Peri" "Sol/Uranus/Umbriel"
{
LongLat [ -4.3 9.2 0 ]
Size 61
Type "AA"
}
Location "Setibos" "Sol/Uranus/Umbriel"
{
LongLat [ -346.3 30.8 0 ]
Size 50
Type "AA"
}
Location "Skynd" "Sol/Uranus/Umbriel"
{
LongLat [ -331.7 1.8 0 ]
Size 72
Type "AA"
}
Location "Vuver" "Sol/Uranus/Umbriel"
{
LongLat [ -311.6 4.7 0 ]
Size 98
Type "AA"
}
Location "Wokolo" "Sol/Uranus/Umbriel"
{
LongLat [ -1.8 30 0 ]
Size 208
Type "AA"
}
Location "Wunda" "Sol/Uranus/Umbriel"
{
LongLat [ -273.6 7.9 0 ]
Size 131
Type "AA"
}
Location "Zlyden" "Sol/Uranus/Umbriel"
{
LongLat [ -326.2 23.3 0 ]
Size 44
Type "AA"
}
# 13 records, 8269 lines read.
Location "Adriana" "Sol/Uranus/Titania"
{
LongLat [ -3.9 20.1 0 ]
Size 50
Type "AA"
}
Location "Belmont Chasma" "Sol/Uranus/Titania"
{
LongLat [ -32.6 8.5 0 ]
Size 258
Type "CM"
}
Location "Bona" "Sol/Uranus/Titania"
{
LongLat [ -351.2 55.8 0 ]
Size 51
Type "AA"
}
Location "Calphurnia" "Sol/Uranus/Titania"
{
LongLat [ -291.4 42.4 0 ]
Size 100
Type "AA"
}
Location "Elinor" "Sol/Uranus/Titania"
{
LongLat [ -333.6 44.8 0 ]
Size 74
Type "AA"
}
Location "Gertrude" "Sol/Uranus/Titania"
{
LongLat [ -287.1 15.8 0 ]
Size 326
Type "AA"
}
Location "Imogen" "Sol/Uranus/Titania"
{
LongLat [ -321.2 23.8 0 ]
Size 28
Type "AA"
}
Location "Iras" "Sol/Uranus/Titania"
{
LongLat [ -338.8 19.2 0 ]
Size 33
Type "AA"
}
Location "Jessica" "Sol/Uranus/Titania"
{
LongLat [ -285.9 55.3 0 ]
Size 64
Type "AA"
}
Location "Katherine" "Sol/Uranus/Titania"
{
LongLat [ -331.9 51.2 0 ]
Size 75
Type "AA"
}
Location "Lucetta" "Sol/Uranus/Titania"
{
LongLat [ -277.1 14.7 0 ]
Size 58
Type "AA"
}
Location "Marina" "Sol/Uranus/Titania"
{
LongLat [ -316 15.5 0 ]
Size 40
Type "AA"
}
Location "Messina Chasmata" "Sol/Uranus/Titania"
{
LongLat [ -335 33.3 0 ]
Size 1492
Type "CM"
}
Location "Mopsa" "Sol/Uranus/Titania"
{
LongLat [ -302.2 11.9 0 ]
Size 101
Type "AA"
}
Location "Phrynia" "Sol/Uranus/Titania"
{
LongLat [ -309.2 24.3 0 ]
Size 35
Type "AA"
}
Location "Rousillon Rupes" "Sol/Uranus/Titania"
{
LongLat [ -26.5 14.7 0 ]
Size 402
Type "RU"
}
Location "Ursula" "Sol/Uranus/Titania"
{
LongLat [ -45.2 12.4 0 ]
Size 135
Type "AA"
}
Location "Valeria" "Sol/Uranus/Titania"
{
LongLat [ -4.2 34.5 0 ]
Size 59
Type "AA"
}
# 18 records, 8269 lines read.
Location "Antony" "Sol/Uranus/Oberon"
{
LongLat [ -65.4 27.5 0 ]
Size 47
Type "AA"
}
Location "Caesar" "Sol/Uranus/Oberon"
{
LongLat [ -61.1 26.6 0 ]
Size 76
Type "AA"
}
Location "Coriolanus" "Sol/Uranus/Oberon"
{
LongLat [ -345.2 11.4 0 ]
Size 120
Type "AA"
}
Location "Falstaff" "Sol/Uranus/Oberon"
{
LongLat [ -19 22.1 0 ]
Size 124
Type "AA"
}
Location "Hamlet" "Sol/Uranus/Oberon"
{
LongLat [ -44.4 46.1 0 ]
Size 206
Type "AA"
}
Location "Lear" "Sol/Uranus/Oberon"
{
LongLat [ -31.5 5.4 0 ]
Size 126
Type "AA"
}
Location "MacBeth" "Sol/Uranus/Oberon"
{
LongLat [ -112.5 58.4 0 ]
Size 203
Type "AA"
}
Location "Mommur Chasma" "Sol/Uranus/Oberon"
{
LongLat [ -323.5 16.3 0 ]
Size 537
Type "CM"
}
Location "Othello" "Sol/Uranus/Oberon"
{
LongLat [ -42.9 66 0 ]
Size 114
Type "AA"
}
Location "Romeo" "Sol/Uranus/Oberon"
{
LongLat [ -89.4 28.7 0 ]
Size 159
Type "AA"
}
# 10 records, 8269 lines read.
Location "Abans" "Sol/Uranus/Ariel"
{
LongLat [ -251.3 15.5 0 ]
Size 20
Type "AA"
}
Location "Agape" "Sol/Uranus/Ariel"
{
LongLat [ -336.5 46.9 0 ]
Size 34
Type "AA"
}
Location "Ataksak" "Sol/Uranus/Ariel"
{
LongLat [ -224.3 53.1 0 ]
Size 22
Type "AA"
}
Location "Befana" "Sol/Uranus/Ariel"
{
LongLat [ -31.9 17 0 ]
Size 21
Type "AA"
}
Location "Berylune" "Sol/Uranus/Ariel"
{
LongLat [ -327.9 22.5 0 ]
Size 29
Type "AA"
}
Location "Brownie Chasma" "Sol/Uranus/Ariel"
{
LongLat [ -337.6 16 0 ]
Size 343
Type "CM"
}
Location "Deive" "Sol/Uranus/Ariel"
{
LongLat [ -23 22.3 0 ]
Size 20
Type "AA"
}
Location "Djadek" "Sol/Uranus/Ariel"
{
LongLat [ -251.1 12 0 ]
Size 22
Type "AA"
}
Location "Domovoy" "Sol/Uranus/Ariel"
{
LongLat [ -339.7 71.5 0 ]
Size 71
Type "AA"
}
Location "Finvara" "Sol/Uranus/Ariel"
{
LongLat [ -19 15.8 0 ]
Size 31
Type "AA"
}
Location "Gwyn" "Sol/Uranus/Ariel"
{
LongLat [ -22.5 77.5 0 ]
Size 34
Type "AA"
}
Location "Huon" "Sol/Uranus/Ariel"
{
LongLat [ -33.7 37.8 0 ]
Size 40
Type "AA"
}
Location "Kachina Chasmata" "Sol/Uranus/Ariel"
{
LongLat [ -246 33.7 0 ]
Size 622
Type "CM"
}
Location "Kewpie Chasma" "Sol/Uranus/Ariel"
{
LongLat [ -326.9 28.3 0 ]
Size 467
Type "CM"
}
Location "Korrigan Chasma" "Sol/Uranus/Ariel"
{
LongLat [ -347.5 27.6 0 ]
Size 365
Type "CM"
}
Location "Kra Chasma" "Sol/Uranus/Ariel"
{
LongLat [ -354.2 32.1 0 ]
Size 142
Type "CM"
}
Location "Laica" "Sol/Uranus/Ariel"
{
LongLat [ -44.4 21.3 0 ]
Size 30
Type "AA"
}
Location "Leprechaun Vallis" "Sol/Uranus/Ariel"
{
LongLat [ -10.2 10.4 0 ]
Size 328
Type "VA"
}
Location "Mab" "Sol/Uranus/Ariel"
{
LongLat [ -352.2 38.8 0 ]
Size 34
Type "AA"
}
Location "Melusine" "Sol/Uranus/Ariel"
{
LongLat [ -8.9 52.9 0 ]
Size 50
Type "AA"
}
Location "Oonagh" "Sol/Uranus/Ariel"
{
LongLat [ -244.4 21.9 0 ]
Size 39
Type "AA"
}
Location "Pixie Chasma" "Sol/Uranus/Ariel"
{
LongLat [ -5.1 20.4 0 ]
Size 278
Type "CM"
}
Location "Rima" "Sol/Uranus/Ariel"
{
LongLat [ -260.8 18.3 0 ]
Size 41
Type "AA"
}
Location "Sprite Vallis" "Sol/Uranus/Ariel"
{
LongLat [ -340 14.9 0 ]
Size 305
Type "VA"
}
Location "Sylph Chasma" "Sol/Uranus/Ariel"
{
LongLat [ -353 48.6 0 ]
Size 349
Type "CM"
}
Location "Yangoor" "Sol/Uranus/Ariel"
{
LongLat [ -279.7 68.7 0 ]
Size 78
Type "AA"
}
# 26 records, 8269 lines read.
Location "Alonso" "Sol/Uranus/Miranda"
{
LongLat [ -352.6 44 0 ]
Size 25
Type "AA"
}
Location "Arden Corona" "Sol/Uranus/Miranda"
{
LongLat [ -73.7 29.1 0 ]
Size 318
Type "CR"
}
Location "Argier Rupes" "Sol/Uranus/Miranda"
{
LongLat [ -322.8 43.2 0 ]
Size 141
Type "RU"
}
Location "DUNSINANE REGIO" "Sol/Uranus/Miranda"
{
LongLat [ -11.9 31.5 0 ]
Size 244
Type "RE"
}
Location "Elsinore Corona" "Sol/Uranus/Miranda"
{
LongLat [ -257.1 24.8 0 ]
Size 323
Type "CR"
}
Location "EPHESUS REGIO" "Sol/Uranus/Miranda"
{
LongLat [ -250 15 0 ]
Size 225
Type "RE"
}
Location "Ferdinand" "Sol/Uranus/Miranda"
{
LongLat [ -202.1 34.8 0 ]
Size 17
Type "AA"
}
Location "Francisco" "Sol/Uranus/Miranda"
{
LongLat [ -236 73.2 0 ]
Size 14
Type "AA"
}
Location "Gonzalo" "Sol/Uranus/Miranda"
{
LongLat [ -77 11.4 0 ]
Size 11
Type "AA"
}
Location "Inverness Corona" "Sol/Uranus/Miranda"
{
LongLat [ -325.7 66.9 0 ]
Size 234
Type "CR"
}
Location "MANTUA REGIO" "Sol/Uranus/Miranda"
{
LongLat [ -180.2 39.6 0 ]
Size 399
Type "RE"
}
Location "Naples Sulcus" "Sol/Uranus/Miranda"
{
LongLat [ -260 32 0 ]
Size 260
Type "SU"
}
Location "Prospero" "Sol/Uranus/Miranda"
{
LongLat [ -329.9 32.9 0 ]
Size 21
Type "AA"
}
Location "SICILIA REGIO" "Sol/Uranus/Miranda"
{
LongLat [ -317.2 30 0 ]
Size 174
Type "RE"
}
Location "Stephano" "Sol/Uranus/Miranda"
{
LongLat [ -234.1 41.1 0 ]
Size 16
Type "AA"
}
Location "Syracusa Sulcus" "Sol/Uranus/Miranda"
{
LongLat [ -293 15 0 ]
Size 40
Type "SU"
}
Location "Trinculo" "Sol/Uranus/Miranda"
{
LongLat [ -163.4 63.7 0 ]
Size 11
Type "AA"
}
Location "Verona Rupes" "Sol/Uranus/Miranda"
{
LongLat [ -347.8 18.3 0 ]
Size 116
Type "RU"
}
# 18 records, 8269 lines read.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,5 @@
README
README.md
README-upstream
README-upstream.md
AUTHORS
TRANSLATORS

View File

@ -12,7 +12,7 @@ usr/bin/3dstocmod
usr/bin/cmodfix
usr/bin/txt2cmod
usr/bin/cmodsphere
usr/bin/qttxf
#usr/bin/qttxf
#usr/bin/spice2xyzv
usr/bin/vsoptrunc-rect
usr/bin/vsoptrunc-sph

13
debian/changelog vendored
View File

@ -1,3 +1,16 @@
celestia (1.7.0~git20220520+1) UNRELEASED; urgency=medium
* Fix control character ^M in perl scripts.
-- Jeff Moe <moe@spacecruft.org> Fri, 20 May 2022 21:02:00 -0600
celestia (1.7.0~git20220520+0) UNRELEASED; urgency=medium
* New snapshot build.
* Remove missing qttxf.
-- Jeff Moe <moe@spacecruft.org> Fri, 20 May 2022 19:55:59 -0600
celestia (1.7.0~git20190807+d9746691+0) UNRELEASED; urgency=medium
* New snapshot build

2
debian/control vendored
View File

@ -4,6 +4,8 @@ Priority: optional
Maintainer: Hleb Valoshka <375gnu@gmail.com>
Build-Depends: debhelper (>= 10~),
chrpath,
cmake (>= 3.1~),
dos2unix,
freeglut3-dev,
libeigen3-dev (>= 3.3~),
libfmt-dev (>= 4),

53
debian/copyright vendored
View File

@ -19,6 +19,20 @@ Copyright: 2000-2004 Martin Pool <mbp@sourcefrog.net>
2020 Celestia Development Team <team@celestia.space>
License: zlib
Files: src/tools/celestia-gaia-stardb/*
Copyright: 20192020 Andrew Tribick <ajtribick@googlemail.com>
License: GPL-2+
Files: src/celengine/dds_decompress.*
Copyright: 2009 Benjamin Dobell, Glass Echidna
2012, Matthäus G. Chajdas <dev@anteru.net>
License: Expat
Files: src/celutil/tee.h
Copyright: 2009 Thomas Guest <tag@wordaligned.org>
2021 Celestia Development Team <team@celestia.space>
License: public-domain
Files: fonts/DejaVuSans.ttf fonts/DejaVuSans-Bold.ttf
Copyright: Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.
Bitstream Vera is a trademark of Bitstream, Inc.
@ -157,3 +171,42 @@ License: zlib
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
License: Expat
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License: public-domain
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
software, either in source code form or as a compiled binary, for any purpose,
commercial or non-commercial, and by any means.
.
In jurisdictions that recognize copyright laws, the author or authors of this
software dedicate any and all copyright interest in the software to the public
domain. We make this dedication for the benefit of the public at large and to
the detriment of our heirs and successors. We intend this dedication to be an
overt act of relinquishment in perpetuity of all present and future rights to
this software under copyright law.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

2
debian/rules vendored
View File

@ -26,6 +26,8 @@ override_dh_auto_configure:
override_dh_install:
dos2unix ./src/tools/stardb/buildstardb.pl
dos2unix ./src/tools/xindex/buildxindices.pl
find debian/tmp/usr/bin/ -type f ! -name *.pl -exec chrpath --delete {} ';'
chrpath --delete debian/tmp/usr/lib/*/libcelestia.so.*
dh_install --fail-missing

View File

@ -106,18 +106,9 @@ File Overview
Astronomical conversions and a Date class for converting from dd/mm/yyyy
to Julian date.
* vecmath.h
Templatized classes for Points, Vectors, and Matrices
* quaternion.h
Templatized quaternion class
* vecgl.h
A handful of template functions which make it easy to use types from
vecmath.h with OpenGL
* aabox.h
Axis-aligned bounding box class.
Eigen with OpenGL
* glext.h
* glext.cpp
@ -162,7 +153,7 @@ a pointer to a star from the database.
Stars
-----
Since there are so many stars in a star database, it's important that the
size of the Star class be kept to a minimum. Thus, in order to avoid the
size of the Star class be kept to a minimum. Thus, in order to avoid the
4 byte vtable overhead Star is not a derived class, even though it might
be somewhat useful to have a common base class for stars and planets. All
stars have a unique catalog number, a position, a stellar class, and a

2462
docs/Doxyfile 100644

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +0,0 @@
add_subdirectory(cassini)
add_subdirectory(galileo)
add_subdirectory(hubble)
add_subdirectory(iss)
add_subdirectory(mir)

View File

@ -1,11 +0,0 @@
set(CASSINI_SOURCES
data/cassini-cruise.xyzv
data/cassini-solstice.xyzv
data/huygens.xyzv
data/cassini-orbit.xyzv
cassini.ssc
models/cassini.3ds
models/huygens.3ds
)
install_to_extras_subdir("${DATADIR}" cassini ${CASSINI_SOURCES})

View File

@ -1,98 +0,0 @@
"Cassini" "Sol"
{
Class "spacecraft"
Mesh "cassini.3ds"
Radius 0.011
InfoURL "http://saturn.jpl.nasa.gov/home/index.cfm"
# Orient the model according to the specification here:
# http://mapsview.engin.umich.edu/data_descriptions/spacecraft_overview.php
# Remote sensing pallet mounted on +X side of spacecraft
# Magnetometer boom extends in +Y direction
# Primary remote sensing boresight view is -Y
# Main engine firing direction is +Z
# High-gain antenna points -Z
# Huygens probe ejected in -X direction
Orientation [ 180 1 0 0 ]
Timeline [
# Phase 1: Launch and cruise
{
Beginning "1997 10 15 09:27:11"
Ending "2004 6 20 12:00:00"
OrbitFrame { EclipticJ2000 { Center "Sol" } }
SampledTrajectory { Source "cassini-cruise.xyzv" }
FixedRotation { Inclination 70 AscendingNode -90 }
}
# Phase 2: Saturn orbit (primary and equinox missions)
{
Ending "2010 6 20 12:00:00"
OrbitFrame { EclipticJ2000 { Center "Sol/Saturn" } }
SampledTrajectory { Source "cassini-orbit.xyzv" }
FixedRotation { Inclination 70 AscendingNode -90 }
}
# Phase 3: Solstice mission
{
# SPICE kernel continues until 21 Sep 2017, but the trajectory
# shows Cassini entering Saturn's atmosphere on 15 Sep.
Ending "2017 9 15 17:02:00"
OrbitFrame { EclipticJ2000 { Center "Sol/Saturn" } }
SampledTrajectory { Source "cassini-solstice.xyzv" }
FixedRotation { Inclination 70 AscendingNode -90 }
}
]
}
"Huygens" "Sol/Cassini"
{
Class "spacecraft"
Mesh "huygens.3ds"
Radius 0.00135
Orientation [ 90 0 0 1 ]
InfoURL "http://saturn.jpl.nasa.gov/home/index.cfm"
Timeline [
# Phase 1: With Cassini
{
Beginning 2450736.893877314 # 1997 Oct 15 09:27:11
Ending "2004 12 25 02:01:05.183"
OrbitFrame { BodyFixed { Center "Sol/Cassini" } }
BodyFrame { BodyFixed { Center "Sol/Cassini" } }
FixedPosition [ -0.0014 0 0.0002 ]
FixedRotation { Inclination 90 AscendingNode 90 }
}
# Phase 2: Free flight to Titan
{
Ending "2005 01 14 09:07:00"
OrbitFrame { EclipticJ2000 { Center "Sol/Saturn" } }
BodyFrame { EclipticJ2000 { Center "Sol" } }
SampledTrajectory { Source "huygens.xyzv" }
UniformRotation
{
AscendingNode 0
Inclination 90
MeridianAngle 0
Epoch 2453364.5847 # 2004 Dec 25 02:01:58
Period 0.125 # 7.5 revolutions per minute
}
}
] # End Timeline
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,118 +0,0 @@
# Celestia xyzv file generated by spice2xyzv
#
# First record is hand-modified to reproduce separation from Cassini:
# Position tweaked by a couple meters so that the Huygens model
# doesn't overlap the Cassini model
#
# Creation date: Fri May 30 16:27:04 2008
#
# SPICE kernel files used:
# de421.bsp
# sat252s.bsp
# 041210AP_OPK_04329_08189.bsp
#
# Start date: 2004-Dec-25 02:01:04.183 TDB
# End date: 2005-Jan-14 09:07:00.000 TDB
# Observer: SATURN (699)
# Target: CASP (-150)
# Frame: eclipJ2000
#
# Min step size: 60 s
# Max step size: 86400 s
# Tolerance: 0.1 km
#
# Records are <jd> <x> <y> <z> <vel x> <vel y> <vel z>
# Time is a TDB Julian date
# Position in km
# velocity in km/sec
2453364.58408 -2678111.3235 -1619946.70639 807564.757047 -0.38810156 -1.7344566 0.87737208
2453364.6063 -2678851.1813 -1623272.95209 809247.424125 -0.38245277 -1.7306717 0.87551753
2453364.96185 -2689197.26216 -1675582.3471 835715.879432 -0.29164558 -1.6749484 0.84771755
2453365.31741 -2696800.57637 -1726185.25953 861332.807521 -0.20383635 -1.6195637 0.82007488
2453365.67297 -2701748.743 -1775091.13355 886102.538186 -0.11874181 -1.5644514 0.79255503
2453366.02852 -2704121.53906 -1822307.1717 910028.275013 -0.036135059 -1.5095371 0.76512216
2453366.38408 -2703992.31255 -1867838.52939 933112.257894 0.044183162 -1.4547626 0.73774903
2453366.73963 -2701428.56553 -1911688.57806 955355.887738 0.12238792 -1.4000681 0.71040769
2453367.09519 -2696492.76356 -1953859.14427 976759.848017 0.19864271 -1.3454144 0.68307958
2453367.45074 -2689242.28166 -1994350.73107 997324.172842 0.27310781 -1.2907506 0.65573955
2453367.8063 -2679729.8516 -2033162.24472 1017048.10959 0.34592881 -1.2360262 0.62836263
2453368.16185 -2668003.86359 -2070290.98606 1035930.11588 0.41724042 -1.1811852 0.60092153
2453368.51741 -2654108.87146 -2105732.48215 1053967.78992 0.48715821 -1.1261711 0.57338912
2453368.87297 -2638085.98624 -2139480.74481 1071157.99998 0.55579525 -1.0709425 0.5457449
2453369.22852 -2619972.58977 -2171528.50692 1087496.94462 0.62328183 -1.0154498 0.51796178
2453369.58408 -2599802.16378 -2201866.36355 1102979.6682 0.68972936 -0.959605 0.48999358
2453370.29519 -2553412.02013 -2257362.0058 1131350.23649 0.81975165 -0.84656745 0.43335816
2453370.65074 -2527248.96343 -2282490.02319 1144222.52758 0.88343456 -0.78928234 0.40463137
2453371.0063 -2499141.77501 -2305849.92765 1156207.37756 0.94633965 -0.73145229 0.37557087
2453371.36185 -2469112.52358 -2327424.68591 1167293.59226 1.0085962 -0.67305698 0.34612281
2453371.71741 -2437178.55141 -2347195.907 1177469.48039 1.0703666 -0.6140096 0.31631414
2453372.07297 -2403353.48352 -2365141.12036 1186724.41282 1.1317175 -0.55415275 0.28615858
2453372.42852 -2367649.98162 -2381233.61689 1195046.88208 1.1926635 -0.49337661 0.25559557
2453372.78408 -2330079.98043 -2395444.18445 1202423.47611 1.2532468 -0.43162202 0.22456977
2453373.13963 -2290653.39211 -2407741.62691 1208839.11465 1.3135473 -0.36880849 0.19302346
2453373.49519 -2249377.75702 -2418091.94233 1214276.91305 1.3736401 -0.30483785 0.16089812
2453373.85074 -2206258.38565 -2426457.78185 1218718.09984 1.4335915 -0.23958984 0.12812894
2453374.2063 -2161298.82852 -2432798.03408 1222141.93194 1.4934521 -0.17294498 0.09465455
2453374.56185 -2114500.99173 -2437068.06578 1224525.8582 1.5532839 -0.10478973 0.060416141
2453374.91741 -2065864.48759 -2439219.41363 1225845.31765 1.6131712 -0.03498236 0.025338913
2453375.27297 -2015386.52023 -2439198.61721 1226073.14549 1.6731767 0.036657159 -0.010669138
2453375.62852 -1963062.99191 -2436946.64563 1225179.39793 1.7333321 0.11030405 -0.047693868
2453375.98408 -1908888.58447 -2432399.18021 1223131.53296 1.7936833 0.18613365 -0.085821978
2453376.33963 -1852856.50198 -2425486.41374 1219894.27581 1.8542885 0.2643263 -0.1251444
2453376.69519 -1794957.57055 -2416132.57602 1215429.29239 1.9152378 0.34509846 -0.16577321
2453377.05074 -1735179.91975 -2404254.42804 1209694.39361 1.9766139 0.42871706 -0.20784551
2453377.4063 -1673509.30265 -2389759.95762 1202642.91019 2.0384888 0.51548569 -0.25151553
2453377.76185 -1609929.46135 -2372547.22617 1194223.15412 2.1009204 0.60574787 -0.2969562
2453378.11741 -1544422.61775 -2352503.16987 1184377.85596 2.1639512 0.69988139 -0.34435658
2453378.47297 -1476969.63195 -2329502.79171 1173043.76915 2.2276356 0.79828804 -0.39391874
2453378.82852 -1407549.0978 -2303407.68691 1160150.84924 2.2920598 0.90145039 -0.44588858
2453379.18408 -1336137.2332 -2274063.15438 1145620.769 2.3572899 1.0099419 -0.50055652
2453379.53963 -1262708.39538 -2241295.44958 1129365.57823 2.4233795 1.1244331 -0.55826079
2453379.89519 -1187235.66797 -2204908.73208 1111286.20159 2.4903615 1.2456916 -0.6193877
2453380.25074 -1109690.97413 -2164681.71434 1091270.71837 2.5582821 1.3746173 -0.68439306
2453380.42852 -1070132.44356 -2143050.76756 1080497.81344 2.5926095 1.4422896 -0.71851998
2453380.6063 -1030044.74315 -2120362.56132 1069191.7029 2.6271842 1.5123093 -0.75383501
2453380.78408 -989424.094355 -2096579.71175 1057333.46575 2.6620029 1.584852 -0.79042693
2453380.96185 -948266.803667 -2071662.00905 1044902.75457 2.697058 1.6601101 -0.82839281
2453381.13963 -906569.309787 -2045566.14956 1031877.66084 2.7323401 1.7382946 -0.86783911
2453381.31741 -864328.210121 -2018245.42441 1018234.55519 2.7678379 1.819639 -0.90888397
2453381.49519 -821540.304985 -1989649.31159 1003947.87769 2.803535 1.9044082 -0.95166155
2453381.67297 -778202.710274 -1959722.98394 988989.888564 2.8394073 1.9928956 -0.99632043
2453381.85074 -734312.977649 -1928406.83404 973330.42769 2.8754229 2.0854324 -1.0430283
2453382.02852 -689869.170413 -1895635.86866 956936.602764 2.9115451 2.1823915 -1.0919746
2453382.2063 -644870.026877 -1861338.94114 939772.398314 2.9477224 2.2842016 -1.1433768
2453382.38408 -599315.20704 -1825437.86627 921798.227654 2.9838856 2.391352 -1.1974832
2453382.56185 -553205.595468 -1787846.40807 902970.420673 3.0199435 2.5044038 -1.2545782
2453382.73963 -506543.688478 -1748469.0696 883240.611607 3.0557763 2.6240045 -1.3149902
2453382.91741 -459334.098691 -1707199.63144 862554.999994 3.0912265 2.750906 -1.3791001
2453383.09519 -411584.216295 -1663919.3838 840853.456978 3.1260876 2.8859869 -1.4473531
2453383.27297 -363305.077136 -1618494.97829 818068.439248 3.1600885 3.03028 -1.5202721
2453383.45074 -314512.506947 -1570775.78955 794123.654912 3.1928727 3.1850091 -1.5984769
2453383.62852 -265228.644727 -1520590.6237 768932.399094 3.2239688 3.3516381 -1.6827084
2453383.71741 -240411.616738 -1494513.17086 755838.893323 3.2386953 3.4399545 -1.7273571
2453383.8063 -215484.005879 -1467743.53386 742395.439737 3.252749 3.5319394 -1.7738634
2453383.89519 -190451.40351 -1440252.46192 728587.228557 3.2660164 3.6278784 -1.8223714
2453383.98408 -165320.344655 -1412008.38541 714398.279081 3.2783647 3.7280907 -1.8730424
2453384.07297 -140098.474644 -1382977.13475 699811.299787 3.2896367 3.8329352 -1.926057
2453384.16185 -114794.754731 -1353121.60576 684807.523129 3.2996457 3.9428188 -1.9816196
2453384.25074 -89419.7203799 -1322401.35221 669366.506834 3.308167 4.0582072 -2.039963
2453384.33963 -63985.8142706 -1290772.07143 653465.887593 3.3149262 4.1796426 -2.1013563
2453384.42852 -38507.8339676 -1258184.91407 637081.05947 3.3195803 4.3077737 -2.1661172
2453384.51741 -13003.5782114 -1224585.45632 620184.713205 3.3216833 4.443419 -2.2346381
2453384.6063 12505.1140113 -1189911.8718 602746.05435 3.320606 4.5877327 -2.3074518
2453384.65074 25252.6987223 -1172150.00354 593812.400415 3.3185707 4.663712 -2.3457196
2453384.69519 37990.1094903 -1154090.60233 584729.047728 3.3152582 4.7427985 -2.3854611
2453384.73963 50711.7301363 -1135720.23525 575489.732076 3.3102496 4.8258863 -2.4270345
2453384.78408 63409.4747556 -1117019.99169 566086.03152 3.3025658 4.9152123 -2.4713112
2453384.8063 69745.2530033 -1107536.44956 561318.435092 3.2969118 4.9641839 -2.4952183
2453384.82852 76068.0526932 -1097953.62842 556502.857517 3.2887554 5.01942 -2.5215906
2453384.83963 79222.5743037 -1093119.80401 554075.059918 3.2828758 5.0518497 -2.5366266
2453384.85074 82370.4275665 -1088251.90744 551631.713862 3.2746242 5.0912119 -2.5542827
2453384.86185 85508.3805886 -1083339.78676 549169.015538 3.261658 5.1464718 -2.5778528
2453384.86741 87071.7269617 -1080860.03371 547927.785505 3.2517526 5.1884091 -2.5948736
2453384.87297 88629.4353006 -1078355.13452 546676.580338 3.2379468 5.2547544 -2.6206406
2453384.87574 89405.5450414 -1077088.01201 546045.377659 3.2295459 5.3080199 -2.6405649
2453384.87852 90179.6870856 -1075804.95641 545408.315615 3.2222507 5.3910169 -2.6706022
2453384.87922 90372.9948247 -1075480.65506 545247.781869 3.2214743 5.4197382 -2.6807544
2453384.87986 90552.8082453 -1075177.29807 545097.85491 3.2216736 5.4507243 -2.6915805

View File

@ -1,8 +0,0 @@
set(GALILEO_SOURCES
galileo.ssc
data/galileo-orbit.xyzv
data/galileo-cruise.xyzv
models/galileo.3ds
)
install_to_extras_subdir("${DATADIR}" galileo ${GALILEO_SOURCES})

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,83 +0,0 @@
"Galileo" "Sol"
{
Class "spacecraft"
Radius 0.01
Mesh "galileo.3ds"
# Orient the model so that the High Gain Antenna points in -z
# and the sensor boom points in +y
Orientation [ -90 1 0 0 ]
NormalizeMesh false
#MeshScale 0.000001 # Mesh units are apparently mm
MeshScale 0.02
InfoURL "http://galileo.jpl.nasa.gov"
Timeline [
# Phase 1: Launch and cruise
{
Beginning "1989 10 19 02:47" # Launch
Ending "1995 12 1 00:00" # A few days before orbit insertion burn
SampledTrajectory { Source "galileo-cruise.xyzv" }
# Use a two vector frame to keep the spacecraft's High Gain Antenna
# pointed toward the Earth. The secondary axis is chosen
# (arbitrarily) as ecliptic north
BodyFrame {
TwoVector {
Primary {
Axis "-z"
RelativePosition {
Observer "Sol/Galileo"
Target "Sol/Earth"
}
}
Secondary {
Axis "x"
ConstantVector {
Vector [ 0 0 1 ]
Frame { EclipticJ2000 { } }
}
}
}
}
FixedRotation { }
}
# Phase 2: Jupiter orbit
{
Ending "2003 9 21 18:58" # Crash into Jupiter
OrbitFrame { EclipticJ2000 { Center "Sol/Jupiter" } }
SampledTrajectory { Source "galileo-orbit.xyzv" }
# Use a two vector frame to keep the spacecraft's High Gain Antenna
# pointed toward the Earth. The secondary axis is chosen
# (arbitrarily) as ecliptic north
BodyFrame {
TwoVector {
Primary {
Axis "-z"
RelativePosition {
Observer "Sol/Galileo"
Target "Sol/Earth"
}
}
Secondary {
Axis "x"
ConstantVector {
Vector [ 0 0 1 ]
Frame { EclipticJ2000 { } }
}
}
}
}
FixedRotation { }
}
] # End timeline
Albedo 0.50
}

View File

@ -1,6 +0,0 @@
set(HUBBLE_SOURCES
hubble.ssc
models/hubble.cmod
)
install_to_extras_subdir("${DATADIR}" hubble ${HUBBLE_SOURCES})

View File

@ -1,21 +0,0 @@
"Hubble" "Sol/Earth"
{
Class "spacecraft"
Mesh "hubble.cmod"
Radius 0.007 # 14 meters across
Beginning 2448007 # Deployed 25 April 1990
# Ending 2010?
EllipticalOrbit {
Period 0.06903
SemiMajorAxis 6767
Eccentricity 0.0012082
Inclination 28.4675
AscendingNode 51.0100
ArgOfPericenter 27.0378
MeanAnomaly 333.0836
Epoch 2452028.18381755
}
Albedo 0.10
}

View File

@ -1,42 +0,0 @@
set(ISS_SOURCES
iss.ssc
textures/medres/issmod.jpg
textures/medres/issbso2.jpg
textures/medres/isspanel.jpg
textures/medres/issb2.jpg
textures/medres/issku2.jpg
textures/medres/isscup.jpg
textures/medres/isszmod.jpg
textures/medres/metalcon.jpg
textures/medres/issesa.jpg
textures/medres/issp2.jpg
textures/medres/issusa.jpg
textures/medres/iss_dcs.jpg
textures/medres/issins.jpg
textures/medres/issbso.jpg
textures/medres/d_ring.jpg
textures/medres/questcov.jpg
textures/medres/issbs.jpg
textures/medres/issb.jpg
textures/medres/iss_un.jpg
textures/medres/isscover.jpg
textures/medres/iss_dc.jpg
textures/medres/issrad.jpg
textures/medres/isssolar.jpg
textures/medres/issb4.jpg
textures/medres/graple.jpg
textures/medres/issred.jpg
textures/medres/isshand.jpg
textures/medres/issku1.jpg
textures/medres/isscov2.jpg
textures/medres/issmb.jpg
textures/medres/nasda.jpg
textures/medres/issdish.jpg
textures/medres/issb3.jpg
textures/medres/issdot.jpg
textures/medres/issku.jpg
textures/medres/issusaf.jpg
models/iss.cmod
)
install_to_extras_subdir("${DATADIR}" iss ${ISS_SOURCES})

View File

@ -1,44 +0,0 @@
# International Space Station
# The model is a deconstruction of Andrew Farnaby's complete ISS model located
# on bh's website (http://www.bobhundley.com/celestia/iss.html).
#
# "New ISS" is a modification of the model that can be found here:
# http://www.celestiamotherlode.net/catalog/show_addon_details.php?addon_id=1199
# the ISS model of June 2008 (with Kibo) by krisci3 (modified in order to work
# with JPG by Ulrich Dickmann, a.k.a. Adirondack)
# All required textures by Bob Hundley (converted from BMP to JPG by
# Ulrich Dickmann)
"ISS" "Sol/Earth"
{
Class "spacecraft"
Mesh "iss.cmod"
Radius 0.040
Beginning 2451138 # Zarya module launched 20 Nov 1998
EllipticalOrbit {
Period 0.064176392
SemiMajorAxis 6767
Eccentricity 0.0016886
Inclination 51.5684
AscendingNode 343.1518
ArgOfPericenter 346.2476
MeanAnomaly 13.8216
Epoch 2452028.18381755
}
UniformRotation
{
Inclination 51.5684
MeridianAngle -90
AscendingNode 343.1518
}
Orientation [ 90 0 0 1 ]
Albedo 0.10
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Some files were not shown because too many files have changed in this diff Show More