Compare commits

..

1 Commits

Author SHA1 Message Date
Hleb Valoshka 5d5e8783f5 Optimize uniforms usage 2020-08-03 19:47:36 +03:00
1228 changed files with 583632 additions and 138717 deletions

View File

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

View File

@ -1,63 +1,47 @@
---
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
AccessModifierOffset: -3
AlignEscapedNewlinesLeft: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortFunctionsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackParameters: false
BreakBeforeBinaryOperators: false
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'
BreakBeforeTernaryOperators: false
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 80
CommentPragmas: ''
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 0
ContinuationIndentWidth: 0
Cpp11BracedListStyle: false
DerivePointerBinding: false
IndentCaseLabels: false
IndentFunctionDeclarationAfterType: false
IndentWidth: 4
Language: Cpp
MaxEmptyLinesToKeep: '1'
MaxEmptyLinesToKeep: 2
NamespaceIndentation: None
PointerAlignment: Right
ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'
SpaceAfterLogicalNot: 'false'
SpaceAfterTemplateKeyword: 'false'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
ObjCSpaceAfterProperty: true
ObjCSpaceBeforeProtocolList: true
PenaltyBreakBeforeFirstCallParameter: 100
PenaltyBreakComment: 100
PenaltyBreakFirstLessLess: 0
PenaltyBreakString: 100
PenaltyExcessCharacter: 1
PenaltyReturnTypeOnItsOwnLine: 20
PointerBindsToType: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceInEmptyParentheses: 'false'
SpacesBeforeTrailingComments: '1'
SpacesInAngles: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: c++17
TabWidth: '4'
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
Standard: Cpp11
TabWidth: 4
UseTab: Never
UseCRLF: 'false'

View File

@ -1,248 +0,0 @@
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

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

4
.gitignore vendored
View File

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

18
.gitmodules vendored
View File

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

View File

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

View File

@ -1,12 +1,7 @@
cmake_minimum_required(VERSION 3.8)
cmake_minimum_required(VERSION 3.1.0)
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)
@ -39,7 +34,7 @@ endif()
# Remove leading and trailing whitespace from libraries linked
if(POLICY CMP0004)
cmake_policy(SET CMP0004 NEW)
cmake_policy(SET CMP0004 OLD)
endif()
project(celestia VERSION 1.7.0 LANGUAGES C CXX)
@ -50,30 +45,21 @@ 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_GLUT "Build simple Glut frontend? (Default: on)" 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_THEORA "Support video capture to OGG Theora? (Default: on)" ON)
option(ENABLE_TOOLS "Build different tools? (Default: off)" OFF)
option(NATIVE_OSX_APP "Support native OSX paths read data from (Default: off)" OFF)
option(FAST_MATH "Build with unsafe fast-math compiller option (Default: off)" OFF)
option(ENABLE_TESTS "Enable unit tests? (Default: off)" OFF)
option(ENABLE_DATA "Install data from content submodule? (Default: on)" ON)
option(ENABLE_GLES "Build for OpenGL ES 2.0 instead of OpenGL 2.1 (Default: off)" OFF)
option(USE_GTKGLEXT "Use libgtkglext1 for GTK2 frontend (Default: on)" ON)
option(USE_QT6 "Use Qt6 in Qt frontend (Default: off)" OFF)
option(USE_GTK3 "Use Gtk3 in GTK2 frontend (Default: off)" OFF)
if(ENABLE_GLES)
add_definitions(-DGL_ES)
# Disable USE_GTKGLEXT if using OpenGL ES
set(USE_GTKGLEXT OFF)
endif()
if(USE_GTK3)
# Disable USE_GTKGLEXT if using Gtk+3
set(USE_GTKGLEXT OFF)
endif()
if(NOT CMAKE_BUILD_TYPE)
@ -82,7 +68,7 @@ endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(UNIX AND (NOT CYGWIN))
if(UNIX AND (NOT APPLE) AND (NOT CYGWIN))
set(_UNIX true)
endif()
@ -91,9 +77,7 @@ endif()
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_CXX_STANDARD 11)
set(CMAKE_C_STANDARD 11)
# Use our cmake files
@ -106,32 +90,26 @@ endif()
include(CheckIncludeFiles)
include(CheckIncludeFileCXX)
include(FastMath)
if(NOT WIN32)
include(cotire)
else()
macro(cotire _target)
endmacro()
endif()
#
# Compile options
#
if(MSVC)
# CMake 3.14 and below set warning flags by default, remove them to prevent conflicts
string(REGEX REPLACE "/W[3|4]" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
string(REGEX REPLACE "/W[3|4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
# Disabled warnings
# C4244, C4267, C4503: implicit type conversion to a smaller type
# C4786: long names in templates
# C4800: forcing value to bool
# C4455: reserved literals (no undescore at the beginning)
# C5030: not recognized attribute
# C5105: macro expansion producing 'defined' has undefined behavior
# Additional options
# bigobj: generate more object sections than allowed by default
# Promoted to errors
# C4316: object allocated on the heap may not be aligned 16
add_compile_options("/wd4244" "/wd4267" "/wd4503" "/wd4800" "/wd4455" "/wd5030" "/wd5105" "/bigobj" "/we4316")
if(MSVC_VERSION GREATER_EQUAL 1914)
# /Zc:__cplusplus: correctly set __cplusplus macro value
add_compile_options("/Zc:__cplusplus")
endif()
add_compile_options("/wd4244" "/wd4267" "/wd4503" "/wd4800" "/bigobj" "/we4316")
endif()
if(NOT WIN32)
@ -140,12 +118,6 @@ if(NOT WIN32)
add_compile_options(-fPIC)
endif()
if(MINGW)
# MinGW has a bug which causes too many false-positive warnings
# for 'operator!='
add_compile_options(-Wno-attributes)
endif()
EnableFastMath(${FAST_MATH})
#
@ -161,20 +133,51 @@ if(ENABLE_NLS)
find_package(Intl REQUIRED)
include_directories(${Intl_INCLUDE_DIRS})
link_libraries(${Intl_LIBRARIES})
# begin static libintl support
# libintl.a may depend on libiconv.a and libcharset.a
# this is the case of vcpkg + mingw, for example
macro(try_compile_intl)
set(_argv ${ARGV})
try_compile(INTLLIB ${CMAKE_BINARY_DIR}
"${CMAKE_SOURCE_DIR}/checks/intl.cpp"
LINK_LIBRARIES ${_argv}
CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${Intl_INCLUDE_DIRS}")
endmacro()
try_compile_intl(${Intl_LIBRARIES})
if (NOT INTLLIB)
message(STATUS "Checking for libiconv and libcharset dependencies of libintl")
find_package(Iconv REQUIRED)
link_libraries(${Iconv_LIBRARIES})
try_compile_intl(${Intl_LIBRARIES} ${Iconv_LIBRARIES})
if (NOT INTLLIB)
find_library(Charset_LIBRARY NAMES libcharset charset HINTS Charset_DIR)
try_compile_intl(${Intl_LIBRARIES} ${Iconv_LIBRARIES} ${Charset_LIBRARY})
if (NOT INTLLIB)
message(FATAL_ERROR "LibIntl has unknown dependencies")
else()
link_libraries(${Charset_LIBRARY})
endif()
endif()
endif()
# end static libintl support
add_definitions(-DENABLE_NLS)
else()
message(STATUS "NLS is disabled. Not looking for gettext and libintl.")
endif()
if(ENABLE_SPICE)
find_package(CSPICE)
find_package(Cspice)
if(NOT CSPICE_FOUND)
message(STATUS "Using cspice submodule")
add_subdirectory("${CMAKE_SOURCE_DIR}/thirdparty/Spice")
get_target_property(SPICE_INCLUDE_DIR spice INCLUDE_DIRECTORIES)
get_target_property(SPICE_INCLUDE_DIR Spice INCLUDE_DIRECTORIES)
include_directories(${SPICE_INCLUDE_DIR})
message(STATUS "Spice include directories: ${SPICE_INCLUDE_DIR}")
add_library(CSPICE::CSPICE ALIAS spice)
add_library(CSPICE::CSPICE ALIAS Spice)
else()
include_directories(${CSPICE_INCLUDE_DIR})
endif()
@ -183,24 +186,17 @@ 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(_UNIX AND ENABLE_THEORA)
pkg_search_module(THEORA theora REQUIRED)
include_directories(${THEORA_INCLUDE_DIRS})
link_libraries(${THEORA_LIBRARIES})
add_definitions(-DTHEORA)
endif()
if(WIN32)
link_libraries("vfw32" "comctl32" "winmm")
endif()
@ -215,16 +211,23 @@ 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(Eigen3 3.3 NO_MODULE) # -DEigen3_DIR=...
if(TARGET Eigen3::Eigen)
message(STATUS "Found Eigen3 ${EIGEN3_VERSION_STRING}")
link_libraries(Eigen3::Eigen)
else()
message(STATUS "Using Eigen submodule")
include_directories("${CMAKE_SOURCE_DIR}/thirdparty/Eigen")
endif()
find_package(fmt 6.1.0 CONFIG QUIET)
if(NOT fmt_FOUND)
find_package(fmt 4.0.0 CONFIG QUIET)
if(fmt_FOUND)
link_libraries(fmt::fmt)
else()
message(STATUS "Using fmt submodule")
add_subdirectory("${CMAKE_SOURCE_DIR}/thirdparty/fmt")
link_libraries(fmt::fmt)
endif()
link_libraries(fmt::fmt)
find_package(PNG REQUIRED)
add_definitions(${PNG_DEFINITIONS})
@ -250,14 +253,6 @@ 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)
@ -349,12 +344,6 @@ 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
@ -369,28 +358,37 @@ include_directories("${CMAKE_SOURCE_DIR}/src" ${CMAKE_BINARY_DIR})
include(CheckSymbolExists)
check_symbol_exists(wordexp wordexp.h HAVE_WORDEXP)
check_include_files(byteswap.h HAVE_BYTESWAP_H)
check_include_file_cxx(experimental/filesystem HAVE_EXPERIMENTAL_FILESYSTEM)
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)
if(HAVE_EXPERIMENTAL_FILESYSTEM)
# Try compile without linking against any library
try_compile(CXXFSLIB ${CMAKE_BINARY_DIR} "${CMAKE_SOURCE_DIR}/checks/cxxfs.cpp")
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.")
if(CXXFSLIB)
# Nothing to do, linking is not explicitly required
else()
# Find the filesystem lib we need to link against
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
find_library(CLANG_FS_LIBRARY "c++fs")
if(CLANG_FS_LIBRARY)
set(FS_LIBRARY c++fs)
else()
set(FS_LIBRARY stdc++fs)
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(FS_LIBRARY stdc++fs)
endif()
try_compile(CXXFSLIB ${CMAKE_BINARY_DIR} "${CMAKE_SOURCE_DIR}/checks/cxxfs.cpp" LINK_LIBRARIES "${FS_LIBRARY}")
if(CXXFSLIB)
link_libraries("${FS_LIBRARY}")
else()
set(HAVE_EXPERIMENTAL_FILESYSTEM OFF)
message(WARNING "C++ experimental filesystem library is unusable!\nWill use own implementation.")
endif()
endif()
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
@ -409,12 +407,17 @@ endif()
add_subdirectory(src)
add_subdirectory(po)
add_subdirectory(po2)
add_subdirectory(fonts)
add_subdirectory(images)
add_subdirectory(locale)
add_subdirectory(scripts)
add_subdirectory(shaders)
if(ENABLE_DATA)
add_subdirectory(content)
endif()
if(ENABLE_TESTS)
enable_testing()
add_subdirectory(test)

108
ChangeLog
View File

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

View File

@ -3,24 +3,18 @@
Stable version installation on Unix-like systems (e.g. GNU/Linux or *BSD):
* Check your OS repository for already built packages.
* Check https://celestia.space/download.html.
* Check https://bintray.com/celestia if it contains packages for your system.
Stable version installation on Windows and OSX:
* Check https://celestia.space/download.html.
Development snapshots installation on Unix-like systems:
### On Debian 10 (buster) and derived systems:
### On Debian 10 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
curl https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/Release.key | sudo apt-key add -
echo "deb https://download.opensuse.org/repositories/home:/munix9:/unstable/Debian_10/ ./" | sudo tee /etc/apt/sources.list.d/celestia-obs.list
sudo apt update && sudo apt install celestia
```
### On Ubuntu 18.04/20.04 and derived systems:
@ -34,31 +28,49 @@ sudo apt update && sudo apt install celestia
Where VERSION is 18.04 or 20.04.
### On openSUSE Leap/Tumbleweed:
### On openSUSE Leap 15.1:
```
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_${VERSION}/home:munix9:unstable.repo
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_Leap_15.1/home:munix9:unstable.repo
sudo zypper refresh
sudo zypper install celestia
```
Where VERSION is 'Leap_15.2', 'Leap_15.3' or 'Tumbleweed'.
### On openSUSE Leap 15.2:
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).
```
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_Leap_15.2/home:munix9:unstable.repo
sudo zypper refresh
sudo zypper install celestia
```
### On openSUSE Tumbleweed:
```
sudo zypper addrepo https://download.opensuse.org/repositories/home:munix9:unstable/openSUSE_Tumbleweed/home:munix9:unstable.repo
sudo zypper refresh
sudo zypper install celestia
```
### On other GNU/Linux distributions:
Try experimental portable AppImage (see https://github.com/CelestiaProject/Celestia/issues/333):
Try experimental portable AppImage (see https://github.com/CelestiaProject/Celestia/issues/333):
```
wget https://download.opensuse.org/repositories/home:/munix9:/unstable/AppImage/celestia-1.7.0-git-x86_64.AppImage
chmod 755 celestia-1.7.0-git-x86_64.AppImage
```
Optionally create a portable, main version-independent `$HOME` directory in the same folder as the AppImage file:
Optionally create a portable, main version-independent `$HOME` directory in the same folder as the AppImage file:
```
mkdir celestia-1.7.home
```
Development snapshots installation on Windows:
* https://bintray.com/celestia/celestia-builds/snapshots contains
official 32/64 bit development snapshots for Windows.
To build from sources please follow instructions below.
@ -77,26 +89,25 @@ cd Celestia
git submodule update --init
```
If you have fmtlib and Eigen3 installed from other sources (OS repository or
vcpkg) or don't want to build Celestia with SPICE support then you can skip the 3rd step.
## Celestia Install instructions for UNIX
First you need a C++ compiler able to compile C++11 code (GCC 4.8.1 or later,
Clang 3.3 or later), CMake, GNU Make or Ninja.
Then you need to have the following devel components installed before Celestia
will build: OpenGL, libepoxy, fmtlib, Eigen3, freetype, libjpeg, and libpng.
Optional packages are gettext, Qt5, Gtk2 or Gtk3, sdl2, ffmpeg, libavif, glu and glut.
will build: OpenGL, glu, libepoxy, theora, libjpeg, and libpng. Optional
packages are fmtlib, Eigen3, Qt5, Gtk2 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.
packages: libepoxy-dev, libjpeg-dev, libpng-dev, libtheora-dev, libgl1-mesa-dev,
libglu1-mesa-dev. Then you may want to install libeigen3-dev, libfmt-dev;
qtbase5-dev, qtbase5-dev-tools and libqt5opengl5-dev if you want to build with
Qt5 interface; libgtk2.0-dev and libgtkglext1-dev to build with legacy Gtk2
interface; or freeglut3-dev to build with glut interface.
OK, assuming you've collected all the necessary libraries, here's
what you need to do to build and run Celestia:
@ -104,7 +115,7 @@ what you need to do to build and run Celestia:
```
mkdir build
cd build
cmake .. -DENABLE_DATA=ON -DENABLE_INTERFACE=ON [*]
cmake .. -DENABLE_INTERFACE=ON [*]
make
sudo make install
```
@ -126,10 +137,10 @@ Four interfaces are available for Celestia on Unix-like systems:
Starting with version 1.3.1, Lua is the new scripting engine for Celestia,
the old homegrown scripting engine is still available. By default Lua support
is enabled, it can be disabled passing -DENABLE_CELX=OFF to cmake. 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.
is enabled, it can be disabled passing -DENABLE_CELX=OFF to cmake.
Versions 5.1, 5.2 or 5.3 of Lua library is required. On Debian-based systems
either one of liblua5.3-dev, liblua5.2-dev or liblua5.1-dev should be installed
to have Lua support.
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
@ -139,9 +150,7 @@ 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.
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
@ -150,35 +159,27 @@ 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
Currently to build on Windows you need a 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
vcpkg install libpng libjpeg-turbo gettext lua fmt libepoxy eigen3
```
Install optional packages:
```
vcpkg --triplet=TRIPLET install --recurse qt5-base ffmpeg cspice libavif
vcpkg install qt5 luajit
```
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 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
cmake --build . -- /maxcpucount:N /nologo
```
@ -187,15 +188,12 @@ 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 -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ..
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.
Instead of N in /maxcpucount pass a number of CPU cores you want to use during
a build.
If you have Qt5 installed using official Qt installer, then pass parameter
CMAKE_PREFIX_PATH to cmake call used to configure Celestia, e.g.
@ -215,8 +213,6 @@ Notes:
## Celestia Install instructions for Windows (MINGW64), qt-only
NOTE: this part is not up to date!
It is recommended to build the source with MSYS2
https://www.msys2.org/ .
@ -231,14 +227,14 @@ pacman -S git
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-qt5
pacman -S mingw-w64-x86_64-freeglut mingw-w64-x86_64-libepoxy mingw-w64-x86_64-lua
pacman -S mingw-w64-x86_64-mesa
pacman -S mingw-w64-x86_64-libtheora 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
pacman -S mingw-w64-x86_64-sld2
```
Clone the source and go to the source directory.
@ -285,13 +281,13 @@ Install Homebrew
Install required packages:
```
brew install pkg-config cmake fmt gettext libepoxy libpng lua qt5 jpeg eigen freetype
brew install cmake fmt gettext libepoxy libpng lua qt5 jpeg eigen freetype
```
Install optional packages:
```
brew install cspice ffmpeg libavif
brew install cspice
```
Follow common building instructions to fetch the source.
@ -327,7 +323,7 @@ List of supported parameters (passed as `-DPARAMETER=VALUE`):
Parameter | TYPE | Default | Description
----------------------| ------|---------|--------------------------------------
| CMAKE_INSTALL_PREFIX | path | \* | Prefix where to install Celestia
| CMAKE_INSTALL_PREFIX | path | * | Prefix where to install Celestia
| CMAKE_PREFIX_PATH | path | | Additional path to look for libraries
| LEGACY_OPENGL_LIBS | bool | \*\*OFF | Use OpenGL libraries not GLvnd
| ENABLE_CELX | bool | ON | Enable Lua scripting support
@ -338,14 +334,11 @@ List of supported parameters (passed as `-DPARAMETER=VALUE`):
| ENABLE_QT | bool | ON | Build Qt frontend
| ENABLE_SDL | bool | OFF | Build SQL frontend
| ENABLE_WIN | bool | \*\*\*ON | Build Windows native frontend
| ENABLE_FFMPEG | bool | \*\*ON | Support video capture using ffmpeg
| ENABLE_LIBAVIF | bool | OFF | Support AVIF texture using libavif
| ENABLE_THEORA | bool | \*\*ON | Support video capture to OGG Theora
| 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)
@ -353,22 +346,16 @@ Notes:
This option effect is overriden by NATIVE_OSX_APP.
\*\* Ignored on Windows systems.
\*\*\* Ignored on Unix-like systems.
`USE_GTK3` requires `ENABLE_GTK`
\*\*\*\* This option support is not finished yet.
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_GENERATOR_PLATFORM` - can be set to x64 on 64-bit Windows to build
64-bit Celestia. To build 32-bit Celestia it should be omitted.
- `CMAKE_TOOLCHAIN_FILE` - location of vcpkg.cmake if vcpkg is used.
Please note that not all options are compatible:
- `USE_GTKGLEXT` is not compatible with `ENABLE_GLES` and `USE_GTK3` and will
be disabled if any of this is set.
- `ENABLE_GLES` is not compatible with `ENABLE_GLUT` and with `ENABLE_QT` if
your `glut` or Qt5 installation don't support OpenGL ES.
Executable files
----------------

View File

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

View File

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

207
README.md
View File

@ -1,110 +1,143 @@
| **`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 is a "real-time space simulation that lets you experience
our universe in three dimensions".
![Celestia](celestia-logo.png)<br>
**A real-time space simulation that lets you experience our universe in three dimensions.**
![celestia-screenshot](pics/celestia-screenshot.png)
**Copyright © 2001-2020, Celestia Development Team**<br>
**Celestia website: https://celestia.space**<br>
**Celestia WikiBook: https://en.wikibooks.org/wiki/Celestia**<br>
**Celestia forums: https://celestia.space/forum/**<br>
**Celestia Discord Server: https://discordapp.com/invite/WEWDcJh**<br>
**Celestia SubReddit: https://www.reddit.com/r/Celestiasoftware/**<br>
**Celestia Archive Repository: https://github.com/Anthony-B-Russo10/Celestia-Archive**
## License
# Upstream
This repo is a lesser fork of the upstream project,
which has been revived.
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.
* https://celestia.space/
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details,
which you should have received along with this program (filename: COPYING).
If not, request a copy from:<br>
Free Software Foundation, Inc.<br>
59 Temple Place - Suite 330<br>
Boston, MA 02111-1307<br>
USA
* https://github.com/CelestiaProject/Celestia
## Getting started
See also: `README-upstream`, `README-upstream.md`.
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).
## License/Copyright
GPLv2+
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.
Copyright © 2001-2021, Celestia Development Team
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.
# 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.
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 upstream bug:
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.
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809916
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.
```
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.
```
### 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.
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.
### 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.
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.
### 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.
Debian tracker link:
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)
* https://tracker.debian.org/pkg/celestia
All three types of catalog file are text files that can be updated with your
favorite text editing program.
# Build
Mini Debian package build howto.
### Building from sources
See instructions in file [INSTALL.md](INSTALL.md).
```
# 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
## 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.|
# Add ccache to PATH in ~/.bashrc, and log back in
PATH=/usr/lib/ccache:$PATH
### Contributing
# 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
```
**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.

View File

@ -1,6 +1,5 @@
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>
@ -35,3 +34,4 @@ 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

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

View File

@ -34,35 +34,34 @@ Configuration
"data/nearstars.stc"
"data/visualbins.stc"
"data/spectbins.stc"
"data/charm2.stc"
"data/pulsars.stc" ]
"data/charm2.stc" ]
HDCrossIndex "data/hdxindex.dat"
SAOCrossIndex "data/saoxindex.dat"
GlieseCrossIndex "data/gliesexindex.dat"
SolarSystemCatalogs [ "data/solarsys.ssc"
"data/dwarfplanets.ssc"
"data/asteroids.ssc"
"data/comets.ssc"
"data/dwarfplanets.ssc"
"data/outersys.ssc"
"data/minormoons.ssc"
"data/numberedmoons.ssc"
"data/extrasolar.ssc"
"data/eros_locs.ssc"
"data/gaspra_locs.ssc"
"data/ida_locs.ssc"
"data/itokawa_locs.ssc"
"data/merc_locs.ssc"
"data/venus_locs.ssc"
"data/earth_locs.ssc"
"data/moon_locs.ssc"
"data/mars_locs.ssc"
"data/moon_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" ]
@ -83,14 +82,14 @@ StarTextures
{
# This texture will be used for any spectral type not listed
# in this block.
Default "astar.*"
Default "astar.jpg"
O "ostar.*"
O "bstar.*"
B "bstar.*"
A "astar.*"
F "fstar.*"
F "astar.*"
G "gstar.*"
K "kstar.*"
K "gstar.*"
M "mstar.*"
# carbon stars
@ -100,18 +99,18 @@ StarTextures
S "mstar.*" # roughly between M and C
# Wolf-Rayet stars
WC "ostar.*"
WN "ostar.*"
WO "ostar.*"
WC "bstar.*"
WN "bstar.*"
WO "bstar.*"
# brown dwarfs
L "lstar.*"
L "browndwarf.*"
T "browndwarf.*"
Y "exo-class4night.*"
Y "browndwarf.*"
# stellar remnants
WD "whitedwarf.*"
NeutronStar "ostar.*"
WD "astar.jpg"
NeutronStar "astar.jpg"
}
@ -179,7 +178,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:
# https://celestia.space/forum/viewforum.php?f=9
# http://www.shatters.net/forum/viewforum.php?f=9
#------------------------------------------------------------------------
InitScript "start.cel"
DemoScript "demo.cel"
@ -189,7 +188,7 @@ StarTextures
# The 'extras' directory is located under the celestia root directory
# and is used for storing third-party add-ons to Celestia. To learn
# more about Add-Ons for Celestia, visit the Celestia Add-Ons forum at:
# https://celestia.space/forum/viewforum.php?f=6
# http://celestia.space/forum/viewforum.php?f=6
#
# You may specify additional add-on directories by adding additional
# entries, such as the following example shows:
@ -227,17 +226,16 @@ 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. Font size is
# measured in points to ensure the same sizes on all DPI configurations.
# compatible in order to display non-English characters.
#
# Font: Used to display all informational text.
# Default: "DejaVuSans.ttf,9"
# Default: "sans12.txf"
#
# LabelFont: Used to display all label text (objects, locations, etc.).
# Default "DejaVuSans.ttf,9"
# Default "sans12.txf"
#
# TitleFont: Used to display object names, messages, and script text.
# Default "DejaVuSans-Bold.ttf,15"
# Default "sansbold20.txf"
#------------------------------------------------------------------------
Font "DejaVuSans.ttf,9"
LabelFont "DejaVuSans.ttf,9"
@ -390,36 +388,4 @@ 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=https://celestia.space/
AppSupportURL=https://celestia.space/
AppUpdatesURL=https://celestia.space/
AppPublisherURL=http://www.shatters.net/celestia/
AppSupportURL=http://www.shatters.net/celestia/
AppUpdatesURL=http://www.shatters.net/celestia/
DefaultDirName={code:DefDirRoot}\Celestia
DefaultGroupName=Celestia
LicenseFile=COPYING
@ -212,7 +212,6 @@ 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
@ -676,7 +675,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: "https://celestia.space/"
Filename: "{app}\celestia.url"; Section: "InternetShortcut"; Key: "URL"; String: "http://www.shatters.net/celestia/"
[Icons]
Name: "{group}\Celestia"; Filename: "{app}\celestia.exe"; WorkingDir: "{app}"

View File

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

View File

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

7
checks/cxxfs.cpp 100644
View File

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

7
checks/intl.cpp 100644
View File

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

View File

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

View File

@ -1,86 +0,0 @@
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

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

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

View File

@ -3,8 +3,7 @@ macro(test_case)
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")
add_executable(${trgt} "${trgt}_test.cpp")
target_link_libraries(${trgt} PRIVATE celestia ${libs})
add_test(${trgt} ${trgt})
set_target_properties(${trgt} PROPERTIES FOLDER test/unit)

4190
cmake/cotire.cmake 100644

File diff suppressed because it is too large Load Diff

View File

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

View File

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

1
content 160000

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

View File

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

529
data/asterisms.dat 100644
View File

@ -0,0 +1,529 @@
"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" ]
]

557
data/asteroids.ssc 100644
View File

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

13049
data/boundaries.dat 100644

File diff suppressed because it is too large Load Diff

9649
data/charm2.stc 100644

File diff suppressed because it is too large Load Diff

117
data/comets.ssc 100644
View File

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

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

View File

@ -0,0 +1,84 @@
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"
}

288
data/eros_locs.ssc 100644
View File

@ -0,0 +1,288 @@
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"
}

27631
data/extrasolar.ssc 100644

File diff suppressed because it is too large Load Diff

3045
data/extrasolar.stc 100644

File diff suppressed because it is too large Load Diff

142568
data/galaxies.dsc 100644

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,245 @@
# 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"
}

2126
data/globulars.dsc 100644

File diff suppressed because it is too large Load Diff

BIN
data/hdxindex.dat 100644

Binary file not shown.

174
data/ida_locs.ssc 100644
View File

@ -0,0 +1,174 @@
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

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

12759
data/mars_locs.ssc 100644

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,126 @@
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"
}

2478
data/merc_locs.ssc 100644

File diff suppressed because it is too large Load Diff

1109
data/minormoons.ssc 100644

File diff suppressed because it is too large Load Diff

15396
data/moon_locs.ssc 100644

File diff suppressed because it is too large Load Diff

3472
data/nearstars.stc 100644

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,434 @@
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

8662
data/openclusters.dsc 100644

File diff suppressed because it is too large Load Diff

203
data/outersys.ssc 100644
View File

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

919
data/revised.stc 100644
View File

@ -0,0 +1,919 @@
# 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"
}

447
data/ring_locs.ssc 100644
View File

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

BIN
data/saoxindex.dat 100644

Binary file not shown.

File diff suppressed because it is too large Load Diff

1575
data/solarsys.ssc 100644

File diff suppressed because it is too large Load Diff

1665
data/spectbins.stc 100644

File diff suppressed because it is too large Load Diff

3380
data/starnames.dat 100644

File diff suppressed because it is too large Load Diff

BIN
data/stars.dat 100644

Binary file not shown.

106748
data/stars.txt 100644

File diff suppressed because it is too large Load Diff

View File

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

15179
data/venus_locs.ssc 100644

File diff suppressed because it is too large Load Diff

6711
data/visualbins.stc 100644

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

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

View File

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

13
debian/changelog vendored
View File

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

2
debian/control vendored
View File

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

53
debian/copyright vendored
View File

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

2
debian/rules vendored
View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

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

Binary file not shown.

View File

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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

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

Binary file not shown.

View File

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

View File

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

Binary file not shown.

View File

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

View File

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

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