Compare commits

...

1134 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
Lars Rosenboom 18dd48db0e Update INSTALL.md
freetype was missing in the list of "required packages" on macOS (tried to compile on 10.15.6 Catalina yesterday).
2020-08-03 09:53:21 +03:00
Levin Li 0d4cda24ed Add missing log level in DPRINTF 2020-08-02 19:32:21 +08:00
Hleb Valoshka 908f04d271 Make extinction distance dependent 2020-08-02 09:04:57 +03:00
Hleb Valoshka a8b609d75a Add extinction parameter for stars 2020-08-02 09:04:57 +03:00
Hleb Valoshka 1e95fdc777 Use Star::getApparentMagnitude instead of astro::absToAppMag 2020-08-02 09:04:57 +03:00
Levin Li f1517ee88d More fixes to is_directory check 2020-08-02 07:57:44 +08:00
SevenSpheres de411493c6 Add celestia-gaia-stardb 2020-08-01 10:06:17 +08:00
Hleb Valoshka 4abb9d2bb0 Add apparent extinction parameter for stars
Closes: #599
2020-07-26 18:39:06 +03:00
Hleb Valoshka 89991fb773 Natural order sorting for typed text completions 2020-07-26 11:14:04 +03:00
Hleb Valoshka d3e0912a71 Fix incorrectly calculated temperature for barycenter orbiting planets
Closes: #812
2020-07-26 08:31:03 +03:00
Hleb Valoshka 8946c34d7b Fix console up scroll 2020-07-25 09:41:21 +03:00
Hleb Valoshka 686d82e6c1 Replace fmt::fprintf with DPRINTF in albedo warning
Will restore in 1.8
2020-07-25 09:41:21 +03:00
Georgi ab63836de8 Update bg.po 2020-07-24 09:16:35 +03:00
Georgi 98f4ab83b8 Constellations into Bulgarian language 2020-07-24 09:16:35 +03:00
Levin Li 68a741d668 Fix console display with hidpi 2020-07-23 14:38:52 +08:00
Hleb Valoshka 6f0d9226a5 Calculate temperature for planets orbiting barycenters
Closes: #674
2020-07-23 09:36:29 +03:00
Hleb Valoshka 15ce6b1c91 Prefer asteroids over moons when getting orbit classification
Closes: #512
2020-07-23 09:36:10 +03:00
Hleb Valoshka 9c78f9c705 Allow to skip files in "extras"
Closes: #416
2020-07-22 09:04:08 +03:00
Hleb Valoshka 3fc58d3c55 Allow OrbitColor overriding for reference points
Closes: #805
2020-07-21 14:39:20 +03:00
Hleb Valoshka 8cec287e10 Sync turkish and chinese translations with transifex 2020-07-19 18:24:09 +03:00
Hleb Valoshka 84835d1cf6 Update lithuanian translation based on #801 2020-07-19 18:24:09 +03:00
Levin Li 96165c1153 msgmerge 2020-07-15 19:37:54 +08:00
Levin Li e90a3ea8ec Update ja.po 2020-07-15 19:37:54 +08:00
Hleb Valoshka e5f662ef65 Update translation template 2020-07-14 19:22:01 +03:00
Hleb Valoshka e6d3836e15 Extract names from dwarfplanets.ssc and minormoons.ssc 2020-07-14 19:22:01 +03:00
Hleb Valoshka 82e61060c5 Take loader initialization out of loop 2020-07-13 11:24:14 +03:00
Hleb Valoshka 219678fa98 Sort extras entries before loading 2020-07-13 11:24:14 +03:00
Hleb Valoshka 39d62659f9 Fix build failures reported by munix9 2020-07-13 11:23:50 +03:00
Hleb Valoshka a0f6a2c1ff Don't build static archives
1) We don't need them
2) There are issues with MinGW as CMake adds *.a together with *.so to
linker, so it's unable to resolve proper source of exported functions
2020-07-12 10:41:53 +03:00
Hleb Valoshka 0eda63121c Provide common celestia library instead of linking it to all frontends 2020-07-12 10:41:53 +03:00
Hleb Valoshka d7257adacc Don't distribute fonts with debian package, use fonts-dejavu-core package 2020-07-12 10:41:53 +03:00
Hleb Valoshka 4d911e41a6 Don't install legacy *.txf fonts 2020-07-12 10:41:53 +03:00
Hleb Valoshka ddbe9ddd1d Refactor astro.*/url.* to remove extern global variables 2020-07-12 10:41:53 +03:00
Hleb Valoshka 41f6b95c72 Add state tracking for depth 2020-07-08 15:09:18 +03:00
Hleb Valoshka e2bbd838a5 Add state tracking for blending 2020-07-08 15:09:18 +03:00
Hleb Valoshka 0811e7c350 Remove make_shared and make_unique to keep single style 2020-07-07 08:15:18 +03:00
Levin Li 7c81df8850 Fix crash due to init of TwoVectorFrame 2020-07-06 08:24:59 +08:00
Levin Li 06c688ad40 Larger star on hidpi screens 2020-07-04 19:39:37 +08:00
Levin Li c8338ea91f Fix point sso rendering on macOS 2020-07-01 21:43:53 +08:00
Hleb Valoshka 9e956abe3d Remove support for legacy TXF fonts 2020-06-24 17:14:31 +03:00
Levin Li 56ac73be36 Replace is_directory checking method 2020-06-23 21:13:12 +08:00
Hleb Valoshka 0754b85ee1 Add `scroll` method for Console 2020-06-23 14:41:40 +03:00
Hleb Valoshka ce533c9cc1 Make planet to point transition less ugly 2020-06-22 21:25:44 +03:00
unknown 94cd51ac64 Replace LF with CRLF for render info on Windows 2020-06-22 17:27:10 +08:00
Hleb Valoshka 4fd0562386 [win] promote warning C4316 to an error
...to prevent program abnormal termination if classes with members of
Eigen::* types are misaligned in memory
2020-06-22 08:24:10 +03:00
Hleb Valoshka 5b7ad7f9ca Properly align classes with members of Eigen::* type 2020-06-22 08:24:10 +03:00
Hleb Valoshka bd3cd7cc06 Provide win32 builds with debug information enabled 2020-06-22 08:24:10 +03:00
Levin Li 1a29294772 Check path empty before check is_directory 2020-06-22 08:29:42 +08:00
unknown 10e25e808d Do not call bind_text_domain_codeset 2020-06-21 23:35:51 +08:00
unknown 313f762a80 Add native font control to dialogs 2020-06-21 23:35:51 +08:00
unknown 852b696ea2 Fix crash on eclipse finder 2020-06-21 23:35:51 +08:00
unknown b6334718ba Fix string cut off during conversion 2020-06-21 23:35:51 +08:00
Levin Li 14df4fc955 Support reading font face for a specific index from .cfg 2020-06-21 23:17:04 +08:00
Levin Li 9d4043b9fa Fix potential crash caused by substring index 2020-06-21 19:31:07 +08:00
Hleb Valoshka 1c668d3d7f Fix warnings reported by clang/gcc 2020-06-20 10:11:09 +03:00
Levin Li 0e1983f48a Update CMakeLists.txt 2020-06-20 14:00:32 +08:00
Levin Li dbe84c16c4 Update CMakeLists.txt
On Mac with Xcode, CMAKE_CXX_COMPILER_ID is AppleClang
2020-06-20 14:00:32 +08:00
Levin Li 42c7625bf6 Additional safe area inset change
Console background
2020-06-18 23:10:58 +08:00
Hleb Valoshka b18ad6189c Fix alignment of TextureFontPrivate
should fix SIGBUS / BUS_ADRALN on Android
2020-06-17 13:13:34 +03:00
Hleb Valoshka 5124962d07 [qt] Don't use deprecated features 2020-06-16 21:59:21 +03:00
Hleb Valoshka 9a91bfebdb Fix some warnings found by clang++ 2020-06-16 21:59:21 +03:00
Hleb Valoshka f0110afdd8 [cmake] Add useful policies 2020-06-16 21:59:21 +03:00
Hleb Valoshka 794e833a42 Remove legacy build files 2020-06-16 21:59:21 +03:00
Hleb Valoshka ea4f89113a Use flush() before rebuilding atlas
...to avoid garbled output due to changed texture
2020-06-16 21:59:21 +03:00
Levin Li 2228773646 Better support for HiDPI for text 2020-06-16 12:32:27 +08:00
Hleb Valoshka 4619ba1a1a Check angle between normal and a light when applying shadow
to avoid shadow projection on back side (if looking from the light)
2020-06-15 19:27:46 +03:00
Hleb Valoshka 6b8a1fe6b3 Fix flickering edges on iOS
Li: "rq * rq - qq might be negative, and produce nan in this case,
which got translated into the largest float point number to displayed
as white"
2020-06-15 19:27:46 +03:00
Hleb Valoshka c588f80824 OpenGL ES 2.0 initial support 2020-06-15 19:27:46 +03:00
Levin Li 20b066cbcd Fix garbled text 2020-06-15 23:41:40 +08:00
Levin Li 2ce81471f6 Set font with DPI value 2020-06-10 19:41:41 +08:00
Hleb Valoshka ba308e4f19 Fix typo 2020-06-10 09:06:57 +03:00
Hleb Valoshka 0b6940565a [celx] Update ColorAttributeIndex value in gl.Color
...to fix font colors
2020-06-09 21:28:37 +03:00
Hleb Valoshka 457fcc1bac [celx] Return text width from font:render
...instead of updating ModelView matrix, fixes text rendering in LUT5
2020-06-09 21:28:37 +03:00
Hleb Valoshka a33e24914b [celx] Add method celestia:version() 2020-06-09 21:28:37 +03:00
Hleb Valoshka d9243202fa [celx] Add method font:unbind() 2020-06-09 21:28:37 +03:00
Hleb Valoshka e9c7de007a Add missing Overlay::beginText/endText 2020-06-09 13:53:34 +03:00
Levin Li 0110862f27 Allow to change font after initialization 2020-06-08 18:19:35 +08:00
Levin Li a0eb4038f1 Support safe area insets 2020-06-06 09:12:07 +08:00
Hleb Valoshka 4731334605 Small optimization 2020-06-01 10:36:42 +03:00
Hleb Valoshka e8f813ab38 Round label position to decreate jittering 2020-06-01 10:36:42 +03:00
Hleb Valoshka 29cc9b0ccf Revert "Decrease annotations jittering"
This reverts commit c09672bab3.
2020-06-01 10:36:42 +03:00
Hleb Valoshka ec41cfde60 Refactor TextureFont::render()
1. Don't update ModelView Matrix in TextureFont::render()
  2. Remove variants without offset
2020-06-01 10:35:42 +03:00
Hleb Valoshka 7a062af1ec Optimize sphere rendering using degenerate triangles
Total time to render a 640x480 frame drops from 6.8 ms (6.2 the best case)
to 2.7 ms (2.8 the worst case) (tested on Intel UHD Graphics 620)
2020-05-26 16:09:08 +03:00
Hleb Valoshka cdb7529563 Update translations 2020-05-22 13:33:11 +03:00
Hleb Valoshka c40b186eba Increase galaxy memory chunk to decrease number of draw calls
Total number of draw call goes down from ~7k to ~2k on initial scene
2020-05-22 09:58:42 +03:00
Hleb Valoshka 6b5a004008 Unbind font before restoring matrices in console
Closes: #743
2020-05-18 19:40:00 +03:00
Hleb Valoshka 9966d759c9 Optimize font rendering 2020-05-17 18:40:57 +03:00
Levin Li 91b2cf32eb Update .travis.yml
Update to Xcode 11.4 and use current version of fmt
2020-05-13 08:48:18 +08:00
Hleb Valoshka 54da875bf8 [sdl] Initial implementation of a basic SDL interface 2020-05-12 18:26:27 +03:00
Hleb Valoshka 9863f8bea9 Remove unneeded fixed pipeline wrappers 2020-05-12 15:59:56 +03:00
Hleb Valoshka 1fb1f2de91 Replace fixed function GL code with GL ES compatible one 2020-05-12 15:59:56 +03:00
Hleb Valoshka e9282b9d6d Refactor console and overlay to avoid GL matrices usage 2020-05-12 15:25:52 +03:00
LukeCEL d42862ef84 [tools] Implement spherical option for new star database format in startextdump 2020-05-11 08:18:29 +03:00
Hleb Valoshka a8b6ed4b80 Partially revert 31f28f6 to fix selection pointer rendering 2020-05-07 20:38:55 +03:00
Hleb Valoshka 22c080901b [tools] Don't allocate file streams on the heap 2020-05-07 20:37:26 +03:00
Hleb Valoshka fd79dee429 [tools] Don't create ofstream instances on the heap
Closes: #722
2020-05-06 21:55:02 +03:00
Hleb Valoshka 75922bd0c7 Use glBufferSubData instead of glMapBuffer in CurvePlot 2020-05-06 16:20:44 +03:00
Hleb Valoshka 9abfb5c951 LODSphereMesh compatibility with OpenGL ES and cleanup
Important points:
 * Use glBufferSubData instead of glMapBuffer, because
   - the former is usually faster
   - the latter is not supported by OpenGL ES 2
 * Always use VBO, it should be faster in this usage pattern
 * Remove debug code, I doubt we will ever use it
2020-05-06 16:20:27 +03:00
Levin Li 6d1616c2ca Update .gitignore
ignore auto-generated .DS_Store on Mac
2020-05-06 13:58:21 +08:00
Hleb Valoshka c5e0697a6c [cmake] restore compatibility with older cmake 2020-05-05 16:51:57 +03:00
Hleb Valoshka 7e499f8fd9 Add FramebufferObject::isSupported() 2020-05-05 16:51:57 +03:00
Hleb Valoshka a75312e748 Remove EXT/ARB suffixes
CubeMaps & BGR(A) are core feature in 2.1

FBO variants are handled by libepoxy
2020-05-05 16:51:57 +03:00
Hleb Valoshka ae27c1a1b0 Drop GLEW support 2020-05-05 16:51:57 +03:00
Hleb Valoshka b86c4aba4e Allow absolute paths for fonts 2020-05-05 13:45:28 +03:00
Hleb Valoshka 541e9d78b3 Use custom RenderContext to create shadow map 2020-05-01 23:31:25 +03:00
Hleb Valoshka c26faf70e2 Remove "simple" shaders 2020-04-30 10:23:19 +03:00
Hleb Valoshka daf34b5656 Port to "unlit" lighting model 2020-04-30 10:23:19 +03:00
Hleb Valoshka b781d7a7c8 Add "unlit" shader lighting model 2020-04-30 10:23:19 +03:00
Hleb Valoshka 7d81d26112 Add stellar class WO 2020-04-27 11:49:03 +03:00
Hleb Valoshka 5c6715d148 Refactor a few methods to make them more readable 2020-04-24 09:54:19 +03:00
Hleb Valoshka 7287fb0925 Use already calculated variable 2020-04-24 09:54:19 +03:00
Hleb Valoshka 31f28f6771 Make model & projection matrices float and change their initialization 2020-04-24 09:54:19 +03:00
Hleb Valoshka b651d31928 Change location of some code parts 2020-04-24 09:54:19 +03:00
Hleb Valoshka 1cf5c868cf Remove dead code 2020-04-24 09:54:19 +03:00
Hleb Valoshka b4bab385a0 Use private method instead of passing camera orientation to private methods 2020-04-24 09:54:19 +03:00
Hleb Valoshka 728b384a70 Make smooth line control function private 2020-04-24 09:54:19 +03:00
Hleb Valoshka 898b19a3a6 Fix color of globular markers 2020-04-24 09:54:19 +03:00
Hleb Valoshka 83f1b90397 Move solar system sbjects rendering to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka 6be2deb920 Rename renderLocations to locationsToAnnotations 2020-04-24 09:54:19 +03:00
Hleb Valoshka 0653b81762 Move depth partitioning to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka 6b8e3c864a Move eclipsed star exposure correction to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka dfd315ecc7 Move renderList culling to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka b30e12cb87 Move magnitude correction inside atmosphere to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka f8324ecd93 Move near systems lists building to own subroutine 2020-04-24 09:54:19 +03:00
Hleb Valoshka 4d13a302b6 Move DSORenderer to its own files 2020-04-24 09:54:19 +03:00
Hleb Valoshka 47b123b183 Optimize annotations rendering using a precomputed projection matrix 2020-04-24 09:54:19 +03:00
Hleb Valoshka c09672bab3 Decrease annotations jittering 2020-04-24 09:54:19 +03:00
Hleb Valoshka 9f371f457b Refactor annotations rendering 2020-04-24 09:54:19 +03:00
Hleb Valoshka f32e8af444 Refactor markers and selection cursor rendering 2020-04-24 09:54:19 +03:00
Hleb Valoshka 53fee32967 Make AtmosphereExtinctionThreshold float constexpr 2020-04-24 09:54:19 +03:00
Hleb Valoshka 4b6062838b Cleanup renderFlags definitions 2020-04-24 09:54:19 +03:00
Hleb Valoshka 97a2ae6330 GL_QUAD_STRIP -> GL_TRIANGLE_STRIP 2020-04-24 09:54:19 +03:00
Hleb Valoshka a7776ccfff Remove polygon mode modification in comet rendering code 2020-04-24 09:54:19 +03:00
Hleb Valoshka d510b2bf6d More methods to work with Color 2020-04-24 09:54:19 +03:00
Hleb Valoshka 21754e0946 Add "_deg" literal
Instead of degToRad(60.0) we can use 60.0_deg
2020-04-24 09:54:19 +03:00
Hleb Valoshka 5c4f6aae87 Update information shown in "OpenGL Info" window 2020-04-19 20:40:28 +03:00
Hleb Valoshka 91131a29cb Remove CustomTemplate from Globulars
Closes: #697
2020-04-14 21:17:45 +03:00
Hleb Valoshka 72bf923741 Better handle libintl dependencies 2020-04-13 09:38:48 +03:00
Hleb Valoshka 91c3e618c2 [travis] pin fmt version 6.1.2 to workaroud build failure
See https://github.com/fmtlib/fmt/issues/1631 for more information.
2020-04-13 13:39:28 +08:00
Levin Li 65541e2e17 Update AUTHORS 2020-04-11 22:03:43 +08:00
Levin Li c6a1b75dcf Update INSTALL.md, rules, CMakeLists.txt 2020-04-11 22:03:24 +08:00
Hleb Valoshka b17d70bcb4 Use glVertexPointer instead of glVertexAttribPointer(0) 2020-04-10 12:22:28 +03:00
Hleb Valoshka 7e5965d437 Remove vsync support
# X11 only
# Basically useless with double buffering
2020-04-10 12:22:28 +03:00
Hleb Valoshka 40d77e41af Another cleanup session in render.cpp
... those things were used in old render paths only
2020-04-10 12:22:28 +03:00
Hleb Valoshka 25c4b50ddf Show planet ring by default 2020-04-10 12:22:28 +03:00
Hleb Valoshka ec1e81e6be Update .gitignore 2020-04-10 12:22:28 +03:00
Hleb Valoshka ef74883114 Set ios::binary for xyzvbin files 2020-04-09 13:43:52 +03:00
Hleb Valoshka 359ee75e81 Remove unused deprecated parameter 2020-04-06 20:30:46 +03:00
Hleb Valoshka 3599f14e12 Restore support for BlendTexture property
Closes: #602
2020-04-06 20:30:46 +03:00
Hleb Valoshka 845c1a5454 Fix keys compare in ShaderManager 2020-04-06 20:30:46 +03:00
Hleb Valoshka 96feeceae4 Add RingRenderData to hide implementation specific data 2020-04-05 13:21:50 +03:00
Hleb Valoshka 64ac62d06d Remove const and inline attribures in Overlay 2020-04-05 13:21:50 +03:00
Hleb Valoshka e5d54df6bb Initial implementation of self shadowing
Known bugs and limitations:
  * Only the 1st light source casts shadows.
  * Thin objects have incorrect shadows, see ISS.
2020-04-03 11:31:09 +03:00
SevenSpheres 9413154ec5 Update author list 2020-04-01 11:19:23 +03:00
Hleb Valoshka 1ca9db3212 Fix some warnings reported by msvc
1) warning C4390: ';': empty controlled statement found; is this the intent?
2) warning C4305: 'argument': truncation from 'double' to 'float'
2020-03-29 17:58:49 +03:00
Hleb Valoshka 04c187d776 [qt] Don't use deprecated Qt features 2020-03-29 17:58:49 +03:00
Hleb Valoshka a325973907 Install data files from git submodule 2020-03-29 09:12:13 +03:00
Hleb Valoshka aa03364c90 [cmake] don't install data files 2020-03-29 09:12:13 +03:00
Hleb Valoshka e336d452fa deb: remove celestia-data package 2020-03-29 09:12:13 +03:00
Hleb Valoshka 8bb74a6ef3 [win32] Fix possible failure if config was not read 2020-03-26 11:24:56 +03:00
Hleb Valoshka bd7f9ebc9b Use libepoxy instead of GLEW
Unlike GLEW libepoxy supports OpenGL ES and better handles cases with
functions provided by different extensions, e.g. the same functions
provided by vendor/EXT/ARB/core.
2020-03-26 11:24:56 +03:00
Hleb Valoshka 15bf42104a Use core/FBO function to generate mipmaps instead of glu 2020-03-23 09:27:10 +03:00
munix9 b83fc8a037 Update openSUSE/AppImage infos 2020-03-21 17:31:36 +03:00
munix9 846e0270d7 Enable TTF support for Debian/Ubuntu builds 2020-03-21 17:10:57 +03:00
Hleb Valoshka 31b98ec657 Add DejaVu fonts and use them by default 2020-03-21 13:21:03 +03:00
Hleb Valoshka b26777dc8c Compute shader variables inside main
Fixes shader compilation with gl4es translation layer
2020-03-17 12:24:01 +03:00
Hleb Valoshka df508a0c59 Make global/static VO class instances again
Closes: #659
2020-03-16 19:31:25 +03:00
pirogronian f75f86436a Use find method in lua getstar and getdso. 2020-03-13 12:43:16 +01:00
Hleb Valoshka 91c09087f6 Use GL3/GLES compatible particle rendering
Closes: #549
2020-03-11 01:20:17 +03:00
Hleb Valoshka 643c705357 Fix VertexObject destruction 2020-03-07 15:40:39 +03:00
Hleb Valoshka f67b331f02 Show error if an incorrect URL passed to CelestiaCore::goToUrl 2020-03-07 15:40:39 +03:00
Hleb Valoshka 154c06e0a7 Fix failure if an incorrect URL is pasted
Closes: #637

+ small code cleanup
2020-03-07 15:40:39 +03:00
Hleb Valoshka 815c0e46a4 Initial unit tests implementation 2020-03-07 11:05:35 +03:00
Hleb Valoshka b9a4516534 Move test data and scripts to test directory 2020-03-07 11:05:35 +03:00
SevenSpheres 8efb8a2204 Add newlines in solarsys.cpp 2020-03-07 11:04:35 +03:00
pirogronian e8d0e4d1d7 Move blockarray to celutil 2020-03-06 20:47:42 +01:00
pirogronian 035aa30ae5 Replace generic catalog type and related minor polishing. 2020-03-06 18:11:53 +01:00
pirogronian 1ebc427f41 Transform CatEntry into AstroObject with minimal common indexing rountines. 2020-03-06 18:11:53 +01:00
Hleb Valoshka 377d620d5b Extract FramebufferObject to its own file 2020-03-04 19:52:55 +03:00
Hleb Valoshka 6eaa915873 Don't abort if starnames.dat has not been loaded
Closes: #625
2020-03-04 19:52:28 +03:00
Hleb Valoshka 50f15ff5cd [debian] Fix git commit passed to cmake 2020-03-04 19:52:11 +03:00
Hleb Valoshka 9e433e6cd8 Build configuration cleanup 2020-03-03 20:04:55 +03:00
Li Linfeng c5d1f58528 Natural sort based on numeric values in QT 2020-03-01 18:19:06 +08:00
Li Linfeng b2e54e77b3 Fix a bug where shader might not compile
it's discovered while using gl4es shim, the operands should be of the same value type
2020-03-01 17:37:18 +08:00
Li Linfeng fef8d5f153 Update .travis.yml 2020-03-01 17:09:55 +08:00
Hleb Valoshka ec076eb582 [win32] remove uneeded menu separators 2020-02-20 18:44:58 +03:00
Hleb Valoshka f8831d4d2e Common OpenGL information code
Closes: #609
2020-02-18 15:13:06 +03:00
Hleb Valoshka fe35e8e2bd Use Color::parse in AssociativeArray::getColor 2020-02-17 19:52:44 +03:00
Hleb Valoshka 3604152867 Make Color constructors constexpr 2020-02-17 19:52:44 +03:00
Hleb Valoshka 073088e869 Add Color::data() method returning data as byte[4] 2020-02-17 19:52:44 +03:00
Hleb Valoshka 91166938d7 Disable unused version of ReplaceGreekLetterAbbr
It requires additional work to match ReplaceGreekLetterAbbr(std::string)
behaviour
2020-02-17 19:52:29 +03:00
Hleb Valoshka 3fb8fad9cf Convert more digits to superscripts in Bayer designations
Closes: #605
2020-02-17 19:52:29 +03:00
Hleb Valoshka e625496059 [qt] Pass '[' and ']' keys to search console
Closes: #526
2020-02-16 11:05:32 +03:00
Hleb Valoshka 8376232f1c [windows] Fix string conversion functions 2020-02-16 11:05:17 +03:00
Hleb Valoshka d41f4ba85d add missing gettext.h includes in gtk and glut frontends 2020-02-15 16:51:08 +03:00
Hleb Valoshka 46dc8a7216 [appveyor] fix build with current VM image 2020-02-15 00:20:13 +03:00
Hleb Valoshka fb4bede3d1 Allow building without NLS 2020-02-15 00:20:13 +03:00
SevenSpheres 1468a20d99 Add GitHub-related files 2020-02-12 11:24:21 +03:00
Dan Church 5df1bebb66 Fix missing header (GCC 4)
`clog` is no longer a built-in and requires iostream.
2020-02-11 20:42:38 +03:00
Hleb Valoshka 4a38917e08 Split parser.* into hash.*, value.* and parser.* 2020-02-07 23:15:43 +03:00
Hleb Valoshka 4598c3cf62 Fix and enable structs in shaders 2020-01-31 20:30:38 +03:00
Hleb Valoshka 6969373ec4 Add and use time-related helper methods 2020-01-25 11:50:28 +03:00
Lars Næsbye Christensen bf1b75106a removed INSTALL text file 2020-01-25 11:02:09 +08:00
Lars Næsbye Christensen d177fac61d changed link from INSTALL to INSTALL.md 2020-01-25 11:02:09 +08:00
Lars Næsbye Christensen 206e2c0aec add Markdown version of INSTALL 2020-01-25 11:02:09 +08:00
Hleb Valoshka db90b02646 [qt] Dump more technical information 2020-01-23 19:54:40 +03:00
Hleb Valoshka e7a0db7c4f [ci] pack windows artifacts 2020-01-20 19:33:35 +03:00
Hleb Valoshka 908daf95cf Tiny shader optimization 2020-01-12 14:56:15 +03:00
Hleb Valoshka 87a551ede7 Fix number of bits used for shadows
Fixes red bodies as reported in #565, and possibly #583
2020-01-12 14:56:15 +03:00
Li Linfeng bfc8f4b4d9 Add openclusters.dsc to CMakeLists.txt 2020-01-12 11:53:12 +03:00
SevenSpheres 758dd43f25 Add openclusters.dsc
Credit to Andrew Tribick
2020-01-11 18:59:15 +03:00
Hleb Valoshka 7f0513e3d3 Fix scripted orbits and rotations (Closes: #576) 2020-01-09 19:11:07 +03:00
SevenSpheres fb8544806c Update README* 2020-01-02 12:14:00 +08:00
Lars Næsbye Christensen 46a7bee657 add change directory command; fix typo 2019-12-30 00:39:05 +03:00
Hleb Valoshka 739f71cd1c Cleanup includes a little bit 2019-12-21 19:16:39 +03:00
Hleb Valoshka 26063bf3a6 Use shaders to draw fonts 2019-12-21 19:16:39 +03:00
Hleb Valoshka 716376c807 Update INSTALL & README* files 2019-12-19 18:41:21 +03:00
SevenSpheres 2cd95ac2e7 Update temperatures for cool stars 2019-12-16 19:11:22 +03:00
Hleb Valoshka 705c383b9f Fix VBO data type
GL_DYNAMIC_DRAW == update occasionally
GL_STREAM_DRAW == update on every draw
2019-12-13 20:31:17 +03:00
Hleb Valoshka ad2de6b6a5 [tools,qt] Replace deprecated Qt methods 2019-12-06 10:55:14 +03:00
Hleb Valoshka bcced3c103 [win32] Use ASCII function version explicitly 2019-12-06 10:55:14 +03:00
Hleb Valoshka 754d149b3a Fix includes in bigfix.cpp 2019-12-06 10:55:14 +03:00
Hleb Valoshka 7b592b4eda Remove copy constructor & operator= in LuaHook
Because of member of std::unique_ptr type LuaHook can't be copied
2019-12-06 10:55:14 +03:00
Hleb Valoshka cb6162f4aa Move markerVO from Renderer to glmarker.cpp
As it's a common static buffer
2019-12-06 10:55:14 +03:00
Hleb Valoshka f8a4d69491 Remove dead code from renderer 2019-12-06 10:55:14 +03:00
Hleb Valoshka bb1f3aefe5 Add support for body mass units (Closes: #513) 2019-12-05 11:37:45 +03:00
Hleb Valoshka 99c3e50a18 Fix distance display for m and km units 2019-12-05 11:37:45 +03:00
Hleb Valoshka 971d203ecc Fix copy-paste error 2019-12-05 11:37:45 +03:00
Hleb Valoshka 32eaa68d0a Remove fixed pipeline calls 2019-12-05 11:37:33 +03:00
LukeCEL 18856700a9 Overhaul of nearstars.stc
Changes include:
- Updated distances for most stars, mostly Gaia DR2
- Updated parameters, generally from SIMBAD or individual sources
- New orbital elements for many star systems
- Includes spectral type Y, not included in Celestia 1.6.1
- Changed Gliese/GJ naming scheme: 1 to 999 is Gliese; 1000 above is GJ
- Removed star systems that are known to not be within 25 ly
- Removed remaining textures
The file still retains the overall structure, as well as part of the heading.
2019-12-04 10:43:22 +03:00
Hleb Valoshka 3e133ba119 Refactor boundaries rendering to have common and rendering parts 2019-12-04 10:42:10 +03:00
Hleb Valoshka c21934aee3 Refactor asterisms rendering to have common and rendering parts 2019-12-04 10:42:10 +03:00
Hleb Valoshka 8778c07ccb Refactor render.cpp and extract some classes to own files 2019-12-03 12:13:34 +03:00
SevenSpheres 7f052a65e4 Delete NEWS 2019-12-02 17:54:46 +08:00
Hleb Valoshka e4e1a0ddc5 Remove deprecated C++ features
std::unary_function & std::binary_function were deprecated in C++11
and removed in C++17
2019-11-30 22:45:25 +03:00
Li Linfeng 7a5f9161d6 Update INSTALL 2019-11-29 16:34:35 +08:00
Hleb Valoshka 539f80367f Use shaders to draw object as point (dumb version) 2019-11-28 17:04:36 +03:00
Hleb Valoshka a4af9e3e05 Use shaders to draw star as point 2019-11-28 14:37:27 +03:00
Paolo Pantò f8c254c634 [qt] Process event sent before the event loop started 2019-11-28 14:37:05 +03:00
Hleb Valoshka af83ddae7f [support,win] Build with TTF support 2019-11-28 14:36:49 +03:00
Hleb Valoshka 34882294ab Update appveyor.yaml
* use vcpkg provided cspice
 * fix build with TTF
 * don't upload artifacts to bintray (doesn't work and useless as appveyor
   host them itself)
2019-11-28 14:36:49 +03:00
Hleb Valoshka 667577983c Provide clamp only for C++ < 17 2019-11-28 14:36:19 +03:00
Hleb Valoshka 5d4b23f241 Use shaders in sky grid drawing 2019-11-25 15:11:37 +03:00
Hleb Valoshka 8005ac1577 Add shaders for planetographic grid 2019-11-25 10:51:02 +03:00
Hleb Valoshka 7025800e98 Fix typo 2019-11-25 10:50:46 +03:00
Hleb Valoshka 39eb715f98 Reimplement galaxies using shaders 2019-11-25 10:50:46 +03:00
Li Linfeng 02bcf41173 do not use wordexp on unsupported systems 2019-11-22 21:16:19 +08:00
Li Linfeng 741f326eb4 Update .travis.yml 2019-11-22 19:11:33 +08:00
Hleb Valoshka 6f6b3998d3 Use getAspectRatio() where appropriate 2019-11-21 11:50:13 +03:00
Hleb Valoshka 72e6d5bb05 Replace gluOrtho2D with own implementation 2019-11-21 11:50:13 +03:00
Hleb Valoshka bf2f4cb236 Replace gluPerspective with own implementation 2019-11-21 11:50:13 +03:00
Hleb Valoshka 6b954fd7af Replace gluProject with own implementation 2019-11-21 11:50:13 +03:00
SevenSpheres 32ce75e858 Increase star render distance to 1 Gly 2019-11-21 09:01:56 +08:00
Hleb Valoshka 48824889fa Partially revert "Remove fixed pipeline calls in glsl-based code"
Without this chunk garbage is shown on screen when rendering models

This reverts commit e363e9102f.
2019-11-20 17:14:34 +03:00
Hleb Valoshka 682aef8422 Initial implementation for TrueType fonts support 2019-11-20 12:16:15 +03:00
Hleb Valoshka 6e871064e4 Replace deprecated QDesktop::numScreens() call 2019-11-20 12:15:27 +03:00
Li Linfeng c7432f10b2 remove redundant lookat 2019-11-17 20:43:26 +08:00
SevenSpheres 11c7374d17 Remove old redundant models 2019-11-16 12:10:11 +03:00
Hleb Valoshka 6be3afb1e6 Move glut frontend to its own subdir 2019-11-15 21:53:57 +03:00
Hleb Valoshka fbd83e5587 Use shaders to draw orbits 2019-11-15 11:10:21 +03:00
Hleb Valoshka 5af66f9ab2 Reimplement comets using glsl (part I)
TODO: 1) use VertexObject 2) possibly offload more computation to GPU
2019-11-15 11:10:21 +03:00
Hleb Valoshka 702531879c Port particles renderer to use shaders (without VBO yet) 2019-11-15 11:10:21 +03:00
Hleb Valoshka b0ec6d6fc2 Change appveyor image to fix CI failures 2019-11-15 11:09:57 +03:00
SevenSpheres 0cfd894507 Update README.md
Fix display of Celestia logo
2019-11-12 09:20:21 +08:00
Hleb Valoshka b14f4f8b4b Tiny cleanup in renderer 2019-11-11 13:48:37 +03:00
Hleb Valoshka e363e9102f Remove fixed pipeline calls in glsl-based code 2019-11-11 13:48:37 +03:00
Hleb Valoshka 73bcba8fdb Draw unlit clouds using shaders 2019-11-11 13:48:37 +03:00
Hleb Valoshka 4d815ad44e Draw unlit ellipsoid atmosphere using shaders 2019-11-11 13:48:37 +03:00
Hleb Valoshka 54031bba8c Reimplement unlit sphere with shaders 2019-11-11 13:48:37 +03:00
Hleb Valoshka add171b6fa Fix error reporting when shader linking failed 2019-11-11 13:48:37 +03:00
Anthony-B-Russo10 02f8bff902 Added the Archive Repository 2019-11-10 10:40:48 +03:00
Hleb Valoshka b259987e95 Move ellipsoidTangent to mathlib.h 2019-11-09 15:08:03 +03:00
Hleb Valoshka fecd61fcb1 Render crosshair using glsl and common BO 2019-11-09 15:08:03 +03:00
Hleb Valoshka 3f757998f4 Draw ecliptic using glsl and common BO 2019-11-09 15:08:03 +03:00
Hleb Valoshka ae02fe2c38 Refactor selection pointer to use glsl and common BO 2019-11-09 15:08:03 +03:00
Hleb Valoshka 08907c5883 Tiny refactoring for simplify code 2019-11-09 15:08:03 +03:00
Hleb Valoshka 0d5e867219 Add Renderer::getAspectRatio() method 2019-11-09 15:08:03 +03:00
SevenSpheres 972267d69f Remove duplicate moons 2019-11-08 02:19:10 +03:00
Hleb Valoshka cf945d7b6e Show Reference Points labels (Closes: #489) 2019-11-06 12:33:52 +03:00
Hleb Valoshka 00ee0d4bcd [cmake] Update for vcpkg-provided cspice 2019-11-06 02:31:27 +03:00
Hleb Valoshka 16051ed90a [appveyor] disable cmake files dump on error 2019-11-04 15:29:07 +03:00
Hleb Valoshka 26f3a3b5a9 [appveyor] Add build artifacts 2019-11-04 15:29:07 +03:00
Hleb Valoshka 89e1b9c441 Revert "Initialize marker representations in constructor"
...because colors can be changed using celx

This reverts commit 2090a883d4.
2019-11-04 13:09:12 +03:00
Hleb Valoshka 0af14d4ca8 Add LOD for planet rings 2019-11-01 12:12:04 +03:00
Hleb Valoshka 9e9541ce1b Fix markers rendering in multiview mode (Closes: #486) 2019-10-30 09:53:11 +03:00
Hleb Valoshka 99b0acf556 Make Selection variables private again 2019-10-30 09:53:11 +03:00
Li Linfeng f8fcc4c0ae place config.h generation after mac version check 2019-10-29 21:53:28 +08:00
Li Linfeng 7f64139a53 disable c++fs prior to macOS 10.15 2019-10-29 17:44:35 +08:00
Luke McCrone f3edf65d77 Show dwarf planets and minor moons in right-click menu #459 (no pluto yet) 2019-10-28 12:18:52 +03:00
SevenSpheres f1a6af1ab5 Change dwarf planet label color 2019-10-27 12:29:39 +03:00
Hleb Valoshka 7c593f366f Fix compilation without CELX 2019-10-26 00:59:03 +03:00
Hleb Valoshka 7435f420dc Set Qt::AA_UseDesktopOpenGL before QCoreApplication creation (Closes: #407) 2019-10-26 00:58:47 +03:00
Hleb Valoshka b565806a43 Chage dwarf planet orbit and Pluton-Charon orbit colors (Closes: #463) 2019-10-25 21:14:03 +03:00
munix9 3ec9365891 Added missing tools in Debian config 2019-10-23 00:09:23 +03:00
Hleb Valoshka 8957e22472 Restore star orbits (Closes: #448)
Was broken by e73e366
2019-10-21 21:56:00 +03:00
Hleb Valoshka f84ca4277a Atmosphere tools modernization
scattersim works as in 1.6.x
scattertable generates broken dds files
2019-10-21 18:40:28 +03:00
Hleb Valoshka 6e90626feb Add a method to transform Ray3 with 4x4 matrix 2019-10-21 18:40:28 +03:00
Li Linfeng 5342437c79 fix space between star/dso name and description 2019-10-21 14:42:09 +08:00
SevenSpheres af44846991 README.md fixes
Fixed grammar, fixed line breaks, updated copyright year.
Moved 375gnu and pirogronian to authors, added Li Linfeng to authors, added Nils Larsson to contributors, added Selden to "documentation"
2019-10-19 20:08:07 +03:00
Hleb Valoshka 097d7113e2 Provide a common method to save screenshots 2019-10-19 17:47:31 +03:00
Hleb Valoshka 2c2a17aa0a Implementation of the new interface for legacy scripting 2019-10-19 13:17:32 +03:00
Hleb Valoshka dfd177ffc7 Implementation of the new interface for Lua scripting 2019-10-19 13:17:32 +03:00
Hleb Valoshka d93a1cdf03 Common new script interface 2019-10-19 13:17:32 +03:00
Hleb Valoshka 779ad3c5c1 [gtk] Remove copy of CelestiaCore::runScript (Closes: #456) 2019-10-19 13:17:32 +03:00
Hleb Valoshka 1ab6b27f3f [win32] Remove copy of CelestiaCore::runScript, part 2 2019-10-19 13:17:32 +03:00
Hleb Valoshka d63b65f83e [win32] Don't make splash top most 2019-10-19 12:59:50 +03:00
Hleb Valoshka b849e76bf3 [win32] Remove copy of CelestiaCore::runScript from win frontend 2019-10-19 12:01:40 +03:00
Hleb Valoshka 3cb4d3154d Make options maps common to all scripts 2019-10-18 12:13:48 +03:00
Hleb Valoshka 73ac1b85de Move execenv.h to celscript/common 2019-10-17 23:02:35 +03:00
Hleb Valoshka 6953eb7aa2 Use lua_getfield instead of helper getField 2019-10-17 23:02:35 +03:00
Hleb Valoshka 9401a4389e Move scripts to their own subdirectories 2019-10-17 21:21:12 +03:00
Li Linfeng 7cff1728a3 fix warnings 2019-10-14 17:41:03 +08:00
Hleb Valoshka f46c51d387 Fix duplicated english names (Closes: #441) 2019-10-12 19:02:57 +03:00
Hleb Valoshka 17db71b97f Remove hard-coded startup logo (Closes: #417) 2019-10-09 15:55:14 +03:00
Hleb Valoshka e3baaad767 Big common application code refactoring
* Allow to parse four element vectors
 * Allow colors defined in HTML notation (#rrggbbaa)
   in CEL scripts
 * Refactor Overlay::Rectangle to an independent class
 * Refactor CelestiaCore::OverlayImage to an independent class
 * Refactor CelestiaCore::View to an independent class
 * Rename Renderer::getScreenSize to getViewport
 * Add wrappers for scissors test and MSAA control
2019-10-09 15:55:14 +03:00
Hleb Valoshka 6e44de22f1 Fix home directory expansion in Windows 2019-10-09 15:55:14 +03:00
Hleb Valoshka 7fd01f38b0 Fix PVS Studio reported errors (Closes: #425) 2019-10-04 20:49:34 +03:00
Konstantin Podsvirov e9ae3959eb Update INSTALL
Fix mistake in tool name: vcpg -> vcpkg (missing k symbol)
2019-10-03 10:22:03 +03:00
Hleb Valoshka b469511ce3 Use bolometric luminosity to calculate comet's tail fading
Closes: #405
2019-09-20 00:01:19 +03:00
Hleb Valoshka 198e067f75 Add a method to get star's bolometric luminosity 2019-09-20 00:01:19 +03:00
Hleb Valoshka f371bd31c1 Update installation instructions 2019-09-13 20:35:45 +03:00
Paolo Pantò 1776830271 Extract git commit from a package version 2019-09-06 17:55:19 +03:00
Paolo Pantò 2b69c45efd Add MIME types handled by Celestia to *.desktop files 2019-09-06 17:55:19 +03:00
Hleb Valoshka 1f0ba55079 Fix dependencies to allow replacement of celestia-common-nonfree 2019-09-06 17:55:19 +03:00
Hleb Valoshka 35106691a1 Fix virtual texture loading and VT code tiny cleanup 2019-09-06 11:28:23 +03:00
Askaniy 31cc7363da Dwarf planets corrections
+ texture and oblateness of Ceres
2019-09-04 22:20:03 +03:00
pirogronian c0cc66e77d Common stuff for shared classes. 2019-09-03 22:03:04 +02:00
Li Linfeng 3a56afb24f update install and CI for mac 2019-09-03 23:30:26 +08:00
Hleb Valoshka 2dd0a996d7 Provide build files for Debian and derivatives 2019-09-03 18:17:34 +03:00
laikh 3019e497e9 Use Ctrl+C and Ctrl+V to handle both the console copy-and-paste and the URL copy-and-paste 2019-09-02 21:18:02 +02:00
laikh e2854c0698 Remove F5 F6 shortcuts for copy and paste to solve conflicts with setTargetSpeed 2019-09-02 21:18:02 +02:00
laikh 562dc24641 Fix debug compilation errors 2019-09-01 08:44:28 +08:00
Li Linfeng 9c371c891c define macros for print levels and avoid direct use of fmt::printf 2019-08-31 13:32:44 +08:00
Li Linfeng 56d2b8765a bring menu handler change to gtk/win 2019-08-30 20:57:07 +08:00
Li Linfeng eb51fa8228 adapt to context menu handler change 2019-08-30 20:57:07 +08:00
Li Linfeng c986cdebf9 use handler for context menu callback 2019-08-30 20:57:07 +08:00
Hleb Valoshka 2aa162f0bb [qt] Show more data about planets in infopanel 2019-08-29 12:56:58 +03:00
Hleb Valoshka 11897032d4 Fix some warnings 2019-08-27 23:54:27 +03:00
Hleb Valoshka 05faeee8a4 Mark overridden virtual function as "override" 2019-08-27 23:54:27 +03:00
Hleb Valoshka 6202c06869 [osx] Silence warnings about deprecated OpenGL 2019-08-27 23:54:27 +03:00
Hleb Valoshka efc4810104 Don't abort if extras directory doesn't exist (Closes: #376) 2019-08-27 23:43:46 +03:00
Li Linfeng 3a17adb08a Fix solar system browser item model 2019-08-27 22:45:39 +03:00
Hleb Valoshka bcce84601c [cmake] Link celcompat to celutil instead of celengine 2019-08-22 08:55:46 +08:00
Hleb Valoshka 4c20e54119 [cmake] define required macros for debug builds 2019-08-22 08:55:46 +08:00
Hleb Valoshka 0130655d87 [gtk] Don't call string() on strings 2019-08-22 08:55:46 +08:00
Hleb Valoshka ca39d82b09 Reimplement DebugPrint using variadic templates (Closes: #367) 2019-08-22 08:55:46 +08:00
Li Linfeng 71ca974838 Replace the apple macro in qt project 2019-08-21 11:59:40 +03:00
Li Linfeng c820617bb8 Use __APPLE__ in place of TARGET_OS_MAC 2019-08-20 10:19:42 +03:00
Hleb Valoshka e66cff9800 Update win32's view options dialog 2019-08-16 20:10:48 +03:00
Hleb Valoshka 96f8b4a6ee Add missing #ifdef CELX 2019-08-16 18:11:24 +03:00
Hleb Valoshka 48bef14233 Remove Directory class replaced with filesystem API 2019-08-16 18:11:24 +03:00
Hleb Valoshka b6b543438d Port to filesystem API 2019-08-16 18:11:24 +03:00
Hleb Valoshka ceaed57aa5 Add a minimal C++17-like filesystem library 2019-08-16 18:11:24 +03:00
Hleb Valoshka 6d81fc780a Add new and refactor existing char<->wchar routines for Win32 2019-08-16 18:11:24 +03:00
Hleb Valoshka f05679db8e Implement DPRINTF using fmt 2019-08-16 18:11:24 +03:00
laikh c17a717626 Add -D_ENABLE_EXTENDED_ALIGNED_STORAGE for MSVC to fix the build 2019-08-16 17:10:10 +03:00
pirogronian c3567d820c Replace refcounted objects with std::shared_ptr 2019-08-16 12:45:57 +03:00
Hleb Valoshka 2090a883d4 Initialize marker representations in constructor 2019-08-16 09:49:01 +03:00
Hleb Valoshka 1125957c83 Pass constant refs instead of objects to LookAt 2019-08-16 09:49:01 +03:00
Hleb Valoshka deb23a7b80 Add a ::Color -> cmod::Material::Color helper 2019-08-16 09:49:01 +03:00
Hleb Valoshka 8cf30873fd [gtk] Enable locales early
Based on a Debian's patch
2019-08-16 09:49:01 +03:00
Hleb Valoshka f0c568dbf3 Rename variable mips to mip to fix compilation on mips64
Based on the patch from Debian
2019-08-16 09:49:01 +03:00
Hleb Valoshka f8d3815a70 Move duplicated setVertexArrays to RenderContext 2019-08-16 09:49:01 +03:00
Hleb Valoshka 4d5f2d9c64 Convert raw pointers to std::unique_ptr in ModelGeometry 2019-08-16 09:49:01 +03:00
Li Linfeng 37cab4140b Use const char * on debug print 2019-08-16 09:39:03 +03:00
Hleb Valoshka f53f547dc3 Refactor compiler options definition 2019-08-13 11:25:15 +03:00
Hleb Valoshka 4fcfa1dfe3 Rename ODMenu.* to lowercase 2019-08-13 11:25:15 +03:00
Hleb Valoshka 4af3d88925 Fix compilation errors with mingw-w64 5.0.0 2019-08-13 11:25:15 +03:00
laikh cfdda11bf6 Move cmdparser.*, command.*, and execution.* from celengine to celestia, modify celephem to OBJECT library and merge the objects in the celengine library, fix Spice dependency 2019-08-13 11:24:37 +03:00
khlai a5fa3f5114 Add cmake debug flag to the INSTALL instruction for Mingw debug build 2019-08-12 17:26:07 +03:00
Li Linfeng 2c92aee13a Fix backspace on qt osx 2019-08-12 15:56:40 +03:00
khlai 7713f8b610 Update INSTALL instruction for Mingw debug build 2019-08-12 15:55:08 +03:00
dlshcbmuipmam 7e52983c19 Add instruction of installing luajit with vcpkg 2019-08-08 20:09:53 +03:00
dlshcbmuipmam c6d608b8a7 Add include/luajit as path suffix to FindLuaJIT.cmake 2019-08-08 20:09:53 +03:00
Li Linfeng 6617d94672 Remove unused code 2019-08-07 12:15:32 +03:00
Li Linfeng 8743edad9e Use relative path on tools 2019-08-07 12:15:32 +03:00
Li Linfeng 589face93e Use relative path for data and config on macOS platform 2019-08-07 12:15:32 +03:00
Li Linfeng 19d36c0d2d Setup macOS bundle for celestia-qt 2019-08-07 12:15:32 +03:00
U-DESKTOP-5KURQFU\dlshc ad8eda79f4 Fix MinGW build and add instruction 2019-08-07 12:14:42 +03:00
Luke McCrone 3bc970c780 279 - context menu entry "back to the star" (qt and gtk)
279 - cleanup as requested
2019-08-05 12:46:45 +03:00
dlshcbmuipmam 85fa5ddade Fix Lua Version Preprocessor Warning 2019-08-04 21:23:10 +03:00
Hleb Valoshka 204ba15f37 [qt] Use QStandardPaths to get data location (Closes: #335) 2019-08-03 17:34:48 +03:00
Hleb Valoshka 78bfe3e860 [appveyor] Use previous image 2019-08-03 16:32:18 +03:00
Gitea cfc225adc7 Refactor Overlay::rect() to use instead of direct GL calls 2019-08-02 14:34:25 +03:00
Hleb Valoshka 35b53b22d5 Refactor simple shader generation 2019-08-02 14:34:25 +03:00
Hleb Valoshka ba0b39fdff Fix overlay image replacement and style cleanups 2019-08-02 14:34:25 +03:00
Hleb Valoshka 9fe2198ebb Fix glGetError() call 2019-08-02 14:34:25 +03:00
Li Linfeng bd51baf8f9 Use lua version defined in lua.h 2019-07-30 14:30:17 +03:00
Hleb Valoshka e94842c945 Use XCode10.2 image in Travis 2019-07-25 17:54:05 +03:00
Li Linfeng e57f0ae304 Remove constexpr for pow and exp for clang 2019-07-21 19:42:07 +03:00
Hleb Valoshka edc4d240be [qt] QtEventFinder cleanup 2019-07-18 22:52:16 +03:00
Hleb Valoshka 24bce0bb82 [qt] Fix incorrect eclipse display time (Closes: #321) 2019-07-18 22:52:16 +03:00
Hleb Valoshka 7b095b8151 Reimplement globular clusters using GLSL 2019-07-10 23:43:15 +03:00
Hleb Valoshka 93c4a3b55c Add celmath::clamp(val, low, high) 2019-07-10 23:43:15 +03:00
Hleb Valoshka 74144a85bc Remove forgotten files for ancient hardware 2019-07-09 23:38:41 +03:00
Hleb Valoshka a93befe941 Remove uneeded #include "vecgl.h" 2019-07-09 23:38:41 +03:00
Hleb Valoshka de1a8d181e Remove unneeded celengine/celestia.h 2019-07-09 23:38:41 +03:00
Hleb Valoshka 7d4f03d5fb [win32] Add helper dlgCheck for 64-bit values
bad but working
2019-07-09 23:38:21 +03:00
Hleb Valoshka da32a3318c [cmake] Call configure_file after check_include_files 2019-07-09 00:53:22 +03:00
Hleb Valoshka 2250dd9c23 [win32] Update registry key, fix uint64_t saving 2019-07-09 00:53:04 +03:00
Hleb Valoshka e7aaee0ec8 Fading orbits in Win32 and Gtk2 frontends 2019-07-08 17:29:46 +03:00
Hleb Valoshka c07c36e70c [qt] Make DSO filter nonexclusive (replace QRadioButton with QCheckBox) 2019-07-08 17:19:21 +03:00
Hleb Valoshka 6295f4d1af [qt] Solar system filtering 2019-07-08 17:19:21 +03:00
Hleb Valoshka a1bdca280a Make VisibleRegion more GL2-friendly 2019-07-07 22:24:59 +03:00
Hleb Valoshka 96c22fbe8e Add simple shaders for color and texture 2019-07-07 22:24:59 +03:00
Hleb Valoshka a90570e36a Allow updates of VertexObject and mark some methods as noexcept 2019-07-07 22:24:59 +03:00
Hleb Valoshka 6712b90d84 Utility method to calculate memory size to store a container data 2019-07-07 22:24:59 +03:00
Hleb Valoshka 845990a91a Fix virtual methods definition for DSO, make some methods private 2019-07-07 12:10:21 +03:00
Hleb Valoshka a10da37741 Return correct type from DeepSkyObject::getRenderMask()
More correctly is to return Renderer::RenderFlags, but this require big
render.h refactoring.
2019-07-07 12:10:21 +03:00
fuse b11cd25553 Use vertex buffer when displaying orbits 2019-07-02 15:07:13 +03:00
Hleb Valoshka 5389cd7c4f Allow arbitrary attributes in VertexObject 2019-07-02 10:29:31 +03:00
Hleb Valoshka 239063306c Add a method to get arbitrary attribute location 2019-07-02 10:29:31 +03:00
Hleb Valoshka 5f9fa3c2d4 Add Mat3/4ShaderParameter classes 2019-07-02 10:29:31 +03:00
fuse 76252c86e5 Fix assert in Renderer::renderMarker 2019-06-28 17:30:59 +03:00
Hleb Valoshka 30c686c028 Markers reimplemented using modern GL 2019-06-25 23:03:30 +03:00
Hleb Valoshka 852874b32f Add frame capture function to Renderer 2019-06-24 23:58:30 +03:00
Hleb Valoshka ec7b1acec9 Update jpeg/png headers in imagecapture.cpp as in image.cpp 2019-06-24 23:58:30 +03:00
Hleb Valoshka dc457430dc Install GLSL shaders 2019-06-24 12:12:18 +03:00
Hleb Valoshka e9ef0f7e57 Port starfield to static shaders 2019-06-21 13:57:04 +03:00
Hleb Valoshka 9745b125f3 Support for static shaders in ShaderManager 2019-06-21 13:57:04 +03:00
Hleb Valoshka b09b48b1ab Disable GLContext usage as it does nothing now 2019-06-20 13:03:02 +03:00
Hleb Valoshka 0dbd19be9f Fix random abnormal termination when enabling RefAxes (Closes: #302) 2019-06-20 13:02:45 +03:00
Hleb Valoshka 2475a7f1b3 Make a few methods const 2019-06-20 13:02:27 +03:00
Hleb Valoshka e255a34c7a Initialize some variables 2019-06-20 13:02:27 +03:00
Hleb Valoshka c17493885f Fix memory leaks 2019-06-20 13:02:27 +03:00
Hleb Valoshka 0e2ee08c42 Use fmt::printf instead of iostreams 2019-06-20 13:02:27 +03:00
Hleb Valoshka 7a3cfbc320 Port axisarrow to VertexObject 2019-06-17 18:20:20 +03:00
Hleb Valoshka 6e35410715 Port asterisms to VertexObject 2019-06-17 18:20:20 +03:00
Hleb Valoshka b9575c70eb Port boundaries to VertexObject 2019-06-17 18:20:20 +03:00
Hleb Valoshka f300827de4 Add VBO/VAO wrapper class 2019-06-17 18:20:20 +03:00
Hleb Valoshka bb533bbbf7 Fix code guarded by #ifdef HDR 2019-06-17 18:19:56 +03:00
Hleb Valoshka c95fe7ee0f Fix bool usage in Body 2019-06-17 18:19:56 +03:00
pirogronian 9dbdf29c4a Fix typo in DSO octree debug macro. 2019-06-06 12:27:22 +02:00
Hleb Valoshka a401969268 [cmake] Disable GLUT frontend by default 2019-06-06 11:58:28 +03:00
Hleb Valoshka 9f6cdadee3 Drop support for ancient Lua 5.0 2019-06-06 11:58:28 +03:00
Hleb Valoshka b59a25508d [cmake] Fix USE_SPICE macro definition creation
Taken from https://build.opensuse.org/package/view_file/home:munix9:unstable/celestia/fix-USE_SPICE.patch?expand=1
2019-06-04 17:28:32 +03:00
Hleb Valoshka 6ff875dab3 [qt] Open wikibook instead of local manual
... as we don't have local manual

Based on https://build.opensuse.org/package/view_file/home:munix9:unstable/celestia/fix-manual-file-url.patch?expand=1
2019-06-04 17:27:56 +03:00
Hleb Valoshka d4ac931da9 Skip CI builds with Lua 5.2
basically 5.1 & 5.3 are enough
2019-05-31 11:15:30 +03:00
Hleb Valoshka b705597b9d Use LuaJIT on all platforms if available 2019-05-31 11:15:30 +03:00
Hleb Valoshka b10d6b04c4 Add CMake module for LuaJIT 2019-05-31 11:15:30 +03:00
Hleb Valoshka 1fe8dd37c9 Move Win32 definitions to the common location 2019-05-27 00:53:21 +03:00
Hleb Valoshka eb86cab106 Simplify the main CMakeLists.txt 2019-05-27 00:53:21 +03:00
Hleb Valoshka 2486554514 Explicitly load FPHSA in FindCspice.cmake 2019-05-27 00:53:21 +03:00
Hleb Valoshka 2b275cee37 Fix two MSVC C4305 warnings
double to float truncation
2019-05-20 10:48:04 +03:00
Hleb Valoshka f3a73dae71 Move math code into celmath namespace 2019-05-20 10:48:04 +03:00
Hleb Valoshka 440f34350c Remove celmath::log2 as it's defined in C++11 2019-05-20 10:48:04 +03:00
Hleb Valoshka 88fe409d21 Enable compilation with unsafe fast math option 2019-05-17 18:27:40 +03:00
Hleb Valoshka dc6e86edbf Remove old EclipseFinder API and cleanup 2019-05-06 23:08:28 +03:00
Hleb Valoshka 7472122e38 Port Win32 frontend to the new EF API 2019-05-06 23:08:28 +03:00
Hleb Valoshka 1d0b0abce0 Port Gtk+ frontend to the new EF API 2019-05-06 23:08:28 +03:00
Hleb Valoshka f031745020 Replace QtEclipseFinder with EclipseFinder 2019-05-06 23:08:28 +03:00
Hleb Valoshka ccb39d3342 Add new API to EclipseFinder 2019-05-06 23:08:28 +03:00
Hleb Valoshka 1af23318fd Remove a makefile superseded by cmake 2019-05-06 23:07:57 +03:00
Hleb Valoshka ad15f2ffa0 [cmake] Fix macro name in the error meesage 2019-05-06 23:07:57 +03:00
Hleb Valoshka 0972f8a269 Move src/buildstardb.cpp to src/tools/stardb and remove src/tools/buildstardb.cpp
The latter is an older version of the former
2019-05-06 23:07:57 +03:00
Hleb Valoshka a968fadb5f [cmake] Disable tools by default but enable in CI 2019-05-05 18:04:45 +03:00
Hleb Valoshka 407e669747 [cmake] Cleanup the main CMakeLists.txt 2019-05-05 18:04:45 +03:00
Hleb Valoshka d36e8bdeac Fix copy-paste error 2019-05-05 16:50:35 +03:00
Hleb Valoshka 242c5ad84d Fix build directory in VC++ 64 bit 2019-05-05 16:50:35 +03:00
Hleb Valoshka 06ca2c5fec Add scripts for manual building under windows 2019-05-03 14:24:56 +03:00
Hleb Valoshka 0a5840ca1c [docs] Update installation instructions 2019-05-03 14:24:56 +03:00
Hleb Valoshka 78641736fd Replace sscanf with C++11 methods where appropriate 2019-05-02 22:58:37 +03:00
pirogronian 226f1ee793 Additional code hide behind OCTREE_DEBUG flag. 2019-05-02 13:57:42 +02:00
pirogronian 29beca06ad Restrict feature do OCTREE_DEBUG flag + some polishing. 2019-05-02 13:57:42 +02:00
pirogronian b6f025abd3 Added debug octree stats, visible together with fps counter. 2019-05-02 13:57:42 +02:00
Hleb Valoshka 87963a6a42 Fix display of surface features and diffuse objects
Surface features will be shown only if their parent body is visible.

Diffuse objects are shown always
2019-05-02 13:26:55 +03:00
Hleb Valoshka 920a0c81b1 Remove unused and unneeded ringSystemSections option 2019-04-22 21:21:05 +03:00
Hleb Valoshka a426916e2a Get rid of immediate mode in ring rendering
nSections was hardcoded to 100 so I removed it from renderRingSystem
2019-04-22 21:21:05 +03:00
Hleb Valoshka e80b06e67e [win32] remove __iob_func
* we prefer vcpkg libraries build using the same compiler
* VC++ 2017 is ABI compatible with 2017: https://docs.microsoft.com/en-gb/cpp/porting/binary-compat-2015-2017?view=vs-2019
2019-04-12 17:09:58 +03:00
Hleb Valoshka 7ad6b37970 [cmake] refactor build_cmod_tool macro to allow WIN32 targets 2019-04-12 17:09:58 +03:00
Hleb Valoshka 7bc9bcd674 [cmake] Update compile options for MSVC
/bigobj is required when using Ninja
2019-04-12 00:53:18 +03:00
pirogronian e422fe5e87 Fix ReplaceGreekLetterAbbr overvoracity. 2019-04-09 13:09:07 +02:00
pirogronian fa582dd10b Fix Bayer notation parsing & matching regresion. 2019-04-09 13:09:07 +02:00
Hleb Valoshka df23c60e7a Fix alignment issues in CELX routines (Closes: #263) 2019-04-08 22:02:53 +03:00
Luke McCrone 10875c4569 Issue #251: removing Alpha Centauri Bb 2019-04-08 12:08:04 +03:00
Hleb Valoshka 53845ad72e Add min() macro definition
It's not defined in MSVC and not supported by C standards
2019-04-08 12:07:43 +03:00
Hleb Valoshka 6bc84833be [cmake] Instal perl tools 2019-04-08 12:07:43 +03:00
Hleb Valoshka f9e27241ba [tools] install the leap second kernel to the data dir 2019-04-08 12:07:43 +03:00
Hleb Valoshka a80389dbcf [tools] Load the leap second kernel later
... to show usage and error messages
2019-04-08 12:07:43 +03:00
Hleb Valoshka db90fbf3a0 Update the leap second kernel used by spice2xyzv 2019-04-08 12:07:43 +03:00
Hleb Valoshka b62da0e74c [cmake] Enable building of spice2xyzv tool 2019-04-08 12:07:43 +03:00
Hleb Valoshka a45c415b44 [cmake] Enable vsop tools 2019-04-08 12:07:43 +03:00
Hleb Valoshka 89021ed9bd [tools] Show usage message for vsoptrunc-* 2019-04-08 12:07:43 +03:00
Hleb Valoshka 870f2feebd [cmake] Build qttxf tool 2019-04-08 12:07:43 +03:00
Hleb Valoshka 1d07836fa4 Port qttxf tool to Qt5 2019-04-08 12:07:43 +03:00
Hleb Valoshka d652219482 [cmake] Enable cmod tools building 2019-04-08 12:07:43 +03:00
Hleb Valoshka b8850a0d03 Fix copy-paste error 2019-04-08 12:07:43 +03:00
Hleb Valoshka 2c154346f3 Fix includes 2019-04-08 12:07:43 +03:00
Hleb Valoshka d846eb0ef3 Port cmod tools to Qt5 2019-04-08 12:07:43 +03:00
Hleb Valoshka 20365410c9 Port cmod tools to Eigen 3 2019-04-08 12:07:43 +03:00
Hleb Valoshka bcd7b97d89 [cmake] Remove unneeded fmt sources 2019-04-08 12:07:43 +03:00
pirogronian c465ab2615 Fix crash on create new lua rotation object. 2019-04-07 19:03:58 +02:00
Hleb Valoshka 9a851f0ea2 Remove eigenport.h 2019-04-03 00:18:02 +03:00
Hleb Valoshka 5d3452e011 Cleanup png and jpeg related code
libpng and libjpeg are mandatory now
2019-04-03 00:18:02 +03:00
Hleb Valoshka e6dacb43fa Remove unused deprecated methods 2019-04-03 00:18:02 +03:00
Hleb Valoshka bf68d471c3 Remove ancient vertex programs support 2019-04-03 00:18:02 +03:00
pirogronian b2d88df04a Qt: add copy/paste search console text actions. 2019-03-28 09:05:04 +01:00
pirogronian 044f5392b5 Add getter/setter for search console typed text. 2019-03-28 09:05:04 +01:00
pirogronian 1495531a03 Typed text search: if not valid, submit first completion. 2019-03-26 21:24:21 +01:00
pirogronian 6e1d57ef3a Add checking for Greek-formatted names in searching object by directly provided name. 2019-03-26 21:24:21 +01:00
pirogronian 0f3b37f066 Add replacement support also for full Greek letters names. 2019-03-26 21:24:21 +01:00
Hleb Valoshka 45836d993a Use location type "Ring" instead of "XX" (Other) for rings 2019-03-23 09:59:06 +03:00
Hleb Valoshka b95bdee04c Pass tangents vector to shaders (Closes: #240) 2019-03-22 16:31:12 +03:00
Askaniy 5b57f13e0e Removing dwarf planets 2019-03-20 15:52:26 +03:00
Hleb Valoshka 81aa6f43bc Remove support for old vector math 2019-03-16 18:21:50 +03:00
Hleb Valoshka d1d5970b8a Rename Earth's nigth side texture
All textures follow the $planet-$type naming scheme
2019-03-12 18:21:44 +03:00
Hleb Valoshka da8d3701d1 Don't use native OSX resourse paths by default 2019-03-11 22:01:14 +03:00
Luke McCrone a363fc772b Issue #216: Allow changing colors for comet tails 2019-03-11 21:24:21 +03:00
Hleb Valoshka 9d51cbfad3 Update README and celestia.cfg 2019-03-04 22:16:27 +03:00
Hleb Valoshka 9489d85166 Update minor moons and solar system objects
actual author - Askanij
2019-03-04 22:16:27 +03:00
Hleb Valoshka f4fac091cc Update textures and models
actual author: Askaniy
2019-03-04 22:16:27 +03:00
Hleb Valoshka 2375e17fff Add Solar system's dwarf planets
actual author: Askaniy
2019-03-04 22:16:27 +03:00
pirogronian 5464388d28 Change Omega Cen and Xi Tucanae into Bayer format. 2019-02-28 20:23:09 +01:00
pirogronian 8490d93082 Restore name completion support. 2019-02-28 20:23:09 +01:00
pirogronian 55f67a8c44 Replace Greek letter before adding to database. 2019-02-28 20:23:09 +01:00
pirogronian 4549c491d2 Check Greek initialization at instance access. 2019-02-28 20:23:09 +01:00
Hleb Valoshka e8226510c7 Don't process generated Qt files with AUTOMOC and AUTOUIC
Explicitly set current behaviour
2019-02-14 23:24:35 +03:00
Hleb Valoshka f089e98d83 Handle cases when git is installed but sources are not a repository clone 2019-02-14 23:24:35 +03:00
Hleb Valoshka 0b339f41d7 Use cmake's `option` instead of `set` to control a build 2019-02-14 23:24:35 +03:00
Hleb Valoshka bedcdb53cf Document executable names (Closes: #228) 2019-02-14 23:24:03 +03:00
Hleb Valoshka 63f86a44f2 Update translation files 2019-02-14 22:01:38 +03:00
Hleb Valoshka cb230cab02 Fix paths to extract strings from 2019-02-14 21:28:34 +03:00
Hleb Valoshka 3e0674b9cb Don't add empty strings to translations 2019-02-14 21:27:51 +03:00
Hleb Valoshka eadcf76a9c Fix path to legacy KDE frontend 2019-02-14 21:09:36 +03:00
Hleb Valoshka a78b70122b Update site address 2019-02-14 21:08:33 +03:00
Hleb Valoshka 4bbce34d03 Kpc -> kpc 2019-02-14 21:08:06 +03:00
Hleb Valoshka 67c2a50b9c Move native OSX frontend to src/celestia 2019-02-14 21:07:28 +03:00
Hleb Valoshka 7e4a6d62f8 Enable OSX builds 2019-02-09 00:21:00 +03:00
Hleb Valoshka 37b964ab50 Always use jpeg and png libs, drop CGBuffer.h 2019-02-09 00:21:00 +03:00
Hleb Valoshka 6b0d6439ca Fix DPRINTF for OSX platform 2019-02-09 00:21:00 +03:00
Hleb Valoshka d666e76e6e Use libintl.h on all platforms 2019-02-09 00:21:00 +03:00
Hleb Valoshka 0fc5edf500 FindIntl: support for gettext installed with brew 2019-02-09 00:21:00 +03:00
Hleb Valoshka a185a83373 Cleanup definitions for jpeg and png support
No more support for ancient libpng
2019-02-09 00:21:00 +03:00
Hleb Valoshka cf9f0e0b45 Remove definitions for ancient compillers 2019-02-09 00:21:00 +03:00
Hleb Valoshka 08c74687cb Move disabled warning to CMakeLists.txt 2019-02-09 00:21:00 +03:00
Hleb Valoshka 84e27140e8 Change WIN32 macro check to _WIN32 2019-02-09 00:21:00 +03:00
Hleb Valoshka c80a1520ac Use config.h on all platforms 2019-02-09 00:21:00 +03:00
Hleb Valoshka 7f052e5cae Remove 3rd party code from macosx dir 2019-02-09 00:21:00 +03:00
Hleb Valoshka 58d8742156 Install files form extras-standard subdirs 2019-02-09 00:18:03 +03:00
Hleb Valoshka aea55f500c Update CMakeLists.txt for submodules usage 2019-01-31 13:13:40 +03:00
Hleb Valoshka 187e4418f2 Spice's csupport is not required 2019-01-31 13:13:40 +03:00
Hleb Valoshka a53f1895ed Add required git submodules 2019-01-31 13:13:40 +03:00
Hleb Valoshka 23d5ca3d2c Remove bundled copies of thirdparty code 2019-01-31 13:13:40 +03:00
Hleb Valoshka 188c436611 Update README and INSTALL (Closes: #219) 2019-01-30 16:29:08 +03:00
Hleb Valoshka 44f0e3217e Remove Visual Studio project files 2019-01-26 16:12:21 +03:00
Hleb Valoshka 913512df1c Remove QMake support 2019-01-26 16:12:21 +03:00
Hleb Valoshka 78d566d692 Use cmake instead of qmake in travis-ci builds 2019-01-26 16:12:21 +03:00
Hleb Valoshka f367d7bacc Use bswap functions provided by MSVC and Apple 2019-01-26 14:33:20 +03:00
pirogronian 706c99d308 Celx LUA value to Celestia parser Value convertion helper. 2019-01-21 17:49:35 +01:00
Hleb Valoshka 8b23439292 Update celestia.rc for native windows UI 2019-01-20 22:54:48 +03:00
Hleb Valoshka 1921672941 Add resources to exe files 2019-01-20 22:54:48 +03:00
Hleb Valoshka 65acb21911 Remove bundled win and osx libraries 2019-01-19 21:55:23 +03:00
Hleb Valoshka 8bde4aa6f9 [cmake] Fix splash installation directory (Closes: #198) 2019-01-19 21:55:09 +03:00
Hleb Valoshka f039f55963 [cmake] add cspice support 2019-01-19 21:55:09 +03:00
Hleb Valoshka d6b9e61e86 Fix (or disable) warnings produced by VS2015 2019-01-19 21:54:56 +03:00
Hleb Valoshka 3202b5242d [appveyor] Disable builds for all branches except master 2019-01-19 21:54:42 +03:00
pirogronian 4a41fb69c1 Fix type mismatches and wrong function call. 2019-01-19 19:12:28 +01:00
pirogronian ba3f1f655c Untempletization of NameDatabase 2019-01-18 23:00:39 +01:00
Hleb Valoshka e478aa0918 Build stardb tools as console applications on windows 2019-01-19 00:57:18 +03:00
Hleb Valoshka b1e36e1f1b Add C++ versions of xyzv2bin, bin2xyzv 2019-01-19 00:57:18 +03:00
Hleb Valoshka d32085969a Fix byte order of xyzvbinaryheader.byte_order
should be native instead of LE
2019-01-19 00:57:18 +03:00
Hleb Valoshka 196ec6dc5b Add include<cstdint> to xyzvbinary.h 2019-01-19 00:57:18 +03:00
Hleb Valoshka f11a116de5 Move __BYTE_ORDER__ definition for win32 to celutil/bytes.h 2019-01-19 00:57:18 +03:00
Hleb Valoshka 085bfd6762 Add missing semicolon in shader definition (Closes: #203) 2019-01-17 12:34:27 +03:00
Hleb Valoshka a6b50bb25a Binary XYZV format implementation (Closes: #168) 2019-01-15 20:32:38 +03:00
Askaniy 1ffe65c6c3 Update temperature, albedo and colors
Temperature correction and albedo improvement using new SSC parameters.
Now Celestia displays the real temperature.

Bond albedo values were taken from the English Wikipedia, for Mars:
http://www.tak2000.com/data/planets/mars.htm
Geometric albedo and colors of planets was calculated with very high
accuracy together with Zemlyanin from the spectra from this paper:
https://arxiv.org/abs/1609.05048

Textures and other parameters will be updated later.
2019-01-14 22:27:08 +03:00
Hleb Valoshka d19f024e5c Fix appveyor.yml to build Pull Requests...
... enable release build profile (debug build are broken now),
    dump CMakeCache.txt on build failure
2019-01-14 16:41:35 +03:00
Hleb Valoshka dc7aea72b8 Add appveyor.yml to test windows builds
Currently 32bit x86 and MSVC2015 only
2019-01-11 12:57:55 +03:00
Hleb Valoshka bf77df0997 [qt] Use desktop GL always 2019-01-11 12:57:55 +03:00
Hleb Valoshka 45e6a61bcf Update cmake files 2019-01-11 12:57:55 +03:00
Hleb Valoshka 379a658dff Fix format specifier 2019-01-11 12:57:55 +03:00
Hleb Valoshka 0df7c1d54e Fix "signed/unsigned mismatch" warning 2019-01-11 12:57:55 +03:00
Hleb Valoshka 7a2afa9f6b [win] Fix includes and remove macro redifinitions 2019-01-11 12:57:55 +03:00
Hleb Valoshka 6962697e22 [win] Fix types left after switch to standard types 2019-01-11 12:57:55 +03:00
Hleb Valoshka 69928b5ebf Install libqt5opengl5-dev in travis ci 2019-01-06 23:20:35 +03:00
pirogronian 03be74e3c7 Revert "Replace deprecated QGLWidget with QOpenGLWidget"
This reverts commit 2f7adf19d0.
2019-01-06 23:20:35 +03:00
Hleb Valoshka c80ad6c12e .clang-format for automated code formatting 2019-01-06 18:11:14 +03:00
Hleb Valoshka f4bb2aba39 Fix matrix order in multiplication
Old vector library is row based, while Eigen is column based by default,
so matrix order should be swapped.
2019-01-04 21:10:21 +03:00
Hleb Valoshka a6e74a7676 Remove incorrectly placed ';' 2019-01-04 19:10:01 +03:00
Hleb Valoshka 8df616c497 [qmake] Don't require unused XML library 2019-01-04 19:10:01 +03:00
Hleb Valoshka 8daf8f07d4 [win] Undef libintl's replacement for printf family 2019-01-04 19:10:01 +03:00
pirogronian 8c032924c7 Make dispositions general and use it in loadCategory. 2019-01-03 20:00:30 +01:00
Hleb Valoshka f56c3a104b Add lua_isinteger for lua 5.1 and 5.2 2019-01-01 12:23:31 +03:00
Hleb Valoshka bca39dc424 Test builds with lua versions 5.1, 5.2, 5.3 2019-01-01 12:23:31 +03:00
Hleb Valoshka 23261fc623 Don't install celmodel.a 2019-01-01 12:23:31 +03:00
pirogronian 2e1a1e9be1 Add legacy OpenGL linking option 2018-12-31 20:37:20 +01:00
pirogronian de2a2a892e I18n support for user defined categories via Lua and catalog files. 2018-12-30 17:23:48 +01:00
pirogronian 2f7adf19d0 Replace deprecated QGLWidget with QOpenGLWidget 2018-12-27 23:06:53 +03:00
Hleb Valoshka 1d198c3b72 Celx methods for new parameters 2018-12-22 23:22:49 +03:00
Hleb Valoshka e2d7efd984 celxlua: add push(float) 2018-12-22 23:22:49 +03:00
Hleb Valoshka c710412ba7 New planet parameters, core 2018-12-22 23:22:49 +03:00
pirogronian 6befa417ff [Qt] Unmark action in selection popup & browsers. 2018-12-22 21:18:38 +01:00
pirogronian a2dba1e519 Some celx module fixes & improvements. 2018-12-22 14:15:49 +01:00
pirogronian e51b08f367 Lua method to bind custom translation domain. 2018-12-19 21:16:09 +01:00
Hleb Valoshka 4eabb17ba2 Fix application start on Windows 2018-12-19 19:47:23 +03:00
Hleb Valoshka 372ebfb4f5 Convert static variable to constexpr 2018-12-19 19:47:23 +03:00
Hleb Valoshka b02a1184d5 Move DSO_OCTREE_ROOT_SIZE definition to dsodb.h
It's required by render.cpp so we can't leave it in dsodb.cpp only
2018-12-19 19:47:23 +03:00
pirogronian 781541e329 Sample data. 2018-12-19 17:31:30 +01:00
pirogronian 7f23b726c4 Core mechanism. 2018-12-19 17:31:30 +01:00
pirogronian 8cb76495a6 Celx misc modernization & some internal fixes. 2018-12-17 08:24:15 +01:00
Hleb Valoshka fd058fb3f3 Fixes for Windows native frontend
Actual author is Janus
2018-12-11 22:32:32 +03:00
Hleb Valoshka 06ab3d8b2c Remove unneeded functions from GLContext 2018-12-11 20:32:13 +03:00
Hleb Valoshka ea3988b6f3 Remove unused GLContext 2018-12-11 20:32:13 +03:00
Hleb Valoshka dbd7090117 Make ShaderManager private property of Renderer 2018-12-11 20:32:13 +03:00
Hleb Valoshka 8aaf7fb205 Add missing files to CMakeLists 2018-12-08 02:26:37 +03:00
Hleb Valoshka 7931114b9f Fix new warnings
- warning: deleting object of polymorphic class type ‘Star’ which has
   non-virtual destructor might cause undefined behavior
   [-Wdelete-non-virtual-dtor]
 - enumeration value ‘Type_Generic’ not handled in switch [-Wswitch]
2018-12-08 02:06:16 +03:00
Hleb Valoshka 77d4fdc0f6 Check wchar_t in utf8 handling functions (Closes: #158) 2018-12-08 02:06:03 +03:00
Hleb Valoshka 35ff97a07a Mark some enums as uint32_t
By default enums are int, so 0xffffffff == -1. But those enums are used in
unsigned context so some compilers (Visual C++ at least) throw warnings.
2018-12-08 02:05:52 +03:00
Hleb Valoshka 514a948144 Return reference from getInfoURL() of DeepSkyObject and Location 2018-12-08 02:05:52 +03:00
Hleb Valoshka 91b783102d Remove static global std::string 2018-12-08 02:05:52 +03:00
pirogronian e5e229d472 Haschild method added, critical bug fixed, code cleanup. 2018-12-07 10:17:11 +01:00
pirogronian 3075323113 Fixes security issue and code quality improvements. 2018-12-07 10:17:11 +01:00
pirogronian e6e84d1ce3 User-defined categories. Core + Lua. 2018-12-07 10:17:11 +01:00
Hleb Valoshka fe955fbbc4 Minimal .travisci.yml 2018-12-03 12:13:02 +03:00
Hleb Valoshka ed9a13b92f Remove g_ShaderManager from globals
#150 is not reproducible any more
2018-12-02 23:49:34 +03:00
Hleb Valoshka d242bde6a8 Remove some static class members 2018-12-02 23:49:34 +03:00
Hleb Valoshka f7d6edd671 Remove global std::string variables in stardb 2018-12-02 23:49:34 +03:00
Hleb Valoshka 03131d862c Make warnings more userfriendly 2018-12-02 16:24:33 +03:00
Hleb Valoshka dc8d537917 Remove useless code 2018-12-02 16:24:33 +03:00
Hleb Valoshka 6fcaadb207 Fix ~/.celestia.cfg reading 2018-12-02 16:24:33 +03:00
Hleb Valoshka 34ab3bd829 Update translations 2018-12-01 20:44:16 +03:00
Hleb Valoshka 7e498c0235 Update pot creation infrastructure 2018-12-01 20:44:16 +03:00
Hleb Valoshka 8f00c289f4 Ignore temporary files used to create pot files 2018-12-01 20:44:16 +03:00
Hleb Valoshka 04fa23b724 [cmake] install missing images 2018-12-01 01:02:14 +03:00
Hleb Valoshka 39e5372dd2 [cmake] Don't install static libraries 2018-12-01 01:02:14 +03:00
Hleb Valoshka afa60f72cb [glut] Show error message if simulation initialization failed 2018-12-01 01:02:14 +03:00
Hleb Valoshka 6ce95849fa [core] Continue loading if no DSO files are present 2018-12-01 01:02:14 +03:00
Hleb Valoshka e8d9a265ae [cmake] Fix data files installation 2018-12-01 01:02:14 +03:00
Hleb Valoshka c2fb193f4b [qt] Add fading orbit toggle option 2018-12-01 01:01:38 +03:00
Hleb Valoshka 7b8175eb5c [core,celx] Add ShowFadingOrbits renderer flag 2018-12-01 01:01:38 +03:00
Hleb Valoshka 549a646c67 Initial cmake implementation 2018-11-29 10:18:26 +03:00
Hleb Valoshka 354354bda3 [tools] Remove gets() usage 2018-11-29 10:18:05 +03:00
Hleb Valoshka 867e289cec [tools] Fix compilation fixes
Iirc the warning was related to missing const
2018-11-29 10:18:05 +03:00
Hleb Valoshka eeb50558e4 [tools] Migrate to Eigen 2018-11-29 10:18:05 +03:00
Hleb Valoshka d1f0434229 [gtk] Fix compilation warning 2018-11-29 10:18:05 +03:00
Hleb Valoshka c7e5038266 [gtk] Use app->core to call getConfig() 2018-11-29 10:18:05 +03:00
Hleb Valoshka 83a9751eb3 [gtk] Fix render flag setup in options dialog 2018-11-29 10:18:05 +03:00
Hleb Valoshka 17144db455 [gtk] Use g_object_unref instead of gdk_pixbuf_unref
gdk_pixbuf_unref was deprecated in 2001 so no guards are required
2018-11-29 10:18:05 +03:00
Hleb Valoshka bb1f4cede5 [qt] Remove unneeded include 2018-11-29 10:18:05 +03:00
Hleb Valoshka 82ef4e3b95 [qt] Add "Go to object" dialog
Like it was in Gtk and OSX backends
2018-11-28 10:24:07 +03:00
Hleb Valoshka 0acc4fed67 Update .gitignore
* Remove autotools stuff.
 * Add cmake build dirs.
 * Remove binaries compiled in place.
2018-11-27 21:15:14 +03:00
Hleb Valoshka 4e6367d2fe Fix spice checking 2018-11-27 11:21:56 +03:00
Hleb Valoshka 0956422bcf Iterator fix 2018-11-27 11:21:56 +03:00
Hleb Valoshka 8529ad1313 Fix scripts and images installation 2018-11-27 11:21:56 +03:00
Hleb Valoshka de563fbd66 Better pkg-config support for LUA 2018-11-27 11:21:56 +03:00
Hleb Valoshka 0bd0b4e19c Pass SolarSystemMaxDistance to a renderer (Closes: #133) 2018-11-26 13:16:40 +03:00
Hleb Valoshka 56ae267ad7 Add an new config parameter: SolarSystemMaxDistance
It will define maximal distance where solar system objects are
rendered.

It's value is inside [1, 10] LY.
2018-11-26 13:16:40 +03:00
Hleb Valoshka 6a5acbcdb6 Fix format specifier for float number 2018-11-26 13:16:40 +03:00
Hleb Valoshka e75123bfd0 Remove hardcoded maximal distance from an observer to stars
Stars close that the distance are rendered as solar systems (e.g. with
their planets, orbits, Oort belts).
2018-11-26 13:16:40 +03:00
Dorothea Baker fe4bf3f144 Add missing Linux installation info to readme 2018-11-25 19:13:56 +01:00
Hleb Valoshka f4a9b09e57 [qt] Fix copy-paste error 2018-11-25 13:01:16 +03:00
Hleb Valoshka 5d0f46422f [qt] Unmark object before marking it 2018-11-23 09:44:42 +03:00
Hleb Valoshka 0965c0b954 [qt] call beginResetModel() before changing a model 2018-11-23 09:44:42 +03:00
Hleb Valoshka 13e75c82c1 [qt] Allow to mark solar system bodies 2018-11-23 09:44:42 +03:00
Hleb Valoshka d1830f2b90 Fix leap seconds
- the first one was on 1972/June/30
 - the last one was 2016/Dec/31 not 2015
2018-11-22 22:22:27 +03:00
Hleb Valoshka 8592f59246 Replace markers with the same priority 2018-11-22 22:22:27 +03:00
Hleb Valoshka a89e40a856 Add loadfragment script function instead of from_ssc (Closes: #126) 2018-11-21 20:30:37 +03:00
Hleb Valoshka 54b62b8fe0 Amend location types
large -> largeringed (less confusing name)
trench -> ring (we already have a trench-like feature)
2018-11-20 23:13:19 +03:00
Hleb Valoshka d5f41a28c7 Change "Custom FPS" accelerator (Closes: #120) 2018-11-20 20:15:28 +03:00
pirogronian e41cc5dee4 Move lua methods to celx_celestia and celx_misc 2018-11-20 16:40:52 +01:00
Hleb Valoshka f13cb111e8 Make StarDetails::infoURL string instead of pointer 2018-11-19 23:29:19 +03:00
Hleb Valoshka 07ed1e3061 Make Location::infoURL string instead of pointer 2018-11-19 23:29:19 +03:00
Hleb Valoshka 4966813cac [qt] Fix render tab layout, disable rendering path selection 2018-11-19 23:29:19 +03:00
Hleb Valoshka 04ee7d5a76 Eliminate code duplication + style fix 2018-11-19 23:29:19 +03:00
Hleb Valoshka dcf7f4aa55 Return string ref in Body::getInfoURL 2018-11-19 23:29:19 +03:00
Hleb Valoshka 9d25ab249f Add from_ssc command for CEL scripts 2018-11-17 20:56:17 +03:00
Hleb Valoshka deeca96ddb Update URL to handle 64bit render flags, bump URL version to 4 2018-11-16 21:25:16 +01:00
Hleb Valoshka 9a02392856 [Qt] Use plural form of Spacecrafts in dialogs 2018-11-16 21:25:16 +01:00
Hleb Valoshka f0c5c155f6 [win] Update Windows backend for new display properties 2018-11-16 21:25:16 +01:00
Hleb Valoshka adff12a0aa [gtk] Update GTK+ backend for new display properties 2018-11-16 21:25:16 +01:00
Hleb Valoshka 60c42c2588 Add new Renderer flags
* ShowDwarfPlanets
 * ShowMoons
 * ShowMinorMoons
 * ShowAsteroids
 * ShowComets
 * ShowSpacecrafts
 * ShowFadingOrbits (not used yet)
2018-11-16 21:25:16 +01:00
Hleb Valoshka c1d1f0ead4 Fixes in observer:setlocationflags 2018-11-16 21:25:16 +01:00
Hleb Valoshka 0ecb2eb509 Add CelxLua::FlagMap64 for 64 bit flags, use in FlagMap 32 bit 2018-11-16 21:25:16 +01:00
Hleb Valoshka 74c418dd1e Load SSC fragments dynamicly 2018-11-16 21:20:55 +01:00
pirogronian 358268ad61 Make fps menu smart enough to detect actual fps rate setting. 2018-11-16 12:07:03 +01:00
pirogronian 475352634b Make Star style and Texture Resolution menus truly exclusive. 2018-11-16 12:07:03 +01:00
pirogronian e82a87018a Make FPS control menu checkable, move VSync option to it and rename properly. 2018-11-16 12:07:03 +01:00
pirogronian 05067da608 Fix: "All eclipses" button acted as "Lunar eclipses". 2018-11-16 10:02:39 +01:00
1923 changed files with 253684 additions and 932910 deletions

108
.appveyor.yml 100644
View File

@ -0,0 +1,108 @@
version: 1.7.0-dev-{build}
only_commits:
files:
- src/
- .appveyor.yml
- CMakeLists.txt
pull_requests:
do_not_increment_build_number: true
# Start builds on tags only (GitHub and BitBucket)
skip_non_tags: false
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
# Even with `skip_branch_with_pr: true` appveyor builds that branch
# for the first time.
branches:
only:
- master
artifacts:
- path: '**/celestia-*.7z'
name: win
# Build worker image (VM template)
image: "Visual Studio 2015"
# clone directory
clone_folder: c:\projects\celestia
# set clone depth
clone_depth: 1
# build platform, i.e. x86, x64, Any CPU. This setting is optional.
platform:
- x86
environment:
Qt5_DIR: 'C:\Qt\5.10\msvc2015'
PATH: '%Qt5_DIR%\bin;%PATH%'
# scripts that run after cloning repository
init:
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform%
install:
- cd c:\tools\vcpkg
- vcpkg install libpng:x86-windows
- vcpkg install gettext:x86-windows
- vcpkg install libjpeg-turbo:x86-windows
- vcpkg remove lua:x86-windows
- vcpkg install luajit:x86-windows
- vcpkg install fmt:x86-windows
- vcpkg install libepoxy:x86-windows
- vcpkg install eigen3:x86-windows
- 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%
build_script:
- cmd: >-
git submodule update --init
mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH=%Qt5_DIR% -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DENABLE_SPICE=ON -DENABLE_TOOLS=ON -DENABLE_TESTS=ON -DENABLE_SDL=OFF ..
cmake --build . --config RelWithDebInfo -- /maxcpucount:4 /nologo
set CTEST_OUTPUT_ON_FAILURE=1
copy src\celestia\RelWithDebInfo\*.dll test\unit\RelWithDebInfo\
ctest -C RelWithDebInfo
after_build:
- cmd: >-
cd c:\projects\celestia\build\src\celestia
7z a celestia-dep.x86.7z RelWithDebInfo\*
7z a celestia-win.x86.7z win32\RelWithDebInfo\*
windeployqt --no-angle --no-opengl-sw --no-translations --no-system-d3d-compiler qt\RelWithDebInfo\
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"
#- type "c:\projects\celestia\build\CMakeCache.txt"
# build cache to preserve files/folders between builds
cache: c:\tools\vcpkg\installed\

63
.clang-format 100644
View File

@ -0,0 +1,63 @@
---
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'
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: '1'
NamespaceIndentation: None
PointerAlignment: Right
ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'
SpaceAfterLogicalNot: 'false'
SpaceAfterTemplateKeyword: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceInEmptyParentheses: 'false'
SpacesBeforeTrailingComments: '1'
SpacesInAngles: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: c++17
TabWidth: '4'
UseTab: Never
UseCRLF: 'false'

View File

@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. GNU/Linux, Windows, macOS]
- Frontend: [e.g. Qt, native Win, native Mac]
- Version: [e.g. 1.7.0]
**Additional context**
Add any other context about the problem here.

View File

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@ -0,0 +1,8 @@
Closes #[issue number]
## Description
-
### Screenshots

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

36
.gitignore vendored
View File

@ -2,28 +2,26 @@
Debug/
Release/
.vs/
.vscode/
*~
Makefile
Makefile.in
macros/
.deps
*.o
*.a
*.la
autom4te.cache/
aclocal.m4
config.h*
config.status
config.log
configure
libtool
*.exe
*.dll
*.swp
.DS_Store
po*/*.gmo
po*/POTFILES
po*/stamp-po
admin/ltmain.sh
celestia
buildstardb
stamp-h1
.dirstamp
build
Celestia_QT
build*/
src/celestia/win32/res/resource_strings.cpp
src/celestia/qt/rc.cpp
locale/*/LC_MESSAGES/
data/
extras/
extras-standard/
models/
textures/
mingw/
content/
CMakeSettings.json

9
.gitmodules vendored 100644
View File

@ -0,0 +1,9 @@
[submodule "thirdparty/Spice"]
path = thirdparty/Spice
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

68
.travis.yml 100644
View File

@ -0,0 +1,68 @@
dist: xenial
osx_image: xcode12.2
language: cpp
sudo: true
git:
depth: 1
quiet: true
notifications:
email: false
os:
- linux
- osx
env:
- LUA=jit-5.1
- LUA=5.2
- LUA=5.3
matrix:
exclude:
- os: osx
env: LUA=jit-5.1
- os: osx
env: LUA=5.2
- os: linux
env: LUA=5.2
before_script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt install -y liblua${LUA}-dev; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ] ; then brew link gettext --force; fi
- mkdir build
- cd build
script:
- cmake -DENABLE_SPICE=ON -DENABLE_TOOLS=ON -DENABLE_TESTS=ON -DENABLE_SDL=ON ..
- make -j $(nproc || echo 4)
- CTEST_OUTPUT_ON_FAILURE=1 ctest
addons:
apt:
packages:
- libeigen3-dev
- libepoxy-dev
- libtheora-dev
- libjpeg-dev
- libpng-dev
- libglu1-mesa-dev
- qtbase5-dev
- qtbase5-dev-tools
- libqt5opengl5-dev
- libfreetype6-dev
- libsdl2-dev
homebrew:
packages:
- eigen
- cspice
- fmt
- jpeg
- gettext
- libpng
- lua
- qt5
- freetype
- libepoxy
- sdl2

View File

@ -10,3 +10,7 @@ Toti <>
Da Woon Jung <dirkpitt2050@users.sf.net>
Vincent Giangiulio <vince.gian@free.fr>
Andrew Tribick
Hleb Valoshka
Levin Li
Dmitry Brant
Łukasz Buczyński

421
CMakeLists.txt 100644
View File

@ -0,0 +1,421 @@
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)
endif()
# only use the additional link flags when linking executables if the
# ENABLE_EXPORTS target property is set to True
if(POLICY CMP0065)
cmake_policy(SET CMP0065 NEW)
endif()
# Honor language standard (CMAKE_CXX_STANDARD) in try_compile()
if(POLICY CMP0067)
cmake_policy(SET CMP0067 NEW)
endif()
# Ignore generated source files in AUTOMOC and AUTOUIC
if(POLICY CMP0071)
cmake_policy(SET CMP0071 OLD)
endif()
# Prefer GLVND or "legacy" OpenGL library (libOpenGL.so vs libGL.so)
if(POLICY CMP0072)
if(LEGACY_OPENGL_LIBS)
cmake_policy(SET CMP0072 OLD)
else()
cmake_policy(SET CMP0072 NEW)
endif()
endif()
# Remove leading and trailing whitespace from libraries linked
if(POLICY CMP0004)
cmake_policy(SET CMP0004 NEW)
endif()
project(celestia VERSION 1.7.0 LANGUAGES C CXX)
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: 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_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_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)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type." FORCE)
endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(UNIX AND (NOT CYGWIN))
set(_UNIX true)
endif()
# _USE_MATH_DEFINES enables use of math constants like M_PI,
# which are by default disabled in standard C++ mode (like std=c++11 instead of std=gnu11)
add_definitions(-D_USE_MATH_DEFINES)
# Let CMake handle setting C++11 (since 3.1)
if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 17)
endif()
set(CMAKE_C_STANDARD 11)
# Use our cmake files
list(INSERT CMAKE_MODULE_PATH 0 "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
if((NOT WIN32) AND (NOT NATIVE_OSX_APP))
include(GNUInstallDirs)
include(rpath)
endif()
include(CheckIncludeFiles)
include(CheckIncludeFileCXX)
include(FastMath)
#
# 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" "/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)
# Qt requires -fPIC, so build all code with it
# It's always set on windows
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})
#
# NLS (Gettext) support
#
if(ENABLE_NLS)
find_package(Gettext)
if(NOT GETTEXT_FOUND)
message(WARNING "Gettext is not found, traslations won't be created.")
endif()
include(FixGettext)
find_package(Intl REQUIRED)
include_directories(${Intl_INCLUDE_DIRS})
link_libraries(${Intl_LIBRARIES})
add_definitions(-DENABLE_NLS)
else()
message(STATUS "NLS is disabled. Not looking for gettext and libintl.")
endif()
if(ENABLE_SPICE)
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)
include_directories(${SPICE_INCLUDE_DIR})
message(STATUS "Spice include directories: ${SPICE_INCLUDE_DIR}")
add_library(CSPICE::CSPICE ALIAS spice)
else()
include_directories(${CSPICE_INCLUDE_DIR})
endif()
add_definitions(-DUSE_SPICE)
else()
message(STATUS "NAIF SPICE is disabled. Not looking for cspice library.")
endif()
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(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)
link_libraries("vfw32" "comctl32" "winmm")
endif()
if(NOT ENABLE_GLES)
find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIRS})
link_libraries(${OPENGL_LIBRARIES})
endif()
find_package(Libepoxy REQUIRED)
link_libraries(libepoxy::libepoxy)
include_directories(${LIBEPOXY_INCLUDE_DIR})
find_package(Eigen3 3.3 REQUIRED NO_MODULE) # -DEigen3_DIR=...
message(STATUS "Found Eigen3 ${EIGEN3_VERSION_STRING}")
link_libraries(Eigen3::Eigen)
find_package(fmt 6.1.0 CONFIG QUIET)
if(NOT fmt_FOUND)
message(STATUS "Using fmt submodule")
add_subdirectory("${CMAKE_SOURCE_DIR}/thirdparty/fmt")
endif()
link_libraries(fmt::fmt)
find_package(PNG REQUIRED)
add_definitions(${PNG_DEFINITIONS})
link_libraries(PNG::PNG)
find_package(JPEG REQUIRED) # -DJPEG_LIBRARY=...
include_directories(${JPEG_INCLUDE_DIRS})
link_libraries(${JPEG_LIBRARIES})
if(ENABLE_CELX)
add_definitions(-DCELX)
find_package(LuaJIT)
if(NOT LUAJIT_FOUND)
find_package(Lua REQUIRED)
endif()
include_directories(${LUA_INCLUDE_DIR})
link_libraries(${LUA_LIBRARIES})
else()
message(STATUS "CELX is disabled. Not looking for LUA libraries.")
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)
foreach (_variableName ${_variableNames})
message(STATUS "${_variableName}=${${_variableName}}")
endforeach()
]]#
# macOS Bundling
if(NATIVE_OSX_APP)
message(STATUS "Generating Info.plist for macOS Bundle")
configure_file(${CMAKE_SOURCE_DIR}/Info.plist.in ${CMAKE_BINARY_DIR}/Info.plist @ONLY)
endif()
if(NATIVE_OSX_APP)
set(CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/${PROJECT_NAME}.app/Contents")
set(CMAKE_INSTALL_FULL_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/Resources/locale")
set(CMAKE_INSTALL_BINDIR "MacOS")
set(DATADIR "${CMAKE_INSTALL_PREFIX}/Resources")
set(FULL_DATADIR "${CMAKE_INSTALL_PREFIX}/Resources")
elseif(WIN32)
set(CMAKE_INSTALL_BINDIR ".")
set(CMAKE_INSTALL_DATAROOTDIR ".")
set(CMAKE_INSTALL_DATADIR ".")
set(CMAKE_INSTALL_FULL_LOCALEDIR "locale")
set(DATADIR "${CMAKE_INSTALL_DATADIR}")
set(FULL_DATADIR ".")
else()
set(DATADIR "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}")
set(FULL_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}")
endif()
if(NOT GIT_COMMIT)
find_program(GIT_FOUND git)
if(GIT_FOUND)
execute_process(
COMMAND git log --pretty=format:%h -1
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
OUTPUT_VARIABLE GIT_COMMIT
)
if("${GIT_COMMIT}" STREQUAL "")
set(GIT_COMMIT "unknown")
endif()
else()
set(GIT_COMMIT "unknown")
endif()
endif()
#
# Compile definitions
#
add_definitions(
-DVERSION="${PROJECT_VERSION}"
-DPACKAGE="celestia"
-DGIT_COMMIT="${GIT_COMMIT}"
)
if(NOT NATIVE_OSX_APP)
add_definitions(
-DLOCALEDIR="${CMAKE_INSTALL_FULL_LOCALEDIR}"
-DCONFIG_DATA_DIR="${FULL_DATADIR}"
-DHIP_DATA_DIR="${FULL_DATADIR}"
-DSPLASH_DIR="${FULL_DATADIR}/splash"
)
endif()
if(WIN32)
add_definitions(
-D_CRT_SECURE_NO_WARNINGS
-D_SCL_SECURE_NO_WARNINGS
-DNOMINMAX
-DWIN32_LEAN_AND_MEAN
-DWINVER=0x0601
-D_WIN32_WINNT=0x0601
)
# Fix the issue: https://github.com/CelestiaProject/Celestia/issues/364
add_definitions(-D_ENABLE_EXTENDED_ALIGNED_STORAGE)
endif()
if(APPLE)
if(NATIVE_OSX_APP)
add_definitions(-DNATIVE_OSX_APP)
endif()
add_definitions(-DGL_SILENCE_DEPRECATION)
endif()
string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type_lc)
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
if(OCTREE_DEBUG)
add_definitions(-DOCTREE_DEBUG)
endif()
include_directories("${CMAKE_SOURCE_DIR}/src" ${CMAKE_BINARY_DIR})
# configure a header file to pass some of the CMake settings
# to the source code
include(CheckSymbolExists)
check_symbol_exists(wordexp wordexp.h HAVE_WORDEXP)
check_include_files(byteswap.h HAVE_BYTESWAP_H)
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")
set(BASE_DATA_SOURCES
demo.cel
guide.cel
start.cel
celestia.cfg
controls.txt
)
install(FILES ${BASE_DATA_SOURCES} DESTINATION ${DATADIR})
install(FILES "splash.png" DESTINATION "${DATADIR}/splash")
if(NATIVE_OSX_APP)
install(FILES ${CMAKE_BINARY_DIR}/Info.plist DESTINATION .)
endif()
add_subdirectory(src)
add_subdirectory(po)
add_subdirectory(fonts)
add_subdirectory(images)
add_subdirectory(locale)
add_subdirectory(scripts)
add_subdirectory(shaders)
if(ENABLE_TESTS)
enable_testing()
add_subdirectory(test)
endif()

9
CONTRIBUTING.md 100644
View File

@ -0,0 +1,9 @@
### 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.

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

91
INSTALL
View File

@ -1,91 +0,0 @@
Celestia Install instructions for UNIX
--------------------------------------
!!!!! Don't use this file. It's outdated. Use README. !!!!!
!!!!! This file will be updated after switch to CMAKE !!!!!
You need to have the following components installed before Celestia
will build: OpenGL (tested with Mesa 3.4), glu, libjpeg, and libpng.
Should you have a package based installation (most Linux distributions these
days are), you will also need to install the devel packages for your OpenGL,
glu and glibc packages.
OK, assuming you've collected all the necessary libraries, here's
what you need to do to build and run Celestia:
./configure --with-INTERFACE [*]
make
make install
[*] INTERFACE must be replaced with one of "kde", "gtk", "gnome", or "glut".
Four interfaces are available for Celestia:
- glut: minimal interface, barebone Celestia core with no toolbar or menu...
- GTK: A full interface with minimal dependencies, adds a menu, a configuration
dialog some other utilities.
- Gnome: The full GTK interface plus a few Gnome integration goodies, such as
preference saving in GConf. This looks and works very much like the
Windows interface.
- KDE3: brings contextual menus, toolbars, KDE integration,
internationalization, bookmarks...
To build the KDE interface (requires various kde-devel packages):
configure --with-kde
To build the Gnome interface (requires gnome-devel and all GTK requirements):
configure --with-gnome
To build the GTK interface (requires gtkglext and gtkglext-devel):
configure --with-gtk
To build the GLUT interface (requires glut and glut-devel):
configure --with-glut
At the end of the configure output shows which interface has been selected, you
should check it is correct before running make.
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
will NOT be compiled in, to enable it you need to download the Lua library
from:
http://www.lua.org/
Version 5.0 or newer is required.
Once Lua has been installed on your system, you need to run:
configure --with-lua=/path/to/lua
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
otherwise the filter will contain only '*.cel'.
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.
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
--prefix option to configure:
configure --prefix=/home/my_directory
All the other usual configure parameters apply; you may see which options
are available using 'configure --help'
If while running configure you see an error reporting that gl.h,
is missing, you either don't have OpenGL installed on your system,
or you don't have the corresponding devel package installed. If for
instance you have Mesa installed, you will also have to install the
mesa-devel package (or something named similarly). Missing glu.h or glut.h
means that you don't have GLU, GLUT, or their devel pacakges installed.
Chris Laurel & Deon Ramsey
claurel@.shatters.net dramsey@users.sourceforge.net
Updated 2003-06-10 by
Christophe Teyssier
chris@teyssier.org
Updated 2004-04-28 by pat@suwalski.net

389
INSTALL.md 100644
View File

@ -0,0 +1,389 @@
# Basic installation instructions
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.
Stable version installation on Windows and OSX:
* Check https://celestia.space/download.html.
Development snapshots installation on Unix-like systems:
### On Debian 10 (buster) and derived systems:
```
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:
```
curl https://download.opensuse.org/repositories/home:/munix9:/unstable/Ubuntu_${VERSION}/Release.key | sudo apt-key add -
echo "deb https://download.opensuse.org/repositories/home:/munix9:/unstable/Ubuntu_${VERSION}/ ./" | sudo tee /etc/apt/sources.list.d/celestia-obs.list
sudo apt update && sudo apt install celestia
```
Where VERSION is 18.04 or 20.04.
### On openSUSE Leap/Tumbleweed:
```
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_${VERSION}/home:munix9:unstable.repo
sudo zypper refresh
sudo zypper install celestia
```
Where VERSION is 'Leap_15.2', 'Leap_15.3' or 'Tumbleweed'.
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):
```
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:
```
mkdir celestia-1.7.home
```
To build from sources please follow instructions below.
## Common building instructions
We recommend using a copy of our git repository to build your own installation
as it contains some dependencies required for building.
To create the copy install git from your OS distribution repository or from
https://git-scm.com/ and then execute the following commands:
```
git clone https://github.com/CelestiaProject/Celestia
cd Celestia
git submodule update --init
```
## 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, 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, 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:
```
mkdir build
cd build
cmake .. -DENABLE_DATA=ON -DENABLE_INTERFACE=ON [*]
make
sudo make install
```
[*] `INTERFACE` must be replaced with one of "`QT`", "`GTK`", "`SDL`" or
"`GLUT`".
Four interfaces are available for Celestia on Unix-like systems:
- GLUT: minimal interface, barebone Celestia core with no toolbar or menu...
Disabled by default.
- SDL: minimal interface, barebone Celestia core with no toolbar or menu...
Disabled by default.
- GTK: A full interface with minimal dependencies, adds a menu, a configuration
dialog some other utilities. Legacy interface, may lack some new
features. Disabled by default.
- QT: A full interface with minimal dependencies, adds a menu, a configuration
dialog some other utilities, bookmarks... A preferred option. Enabled by
default, No need to pass -DENABLE_QT=ON.
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. 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
otherwise the filter will contain only '*.cel'.
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. 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
following option to cmake: -DCMAKE_INSTALL_PREFIX=/another/path.
## Celestia Install instructions for Windows (MSVC)
Currently to build on Windows you need Visual Studio 2015 or later, CMake
and vcpkg (*).
Install required packages:
```
vcpkg --triplet=TRIPLET install --recurse libpng libjpeg-turbo gettext luajit fmt libepoxy eigen3 freetype
```
Install optional packages:
```
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_GENERATOR_PLATFORM=Win32 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x86-windows ..
cmake --build . -- /maxcpucount:N /nologo
```
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 -DVCPKG_TARGET_TRIPLET=x64-windows ..
cmake --build . -- /maxcpucount:N /nologo
```
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.
```
cmake -DCMAKE_PREFIX_PATH=C:\Qt\5.10.1\msvc2015 ..
```
Not supported yet:
- automatic installation using cmake
- using Ninja instead of MSBuild
Notes:
* vcpkg installation instructions are located on
https://github.com/Microsoft/vcpkg
## 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/ .
Do the following in the MINGW64 shell (mingw64.exe).
Install required packages:
```
pacman -S mingw-w64-x86_64-toolchain
pacman -S base-devel
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-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-sdl2
```
Clone the source and go to the source directory.
Configure and build:
```
mkdir build
cd build
cmake .. -G"MSYS Makefiles" -DENABLE_WIN=OFF
mingw32-make.exe -jN
```
Instead of N, pass a number of CPU cores you want to use during a build.
To build in debug configuration, you have to use lld linker instead of the
default linker in gcc.
```
pacman -S mingw-w64-x86_64-lld mingw-w64-x86_64-lldb
```
Follow by:
```
cmake .. -G "MSYS Makefiles" -DENABLE_WIN=OFF -DCMAKE_CXX_FLAGS='-fuse-ld=lld' -DCMAKE_BUILD_TYPE=Debug
```
Then do `mingw32-make.exe`.
## Celestia Install instructions for macOS, qt-only
Currently Qt frontend is the only available option for macOS users building
Celestia from source.
Install the latest Xcode:
You should be able to get Xcode from the Mac App Store.
Install Homebrew
Follow the instructions on https://brew.sh/
Install required packages:
```
brew install pkg-config cmake fmt gettext libepoxy libpng lua qt5 jpeg eigen freetype
```
Install optional packages:
```
brew install cspice ffmpeg libavif
```
Follow common building instructions to fetch the source.
Configure and build:
```
mkdir build
cd build
cmake ..
make -jN
```
Instead of N, pass a number of CPU cores you want to use during a build.
Install:
```
make install
```
Celestia will be installed into /usr/local by default, with data files landing
in /usr/local/share/celestia, but you may want to specify a new location with
the following option to cmake: `-DCMAKE_INSTALL_PREFIX=/another/path`.
To build the application bundle, pass -DNATIVE_OSX_APP=ON to the cmake command,
the application bundle will be located in the "build" folder that you previously
created.
## Supported CMake parameters
List of supported parameters (passed as `-DPARAMETER=VALUE`):
Parameter | TYPE | Default | Description
----------------------| ------|---------|--------------------------------------
| 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
| ENABLE_SPICE | bool | OFF | Enable NAIF kernels support
| ENABLE_NLS | bool | ON | Enable interface translation
| ENABLE_GLUT | bool | OFF | Build simple Glut frontend
| ENABLE_GTK | bool | \*\*OFF | Build legacy GTK2 frontend
| ENABLE_QT | bool | ON | Build Qt frontend
| ENABLE_SDL | bool | OFF | Build SQL frontend
| ENABLE_WIN | bool | \*\*\*ON | Build Windows native frontend
| 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)
on Windows depending on OS type (32 or 64 bit) and build configuration.
This option effect is overriden by NATIVE_OSX_APP.
\*\* Ignored on Windows systems.
\*\*\* Ignored on Unix-like systems.
`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 `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
----------------
As said prevously Celestia provides several user interfaces, accordingly with
interfaces it's built with it has different executable files installed to
${CMAKE_INSTALL_PREFIX}/bin (e.g. with default CMAKE_INSTALL_PREFIX on
Unix-like systems they are installed into `/usr/local/bin`).
Here's the table which provides executable file names accordingly to interface:
Interface | Executable name
|-----------|----------------|
| Qt5 | celestia-qt
| GTK | celestia-gtk
| GLUT | celestia-glut
| SDL | celestia-sdl
| WIN | celestia-win

36
Info.plist.in 100644
View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>celestia-qt</string>
<key>CFBundleIconFile</key>
<string>celestia</string>
<key>CFBundleIdentifier</key>
<string>org.celestia.Celestia</string>
<key>CFBundleName</key>
<string>Celestia</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>@VERSION@</string>
<key>CFBundleShortVersionString</key>
<string>@VERSION@</string>
<key>LSMinimumSystemVersion</key>
<string>@CMAKE_OSX_DEPLOYMENT_TARGET@</string>
<key>CFBundleDisplayName</key>
<string>@DISPLAY_NAME@</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>NSHighResolutionCapable</key>
<string>true</string>
<key>Application Category</key>
<string>Education</string>
</dict>
</plist>

0
NEWS
View File

View File

@ -1,488 +1,309 @@
***************************************************************************
* Celestia Fork *
* *
* A real-time space simulation that lets you experience our universe in *
* three dimensions. *
* *
* Copyright (c) 2001-2018, Celestia Development Team *
* *
*-------------------------------------------------------------------------*
* Celestia web site: http://www.shatters.net/celestia/ *
* *
* Celestia documentation: *
* http://celestiamotherlode.net/catalog/documentation.html *
* Celestia WikiBook: http://en.wikibooks.org/wiki/Celestia *
* *
* Celestia forums: https://celestia.space/forum/ *
* *
***************************************************************************
CONTENTS
--------
License
Installing in Unix and Linux
Getting Started
Mouse, Keyboard & Joystick Controls
Star & Solar System Browser
Selecting Objects by Name
Known Issues
User Modifiable Elements
Celestia Resources
Contributions
Acknowledgements
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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307
USA
INSTALLING IN UNIX AND LINUX
----------------------------
Currently only QT5 based backend is available. To build it you need QT5
developer libraries.
On Debian based systems the following packages should be installed:
* qtbase5-dev-tools
* qtbase5-dev
* libqt5opengl5-dev
* qtchooser
* libglu1-mesa-dev
* libpng-dev
* libjpeg-dev
* libtheora-dev
* Either one of liblua5.3-dev, liblua5.2-dev or liblua5.1-dev
Optional packages are libeigen3-dev and libglew-dev.
Then do the following actions in Celestia's source directory:
mkdir build && cd build
qmake -qt=5 PREFIX=/opt/celestia -o Makefile ../celestia.pro
make
You can speedup build passing option -jN to make where N is a number of
your CPU cores.
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:
http://celestiamotherlode.net/catalog/documentation.html
This web page also includes links to the Celestia README file translated into
Japanese.
MOUSE, KEYBOARD & JOYSTICK CONTROLS
-----------------------------------
See the included file: controls.txt OR use the Help menu to display the Controls
list.
STAR & SOLAR SYSTEM BROWSER
-------------------------------------------
The Navigation menu contains 'Solar System Browser' and 'Star Browser'
options.
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:
http://www.shatters.net/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.
CELESTIA RESOURCES
------------------
Celestia Web Site:
https://github.com/CelestiaFork/celestia
Celestia User Forums:
https://celestia.space/forum/
Selden's List of Resources for Celestia :
http://www.lepp.cornell.edu/~seb/celestia/
Celestia WikiBook:
http://en.wikibooks.org/wiki/Celestia
Celestial Matters Website and Forums:
http://www.celestialmatters.org/
http://forum.celestialmatters.org/
Celestia Motherlode:
http://www.celestiamotherlode.net/
Celestia Fork Source Code (SourceForge.net):
https://github.com/CelestiaFork/celestia
Celestia Bug Tracking (SourceForge.net):
https://github.com/CelestiaFork/celestia/issues
Celestia Feature Requests (SourceForge.net):
https://github.com/CelestiaFork/celestia/issues
CONTRIBUTIONS
-------------
Authors
-------
Chris Laurel <claurel@gmail.com>
Clint Weisbrod <cweisbrod@cogeco.ca>
Fridger Schrempp <t00fri@mail.desy.de>
Bob Ippolito <bob@redivi.com>
Christophe Teyssier <chris@teyssier.org>
Hank Ramsey <hramsey@users.sourceforge.net>
Grant Hutchison <grant.celestia@xemaps.com>
Pat Suwalski <pat@suwalski.net>
Toti
Da Woon Jung <dirkpitt2050@users.sf.net>
Vincent Giangiulio <vince.gian@free.fr>
Andrew Tribick
Contributors
------------
Deon Ramsey ........... original GTK1 interface
Christopher ANDRE ..... Eclipse Finder
Colin Walters ......... Endianness fixes
Peter Chapman ......... Orbit path rendering changes
James Holmes ..........
Harald Schmidt ........ Lua scripting enhancements, bug fixes
Nils Larsson .......... Qt enhancements
Documentation
-------------
Frank Gregorio ........ Celestia User's Guide
Hitoshi Suzuki ........ Japanese README translation
Christophe Teyssier ... DocBook and HTML conversion of User's Guide
Diego Rodriguez ....... Acrobat conversion of User's Guide
Don Goyette ........... CEL Scripting Guide
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
------------
# Most of the planet maps are from David Seal's site:
http://maps.jpl.nasa.gov/.
A few of these maps were modified by me, with fictional terrain added to fill
in gaps. The model of the Galileo spacecraft 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. His maps may be found here:
http://gw.marketingden.com/planets/planets.html
# Grant Hutchison
Saturn's rings were built by Grant Hutchison from Cassini imaging, with
transparency information derived from stellar transit data obtained from:
http://pds-rings.arc.nasa.gov/ringocc/ringocc.html
The Eros map is a shaded relief generated from the NEAR laser rangefinder
shape model at:
http://pdssbn.astro.umd.edu/NEARdb/nlr/#shape
# 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
http://pdsmaps.wr.usgs.gov/maps.html with colors from Mark Robinson at
http://www.earth.northwestern.edu/research/robinson/MOON/clem_color.html.
# 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.lpl.arizona.edu/index.php)
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
(ftp://ftpflag.wr.usgs.gov/dist/pigpen/moon/usgs/topo/global/)
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:
See http://laps.noaa.gov/albers/sos/sos.html.
# 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<42>rn J<>nsson. His site at http://www.mmedia.is/~bjj/ is an excellent
resource for solar system rendering.
# 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. Further information is available from:
http://earthobservatory.nasa.gov/Newsroom/BlueMarble/
# Steve Albers
The Io and Europa maps are by Steve Albers. His planetary maps are at:
http://laps.noaa.gov/albers/sos/sos.html
# 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
---------
# 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. His site is:
http://www.eecs.wsu.edu/~hudson/Research/Asteroids/models.html
# 3D models of Phobos, Deimos, Amalthea, Janus, Epimetheus, Prometheus, Pandora,
Hyperion, Larissa, Proteus, Vesta, Ida, Gaspra and Halley are derived from
Phil Stooke's Cartography of Non-Spherical Worlds at:
http://publish.uwo.ca/~pjstooke/plancart.htm
and optical shape model dataset at:
http://pdssbn.astro.umd.edu/SBNast/holdings/EAR-A-5-DDR-STOOKE-SHAPE-MODELS-
V1.0.html
# The 3D model of Eros was prepared from the NEAR laser rangefinder shape model
at: http://pdssbn.astro.umd.edu/NEARdb/nlr/#shape
# 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
Libraries
---------
# This software is based in part on the work of the Independent JPEG Group.
# Some versions of Celestia may use the SPICE system for spacecraft and
planetary information, developed by Caltech/JPL under contract to NASA.
# Many cylindrical projections of photographs were performed by Fridger
Schrempp with Matthew Arcus 'mmps' software,
http://www.users.globalnet.co.uk/~arcus/mmps/
# The lower resolution textures were all converted from their higher resolution
versions using Gimp.
# The star database (stars.dat) was derived from the ESA's HIPPARCOS data set.
# Constellation boundaries are drawn from Davenhall & Leggett's "Catalogue of
Constellation Boundary Data":
http://cdsweb.u-strasbg.fr/viz-bin/ftp-index?/ftp/cats/VI/49
Other work
----------
# Selden Ball deserves a special mention for suffering more prerelease versions
finding more bugs, and giving more feedback than anyone else.
# Christophe Campos aka ElChristou created the splash screen for Celestia.
# The MacOS X icon was designed by Chris Alford: http://www.chrisalford.com/
# The txf font format used by Celestia was devised by Mark Kilgard.
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/
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.
The Celestia Development Team
***************************************************************************
* Celestia *
* *
* A real-time space simulation that lets you experience our universe in *
* three dimensions. *
* *
* Copyright (c) 2001-2021, Celestia Development Team *
* *
*-------------------------------------------------------------------------*
* Celestia web site: https://celestia.space/ *
* *
* Celestia documentation: *
* https://celestia.space/guides.html *
* Celestia WikiBook: https://en.wikibooks.org/wiki/Celestia *
* *
* Celestia forums: https://celestia.space/forum/ *
* *
***************************************************************************
CONTENTS
--------
License
Getting Started
Mouse, Keyboard & Joystick Controls
Star & Solar System Browser
Selecting Objects by Name
Known Issues
User Modifiable Elements
Celestia Resources
Building From Sources
Contributions
Acknowledgements
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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307
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:
https://celestia.space/guides.html
This web page also includes links to the Celestia README file translated into
Japanese.
MOUSE, KEYBOARD & JOYSTICK CONTROLS
-----------------------------------
See the included file: controls.txt OR use the Help menu to display the Controls
list.
STAR & SOLAR SYSTEM BROWSER
-------------------------------------------
The Navigation menu contains 'Solar System Browser' and 'Star Browser'
options.
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.
CELESTIA RESOURCES
------------------
Celestia Web Site:
https://celestia.space/
Celestia User Forums:
https://celestia.space/forum/
Selden's List of Resources for Celestia:
https://www.classe.cornell.edu/~seb/celestia/
Celestia Wikibook:
https://en.wikibooks.org/wiki/Celestia
Celestial Matters Website and Forums:
http://www.celestialmatters.org/
http://forum.celestialmatters.org/
Celestia Motherlode:
http://www.celestiamotherlode.net/
Celestia Source Repository:
https://github.com/CelestiaProject/Celestia
Celestia Bug Tracking:
https://github.com/CelestiaProject/Celestia/issues
Celestia Feature Requests:
https://github.com/CelestiaProject/Celestia/issues
Celestia Discord Server:
https://discordapp.com/invite/WEWDcJh
Celestia Subreddit:
https://www.reddit.com/r/Celestiasoftware/
Celestia Archive Repository:
https://github.com/Anthony-B-Russo10/Celestia-Archive
BUILDING FROM SOURCES
---------------------
See file INSTALL for building instructions.
CONTRIBUTIONS
-------------
Authors
-------
Chris Laurel <claurel@gmail.com>
Clint Weisbrod <cweisbrod@cogeco.ca>
Fridger Schrempp <t00fri@mail.desy.de>
Bob Ippolito <bob@redivi.com>
Christophe Teyssier <chris@teyssier.org>
Hank Ramsey <hramsey@users.sourceforge.net>
Grant Hutchison <grant.celestia@xemaps.com>
Pat Suwalski <pat@suwalski.net>
Toti
Da Woon Jung <dirkpitt2050@users.sf.net>
Vincent Giangiulio <vince.gian@free.fr>
Andrew Tribick
Hleb Valoshka
Li Linfeng
Contributors
------------
Deon Ramsey ........... Original GTK1 interface
Christopher Andre ..... Eclipse Finder
Colin Walters ......... Endianness fixes
Peter Chapman ......... Orbit path rendering changes
James Holmes ..........
Harald Schmidt ........ Lua scripting enhancements, bug fixes
Nils Larsson .......... Qt enhancements
Documentation
-------------
Frank Gregorio ........ Celestia User's Guide
Hitoshi Suzuki ........ Japanese README translation
Christophe Teyssier ... DocBook and HTML conversion of User's Guide
Diego Rodriguez ....... Acrobat conversion of User's Guide
Don Goyette ........... CEL Scripting Guide
Harald Schmidt ........ Celx/Lua Scripting Guide
Content
-------
Please see the README file in the CelestiaContent repository.
Libraries
---------
# This software is based in part on the work of the Independent JPEG Group.
# Some versions of Celestia may use the SPICE system for spacecraft and
planetary information, developed by Caltech/JPL under contract to NASA.
# Many cylindrical projections of photographs were performed by Fridger
Schrempp with Matthew Arcus 'mmps' software,
http://www.users.globalnet.co.uk/~arcus/mmps/
# The lower resolution textures were all converted from their higher resolution
versions using Gimp.
# The star database (stars.dat) was derived from the ESA's HIPPARCOS data set.
# Constellation boundaries are drawn from Davenhall & Leggett's "Catalogue of
Constellation Boundary Data":
http://cdsweb.u-strasbg.fr/viz-bin/ftp-index?/ftp/cats/VI/49
Other work
----------
# Selden Ball deserves a special mention for suffering more prerelease versions
finding more bugs, and giving more feedback than anyone else.
# Christophe Campos aka ElChristou created the splash screen for Celestia.
# The MacOS X icon was designed by Chris Alford: http://www.chrisalford.com/
# The txf font format used by Celestia was devised by Mark Kilgard.
ACKNOWLEDGEMENTS
----------------
A very big thank you for creating Celestia goes to Chris Laurel who started this
program in the year 2001.
<claurel@gmail.com>
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.
The Celestia Development Team

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.

204
README.md
View File

@ -1,136 +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](https://celestiaproject.net/img/albums/2017/04/20/9a57d8f21a129049a6b0e1da3a5c852d.png)
**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 (c) 2001-2017, Celestia Development Team**
**Celestia web site: https://celestia.space**
**Celestia WikiBook: https://en.wikibooks.org/wiki/Celestia**
**Celestia forums: http://celestia.space/forum/**
## 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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307
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:
https://celestia.space/guides.html
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)
All three types of catalog file are text files that can be updated with your
favorite text editing program.
Debian tracker link:
## 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 | Deon Ramsey, Christopher ANDRE, Colin Walters, Peter Chapman, James Holmes, Harald Schmidt, Sergey Leonov, Alexell, Dmitry Brant, Janus, Pirogronian, Hleb Valoshka | Frank Gregorio, Hitoshi Suzuki, Christophe Teyssier, Diego Rodriguez, Don Goyette, Harald Schmidt | Creators of scientific data base, texture maps, 3D models and used librarys, you can see in full README.|
* https://tracker.debian.org/pkg/celestia
### Contributing
# Build
Mini Debian package build howto.
**We welcome feedback, bug reports, and pull requests!**
```
# 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
# Add ccache to PATH in ~/.bashrc, and log back in
PATH=/usr/lib/ccache:$PATH
# 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 any code changes.
* Follow the existing code style (e.g., indents).
* Put a 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"

BIN
celestia-logo.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@ -8,8 +8,8 @@
# make any changes to it.
#
# To learn more about Celestia, visit the Celestia forums at:
# http://www.shatters.net/forum/
# or the Celestia web site at: http://www.shatters.net/celestia/
# https://celestia.space/forum/
# or the Celestia web site at: https://celestia.space/
#************************************************************************
@ -22,8 +22,8 @@ Configuration
# these file names or the order in which they are listed, unless you
# know exactly what you are doing. Most of these files can be viewed
# with a plain text editor. Discussion about their content and formats
# can be found on the Celestia forums: http://www.shatters.net/forum/
#
# can be found on the Celestia forums: https://celestia.space/forum/
# If you want to load all your stars from .stc files, you can now comment
# out the StarDatabase entry.
#------------------------------------------------------------------------
@ -31,42 +31,45 @@ Configuration
StarNameDatabase "data/starnames.dat"
StarCatalogs [ "data/revised.stc"
"data/extrasolar.stc"
"data/nearstars.stc"
"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/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" ]
DeepSkyCatalogs [ "data/galaxies.dsc"
"data/globulars.dsc" ]
"data/globulars.dsc"
"data/openclusters.dsc" ]
AsterismsFile "data/asterisms.dat"
BoundariesFile "data/boundaries.dat"
@ -80,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
@ -97,17 +100,18 @@ StarTextures
S "mstar.*" # roughly between M and C
# Wolf-Rayet stars
WC "bstar.*"
WN "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.*"
}
@ -175,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"
@ -185,13 +189,13 @@ 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://www.shatters.net/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:
# ExtrasDirectories [ "extras" "myextras1" "myextras2" ]
#
# To specify absolute paths on windows, you either have to use "/" or
# To specify absolute paths on windows, you either have to use "/" or
# double backslashes to seperate path components. Example:
# ExtrasDirectories [ "D:/celestia-extras" ]
# or
@ -200,6 +204,22 @@ StarTextures
ExtrasDirectories [ "extras-standard" "extras" ]
#------------------------------------------------------------------------
# Addons in 'extras' directories can be skipped. For example, if you have
# an addon which provides a better version of ISS spacecraft you might
# want to use it instead of the default one shipped with Celestia. But if
# you load it you will have two spacecraft rendered in the same place. So
# you can either remove the default one but it will be reinstalled on
# Celestia upgrade or you can it to the skip list. Example:
# SkipExtras "extras-standard/iss/iss.ssc"
# or
# SkipExtras ["extras/wostars.stc" "extras-standard/iss/iss.ssc"]
#
# Please note that 1) only relative paths work, 2) directories are not
# accepted in the list only catalog file names.
#------------------------------------------------------------------------
# SkipExtras [ ]
#------------------------------------------------------------------------
# Font definitions.
#
@ -207,20 +227,21 @@ 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 "sans12.txf"
LabelFont "sans12.txf"
TitleFont "sansbold20.txf"
Font "DejaVuSans.ttf,9"
LabelFont "DejaVuSans.ttf,9"
TitleFont "DejaVuSans-Bold.ttf,15"
#------------------------------------------------------------------------
@ -269,7 +290,7 @@ StarTextures
# The following parameter is used in Lua (.celx) scripting.
#
# ScriptScreenshotDirectory defines the directory where screenshots
# are to be stored. The default value is "", i.e. Celestia's
# are to be stored. The default value is "", i.e. Celestia's
# installation directory.
#------------------------------------------------------------------------
ScriptScreenshotDirectory ""
@ -277,8 +298,8 @@ StarTextures
#------------------------------------------------------------------------
# CELX-scripts can request permission to perform dangerous operations,
# such as reading, writing and deleting files or executing external
# programs. If granted, a malicious script could use this to destroy
# such as reading, writing and deleting files or executing external
# programs. If granted, a malicious script could use this to destroy
# data or compromise system security.
# The following parameter determines what Celestia does upon such
# requests:
@ -369,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

@ -1,799 +0,0 @@
TEMPLATE = app
TARGET = Celestia_QT
VERSION = 1.7.0
DESTDIR = .
OBJECTS_DIR = obj
MOC_DIR = moc
RCC_DIR = rcc
GIT_COMMIT = $$system(git --git-dir=$PWD/.git log --pretty=format:"%h" -1)
DEFINES += GIT_COMMIT=\\\"$$GIT_COMMIT\\\"
QMAKE_CXXFLAGS += -std=c++11
QT += opengl
QT += xml
contains(DEFINES, TEST_MODEL) {
QT += testlib
}
load(configure)
qtCompileTest(spice)
qtCompileTest(byteswap)
qtCompileTest(eigen)
qtCompileTest(glew)
qtCompileTest(fmt)
unix {
!exists(config.h):system(touch config.h)
QMAKE_DISTCLEAN += config.h
}
#### Utility library ####
UTIL_SOURCES = \
src/celutil/bigfix.cpp \
src/celutil/color.cpp \
src/celutil/debug.cpp \
src/celutil/directory.cpp \
src/celutil/filetype.cpp \
src/celutil/formatnum.cpp \
src/celutil/utf8.cpp \
src/celutil/util.cpp \
src/celutil/timer.cpp
UTIL_HEADERS = \
src/celutil/bigfix.h \
src/celutil/bytes.h \
src/celutil/color.h \
src/celutil/debug.h \
src/celutil/directory.h \
src/celutil/filetype.h \
src/celutil/formatnum.h \
src/celutil/reshandle.h \
src/celutil/resmanager.h \
src/celutil/timer.h \
src/celutil/utf8.h \
src/celutil/util.h \
src/celutil/watcher.h
win32 {
UTIL_SOURCES += src/celutil/windirectory.cpp
UTIL_HEADERS += src/celutil/winutil.h
}
unix {
UTIL_SOURCES += src/celutil/unixdirectory.cpp
}
#### Math library ####
MATH_SOURCES = \
src/celmath/frustum.cpp \
src/celmath/perlin.cpp
MATH_HEADERS = \
src/celmath/aabox.h \
src/celmath/capsule.h \
src/celmath/distance.h \
src/celmath/ellipsoid.h \
src/celmath/frustum.h \
src/celmath/geomutil.h \
src/celmath/intersect.h \
src/celmath/mathlib.h \
src/celmath/perlin.h \
src/celmath/plane.h \
src/celmath/quaternion.h \
src/celmath/ray.h \
src/celmath/solve.h \
src/celmath/sphere.h \
src/celmath/vecmath.h
#### 3DS Mesh library ####
TDS_SOURCES = \
src/cel3ds/3dsmodel.cpp \
src/cel3ds/3dsread.cpp
TDS_HEADERS = \
src/cel3ds/3dschunk.h \
src/cel3ds/3dsmodel.h \
src/cel3ds/3dsread.h
#### CMOD Mesh library ####
MODEL_SOURCES = \
src/celmodel/material.cpp \
src/celmodel/mesh.cpp \
src/celmodel/model.cpp \
src/celmodel/modelfile.cpp
MODEL_HEADERS = \
src/celmodel/material.h \
src/celmodel/mesh.h \
src/celmodel/model.h \
src/celmodel/modelfile.h
#### Texture font library ####
TXF_SOURCES = \
src/celtxf/texturefont.cpp
TXF_HEADERS = \
src/celtxf/texturefont.h
#### Ephemeris module ####
EPHEM_SOURCES = \
src/celephem/customorbit.cpp \
src/celephem/customrotation.cpp \
src/celephem/jpleph.cpp \
src/celephem/nutation.cpp \
src/celephem/orbit.cpp \
src/celephem/precession.cpp \
src/celephem/rotation.cpp \
src/celephem/samporbit.cpp \
src/celephem/samporient.cpp \
src/celephem/scriptobject.cpp \
src/celephem/scriptorbit.cpp \
src/celephem/scriptrotation.cpp \
src/celephem/vsop87.cpp
EPHEM_HEADERS = \
src/celephem/customorbit.h \
src/celephem/customrotation.h \
src/celephem/jpleph.h \
src/celephem/nutation.h \
src/celephem/orbit.h \
src/celephem/precession.h \
src/celephem/rotation.h \
src/celephem/samporbit.h \
src/celephem/samporient.h \
src/celephem/scriptobject.h \
src/celephem/scriptorbit.h \
src/celephem/scriptrotation.h \
src/celephem/vsop87.h
#### Celestia Engine ####
ENGINE_SOURCES = \
src/celengine/asterism.cpp \
src/celengine/astro.cpp \
src/celengine/axisarrow.cpp \
src/celengine/body.cpp \
src/celengine/boundaries.cpp \
src/celengine/catalogxref.cpp \
src/celengine/cmdparser.cpp \
src/celengine/command.cpp \
src/celengine/console.cpp \
src/celengine/constellation.cpp \
src/celengine/curveplot.cpp \
src/celengine/dds.cpp \
src/celengine/deepskyobj.cpp \
src/celengine/dispmap.cpp \
src/celengine/dsodb.cpp \
src/celengine/dsoname.cpp \
src/celengine/dsooctree.cpp \
src/celengine/execution.cpp \
src/celengine/frame.cpp \
src/celengine/frametree.cpp \
src/celengine/galaxy.cpp \
src/celengine/globular.cpp \
src/celengine/glcontext.cpp \
src/celengine/glshader.cpp \
src/celengine/image.cpp \
src/celengine/location.cpp \
src/celengine/lodspheremesh.cpp \
src/celengine/marker.cpp \
src/celengine/meshmanager.cpp \
src/celengine/modelgeometry.cpp \
src/celengine/multitexture.cpp \
src/celengine/nebula.cpp \
src/celengine/observer.cpp \
src/celengine/opencluster.cpp \
src/celengine/overlay.cpp \
src/celengine/parseobject.cpp \
src/celengine/parser.cpp \
src/celengine/planetgrid.cpp \
src/celengine/rendcontext.cpp \
src/celengine/render.cpp \
src/celengine/renderglsl.cpp \
src/celengine/rotationmanager.cpp \
src/celengine/selection.cpp \
src/celengine/shadermanager.cpp \
src/celengine/simulation.cpp \
src/celengine/skygrid.cpp \
src/celengine/solarsys.cpp \
src/celengine/spheremesh.cpp \
src/celengine/star.cpp \
src/celengine/starcolors.cpp \
src/celengine/stardb.cpp \
src/celengine/starname.cpp \
src/celengine/staroctree.cpp \
src/celengine/stellarclass.cpp \
src/celengine/texmanager.cpp \
src/celengine/texture.cpp \
src/celengine/timeline.cpp \
src/celengine/timelinephase.cpp \
src/celengine/tokenizer.cpp \
src/celengine/trajmanager.cpp \
src/celengine/univcoord.cpp \
src/celengine/universe.cpp \
src/celengine/virtualtex.cpp \
src/celengine/visibleregion.cpp
ENGINE_HEADERS = \
src/celengine/asterism.h \
src/celengine/astro.h \
src/celengine/atmosphere.h \
src/celengine/axisarrow.h \
src/celengine/body.h \
src/celengine/boundaries.h \
src/celengine/catalogxref.h \
src/celengine/celestia.h \
src/celengine/cmdparser.h \
src/celengine/command.h \
src/celengine/console.h \
src/celengine/constellation.h \
src/celengine/curveplot.h \
src/celengine/deepskyobj.h \
src/celengine/dispmap.h \
src/celengine/dsodb.h \
src/celengine/dsoname.h \
src/celengine/dsooctree.h \
src/celengine/execenv.h \
src/celengine/execution.h \
src/celengine/frame.h \
src/celengine/frametree.h \
src/celengine/galaxy.h \
src/celengine/geometry.h \
src/celengine/globular.h \
src/celengine/glcontext.h \
src/celengine/glshader.h \
src/celengine/image.h \
src/celengine/lightenv.h \
src/celengine/location.h \
src/celengine/lodspheremesh.h \
src/celengine/marker.h \
src/celengine/meshmanager.h \
src/celengine/modelgeometry.h \
src/celengine/multitexture.h \
src/celengine/nebula.h \
src/celengine/observer.h \
src/celengine/octree.h \
src/celengine/opencluster.h \
src/celengine/overlay.h \
src/celengine/parseobject.h \
src/celengine/parser.h \
src/celengine/planetgrid.h \
src/celengine/referencemark.h \
src/celengine/rendcontext.h \
src/celengine/render.h \
src/celengine/renderglsl.h \
src/celengine/renderinfo.h \
src/celengine/rotationmanager.h \
src/celengine/selection.h \
src/celengine/shadermanager.h \
src/celengine/simulation.h \
src/celengine/skygrid.h \
src/celengine/solarsys.h \
src/celengine/spheremesh.h \
src/celengine/star.h \
src/celengine/starcolors.h \
src/celengine/stardb.h \
src/celengine/starname.h \
src/celengine/staroctree.h \
src/celengine/stellarclass.h \
src/celengine/surface.h \
src/celengine/texmanager.h \
src/celengine/texture.h \
src/celengine/timeline.h \
src/celengine/timelinephase.h \
src/celengine/tokenizer.h \
src/celengine/trajmanager.h \
src/celengine/univcoord.h \
src/celengine/universe.h \
src/celengine/vecgl.h \
src/celengine/virtualtex.h \
src/celengine/visibleregion.h
SPICE_SOURCES = \
src/celephem/spiceinterface.cpp \
src/celephem/spiceorbit.cpp \
src/celephem/spicerotation.cpp
SPICE_HEADERS = \
src/celephem/spiceinterface.h \
src/celephem/spiceorbit.h \
src/celephem/spicerotation.h
#### App sources ####
APP_SOURCES = \
src/celestia/celestiacore.cpp \
src/celestia/configfile.cpp \
src/celestia/destination.cpp \
src/celestia/eclipsefinder.cpp \
src/celestia/favorites.cpp \
src/celestia/imagecapture.cpp \
src/celestia/scriptmenu.cpp \
src/celestia/url.cpp \
src/celestia/celx.cpp \
src/celestia/celx_celestia.cpp \
src/celestia/celx_frame.cpp \
src/celestia/celx_gl.cpp \
src/celestia/celx_object.cpp \
src/celestia/celx_observer.cpp \
src/celestia/celx_phase.cpp \
src/celestia/celx_position.cpp \
src/celestia/celx_rotation.cpp \
src/celestia/celx_vector.cpp
APP_HEADERS = \
src/celestia/celestiacore.h \
src/celestia/configfile.h \
src/celestia/destination.h \
src/celestia/eclipsefinder.h \
src/celestia/favorites.h \
src/celestia/imagecapture.h \
src/celestia/scriptmenu.h \
src/celestia/url.h \
src/celestia/celx.h \
src/celestia/celx_celestia.h \
src/celestia/celx_internal.h \
src/celestia/celx_frame.h \
src/celestia/celx_gl.h \
src/celestia/celx_object.h \
src/celestia/celx_observer.h \
src/celestia/celx_phase.h \
src/celestia/celx_position.h \
src/celestia/celx_rotation.h \
src/celestia/celx_vector.h
macx {
APP_SOURCES -= src/celestia/imagecapture.cpp
APP_SOURCES += macosx/POSupport.cpp
APP_HEADERS += macosx/POSupport.h
}
#### Qt front-end sources ####
QTAPP_SOURCES = \
src/celestia/qt/qtmain.cpp \
src/celestia/qt/qtappwin.cpp \
src/celestia/qt/qtbookmark.cpp \
src/celestia/qt/qtglwidget.cpp \
src/celestia/qt/qtpreferencesdialog.cpp \
src/celestia/qt/qtcelestialbrowser.cpp \
src/celestia/qt/qtdeepskybrowser.cpp \
src/celestia/qt/qtsolarsystembrowser.cpp \
src/celestia/qt/qtselectionpopup.cpp \
src/celestia/qt/qtcolorswatchwidget.cpp \
src/celestia/qt/qttimetoolbar.cpp \
src/celestia/qt/qtcelestiaactions.cpp \
src/celestia/qt/qtinfopanel.cpp \
src/celestia/qt/qteventfinder.cpp \
src/celestia/qt/qtsettimedialog.cpp \
src/celestia/qt/xbel.cpp
QTAPP_HEADERS = \
src/celestia/qt/qtappwin.h \
src/celestia/qt/qtbookmark.h \
src/celestia/qt/qtglwidget.h \
src/celestia/qt/qtpreferencesdialog.h \
src/celestia/qt/qtcelestialbrowser.h \
src/celestia/qt/qtdeepskybrowser.h \
src/celestia/qt/qtsolarsystembrowser.h \
src/celestia/qt/qtselectionpopup.h \
src/celestia/qt/qtcolorswatchwidget.h \
src/celestia/qt/qttimetoolbar.h \
src/celestia/qt/qtcelestiaactions.h \
src/celestia/qt/qtinfopanel.h \
src/celestia/qt/qteventfinder.h \
src/celestia/qt/qtsettimedialog.h \
src/celestia/qt/xbel.h
# Third party libraries
# GL extension wrangler
GLEW_SOURCES = \
thirdparty/glew/src/glew.c
GLEW_HEADERS = \
thirdparty/glew/include/GL/glew.h \
thirdparty/glew/include/GL/glxew.h \
thirdparty/glew/include/GL/wglew.h
# libfmt formatting library
FMT_SOURCES = \
thirdparty/fmt/src/format.cc \
thirdparty/fmt/src/posix.cc
FMT_HEADERS = \
thirdparty/fmt/include/fmt/color.h \
thirdparty/fmt/include/fmt/core.h \
thirdparty/fmt/include/fmt/format.h \
thirdparty/fmt/include/fmt/format-inl.h \
thirdparty/fmt/include/fmt/ostream.h \
thirdparty/fmt/include/fmt/posix.h \
thirdparty/fmt/include/fmt/printf.h \
thirdparty/fmt/include/fmt/ranges.h \
thirdparty/fmt/include/fmt/time.h
THIRDPARTY_SOURCES =
THIRDPARTY_HEADERS =
!config_glew {
THIRDPARTY_SOURCES += $$GLEW_SOURCES
THIRDPARTY_HEADERS += $$GLEW_HEADERS
INCLUDEPATH += thirdparty/glew/include
DEFINES += GLEW_STATIC
}
!config_fmt {
THIRDPARTY_SOURCES += $$FMT_SOURCES
THIRDPARTY_HEADERS += $$FMT_HEADERS
INCLUDEPATH += thirdparty/fmt/include
}
#### common definitions
DEFINES += CELX
# SPICE support
config_spice {
EPHEM_SOURCES += $$SPICE_SOURCES
EPHEM_HEADERS += $$SPICE_HEADERS
DEFINES += USE_SPICE
}
# byteswap.h
config_byteswap {
DEFINES += HAVE_BYTESWAP_H
}
SOURCES = \
$$UTIL_SOURCES \
$$MATH_SOURCES \
$$TXF_SOURCES \
$$TDS_SOURCES \
$$MODEL_SOURCES \
$$EPHEM_SOURCES \
$$ENGINE_SOURCES \
$$APP_SOURCES \
$$QTAPP_SOURCES \
$$THIRDPARTY_SOURCES
HEADERS = \
$$UTIL_HEADERS \
$$MATH_HEADERS \
$$TXF_HEADERS \
$$TDS_HEADERS \
$$MODEL_HEADERS \
$$EPHEM_HEADERS \
$$ENGINE_HEADERS \
$$APP_HEADERS \
$$QTAPP_HEADERS \
$$THIRDPARTY_HEADERS
RESOURCES = \
src/celestia/qt/icons.qrc
FORMS = \
src/celestia/qt/addbookmark.ui \
src/celestia/qt/newbookmarkfolder.ui \
src/celestia/qt/organizebookmarks.ui \
src/celestia/qt/preferences.ui
UI_HEADERS_DIR = src/celestia/qt/ui
UI_SOURCES_DIR = src/celestia/qt/ui
INCLUDEPATH += .
INCLUDEPATH += src
# Third party libraries
!config_eigen {
INCLUDEPATH += thirdparty/Eigen
}
CATALOG_SOURCE = data
CATALOG_FILES = \
$$CATALOG_SOURCE/stars.dat \
$$CATALOG_SOURCE/starnames.dat \
$$CATALOG_SOURCE/saoxindex.dat \
$$CATALOG_SOURCE/hdxindex.dat \
$$CATALOG_SOURCE/nearstars.stc \
$$CATALOG_SOURCE/extrasolar.stc \
$$CATALOG_SOURCE/visualbins.stc \
$$CATALOG_SOURCE/spectbins.stc \
$$CATALOG_SOURCE/revised.stc \
$$CATALOG_SOURCE/galaxies.dsc \
$$CATALOG_SOURCE/globulars.dsc \
$$CATALOG_SOURCE/solarsys.ssc \
$$CATALOG_SOURCE/asteroids.ssc \
$$CATALOG_SOURCE/comets.ssc \
$$CATALOG_SOURCE/minormoons.ssc \
$$CATALOG_SOURCE/numberedmoons.ssc \
$$CATALOG_SOURCE/outersys.ssc \
$$CATALOG_SOURCE/world-capitals.ssc \
$$CATALOG_SOURCE/merc_locs.ssc \
$$CATALOG_SOURCE/venus_locs.ssc \
$$CATALOG_SOURCE/mars_locs.ssc \
$$CATALOG_SOURCE/moon_locs.ssc \
$$CATALOG_SOURCE/marsmoons_locs.ssc \
$$CATALOG_SOURCE/jupitermoons_locs.ssc \
$$CATALOG_SOURCE/saturnmoons_locs.ssc \
$$CATALOG_SOURCE/uranusmoons_locs.ssc \
$$CATALOG_SOURCE/neptunemoons_locs.ssc \
$$CATALOG_SOURCE/extrasolar.ssc \
$$CATALOG_SOURCE/asterisms.dat \
$$CATALOG_SOURCE/boundaries.dat
CONFIGURATION_SOURCE = .
CONFIGURATION_FILES = \
$$CONFIGURATION_SOURCE/celestia.cfg \
$$CONFIGURATION_SOURCE/start.cel
TEXTURE_SOURCE = textures/medres
HIRES_TEXTURE_SOURCE = textures/hires
LORES_TEXTURE_SOURCE = textures/lores
TEXTURE_FILES =
LORES_TEXTURE_FILES =
HIRES_TEXTURE_FILES =
MODEL_SOURCE = models
MODEL_FILES =
SHADER_SOURCE = shaders
SHADER_FILES =
FONT_SOURCE = fonts
FONT_FILES =
# ## End package files
macx {
# Scan directories for files for Mac bundle
FILES = $$system(ls $$TEXTURE_SOURCE)
TEXTURE_FILES = $$join(FILES, " $$TEXTURE_SOURCE/", $$TEXTURE_SOURCE/)
FILES = $$system(ls $$LORES_TEXTURE_SOURCE)
LORES_TEXTURE_FILES = $$join(FILES, " $$LORES_TEXTURE_SOURCE/", $$LORES_TEXTURE_SOURCE/)
FILES = $$system(ls $$HIRES_TEXTURE_SOURCE)
HIRES_TEXTURE_FILES = $$join(FILES, " $$HIRES_TEXTURE_SOURCE/", $$HIRES_TEXTURE_SOURCE/)
FILES = $$system(ls $$MODEL_SOURCE)
MODEL_FILES = $$join(FILES, " $$MODEL_SOURCE/", $$MODEL_SOURCE/)
FILES = $$system(ls $$SHADER_SOURCE)
SHADER_FILES = $$join(FILES, " $$SHADER_SOURCE/", $$SHADER_SOURCE/)
FILES = $$system(ls $$FONT_SOURCE)
FONT_FILES = $$join(FILES, " $$FONT_SOURCE/", $$FONT_SOURCE/)
}
DEFINES += EIGEN_NO_DEBUG
release {
DEFINES += \
NDEBUG \
NO_DEBUG
}
win32 {
INCLUDEPATH += \
windows/inc/libintl \
windows/inc/libz \
windows/inc/libpng \
windows/inc/libjpeg \
windows/inc/lua \
windows/inc/spice
#CONFIG += staticlib
#CONFIG += /MT
#QMAKE_CXXFLAGS += /MT
LIBS += opengl32.lib \
-lglu32 \
-luser32 \
-lzlib \
-llibpng \
-llibjpeg \
-llua51 \
-lvfw32 \
-llibintl
!contains(QMAKE_TARGET.arch, x86_64) {
LIBS += -L$$PWD/windows/lib/x86 -lcspice
} else{
LIBS += -L$$PWD/windows/lib/x64 -lcspice64
}
SOURCES += src/celestia/avicapture.cpp
HEADERS += src/celestia/avicapture.h
RC_FILE = src/celestia/qt/celestia.rc
DEFINES += _CRT_SECURE_NO_WARNINGS
# Disable the regrettable min and max macros in windows.h
DEFINES += NOMINMAX
DEFINES += LUA_VER=0x050100
DEFINES += LOCALEDIR=\\\"locale\\\"
}
unix {
SOURCES += src/celestia/oggtheoracapture.cpp
HEADERS += src/celestia/oggtheoracapture.h
DEFINES += THEORA VIDEO_SYNC
CONFIG += link_pkgconfig
LUALIST = lua lua51 lua52 lua53
for(libpc, LUALIST):system(pkg-config --exists $${libpc}):LUAPC = $${libpc}
isEmpty (LUAPC) {error("No shared Lua library found!")}
message("LUA version: " $${LUAPC})
equals(LUAPC, "lua53"): DEFINES += LUA_VER=0x050300
equals(LUAPC, "lua52"): DEFINES += LUA_VER=0x050200
equals(LUAPC, "lua51"): DEFINES += LUA_VER=0x050100
PKGCONFIG += glu $$LUAPC libpng libjpeg theora
}
unix:config_fmt {
LIBS += -Wl,-Bstatic -lfmt -Wl,-Bdynamic
}
unix:config_spice {
INCLUDEPATH += /usr/local/cspice/include
LIBS += /usr/local/cspice/lib/cspice.a
}
unix:config_eigen {
PKGCONFIG += eigen3
}
unix:config_glew {
PKGCONFIG += glew
}
macx {
message(Copying extras-standard to bundle)
RESOURCES_DIR = $$DESTDIR/$${TARGET}.app/Contents/Resources/CelestiaResources
system(rm -rf $$RESOURCES_DIR/extras-standard)
system(cp -r extras-standard $$RESOURCES_DIR)
#system(ls $$DESTDIR/$${TARGET}.app/Contents/Resources/CelestiaResources)
# Necessary with Qt 4.6
QMAKE_LFLAGS += -framework CoreFoundation -framework ApplicationServices
ICON = macosx/celestia.icns
INCLUDEPATH += macosx
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
#QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
CONFIG += x86
PRECOMPILED_HEADER += macosx/Util.h
FRAMEWORKPATH = macosx/Frameworks
LIBS -= -ljpeg
LIBS += -llua
LIBS += -L$$FRAMEWORKPATH
DEFINES += PNG_SUPPORT
DEFINES += TARGET_OS_MAC __AIFF__
DEFINES += LUA_VER=0x050100
# FIXME!
DEFINES += LOCALEDIR=\\\"locale\\\"
FRAMEWORKS.files = $$FRAMEWORKPATH/liblua.dylib $$FRAMEWORKPATH/libpng.dylib
FRAMEWORKS.path = Contents/Frameworks
QMAKE_BUNDLE_DATA += FRAMEWORKS
CONFIGURATION.path = Contents/Resources/CelestiaResources
CONFIGURATION.files = $$CONFIGURATION_FILES
CATALOGS.path = Contents/Resources/CelestiaResources/data
CATALOGS.files = $$CATALOG_FILES
TEXTURES.path = Contents/Resources/CelestiaResources/textures/medres
TEXTURES.files = $$TEXTURE_FILES
LORES_TEXTURES.path = Contents/Resources/CelestiaResources/textures/lores
LORES_TEXTURES.files = $$LORES_TEXTURE_FILES
HIRES_TEXTURES.path = Contents/Resources/CelestiaResources/textures/hires
HIRES_TEXTURES.files = $$HIRES_TEXTURE_FILES
MODELS.path = Contents/Resources/CelestiaResources/models
MODELS.files = $$MODEL_FILES
FONTS.path = Contents/Resources/CelestiaResources/fonts
FONTS.files = $$FONT_FILES
SHADERS.path = Contents/Resources/CelestiaResources/shaders
SHADERS.files = $$SHADER_FILES
QMAKE_BUNDLE_DATA += \
CONFIGURATION \
CATALOGS \
TEXTURES \
LORES_TEXTURES \
HIRES_TEXTURES \
MODELS \
FONTS \
SHADERS \
EPHEMERIDES
}
macx:config_spice {
LIBS += macosx/lib/cspice.a
}
unix {
#VARIABLES
isEmpty(PREFIX) { PREFIX = /usr/local }
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share
WORKDIR = $$DATADIR/$${TARGET}
LOCALEDIR = $$DATADIR/locale
DEFINES += CONFIG_DATA_DIR=\\\"$${WORKDIR}\\\"
DEFINES += SPLASH_DIR=\\\"$${WORKDIR}/splash/\\\"
DEFINES += LOCALEDIR=\\\"$${LOCALEDIR}\\\"
#MAKE INSTALL
target.path = $$BINDIR
data.path = $$WORKDIR/data
data.files = $$CATALOG_SOURCE/*
flares.path = $$WORKDIR/textures
flares.files += textures/*.jpg textures/*.png
textures.path = $$WORKDIR/textures/medres
textures.files += $$TEXTURE_SOURCE/*.jpg $$TEXTURE_SOURCE/*.png
lores_textures.path = $$WORKDIR/textures/lores
lores_textures.files += $$LORES_TEXTURE_SOURCE/*.jpg \
$$LORES_TEXTURE_SOURCE/*.png
hires_textures.path = $$WORKDIR/textures/hires
hires_textures.files = $$HIRES_TEXTURE_SOURCE/*.jpg
models.path = $$WORKDIR/models
models.files += $$MODEL_SOURCE/*.cmod $$MODEL_SOURCE/*.png
shaders.path = $$WORKDIR/shaders
shaders.files += $$SHADER_SOURCE/*.vp $$SHADER_SOURCE/*.fp
fonts.path = $$WORKDIR/fonts
fonts.files = $$FONT_SOURCE/*.txf
scripts.path = $$WORKDIR/scripts
scripts.files = scripts/*.celx
configuration.path = $$WORKDIR
configuration.files += $$CONFIGURATION_FILES \
$$CONFIGURATION_SOURCE/guide.cel \
$$CONFIGURATION_SOURCE/demo.cel \
$$CONFIGURATION_SOURCE/controls.txt \
$$CONFIGURATION_SOURCE/COPYING \
$$CONFIGURATION_SOURCE/README \
$$CONFIGURATION_SOURCE/ChangeLog \
$$CONFIGURATION_SOURCE/AUTHORS
locale.path = $$WORKDIR/locale
locale.files = locale/*
extras.path = $$WORKDIR/extras
extras.files = extras/*
extras-standard.path = $$WORKDIR/extras-standard
extras-standard.files = extras-standard/*
desktop_file.target = $${TARGET}.desktop
desktop_file.commands = sh $$PWD/src/celestia/qt/data/celestia.desktop.sh $${PREFIX} >$$desktop_file.target
desktop_file.depends += $$PWD/src/celestia/qt/data/celestia.desktop.sh
QMAKE_EXTRA_TARGETS += desktop_file
PRE_TARGETDEPS += $$desktop_file.target
QMAKE_CLEAN += $$desktop_file.target
desktop.path = /usr/share/applications
desktop.files += $$desktop_file.target
desktop.CONFIG += no_check_exist
icon128.path = /usr/share/icons/hicolor/128x128/apps
icon128.files += src/celestia/qt/data/celestia.png
splash.path = $$WORKDIR/splash
splash.files = splash.png
INSTALLS += target data textures lores_textures hires_textures \
flares models shaders fonts scripts locale extras extras-standard \
configuration desktop icon128 splash
}

View File

@ -1,28 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "celestia", "celestia.vcxproj", "{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Debug|Win32.ActiveCfg = Debug|Win32
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Debug|Win32.Build.0 = Debug|Win32
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Debug|x64.ActiveCfg = Debug|x64
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Debug|x64.Build.0 = Debug|x64
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Release|Win32.ActiveCfg = Release|Win32
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Release|Win32.Build.0 = Release|Win32
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Release|x64.ActiveCfg = Release|x64
{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1,548 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{DDDE8EA8-F55A-491B-A102-11C9C01B4B58}</ProjectGuid>
<WindowsTargetPlatformVersion>10.0.14393.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>15.0.26228.4</_ProjectFileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<OutDir>$(SolutionDir)$(Configuration)\$(Platform)\</OutDir>
<IntDir>$(Configuration)\</IntDir>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<AdditionalIncludeDirectories>.\src;.\windows\inc;.\windows\inc\libintl;.\windows\inc\libjpeg;.\windows\inc\libpng;.\windows\inc\libz;.\windows\inc\lua;.\windows\inc\spice;.\thirdparty\Eigen;.\thirdparty\glew\include;.\thirdparty\curveplot\include;.\windows\inc\fmod;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LIBINTL_STATIC;CELX;LUA_VER=0x050100;USE_SPICE;WINVER=0x0400;_WIN32_WINNT=0x0400;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;GLEW_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>legacy_stdio_definitions.lib;user32.lib;gdi32.lib;comdlg32.lib;comctl32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;winmm.lib;vfw32.lib;opengl32.lib;glu32.lib;libintl.lib;libiconv.lib;libjpeg.lib;zlib.lib;libpng.lib;lua51.lib;cspice.lib;fmod_vc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>.\windows\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention />
<TargetMachine>MachineX86</TargetMachine>
<ManifestFile>$(SolutionDir)\src\celestia\win32\res\celestia.exe.manifest</ManifestFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<AdditionalIncludeDirectories>.\src;.\windows\inc;.\windows\inc\libintl;.\windows\inc\libjpeg;.\windows\inc\libpng;.\windows\inc\libz;.\windows\inc\lua;.\windows\inc\spice;.\thirdparty\Eigen;.\thirdparty\glew\include;.\thirdparty\curveplot\include;.\windows\inc\fmod;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LIBINTL_STATIC;CELX;LUA_VER=0x050100;USE_SPICE;WINVER=0x0400;_WIN32_WINNT=0x0400;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;GLEW_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;comctl32.lib;winmm.lib;vfw32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;opengl32.lib;glu32.lib;libintl.lib;libiconv.lib;libjpeg.lib;zlib.lib;libpng.lib;lua51.lib;cspice64.lib;fmod64_vc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>.\windows\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention />
<TargetMachine>MachineX64</TargetMachine>
<ManifestFile>$(SolutionDir)\src\celestia\win32\res\celestia.exe.manifest</ManifestFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\src;.\windows\inc;.\windows\inc\libintl;.\windows\inc\libjpeg;.\windows\inc\libpng;.\windows\inc\libz;.\windows\inc\lua;.\windows\inc\spice;.\thirdparty\Eigen;.\thirdparty\glew\include;.\thirdparty\curveplot\include;.\windows\inc\fmod;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LIBINTL_STATIC;CELX;LUA_VER=0x050100;USE_SPICE;WINVER=0x0400;_WIN32_WINNT=0x0400;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;EIGEN_NO_DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<FloatingPointModel>Precise</FloatingPointModel>
</ClCompile>
<Link>
<AdditionalDependencies>legacy_stdio_definitions.lib;user32.lib;gdi32.lib;comdlg32.lib;comctl32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;winmm.lib;vfw32.lib;opengl32.lib;glu32.lib;libintl.lib;libiconv.lib;libjpeg.lib;zlib.lib;libpng.lib;lua51.lib;cspice.lib;fmod_vc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>.\windows\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention />
<TargetMachine>MachineX86</TargetMachine>
<ManifestFile>$(SolutionDir)\src\celestia\win32\res\celestia.exe.manifest</ManifestFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<OmitFramePointers>true</OmitFramePointers>
<AdditionalIncludeDirectories>.\src;.\windows\inc;.\windows\inc\libintl;.\windows\inc\libjpeg;.\windows\inc\libpng;.\windows\inc\libz;.\windows\inc\lua;.\windows\inc\spice;.\thirdparty\Eigen;.\thirdparty\glew\include;.\thirdparty\curveplot\include;.\windows\inc\fmod;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>LIBINTL_STATIC;CELX;LUA_VER=0x050100;USE_SPICE;WINVER=0x0400;_WIN32_WINNT=0x0400;_CRT_SECURE_NO_DEPRECATE;NOMINMAX;EIGEN_NO_DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<FloatingPointModel>Precise</FloatingPointModel>
</ClCompile>
<Link>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;comctl32.lib;winmm.lib;vfw32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;opengl32.lib;glu32.lib;libintl.lib;libiconv.lib;libjpeg.lib;zlib.lib;libpng.lib;lua51.lib;cspice64.lib;fmod64_vc.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(SolutionDir)$(Configuration)\$(Platform)\$(ProjectName).exe</OutputFile>
<AdditionalLibraryDirectories>.\windows\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>libcmt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention />
<TargetMachine>MachineX64</TargetMachine>
<ManifestFile>$(SolutionDir)\src\celestia\win32\res\celestia.exe.manifest</ManifestFile>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src\cel3ds\3dsmodel.cpp" />
<ClCompile Include="src\cel3ds\3dsread.cpp" />
<ClCompile Include="src\celengine\asterism.cpp" />
<ClCompile Include="src\celengine\astro.cpp" />
<ClCompile Include="src\celengine\axisarrow.cpp" />
<ClCompile Include="src\celengine\body.cpp" />
<ClCompile Include="src\celengine\boundaries.cpp" />
<ClCompile Include="src\celengine\catalogxref.cpp" />
<ClCompile Include="src\celengine\cmdparser.cpp" />
<ClCompile Include="src\celengine\command.cpp" />
<ClCompile Include="src\celengine\console.cpp" />
<ClCompile Include="src\celengine\constellation.cpp" />
<ClCompile Include="src\celengine\dds.cpp" />
<ClCompile Include="src\celengine\deepskyobj.cpp" />
<ClCompile Include="src\celengine\dsodb.cpp" />
<ClCompile Include="src\celengine\dsoname.cpp" />
<ClCompile Include="src\celengine\dsooctree.cpp" />
<ClCompile Include="src\celengine\execution.cpp" />
<ClCompile Include="src\celengine\fragmentprog.cpp" />
<ClCompile Include="src\celengine\frame.cpp" />
<ClCompile Include="src\celengine\frametree.cpp" />
<ClCompile Include="src\celengine\galaxy.cpp" />
<ClCompile Include="src\celengine\glcontext.cpp" />
<ClCompile Include="src\celengine\globular.cpp" />
<ClCompile Include="src\celengine\glshader.cpp" />
<ClCompile Include="src\celengine\image.cpp" />
<ClCompile Include="src\celengine\location.cpp" />
<ClCompile Include="src\celengine\lodspheremesh.cpp" />
<ClCompile Include="src\celengine\marker.cpp" />
<ClCompile Include="src\celengine\meshmanager.cpp" />
<ClCompile Include="src\celengine\modelgeometry.cpp" />
<ClCompile Include="src\celengine\multitexture.cpp" />
<ClCompile Include="src\celengine\nebula.cpp" />
<ClCompile Include="src\celengine\observer.cpp" />
<ClCompile Include="src\celengine\opencluster.cpp" />
<ClCompile Include="src\celengine\overlay.cpp" />
<ClCompile Include="src\celengine\parseobject.cpp" />
<ClCompile Include="src\celengine\parser.cpp" />
<ClCompile Include="src\celengine\planetgrid.cpp" />
<ClCompile Include="src\celengine\regcombine.cpp" />
<ClCompile Include="src\celengine\rendcontext.cpp" />
<ClCompile Include="src\celengine\render.cpp" />
<ClCompile Include="src\celengine\renderglsl.cpp" />
<ClCompile Include="src\celengine\rotationmanager.cpp" />
<ClCompile Include="src\celengine\selection.cpp" />
<ClCompile Include="src\celengine\shadermanager.cpp" />
<ClCompile Include="src\celengine\simulation.cpp" />
<ClCompile Include="src\celengine\skygrid.cpp" />
<ClCompile Include="src\celengine\solarsys.cpp" />
<ClCompile Include="src\celengine\spheremesh.cpp" />
<ClCompile Include="src\celengine\star.cpp" />
<ClCompile Include="src\celengine\starbrowser.cpp" />
<ClCompile Include="src\celengine\starcolors.cpp" />
<ClCompile Include="src\celengine\stardb.cpp" />
<ClCompile Include="src\celengine\starname.cpp" />
<ClCompile Include="src\celengine\staroctree.cpp" />
<ClCompile Include="src\celengine\stellarclass.cpp" />
<ClCompile Include="src\celengine\texmanager.cpp" />
<ClCompile Include="src\celengine\texture.cpp" />
<ClCompile Include="src\celengine\timeline.cpp" />
<ClCompile Include="src\celengine\timelinephase.cpp" />
<ClCompile Include="src\celengine\tokenizer.cpp" />
<ClCompile Include="src\celengine\trajmanager.cpp" />
<ClCompile Include="src\celengine\univcoord.cpp" />
<ClCompile Include="src\celengine\universe.cpp" />
<ClCompile Include="src\celengine\vertexprog.cpp" />
<ClCompile Include="src\celengine\virtualtex.cpp" />
<ClCompile Include="src\celengine\visibleregion.cpp" />
<ClCompile Include="src\celephem\customorbit.cpp" />
<ClCompile Include="src\celephem\customrotation.cpp" />
<ClCompile Include="src\celephem\jpleph.cpp" />
<ClCompile Include="src\celephem\nutation.cpp" />
<ClCompile Include="src\celephem\orbit.cpp" />
<ClCompile Include="src\celephem\precession.cpp" />
<ClCompile Include="src\celephem\rotation.cpp" />
<ClCompile Include="src\celephem\samporbit.cpp" />
<ClCompile Include="src\celephem\samporient.cpp" />
<ClCompile Include="src\celephem\scriptobject.cpp" />
<ClCompile Include="src\celephem\scriptorbit.cpp" />
<ClCompile Include="src\celephem\scriptrotation.cpp" />
<ClCompile Include="src\celephem\spiceinterface.cpp" />
<ClCompile Include="src\celephem\spiceorbit.cpp" />
<ClCompile Include="src\celephem\spicerotation.cpp" />
<ClCompile Include="src\celephem\vsop87.cpp" />
<ClCompile Include="src\celestia\avicapture.cpp" />
<ClCompile Include="src\celestia\celestiacore.cpp" />
<ClCompile Include="src\celestia\celx.cpp" />
<ClCompile Include="src\celestia\celx_celestia.cpp" />
<ClCompile Include="src\celestia\celx_frame.cpp" />
<ClCompile Include="src\celestia\celx_gl.cpp" />
<ClCompile Include="src\celestia\celx_object.cpp" />
<ClCompile Include="src\celestia\celx_observer.cpp" />
<ClCompile Include="src\celestia\celx_phase.cpp" />
<ClCompile Include="src\celestia\celx_position.cpp" />
<ClCompile Include="src\celestia\celx_rotation.cpp" />
<ClCompile Include="src\celestia\celx_vector.cpp" />
<ClCompile Include="src\celestia\configfile.cpp" />
<ClCompile Include="src\celestia\destination.cpp" />
<ClCompile Include="src\celestia\eclipsefinder.cpp" />
<ClCompile Include="src\celestia\favorites.cpp" />
<ClCompile Include="src\celestia\imagecapture.cpp" />
<ClCompile Include="src\celestia\scriptmenu.cpp" />
<ClCompile Include="src\celestia\url.cpp" />
<ClCompile Include="src\celestia\win32\iob_func_shim.cpp" />
<ClCompile Include="src\celestia\win32\ODMenu.cpp" />
<ClCompile Include="src\celestia\win32\wglext.cpp" />
<ClCompile Include="src\celestia\win32\winbookmarks.cpp" />
<ClCompile Include="src\celestia\win32\windatepicker.cpp" />
<ClCompile Include="src\celestia\win32\wineclipses.cpp" />
<ClCompile Include="src\celestia\win32\wingotodlg.cpp" />
<ClCompile Include="src\celestia\win32\winhyperlinks.cpp" />
<ClCompile Include="src\celestia\win32\winlocations.cpp" />
<ClCompile Include="src\celestia\win32\winmain.cpp" />
<ClCompile Include="src\celestia\win32\winsplash.cpp" />
<ClCompile Include="src\celestia\win32\winssbrowser.cpp" />
<ClCompile Include="src\celestia\win32\winstarbrowser.cpp" />
<ClCompile Include="src\celestia\win32\wintime.cpp" />
<ClCompile Include="src\celestia\win32\wintourguide.cpp" />
<ClCompile Include="src\celestia\win32\winviewoptsdlg.cpp" />
<ClCompile Include="src\celmath\frustum.cpp" />
<ClCompile Include="src\celmath\perlin.cpp" />
<ClCompile Include="src\celmodel\material.cpp" />
<ClCompile Include="src\celmodel\mesh.cpp" />
<ClCompile Include="src\celmodel\model.cpp" />
<ClCompile Include="src\celmodel\modelfile.cpp" />
<ClCompile Include="src\celtxf\texturefont.cpp" />
<ClCompile Include="src\celutil\bigfix.cpp" />
<ClCompile Include="src\celutil\color.cpp" />
<ClCompile Include="src\celutil\debug.cpp" />
<ClCompile Include="src\celutil\directory.cpp" />
<ClCompile Include="src\celutil\filetype.cpp" />
<ClCompile Include="src\celutil\formatnum.cpp" />
<ClCompile Include="src\celutil\utf8.cpp" />
<ClCompile Include="src\celutil\util.cpp" />
<ClCompile Include="src\celutil\windirectory.cpp" />
<ClCompile Include="src\celutil\wintimer.cpp" />
<ClCompile Include="src\celutil\winutil.cpp" />
<ClCompile Include="thirdparty\curveplot\src\curveplot.cpp" />
<ClCompile Include="thirdparty\glew\src\glew.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\cel3ds\3dschunk.h" />
<ClInclude Include="src\cel3ds\3dsmodel.h" />
<ClInclude Include="src\cel3ds\3dsread.h" />
<ClInclude Include="src\celengine\asterism.h" />
<ClInclude Include="src\celengine\astro.h" />
<ClInclude Include="src\celengine\atmosphere.h" />
<ClInclude Include="src\celengine\axisarrow.h" />
<ClInclude Include="src\celengine\body.h" />
<ClInclude Include="src\celengine\boundaries.h" />
<ClInclude Include="src\celengine\catalogxref.h" />
<ClInclude Include="src\celengine\cmdparser.h" />
<ClInclude Include="src\celengine\command.h" />
<ClInclude Include="src\celengine\console.h" />
<ClInclude Include="src\celengine\constellation.h" />
<ClInclude Include="src\celengine\customorbit.h" />
<ClInclude Include="src\celengine\customrotation.h" />
<ClInclude Include="src\celengine\deepskyobj.h" />
<ClInclude Include="src\celengine\dispmap.h" />
<ClInclude Include="src\celengine\dsodb.h" />
<ClInclude Include="src\celengine\dsoname.h" />
<ClInclude Include="src\celengine\dsooctree.h" />
<ClInclude Include="src\celengine\execenv.h" />
<ClInclude Include="src\celengine\execution.h" />
<ClInclude Include="src\celengine\fragmentprog.h" />
<ClInclude Include="src\celengine\frame.h" />
<ClInclude Include="src\celengine\frametree.h" />
<ClInclude Include="src\celengine\galaxy.h" />
<ClInclude Include="src\celengine\geometry.h" />
<ClInclude Include="src\celengine\glcontext.h" />
<ClInclude Include="src\celengine\globular.h" />
<ClInclude Include="src\celengine\glshader.h" />
<ClInclude Include="src\celengine\image.h" />
<ClInclude Include="src\celengine\jpleph.h" />
<ClInclude Include="src\celengine\lightenv.h" />
<ClInclude Include="src\celengine\location.h" />
<ClInclude Include="src\celengine\lodspheremesh.h" />
<ClInclude Include="src\celengine\marker.h" />
<ClInclude Include="src\celengine\meshmanager.h" />
<ClInclude Include="src\celengine\modelgeometry.h" />
<ClInclude Include="src\celengine\multitexture.h" />
<ClInclude Include="src\celengine\name.h" />
<ClInclude Include="src\celengine\nebula.h" />
<ClInclude Include="src\celengine\nutation.h" />
<ClInclude Include="src\celengine\observer.h" />
<ClInclude Include="src\celengine\octree.h" />
<ClInclude Include="src\celengine\opencluster.h" />
<ClInclude Include="src\celengine\orbit.h" />
<ClInclude Include="src\celengine\overlay.h" />
<ClInclude Include="src\celengine\parseobject.h" />
<ClInclude Include="src\celengine\parser.h" />
<ClInclude Include="src\celengine\planetgrid.h" />
<ClInclude Include="src\celengine\precession.h" />
<ClInclude Include="src\celengine\referencemark.h" />
<ClInclude Include="src\celengine\regcombine.h" />
<ClInclude Include="src\celengine\rendcontext.h" />
<ClInclude Include="src\celengine\render.h" />
<ClInclude Include="src\celengine\renderglsl.h" />
<ClInclude Include="src\celengine\renderinfo.h" />
<ClInclude Include="src\celengine\rotation.h" />
<ClInclude Include="src\celengine\rotationmanager.h" />
<ClInclude Include="src\celengine\samporbit.h" />
<ClInclude Include="src\celengine\samporient.h" />
<ClInclude Include="src\celengine\scriptobject.h" />
<ClInclude Include="src\celengine\scriptorbit.h" />
<ClInclude Include="src\celengine\scriptrotation.h" />
<ClInclude Include="src\celengine\selection.h" />
<ClInclude Include="src\celengine\shadermanager.h" />
<ClInclude Include="src\celengine\simulation.h" />
<ClInclude Include="src\celengine\skygrid.h" />
<ClInclude Include="src\celengine\solarsys.h" />
<ClInclude Include="src\celengine\spheremesh.h" />
<ClInclude Include="src\celengine\spiceinterface.h" />
<ClInclude Include="src\celengine\spiceorbit.h" />
<ClInclude Include="src\celengine\spicerotation.h" />
<ClInclude Include="src\celengine\star.h" />
<ClInclude Include="src\celengine\starbrowser.h" />
<ClInclude Include="src\celengine\starcolors.h" />
<ClInclude Include="src\celengine\stardb.h" />
<ClInclude Include="src\celengine\starname.h" />
<ClInclude Include="src\celengine\staroctree.h" />
<ClInclude Include="src\celengine\stellarclass.h" />
<ClInclude Include="src\celengine\surface.h" />
<ClInclude Include="src\celengine\texmanager.h" />
<ClInclude Include="src\celengine\texture.h" />
<ClInclude Include="src\celengine\timeline.h" />
<ClInclude Include="src\celengine\timelinephase.h" />
<ClInclude Include="src\celengine\tokenizer.h" />
<ClInclude Include="src\celengine\trajmanager.h" />
<ClInclude Include="src\celengine\univcoord.h" />
<ClInclude Include="src\celengine\universe.h" />
<ClInclude Include="src\celengine\vecgl.h" />
<ClInclude Include="src\celengine\vertexbuf.h" />
<ClInclude Include="src\celengine\vertexprog.h" />
<ClInclude Include="src\celengine\virtualtex.h" />
<ClInclude Include="src\celengine\visibleregion.h" />
<ClInclude Include="src\celengine\vsop87.h" />
<ClInclude Include="src\celephem\customorbit.h" />
<ClInclude Include="src\celephem\customrotation.h" />
<ClInclude Include="src\celephem\jpleph.h" />
<ClInclude Include="src\celephem\nutation.h" />
<ClInclude Include="src\celephem\orbit.h" />
<ClInclude Include="src\celephem\precession.h" />
<ClInclude Include="src\celephem\rotation.h" />
<ClInclude Include="src\celephem\samporbit.h" />
<ClInclude Include="src\celephem\samporient.h" />
<ClInclude Include="src\celephem\scriptobject.h" />
<ClInclude Include="src\celephem\scriptorbit.h" />
<ClInclude Include="src\celephem\scriptrotation.h" />
<ClInclude Include="src\celephem\spiceinterface.h" />
<ClInclude Include="src\celephem\spiceorbit.h" />
<ClInclude Include="src\celephem\spicerotation.h" />
<ClInclude Include="src\celephem\vsop87.h" />
<ClInclude Include="src\celestia\avicapture.h" />
<ClInclude Include="src\celestia\celestiacore.h" />
<ClInclude Include="src\celestia\celx.h" />
<ClInclude Include="src\celestia\celx_celestia.h" />
<ClInclude Include="src\celestia\celx_frame.h" />
<ClInclude Include="src\celestia\celx_gl.h" />
<ClInclude Include="src\celestia\celx_internal.h" />
<ClInclude Include="src\celestia\celx_object.h" />
<ClInclude Include="src\celestia\celx_observer.h" />
<ClInclude Include="src\celestia\celx_phase.h" />
<ClInclude Include="src\celestia\celx_position.h" />
<ClInclude Include="src\celestia\celx_rotation.h" />
<ClInclude Include="src\celestia\celx_vector.h" />
<ClInclude Include="src\celestia\configfile.h" />
<ClInclude Include="src\celestia\destination.h" />
<ClInclude Include="src\celestia\eclipsefinder.h" />
<ClInclude Include="src\celestia\favorites.h" />
<ClInclude Include="src\celestia\imagecapture.h" />
<ClInclude Include="src\celestia\moviecapture.h" />
<ClInclude Include="src\celestia\scriptmenu.h" />
<ClInclude Include="src\celestia\url.h" />
<ClInclude Include="src\celestia\win32\ODMenu.h" />
<ClInclude Include="src\celestia\win32\res\resource.h" />
<ClInclude Include="src\celestia\win32\wglext.h" />
<ClInclude Include="src\celestia\win32\winbookmarks.h" />
<ClInclude Include="src\celestia\win32\wineclipses.h" />
<ClInclude Include="src\celestia\win32\wingotodlg.h" />
<ClInclude Include="src\celestia\win32\winhyperlinks.h" />
<ClInclude Include="src\celestia\win32\winlocations.h" />
<ClInclude Include="src\celestia\win32\winsplash.h" />
<ClInclude Include="src\celestia\win32\winssbrowser.h" />
<ClInclude Include="src\celestia\win32\winstarbrowser.h" />
<ClInclude Include="src\celestia\win32\wintime.h" />
<ClInclude Include="src\celestia\win32\wintourguide.h" />
<ClInclude Include="src\celestia\win32\winviewo ptsdlg.h" />
<ClInclude Include="src\celmath\aabox.h" />
<ClInclude Include="src\celmath\capsule.h" />
<ClInclude Include="src\celmath\distance.h" />
<ClInclude Include="src\celmath\ellipsoid.h" />
<ClInclude Include="src\celmath\frustum.h" />
<ClInclude Include="src\celmath\intersect.h" />
<ClInclude Include="src\celmath\mathlib.h" />
<ClInclude Include="src\celmath\perlin.h" />
<ClInclude Include="src\celmath\plane.h" />
<ClInclude Include="src\celmath\quaternion.h" />
<ClInclude Include="src\celmath\ray.h" />
<ClInclude Include="src\celmath\solve.h" />
<ClInclude Include="src\celmath\sphere.h" />
<ClInclude Include="src\celmath\vecmath.h" />
<ClInclude Include="src\celmodel\material.h" />
<ClInclude Include="src\celmodel\mesh.h" />
<ClInclude Include="src\celmodel\model.h" />
<ClInclude Include="src\celmodel\modelfile.h" />
<ClInclude Include="src\celtxf\texturefont.h" />
<ClInclude Include="src\celutil\basictypes.h" />
<ClInclude Include="src\celutil\bigfix.h" />
<ClInclude Include="src\celutil\bytes.h" />
<ClInclude Include="src\celutil\color.h" />
<ClInclude Include="src\celutil\debug.h" />
<ClInclude Include="src\celutil\directory.h" />
<ClInclude Include="src\celutil\filetype.h" />
<ClInclude Include="src\celutil\formatnum.h" />
<ClInclude Include="src\celutil\reshandle.h" />
<ClInclude Include="src\celutil\resmanager.h" />
<ClInclude Include="src\celutil\timer.h" />
<ClInclude Include="src\celutil\utf8.h" />
<ClInclude Include="src\celutil\util.h" />
<ClInclude Include="src\celutil\watcher.h" />
<ClInclude Include="src\celutil\winutil.h" />
</ItemGroup>
<ItemGroup>
<Image Include="src\celestia\win32\res\about.bmp" />
<Image Include="src\celestia\win32\res\application-bookmark.bmp" />
<Image Include="src\celestia\win32\res\book.bmp" />
<Image Include="src\celestia\win32\res\bookmark-add.bmp" />
<Image Include="src\celestia\win32\res\camcorder2.bmp" />
<Image Include="src\celestia\win32\res\camera2.bmp" />
<Image Include="src\celestia\win32\res\Celestia.ico" />
<Image Include="src\celestia\win32\res\clock2.bmp" />
<Image Include="src\celestia\win32\res\Clsdfolder.ico" />
<Image Include="src\celestia\win32\res\config.bmp" />
<Image Include="src\celestia\win32\res\eclipse_found.bmp" />
<Image Include="src\celestia\win32\res\exit.bmp" />
<Image Include="src\celestia\win32\res\folderclosed2.bmp" />
<Image Include="src\celestia\win32\res\folderopened2.bmp" />
<Image Include="src\celestia\win32\res\full_screen2.bmp" />
<Image Include="src\celestia\win32\res\globe.bmp" />
<Image Include="src\celestia\win32\res\license.bmp" />
<Image Include="src\celestia\win32\res\Location.ico" />
<Image Include="src\celestia\win32\res\location2.bmp" />
<Image Include="src\celestia\win32\res\Openfolder.ico" />
<Image Include="src\celestia\win32\res\report_GL.bmp" />
<Image Include="src\celestia\win32\res\Rootfolder.ico" />
<Image Include="src\celestia\win32\res\script2.bmp" />
<Image Include="src\celestia\win32\res\select_sol.bmp" />
<Image Include="src\celestia\win32\res\slide.bmp" />
<Image Include="src\celestia\win32\res\slide_active.bmp" />
<Image Include="src\celestia\win32\res\slide_all.bmp" />
<Image Include="src\celestia\win32\res\sol_browser.bmp" />
<Image Include="src\celestia\win32\res\star_browser.bmp" />
<Image Include="src\celestia\win32\res\stop.bmp" />
<Image Include="src\celestia\win32\res\sunglasses.bmp" />
<Image Include="src\celestia\win32\res\time-add.bmp" />
<Image Include="src\celestia\win32\res\time-backward.bmp" />
<Image Include="src\celestia\win32\res\time-forward.bmp" />
<Image Include="src\celestia\win32\res\time-remove.bmp" />
<Image Include="src\celestia\win32\res\tour_guide.bmp" />
<Image Include="src\celestia\win32\res\window_separate_horizontal.bmp" />
<Image Include="src\celestia\win32\res\window_separate_vertical.bmp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="src\celestia\win32\res\celestia.rc" />
</ItemGroup>
<ItemGroup>
<None Include="src\celestia\win32\res\crosshair-opaque.cur" />
<None Include="src\celestia\win32\res\crosshair.cur" />
</ItemGroup>
<ItemGroup>
<Manifest Include="src\celestia\win32\res\celestia.exe.manifest">
<SubType>Designer</SubType>
</Manifest>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

File diff suppressed because it is too large Load Diff

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

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

View File

@ -0,0 +1,58 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#.rst:
# FindCspice
# --------
#
# Find the NAIF toolkit cspice headers and libraries.
#
# This module reports information about the Gettext cspice
# installation in several variables. General variables::
#
# CSPICE_FOUND - true if the cspice headers and libraries were found
# CSPICE_INCLUDE_DIRS - the directory containing the cspice headers
# CSPICE_LIBRARIES - cspice libraries to be linked
#
# The following cache variables may also be set::
#
# CSPICE_INCLUDE_DIR - the directory containing the cspice headers
# CSPICE_LIBRARY - the cspice library (if any)
# Find include directory
find_path(CSPICE_INCLUDE_DIR
NAMES "SpiceUsr.h"
HINTS CSPICE_DIR
PATH_SUFFIXES "include" "include/cspice"
DOC "cspice include directory")
mark_as_advanced(CSPICE_INCLUDE_DIR)
# Find CSPICE library
find_library(CSPICE_LIBRARY
NAMES "cspice" "libcspice" "cspice.a"
HINTS CSPICE_DIR
DOC "cspice libraries")
mark_as_advanced(CSPICE_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(CSPICE
FOUND_VAR CSPICE_FOUND
REQUIRED_VARS CSPICE_INCLUDE_DIR CSPICE_LIBRARY
FAIL_MESSAGE "Failed to find cspice")
if(CSPICE_FOUND)
set(CSPICE_INCLUDE_DIRS "${CSPICE_INCLUDE_DIR}")
if(CSPICE_LIBRARY)
set(CSPICE_LIBRARIES "${CSPICE_LIBRARY}")
else()
unset(CSPICE_LIBRARIES)
endif()
if(NOT TARGET CSPICE::CSPICE)
add_library(CSPICE::CSPICE UNKNOWN IMPORTED)
set_target_properties(CSPICE::CSPICE PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${CSPICE_INCLUDE_DIRS}")
set_target_properties(CSPICE::CSPICE PROPERTIES
IMPORTED_LOCATION "${CSPICE_LIBRARY}")
endif()
endif()

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,72 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#.rst:
# FindIntl
# --------
#
# Find the Gettext libintl headers and libraries.
#
# This module reports information about the Gettext libintl
# installation in several variables. General variables::
#
# Intl_FOUND - true if the libintl headers and libraries were found
# Intl_INCLUDE_DIRS - the directory containing the libintl headers
# Intl_LIBRARIES - libintl libraries to be linked
#
# The following cache variables may also be set::
#
# Intl_INCLUDE_DIR - the directory containing the libintl headers
# Intl_LIBRARY - the libintl library (if any)
#
# .. note::
# On some platforms, such as Linux with GNU libc, the gettext
# functions are present in the C standard library and libintl
# is not required. ``Intl_LIBRARIES`` will be empty in this
# case.
#
# .. note::
# If you wish to use the Gettext tools (``msgmerge``,
# ``msgfmt``, etc.), use :module:`FindGettext`.
# Written by Roger Leigh <rleigh@codelibre.net>
# brew support is by Alexis Hildebrandt <https://github.com/afh>
# Append custom gettext path to CMAKE_PREFIX_PATH
# if installed via Mac Hombrew
if(APPLE)
find_program(HOMEBREW_PROG brew)
if(EXISTS ${HOMEBREW_PROG})
execute_process(COMMAND ${HOMEBREW_PROG} --prefix gettext
OUTPUT_STRIP_TRAILING_WHITESPACE
OUTPUT_VARIABLE HOMEBREW_GETTEXT_PREFIX)
list(APPEND CMAKE_PREFIX_PATH "${HOMEBREW_GETTEXT_PREFIX}")
endif()
endif()
# Find include directory
find_path(Intl_INCLUDE_DIR
NAMES "libintl.h"
DOC "libintl include directory")
mark_as_advanced(Intl_INCLUDE_DIR)
# Find all Intl libraries
find_library(Intl_LIBRARY
NAMES "intl" "libintl"
DOC "libintl libraries (if not in the C library)")
mark_as_advanced(Intl_LIBRARY)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Intl
FOUND_VAR Intl_FOUND
REQUIRED_VARS Intl_INCLUDE_DIR
FAIL_MESSAGE "Failed to find Gettext libintl")
if(Intl_FOUND)
set(Intl_INCLUDE_DIRS "${Intl_INCLUDE_DIR}")
if(Intl_LIBRARY)
set(Intl_LIBRARIES "${Intl_LIBRARY}")
else()
unset(Intl_LIBRARIES)
endif()
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

@ -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:
# FindLibepoxy
# --------
#
# Find the epoxy headers and libraries.
#
# This module reports information about the epoxy
# installation in several variables. General variables::
#
# LIBEPOXY_FOUND - true if the epoxy headers and libraries were found
# LIBEPOXY_INCLUDE_DIRS - the directory containing the epoxy headers
# LIBEPOXY_LIBRARIES - epoxy libraries to be linked
#
# The following cache variables may also be set::
#
# LIBEPOXY_INCLUDE_DIR - the directory containing the epoxy headers
# LIBEPOXY_LIBRARY - the epoxy library (if any)
# Find include directory
# TODO: use pkgconfig
find_path(LIBEPOXY_INCLUDE_DIR
NAMES epoxy/gl.h
HINTS LIBEPOXY_DIR
DOC "epoxy headers")
mark_as_advanced(LIBEPOXY_INCLUDE_DIR)
find_library(LIBEPOXY_LIBRARY
NAMES epoxy
HINTS LIBEPOXY_DIR
DOC "epoxy libraries")
mark_as_advanced(LIBEPOXY_LIBRARY)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Libepoxy
FOUND_VAR LIBEPOXY_FOUND
REQUIRED_VARS LIBEPOXY_INCLUDE_DIR LIBEPOXY_LIBRARY
FAIL_MESSAGE "Failed to find epoxy")
if(LIBEPOXY_FOUND)
set(LIBEPOXY_INCLUDE_DIRS "${LIBEPOXY_INCLUDE_DIR}")
if(LIBEPOXY_LIBRARY)
set(LIBEPOXY_LIBRARIES "${LIBEPOXY_LIBRARY}")
else()
unset(LIBEPOXY_LIBRARIES)
endif()
if(NOT TARGET libepoxy::libepoxy)
add_library(libepoxy::libepoxy UNKNOWN IMPORTED)
set_target_properties(libepoxy::libepoxy PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${LIBEPOXY_INCLUDE_DIRS}")
set_target_properties(libepoxy::libepoxy PROPERTIES
IMPORTED_LOCATION "${LIBEPOXY_LIBRARY}")
endif()
endif()

View File

@ -0,0 +1,107 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
#.rst:
# FindLuaJIT
# ---------
#
#
#
# Locate Lua library This module defines
#
# ::
#
# LUAJIT_FOUND, if false, do not try to link to Lua
# LUA_LIBRARIES
# LUA_INCLUDE_DIR, where to find lua.h
# LUA_VERSION_STRING, the version of Lua found (since CMake 2.8.8)
# LUA_VERSION_MAJOR - the major version of Lua
# LUA_VERSION_MINOR - the minor version of Lua
# LUA_VERSION_PATCH - the patch version of Lua
# LUAJIT_VERSION_STRING, the version of LuaJIT found (since CMake 2.8.8)
# LUAJIT_VERSION_MAJOR - the major version of LuaJIT
# LUAJIT_VERSION_MINOR - the minor version of LuaJIT
# LUAJIT_VERSION_PATCH - the patch version of LuaJIT
#
#
#
# Note that the expected include convention is
#
# ::
#
# #include "lua.h"
#
# and not
#
# ::
#
# #include <lua/lua.h>
#
# This is because, the lua location is not standardized and may exist in
# locations other than lua/
find_path(LUA_INCLUDE_DIR luajit.h
HINTS
ENV LUA_DIR
PATH_SUFFIXES include/luajit-2.0 include/luajit-2.1 include/luajit
PATHS
~/Library/Frameworks
/Library/Frameworks
/sw # Fink
/opt/local # DarwinPorts
/opt/csw # Blastwave
/opt
)
find_library(LUA_LIBRARY
NAMES luajit-5.1 lua51
HINTS
ENV LUA_DIR
PATH_SUFFIXES lib
PATHS
~/Library/Frameworks
/Library/Frameworks
/sw
/opt/local
/opt/csw
/opt
)
if(LUA_LIBRARY)
# include the math library for Unix
if(UNIX AND NOT APPLE AND NOT BEOS AND NOT HAIKU)
find_library(LUA_MATH_LIBRARY m)
set( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY};${CMAKE_DL_LIBS}" CACHE STRING "Lua Libraries")
# For Windows and Mac, don't need to explicitly include the math library
else()
set( LUA_LIBRARIES "${LUA_LIBRARY}" CACHE STRING "Lua Libraries")
endif()
endif()
if(LUA_INCLUDE_DIR AND EXISTS "${LUA_INCLUDE_DIR}/lua.h")
file(STRINGS "${LUA_INCLUDE_DIR}/lua.h" lua_version_str REGEX "^#define[ \t]+LUA_RELEASE[ \t]+\"Lua .+\"")
string(REGEX REPLACE "^#define[ \t]+LUA_RELEASE[ \t]+\"Lua ([^\"]+)\".*" "\\1" LUA_VERSION_STRING "${lua_version_str}")
unset(lua_version_str)
string(REGEX REPLACE "^([0-9]+)\\.[0-9.]*$" "\\1" LUA_VERSION_MAJOR "${LUA_VERSION_STRING}")
string(REGEX REPLACE "^[0-9]+\\.([0-9]+)[0-9.]*$" "\\1" LUA_VERSION_MINOR "${LUA_VERSION_STRING}")
string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]).*" "\\1" LUA_VERSION_PATCH "${LUA_VERSION_STRING}")
endif()
if(LUA_INCLUDE_DIR AND EXISTS "${LUA_INCLUDE_DIR}/luajit.h")
file(STRINGS "${LUA_INCLUDE_DIR}/luajit.h" lua_version_str REGEX "^#define[ \t]+LUAJIT_VERSION[ \t]+\".+\"")
string(REGEX REPLACE "^#define[ \t]+LUAJIT_VERSION[ \t]+\"LuaJIT ([0-9.]+).*\"" "\\1" LUAJIT_VERSION_STRING "${lua_version_str}")
unset(lua_version_str)
string(REGEX REPLACE "^([0-9]+)\\.[0-9.]*$" "\\1" LUAJIT_VERSION_MAJOR "${LUAJIT_VERSION_STRING}")
string(REGEX REPLACE "^[0-9]+\\.([0-9]+)[0-9.]*$" "\\1" LUAJIT_VERSION_MINOR "${LUAJIT_VERSION_STRING}")
string(REGEX REPLACE "^[0-9]+\\.[0-9]+\\.([0-9]).*" "\\1" LUAJIT_VERSION_PATCH "${LUAJIT_VERSION_STRING}")
endif()
include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if
# all listed variables are TRUE
find_package_handle_standard_args(LuaJIT
REQUIRED_VARS LUA_LIBRARIES LUA_INCLUDE_DIR
VERSION_VAR LUAJIT_VERSION_STRING)
mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARIES LUA_LIBRARY LUA_MATH_LIBRARY)

View File

@ -0,0 +1,49 @@
macro(GETTEXT_CREATE_TRANSLATIONS2 _potFile _firstPoFileArg)
# make it a real variable, so we can modify it here
set(_firstPoFile "${_firstPoFileArg}")
set(_gmoFiles)
get_filename_component(_potName ${_potFile} NAME)
string(REGEX REPLACE "^(.+)(\\.[^.]+)$" "\\1" _potBasename ${_potName})
get_filename_component(_absPotFile ${_potFile} ABSOLUTE)
set(_addToAll)
if(${_firstPoFile} STREQUAL "ALL")
set(_addToAll "ALL")
set(_firstPoFile)
endif()
foreach (_currentPoFile ${_firstPoFile} ${ARGN})
get_filename_component(_absFile ${_currentPoFile} ABSOLUTE)
get_filename_component(_abs_PATH ${_absFile} PATH)
get_filename_component(_lang ${_absFile} NAME_WE)
set(_gmoFile ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.gmo)
set(_poFile ${CMAKE_CURRENT_BINARY_DIR}/${_lang}.po)
add_custom_command(
OUTPUT ${_gmoFile}
COMMAND ${GETTEXT_MSGMERGE_EXECUTABLE} --quiet --output-file=${_poFile} --lang=${_lang} --sort-output ${_absFile} ${_absPotFile}
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o ${_gmoFile} ${_poFile}
DEPENDS ${_absPotFile} ${_absFile}
)
if(NATIVE_OSX_APP)
install(FILES ${_gmoFile} DESTINATION Resources/locale/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo)
else()
install(FILES ${_gmoFile} DESTINATION ${CMAKE_INSTALL_LOCALEDIR}/${_lang}/LC_MESSAGES RENAME ${_potBasename}.mo)
endif()
set(_gmoFiles ${_gmoFiles} ${_gmoFile})
endforeach ()
if(NOT TARGET translations)
add_custom_target(translations)
endif()
_GETTEXT_GET_UNIQUE_TARGET_NAME(translations uniqueTargetName)
add_custom_target(${uniqueTargetName} ${_addToAll} DEPENDS ${_gmoFiles})
add_dependencies(translations ${uniqueTargetName})
endmacro()

View File

@ -0,0 +1,11 @@
macro(test_case)
set(trgt ${ARGV0})
set(libs ${ARGV})
list(REMOVE_AT libs 0 0)
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)
endmacro()

View File

@ -0,0 +1,5 @@
# the RPATH to be used when installing, but only if it's not a system directory
list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES ${CMAKE_INSTALL_FULL_LIBDIR} isSystemDir)
if("${isSystemDir}" STREQUAL "-1")
set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
endif()

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()

7
config.h.in 100644
View File

@ -0,0 +1,7 @@
#cmakedefine HAVE_BYTESWAP_H
#cmakedefine HAVE_CHARCONV
#cmakedefine HAVE_FLOAT_CHARCONV
#cmakedefine HAVE_STD_FILESYSTEM
#cmakedefine HAVE_WORDEXP
#cmakedefine HAVE_MESHOPTIMIZER
#cmakedefine WORDS_BIGENDIAN

View File

@ -1 +0,0 @@
SOURCES = main.cpp

View File

@ -1,2 +0,0 @@
#include <byteswap.h>
int main() { return bswap_16(0x00FF); }

View File

@ -1,6 +0,0 @@
SOURCES = main.cpp
unix {
CONFIG += link_pkgconfig
PKGCONFIG += eigen3
}

View File

@ -1,2 +0,0 @@
#include <Eigen/Core>
int main() { Eigen::Vector3f t; return 0; }

View File

@ -1,5 +0,0 @@
SOURCES = main.cpp
unix {
LIBS += -Wl,-Bstatic -lfmt -Wl,-Bdynamic
}

View File

@ -1,2 +0,0 @@
#include <fmt/printf.h>
int main() { return (int)fmt::printf(""); }

View File

@ -1,6 +0,0 @@
SOURCES = main.cpp
unix {
CONFIG += link_pkgconfig
PKGCONFIG += glew
}

View File

@ -1,2 +0,0 @@
#include <GL/glew.h>
int main() { return (int)glewInit(); }

View File

@ -1,2 +0,0 @@
#include "spiceinterface.h"
int main() { return 0; }

View File

@ -1,18 +0,0 @@
SOURCES = main.cpp
win32 {
!contains(QMAKE_TARGET.arch, x86_64) {
LIBS += -L$$PWD/windows/lib/x86 -lcspice
} else{
LIBS += -L$$PWD/windows/lib/x64 -lcspice64
}
}
unix {
INCLUDEPATH += /usr/local/cspice/include
LIBS += /usr/local/cspice/lib/cspice.a
}
macx {
LIBS += macosx/lib/cspice.a
}

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,589 +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 . .
"1 Ceres:Ceres:A899 OF" "Sol"
{
Class "dwarfplanet"
Texture "asteroid.jpg"
Color [ 1.000 0.945 0.881 ]
BlendTexture true
Radius 487.5 # 975x909km
Oblateness 0.068 # Thomas et al, Nature, 8 Sep 2005
EllipticalOrbit
{
Epoch 2452600.5 # 2002 Nov 22 00:00UT
Period 4.60014
SemiMajorAxis 2.7660
Eccentricity 0.0793
Inclination 10.584
AscendingNode 80.483
ArgOfPericenter 74.043
MeanAnomaly 232.067
}
UniformRotation
{
Period 9.074170 # Icarus 2007,188(2):451
Epoch 2449249.91125 # 1993 Sep 19 09:52:12UT
Inclination 11
AscendingNode 29
MeridianAngle 339.85
}
Albedo 0.113
}
"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,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

View File

@ -1,377 +0,0 @@
# The largest Edgeworth-Kuiper belt objects
"136199 Eris:Eris:2003 UB313" "Sol" {
# Higher albedo and lower radius than first reported.
# Data from HST results by Brown et al. ApJ 2006:
# http://www.gps.caltech.edu/~mbrown/papers/ps/xsize.pdf
Class "dwarfplanet"
Texture "asteroid.jpg"
Radius 1200
# no evidence of reddening
InfoURL "http://www.gps.caltech.edu/~mbrown/planetlila/index.html"
EllipticalOrbit {
Epoch 2453600.5 # 2005 Aug 18 00:00UT
Period 557.148
SemiMajorAxis 67.709
Eccentricity 0.4416
Inclination 44.177
AscendingNode 35.875
ArgOfPericenter 151.311
MeanAnomaly 197.538
}
Albedo 0.86
UniformRotation
{
Period 25.92 # Estimate from Icarus 2008. 198: 2; 459-64
Inclination 79.8 # spin axis assumed to match
AscendingNode 144 # orbit of Dysnomia
}
}
"Dysnomia:136199 Eris I:Eris I:2005 (2003 UB313) 1" "Sol/Eris" {
Class "moon"
Mesh "asteroid.cms"
Texture "asteroid.jpg"
Radius 100 # ~0.2% of Eris brightness
InfoURL "http://www.gps.caltech.edu/~mbrown/planetlila/moon/"
# Orbit from Brown ME, Schaller EL: Science 2007; 316: 1585
OrbitFrame {
EquatorJ2000 { Center "Sol/Eris" }
}
EllipticalOrbit
{
Epoch 2453979.0 # 2006 Aug 31 12:00UT
Period 15.772
SemiMajorAxis 37430
Inclination 61.3
AscendingNode 139
MeanAnomaly 328.6
}
}
"13672 Makemake:Makemake:2005 FY9" "Sol" {
Class "dwarfplanet"
Texture "asteroid.jpg"
Radius 850 # estimate
EllipticalOrbit {
Epoch 2453600.5 # 2005 Aug 18 00:00UT
Period 308.329
SemiMajorAxis 45.640
Eccentricity 0.1519
Inclination 28.998
AscendingNode 79.416
ArgOfPericenter 245.848
MeanAnomaly 213.919
}
UniformRotation
{
Period 48.0 # guess
}
}
"136108 Haumea:Haumea:2003 EL61" "Sol" {
Class "dwarfplanet"
Texture "asteroid.jpg"
# Dimensions below taken from Rabinowitz et al. Photometric observations
# constraining the size, shape and albedo of 2003 EL62, a rapidly rotating,
# Pluto-sized object in the Kuiper Belt.
# http://arxiv.org/ftp/astro-ph/papers/0509/0509401.pdf
SemiAxes [ 980 760 500 ] # estimate
InfoURL "http://www.gps.caltech.edu/~mbrown/2003EL61/"
EllipticalOrbit {
Epoch 2453600.5 # 2005 Aug 18 00:00UT
Period 285.312
SemiMajorAxis 43.339
Eccentricity 0.1888
Inclination 28.195
AscendingNode 121.895
ArgOfPericenter 239.512
MeanAnomaly 198.075
}
UniformRotation
{
Period 3.9152
Inclination 255 # spin axis assumed to match
AscendingNode 25 # satellite orbits
}
}
"Hi'iaka:136108 Haumea I:Haumea I:2005 (2003 EL61) 1" "Sol/2003 EL61" {
Class "moon"
Mesh "asteroid.cms"
Texture "asteroid.jpg"
Radius 150 # ~1% of system mass
InfoURL "http://www.gps.caltech.edu/~mbrown/2003EL61/"
# Orbit from Brown ME et al: http://www.gps.caltech.edu/%7Embrown/papers/ps/EL61.pdf
BodyFrame {
EclipticJ2000 { Center "Sol/2003 EL61" }
}
OrbitFrame {
EclipticJ2000 { Center "Sol/2003 EL61" }
}
EllipticalOrbit {
Period 49.12
SemiMajorAxis 49500
Eccentricity 0.050
Inclination 234.8
AscendingNode 26.1
ArgOfPericenter 278.6
MeanAnomaly 16.71
}
Obliquity 235 # to match orbit
EquatorAscendingNode 25 #
}
"Namaka:136108 Haumea II:Haumea II:2005 (2003 EL61) 2" "Sol/2003 EL61" {
Class "moon"
Mesh "asteroid.cms"
Texture "asteroid.jpg"
Radius 90 # ~0.2% of system mass
InfoURL "http://www.gps.caltech.edu/~mbrown/2003EL61/"
BodyFrame {
EclipticJ2000 { Center "Sol/2003 EL61" }
}
OrbitFrame {
EclipticJ2000 { Center "Sol/2003 EL61" }
}
EllipticalOrbit {
Period 34.1
SemiMajorAxis 39300
Inclination 275 # ~40 degrees to 2005 (2003 EL61) 1
AscendingNode 25 #
}
Obliquity 275 # to match orbit
EquatorAscendingNode 25 #
}
"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 "XX"
}
Location "C Ring" "Sol/Saturn"
{
LongLat [ 0 0 23000 ]
Size 17500
Type "XX"
}
Location "Maxwell Gap" "Sol/Saturn"
{
LongLat [ 0 0 27230 ]
Size 270
Type "XX"
}
Location "Bond Gap" "Sol/Saturn"
{
LongLat [ 0 0 28440 ]
Size 30
Type "XX"
}
Location "Dawes Gap" "Sol/Saturn"
{
LongLat [ 0 0 29940 ]
Size 20
Type "XX"
}
Location "B Ring" "Sol/Saturn"
{
LongLat [ 0 0 44500 ]
Size 25500
Type "XX"
}
Location "Huygens Gap" "Sol/Saturn"
{
LongLat [ 0 0 57410 ]
Size 440
Type "XX"
}
Location "Herschel Gap" "Sol/Saturn"
{
LongLat [ 0 0 57966 ]
Size 102
Type "XX"
}
Location "Russell Gap" "Sol/Saturn"
{
LongLat [ 0 0 58345 ]
Size 33
Type "XX"
}
Location "Jeffreys Gap" "Sol/Saturn"
{
LongLat [ 0 0 58682 ]
Size 38
Type "XX"
}
Location "Kuiper Gap" "Sol/Saturn"
{
LongLat [ 0 0 59136 ]
Size 3
Type "XX"
}
Location "Laplace Gap" "Sol/Saturn"
{
LongLat [ 0 0 59699 ]
Size 238
Type "XX"
}
Location "Bessel Gap" "Sol/Saturn"
{
LongLat [ 0 0 59973 ]
Size 10
Type "XX"
}
Location "Barnard Gap" "Sol/Saturn"
{
LongLat [ 0 0 60044 ]
Size 13
Type "XX"
}
Location "Cassini Division" "Sol/Saturn"
{
LongLat [ 0 0 59580 ]
Size 4700
Type "XX"
}
Location "A Ring" "Sol/Saturn"
{
LongLat [ 0 0 69200 ]
Size 14600
Type "XX"
}
Location "Encke Gap" "Sol/Saturn"
{
LongLat [ 0 0 73300 ]
Size 325
Type "XX"
}
Location "Keeler Gap" "Sol/Saturn"
{
LongLat [ 0 0 76260 ]
Size 35
Type "XX"
}
Location "Roche Division" "Sol/Saturn"
{
LongLat [ 0 0 78220 ]
Size 2600
Type "XX"
}
Location "F Ring" "Sol/Saturn"
{
LongLat [ 0 0 79950 ]
Size 500
Type "XX"
}
Location "Colombo Gap" "Sol/Saturn"
{
LongLat [ 180 0 17530 ]
Size 100
Type "XX"
}
Location "C Ring" "Sol/Saturn"
{
LongLat [ 180 0 23000 ]
Size 17500
Type "XX"
}
Location "Maxwell Gap" "Sol/Saturn"
{
LongLat [ 180 0 27230 ]
Size 270
Type "XX"
}
Location "Bond Gap" "Sol/Saturn"
{
LongLat [ 180 0 28440 ]
Size 30
Type "XX"
}
Location "Dawes Gap" "Sol/Saturn"
{
LongLat [ 180 0 29940 ]
Size 20
Type "XX"
}
Location "B Ring" "Sol/Saturn"
{
LongLat [ 180 0 44500 ]
Size 25500
Type "XX"
}
Location "Huygens Gap" "Sol/Saturn"
{
LongLat [ 180 0 57410 ]
Size 440
Type "XX"
}
Location "Herschel Gap" "Sol/Saturn"
{
LongLat [ 180 0 57966 ]
Size 102
Type "XX"
}
Location "Russell Gap" "Sol/Saturn"
{
LongLat [ 180 0 58345 ]
Size 33
Type "XX"
}
Location "Jeffreys Gap" "Sol/Saturn"
{
LongLat [ 180 0 58682 ]
Size 38
Type "XX"
}
Location "Kuiper Gap" "Sol/Saturn"
{
LongLat [ 180 0 59136 ]
Size 3
Type "XX"
}
Location "Laplace Gap" "Sol/Saturn"
{
LongLat [ 180 0 59699 ]
Size 238
Type "XX"
}
Location "Bessel Gap" "Sol/Saturn"
{
LongLat [ 180 0 59973 ]
Size 10
Type "XX"
}
Location "Barnard Gap" "Sol/Saturn"
{
LongLat [ 180 0 60044 ]
Size 13
Type "XX"
}
Location "Cassini Division" "Sol/Saturn"
{
LongLat [ 180 0 59580 ]
Size 4700
Type "XX"
}
Location "A Ring" "Sol/Saturn"
{
LongLat [ 180 0 69200 ]
Size 14600
Type "XX"
}
Location "Encke Gap" "Sol/Saturn"
{
LongLat [ 180 0 73300 ]
Size 325
Type "XX"
}
Location "Keeler Gap" "Sol/Saturn"
{
LongLat [ 180 0 76260 ]
Size 35
Type "XX"
}
Location "Roche Division" "Sol/Saturn"
{
LongLat [ 180 0 78220 ]
Size 2600
Type "XX"
}
Location "F Ring" "Sol/Saturn"
{
LongLat [ 180 0 79950 ]
Size 500
Type "XX"
}
Location "Ring 6" "Sol/Uranus"
{
LongLat [ 0 0 16278 ]
Importance 2000
Type "XX"
}
Location "Ring 5" "Sol/Uranus"
{
LongLat [ 0 0 16675 ]
Importance 2000
Type "XX"
}
Location "Ring 4" "Sol/Uranus"
{
LongLat [ 0 0 17012 ]
Importance 2000
Type "XX"
}
Location "Alpha Ring" "Sol/Uranus"
{
LongLat [ 0 0 19159 ]
Importance 2000
Type "XX"
}
Location "Beta Ring" "Sol/Uranus"
{
LongLat [ 0 0 20102 ]
Importance 2000
Type "XX"
}
Location "Eta Ring" "Sol/Uranus"
{
LongLat [ 0 0 21617 ]
Importance 2000
Type "XX"
}
Location "Gamma Ring" "Sol/Uranus"
{
LongLat [ 0 0 22068 ]
Importance 2000
Type "XX"
}
Location "Delta Ring" "Sol/Uranus"
{
LongLat [ 0 0 22741 ]
Importance 2000
Type "XX"
}
Location "Lambda Ring" "Sol/Uranus"
{
LongLat [ 0 0 24465 ]
Importance 2000
Type "XX"
}
Location "Epsilon Ring" "Sol/Uranus"
{
LongLat [ 0 0 25590 ]
Importance 2000
Type "XX"
}
Location "Ring 6" "Sol/Uranus"
{
LongLat [ 180 0 16278 ]
Importance 2000
Type "XX"
}
Location "Ring 5" "Sol/Uranus"
{
LongLat [ 180 0 16675 ]
Importance 2000
Type "XX"
}
Location "Ring 4" "Sol/Uranus"
{
LongLat [ 180 0 17012 ]
Importance 2000
Type "XX"
}
Location "Alpha Ring" "Sol/Uranus"
{
LongLat [ 180 0 19159 ]
Importance 2000
Type "XX"
}
Location "Beta Ring" "Sol/Uranus"
{
LongLat [ 180 0 20102 ]
Importance 2000
Type "XX"
}
Location "Eta Ring" "Sol/Uranus"
{
LongLat [ 180 0 21617 ]
Importance 2000
Type "XX"
}
Location "Gamma Ring" "Sol/Uranus"
{
LongLat [ 180 0 22068 ]
Importance 2000
Type "XX"
}
Location "Delta Ring" "Sol/Uranus"
{
LongLat [ 180 0 22741 ]
Importance 2000
Type "XX"
}
Location "Lambda Ring" "Sol/Uranus"
{
LongLat [ 180 0 24465 ]
Importance 2000
Type "XX"
}
Location "Epsilon Ring" "Sol/Uranus"
{
LongLat [ 180 0 25590 ]
Importance 2000
Type "XX"
}
Location "Le Verrier Ring" "Sol/Neptune"
{
LongLat [ 0 0 28430 ]
Importance 3000
Type "XX"
}
Location "Adams Ring" "Sol/Neptune"
{
LongLat [ 0 0 38166 ]
Importance 2000
Type "XX"
}
Location "Le Verrier Ring" "Sol/Neptune"
{
LongLat [ 180 0 28430 ]
Importance 3000
Type "XX"
}
Location "Adams Ring" "Sol/Neptune"
{
LongLat [ 180 0 38166 ]
Importance 2000
Type "XX"
}

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

2
debian/celestia-common.dirs vendored 100644
View File

@ -0,0 +1,2 @@
usr/share/doc/celestia-common
etc

5
debian/celestia-common.docs vendored 100644
View File

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

11
debian/celestia-common.install vendored 100644
View File

@ -0,0 +1,11 @@
usr/share/celestia/fonts
usr/share/celestia/images
usr/share/celestia/locale
usr/share/celestia/scripts
usr/share/celestia/shaders
usr/share/celestia/splash
usr/share/celestia/celestia.cfg
usr/share/celestia/celestia-logo.png
usr/share/celestia/controls.txt
usr/share/celestia/*.cel
usr/share/locale

195
debian/celestia-glut.1 vendored 100644
View File

@ -0,0 +1,195 @@
.\" Please adjust this date whenever revising the manpage.
.TH CELESTIA 1 "May 23, 2001"
.SH NAME
celestia \- A real-time visual space simulation
.SH SYNOPSIS
.B celestia
.RI [ options ]
.SH DESCRIPTION
This manual page documents briefly \fBcelestia\fP, a 3D space simulator.
Celestia is a real-time visual simulation of space in our local region of the
universe. Choose a point within about 1000 light years of Earth, and Celestia
will show you an approximation of how it would appear to your eyes were you
actually there. Some of what Celestia shows is necessarily hypothetical--the
farther away from Earth you get, the less real data there is and the more
guesswork is involved. Thus Celestia supplements observational data with good
guesses based on models of stellar and planetary processes.
.PP
Celestia is unique in its ability to allow you to navigate at an immense range
of scales. Orbit a couple kilometers above the surface of a tiny, irregular
asteroid, then head off toward Jupiter, watching it grow from a bright point of
light into a looming sphere filling your field of vision. Leave our solar
system entirely and observe the sun as it fades from a brilliant disk to a
bright star, disappearing almost entirely as you head off toward the Upsilon
Andromeda system to orbit around its innermost giant planet.
.SH OVERVIEW
Celestia will start up in a window, display a welcome message and some
information about your target (top left corner), your speed, and the
current time (Universal Time, so it'll probably be a few hours off from
your computer's clock.) In Celestia, you'll generally have an object
selected; currently, it's Eros, but it could also be a star, planet,
spacecraft, or galaxy. The simplest way to select an object is to click
on it. Try clicking on a star to select it. Right drag the mouse to
orbit arround the selected target. Left dragging the mouse changes your
orientation too, but the camera rotates about its center instead of
rotating around the target. Rolling the mouse wheel will change your
distance to the space station--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.
.PP
Press G 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 solar system. You'll find
yourself half a light year away from the Sun, which looks merely like a
bright star at this range. Press G three more times to get within about
30 AU of the Sun and you will be to see a few planets become visible
near the 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.
.SH USAGE
Mouse functions:
.PP
.TS
tab (@);
l l.
Left drag@orient camera
Right drag@orbit the selected object
Mouse wheel,@
Middle drag@adjust distance to selection
left click@select target, double click to center
.TE
.PP
Keyboard commands:
.PP
Navigation
.PP
.TS
tab (@);
l l.
H@Select the sun (Home)
C@Center on selected object
G@Goto selected object
F@Follow selected object
Y@Orbit the selected object at a rate synced to its rotation
ESC@Cancel motion
.TE
.PP
Free movement
.PP
.TS
tab (@);
l l.
HOME@Move closer to object
END@Move farther from object
F1@Stop
F2@Set velocity to 1 km/s
F3@Set velocity to 1,000 km/s
F4@Set velocity to 1,000,000 km/s
F5@Set velocity to 1 AU/s
F6@Set velocity to 1 ly/s
A@Increase velocity by 10x
Z@Decrease velocity by 10x
Q@Reverse direction
X@Set movement direction toward center of screen
.TE
.PP
Time
.PP
.TS
tab (@);
l l.
Space@stop time
L@Time 10x faster
K@Time 10x slower
J@Reverse time
.TE
.PP
Options
.PP
.TS
tab (@);
l l.
U@Toggle galaxy rendering
N@Toggle planet and moon labels
O@Toggle planet orbits
V@Toggle HUD Text
I@Toggle planet atmospheres (cloud textures)
W@Toggle wireframe mode
/@Toggle constellation diagrams
= @Toggle constellation labels
;@Toggle earth-based equatorial coordinate sphere
B@Toggle star labels
P@Toggle per-pixel lighting (if supported)
[@Decrease limiting magnitude (fewer stars visible)
]@Increase limiting magnitude (more stars visible)
{@Decrease ambient illumination
}@Increase ambient illumination
,@Narrow field of view
\.@Widen field of view
.TE
.PP
Other
.PP
.TS
tab (@);
l l.
D@Run demo
`@Show frames rendered per second
.TE
.PP
It's possible to choose a star or planet by name: press Enter and type in the
name, and pressing Enter again. You can use common names, or Bayer
designations and HD catalog numbers for stars. Bayer and Flamsteed
designations need to be entered like "Upsilon And" and "51 Peg". The
constellation must be given as a three letter abbreviation and the full Greek
letter name spelled out. HD catalog numbers must be entered with a space
between HD and the number.
.SH OPTIONS
The \fIglut\fP based version accepts the usual X Window System specific
options, namely:
.TP 8
.B \-display \fIDISPLAY\fP
Specify the X server to connect to. If not specified, the value of the
DISPLAY environment variable is used.
.TP 8
.B \-geometry \fIWxH+X+Y\fP
Determines where window's should be created on the screen. The
parameter following -geometry should be formatted as a
standard X geometry specification. The effect of using this option
is to change the GLUT initial size and initial position the same as
if glutInitWindowSize or glutInitWindowPosition were
called directly.
.TP 8
.B \-iconic
Requests all top-level windows be created in an iconic state.
.TP 8
.B \-indirect
Force the use of indirect OpenGL rendering contexts.
.TP 8
.B \-direct
Force the use of direct OpenGL rendering contexts (not all GLX
implementations support direct rendering contexts). A fatal error
is generated if direct rendering is not supported by the OpenGL
implementation.
If neither -indirect or -direct are used to force a particular
behavior, GLUT will attempt to use direct rendering if possible
and otherwise fallback to indirect rendering.
.TP 8
.B \-gldebug
After processing callbacks and/or events, check if there are any
OpenGL errors by calling glGetError. If an error is reported,
print out a warning by looking up the error code with
gluErrorString. Using this option is helpful in detecting
OpenGL run-time errors.
.TP 8
.B \-sync
Enable synchronous X protocol transactions. This option makes it
easier to track down potential X protocol errors.
.SH AUTHOR
Celestia has been written by Chris Laurel <claurel@www.shatters.net> and
it's available under the terms and conditions of the GNU General Public
License from http://celestia.sf.net/

11
debian/celestia-glut.desktop vendored 100644
View File

@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Name=Celestia (GLUT)
GenericName=Space Simulator
Comment=Explore the Universe in this detailed space simulation
Type=Application
Categories=Astronomy;Education;Science;
Icon=celestia
Exec=celestia-glut %f
Terminal=false
MimeType=application/x-celestia-script;

1
debian/celestia-glut.install vendored 100644
View File

@ -0,0 +1 @@
usr/bin/celestia-glut

View File

@ -0,0 +1 @@
manpage-has-errors-from-man usr/share/man/man1/celestia-glut.1.gz 131: warning: macro `@Widen' not defined

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