Coder Social home page Coder Social logo

celestiaproject / celestia Goto Github PK

View Code? Open in Web Editor NEW
1.7K 63.0 281.0 170.47 MB

Real-time 3D visualization of space.

Home Page: https://celestiaproject.space

License: GNU General Public License v2.0

Makefile 0.01% Perl 1.64% Shell 0.01% Inno Setup 0.94% HTML 4.82% C 0.91% C++ 88.29% Batchfile 0.02% CMake 1.46% GLSL 0.14% Objective-C++ 0.01% CSS 0.13% PowerShell 0.01% Roff 0.33% Python 1.12% POV-Ray SDL 0.17%
celestia astronomy planetarium educational free-software open-source opengl opengl-es space

celestia's Introduction

Release Localized License Contribute
GitHub release Localization License Contribute

Celestia

Celestia
A real-time space simulation that lets you experience our universe in three dimensions.

Copyright © 2001-2023, Celestia Development Team
Celestia website: https://celestiaproject.space
Celestia Wikibook: https://en.wikibooks.org/wiki/Celestia
Celestia forums: https://celestiaproject.space/forum/
Celestia Subreddit: https://www.reddit.com/r/Celestiasoftware/
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:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307
USA

Getting started

Celestia will start up in a window, and if everything is working correctly, you'll see Earth in front of a field of stars. Displayed on-screen, is some information about your target (Earth), your speed, and the current time (Universal Time, so it'll probably be a few hours off from your computer's clock).

Right drag the mouse to orbit Earth and you might see the Moon and some familiar constellations. Left dragging the mouse changes your orientation also, but the camera rotates about its center instead of rotating around Earth. Rolling the mouse wheel will change your distance to Earth--you can move light years away, then roll the wheel in the opposite direction to get back to your starting location. If your mouse lacks a wheel, you can use the Home and End keys instead.

When running Celestia, you will usually have some object selected. Currently, it's Earth, but it could also be a star, moon, spacecraft, galaxy, or some other object. The simplest way to select an object is to click on it. Try clicking on a star to select it. The information about Earth is replaced with some details about the star. Press G (or use the Navigation menu), and you'll zoom through space toward the selected star. If you press G again, you'll approach the star even closer.

Press H to select our Sun, and then G to go back to our Sun. Right click on the sun to bring up a menu of planets and other objects in the solar system. After selecting a planet from the menu, hit G again to travel toward it. Once there, hold down the right mouse button and drag to orbit the planet.

The Tour Guide is a list of some of the more interesting objects you can visit in Celestia. Select the Tour Guide option in the Navigation menu to display the Tour Guide window. Choose a destination from the list, click the Goto button, and you're off.

That covers the very basics. For a more in-depth look at Celestia and the controls available to you, download the "Celestia User's Guide" (written by Frank Gregorio), available in several languages, from:
https://celestiaproject.space/guides.html
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://celestiaproject.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.

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.

celestia's People

Contributors

0xf00ff00f avatar 375gnu avatar adriankhl avatar ajtribick avatar alexell avatar askaniy avatar claurel avatar colinkinloch avatar dave-kaye avatar dbrant avatar dependabot[bot] avatar etrepum avatar gottfriedsp avatar gstark667 avatar joequant avatar jpellegrini avatar larsnaesbye avatar levinli303 avatar lrm25 avatar lukecel avatar mattiaverga avatar munix9 avatar nisselarsson avatar pirogronian avatar podsvirov avatar racerbg avatar sevenspheres avatar suwalski avatar transifex-integration[bot] avatar yashi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

celestia's Issues

CMake Error in Visual Studio 2017

Hi getting the following CMake error - anyone tell me what I'm missing please?

1> Command line: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe -G "Visual Studio 15 2017" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\Stephen\AppData\Local\CMakeBuild\01ec6fa0-891c-e932-b1f6-102a4aedd859\build\install" -DCMAKE_CONFIGURATION_TYPES="Release" "C:\Users\Stephen\Source\Repos\Celestia\thirdparty\Eigen\Eigen"
1> Working directory: C:\Users\Stephen\AppData\Local\CMakeBuild\01ec6fa0-891c-e932-b1f6-102a4aedd859\build\x86-Release
1> -- The C compiler identification is MSVC 19.10.25019.0
1> -- The CXX compiler identification is MSVC 19.10.25019.0
1> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
1> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
1> -- Detecting C compiler ABI info
1> -- Detecting C compiler ABI info - done
1> -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
1> -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
1> -- Detecting CXX compiler ABI info
1> -- Detecting CXX compiler ABI info - done
1> -- Detecting CXX compile features
1> -- Detecting CXX compile features - done
1> CMake Error at C:\Users\Stephen\Source\Repos\Celestia\thirdparty\Eigen\Eigen\CMakeLists.txt:1 (include):
1> include could not find load file:
1>
1> RegexUtils
1>
1>
1> CMake Error at C:\Users\Stephen\Source\Repos\Celestia\thirdparty\Eigen\Eigen\CMakeLists.txt:2 (test_escape_string_as_regex):
1> Unknown CMake command "test_escape_string_as_regex".
1>
1>

``1> Command line: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2017\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe -G "Visual Studio 15 2017" -DCMAKE_INSTALL_PREFIX:PATH="C:\Users\Stephen\AppData\Local\CMakeBuild\01ec6fa0-891c-e932-b1f6-102a4aedd859\build\install" -DCMAKE_CONFIGURATION_TYPES="Release" "C:\Users\Stephen\Source\Repos\Celestia\thirdparty\Eigen\Eigen"
1> Working directory: C:\Users\Stephen\AppData\Local\CMakeBuild\01ec6fa0-891c-e932-b1f6-102a4aedd859\build\x86-Release
1> -- The C compiler identification is MSVC 19.10.25019.0
1> -- The CXX compiler identification is MSVC 19.10.25019.0
1> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
1> -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
1> -- Detecting C compiler ABI info
1> -- Detecting C compiler ABI info - done
1> -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe
1> -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x86/cl.exe -- works
1> -- Detecting CXX compiler ABI info
1> -- Detecting CXX compiler ABI info - done
1> -- Detecting CXX compile features
1> -- Detecting CXX compile features - done
1> CMake Error at C:\Users\Stephen\Source\Repos\Celestia\thirdparty\Eigen\Eigen\CMakeLists.txt:1 (include):
1> include could not find load file:
1>
1> RegexUtils
1>
1>
1> CMake Error at C:\Users\Stephen\Source\Repos\Celestia\thirdparty\Eigen\Eigen\CMakeLists.txt:2 (test_escape_string_as_regex):
1> Unknown CMake command "test_escape_string_as_regex".
1>
1>

Generic, user defined categories

As estabilished on forum, we need some kind of user defined category system. I propose something similar to tags: multiple categories per object, for more flexibility. Categories database would be generated in fly, during data files loading. I can start it.
Edit: I can also implement dynamic instalation category names localisation.

Modernize codebase to C++11?

Celestia uses quite outdated C++ standard. It would be good to convert it into C++11: auto keyword, simplified iterators, default constructors, shared_ptr/unique_ptr to simplify memory management.

1, 2 & 3 can be done automatically using clang-tidy.

What do you think of this?

UniformRotation analog in Cel/Celx

We was asking for

UniformRotation
{
Period 27.33
}

analog, avaliable via scripts.
So, let's find chances to implement it and find if it would be read-only property, as currently Celestia set all content parameters at start, when loading it from ssc files.
Should it be implement in 1.7 release?

Splash fix

Now in the Celestia QT, a fictitious process of loading Celestia from 0 to 100 percent is written on splash image.
Instead, we need to display loading files, like as Celestia 1.6.1 (as src/celestia/win32/winsplash.cpp).

Problem in building on a 64-bit machine

I've installed qt4 and lua dependencies on my machine. Then as per @randallrathbun instructions over at forum, I ran libtoolize, autoreconf and ./configure --prefix=/usr --with-qt --with-lua --with-cspice-dir=/path_to_folder/Celestia/cspice/ (Also downloaded cspice library).
Now when I make, I'm presented with the following error:

make  all-recursive
  2 make[1]: Entering directory 'path_to_folder/Celestia'
  3 Making all in src
  4 make[2]: Entering directory 'path_to_folder/Celestia/src'
  5 Making all in celutil
  6 make[3]: Entering directory 'path_to_folder/Celestia/src/celutil'
  7 make[3]: Nothing to be done for 'all'.
  8 make[3]: Leaving directory 'path_to_folder/Celestia/src/celutil'
  9 Making all in celmath
 10 make[3]: Entering directory 'path_to_folder/Celestia/src/celmath'
 11 make[3]: Nothing to be done for 'all'.
 12 make[3]: Leaving directory 'path_to_folder/Celestia/src/celmath'
 13 Making all in cel3ds
 14 make[3]: Entering directory 'path_to_folder/Celestia/src/cel3ds'
 15 make[3]: Nothing to be done for 'all'.
 16 make[3]: Leaving directory 'path_to_folder/Celestia/src/cel3ds'
 17 Making all in celtxf
 18 make[3]: Entering directory 'path_to_folder/Celestia/src/celtxf'
 19 make[3]: Nothing to be done for 'all'.
 20 make[3]: Leaving directory 'path_to_folder/Celestia/src/celtxf'
 21 Making all in celengine
 22 make[3]: Entering directory 'path_to_folder/Celestia/src/celengine'
 23 make[3]: Nothing to be done for 'all'.
 24 make[3]: Leaving directory 'path_to_folder/Celestia/src/celengine'
 25 Making all in celephem
 26 make[3]: Entering directory 'path_to_folder/Celestia/src/celephem'
 27 make[3]: Nothing to be done for 'all'.
 28 make[3]: Leaving directory 'path_to_folder/Celestia/src/celephem'
 29 Making all in celmodel
 30 make[3]: Entering directory 'path_to_folder/Celestia/src/celmodel'
 31 make[3]: Nothing to be done for 'all'.
 make[3]: Leaving directory 'path_to_folder/Celestia/src/celmodel'
 33 Making all in celestia
 34 make[3]: Entering directory 'path_to_folder/Celestia/src/celestia'
 35 Making all in qt
 36 make[4]: Entering directory 'path_to_folder/Celestia/src/celestia/qt'
 37 make[4]: *** No rule to make target 'qtcelestiaactions.h', needed by 'qtcelestiaactions.moc.cpp'.  Stop    .
 38 make[4]: Leaving directory 'path_to_folder/Celestia/src/celestia/qt'
 39 Makefile:1048: recipe for target 'all-recursive' failed
 40 make[3]: *** [all-recursive] Error 1
 41 make[3]: Leaving directory 'path_to_folder/Celestia/src/celestia'
 42 Makefile:612: recipe for target 'all-recursive' failed
 43 make[2]: *** [all-recursive] Error 1
 44 make[2]: Leaving directory 'path_to_folder/Celestia/src'
 45 Makefile:688: recipe for target 'all-recursive' failed
 46 make[1]: *** [all-recursive] Error 1
 47 make[1]: Leaving directory 'path_to_folder/Celestia'
 48 Makefile:578: recipe for target 'all' failed
 49 make: *** [all] Error 2

What is the problem?

Undefined Q_NAMESPACE

Hi @pirogronian,

I'm compiling on Debian 9 based system, Qt version is 5.7.1.

g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DGLEW_STATIC -DEIGEN_NO_DEBUG -DEIGEN_NO_DEBUG -DNDEBUG -DNO_DEBUG -DTHEORA -DLUA_VER=0x050300 -DCELX -DCONFIG_DATA_DIR=\"/opt/celestia/share/Celestia_QT\" -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../Celestia -I. -I../../Celestia -I../src -I../thirdparty/glew/include -I../thirdparty/Eigen -I../thirdparty/curveplot/include -I/usr/local/cspice/include -isystem /usr/include/libdrm -isystem /usr/include/lua5.3 -isystem /usr/include/libpng16 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Imoc -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o obj/qtglwidget.o ../src/celestia/qt/qtglwidget.cpp
In file included from ../src/celestia/qt/qtappwin.h:16:0,
                 from ../src/celestia/qt/qtmain.cpp:29:
../src/celestia/qt/QtCelestiaCoreApplication.h:8:5: error: ‘Q_NAMESPACE’ does not name a type
     Q_NAMESPACE
     ^~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:83:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTime:1,
                 from ../src/celestia/qt/qtmain.cpp:19:
../src/celestia/qt/QtCelestiaCoreApplication.h:11:9: error: expected ‘}’ before end of line
         Q_OBJECT
         ^
../src/celestia/qt/QtCelestiaCoreApplication.h:11:9: error: expected declaration before end of line
Makefile:24631: recipe for target 'obj/qtmain.o' failed
make: *** [obj/qtmain.o] Error 1

Q_NAMESPACE was introduced in Qt 5.8, we should support older versions used by current OSes.

Coverity issues

Hi!

I've scanned the latest Celestia code using Coverity tool and it has found 182 issues.

Scan results can be found here

I'll try to fix them.

[linux installation] autopackage.org is dead, please provide alternate installation method(s).

Running the .package file I get the following messages:

$ ./celestia-1.5.1.x86.package 

The installation of this software requires some additional support
code to be installed.

A] If the support code is found in a local directory, it will be used.
   The file containing the support code will be called:

      "autopackage.tar.bz2"

 or

B] If there is an active Internet connection, the support code will be
   downloaded from:

      "http://autopackage.org/downloads/latest/autopackage.tar.bz2"

   Proxy users should ensure the http_proxy environment variable is
   set, otherwise the download may fail.


Selection B --> OK to download and install support code now? (Y/n): y

Attempting download of http://autopackage.org/downloads/latest/x86_64/autopackage.tar.bz2 ... 

--2018-02-08 20:55:49--  http://autopackage.org/downloads/latest/x86_64/autopackage.tar.bz2
Resolving autopackage.org (autopackage.org)... 162.243.21.36
Connecting to autopackage.org (autopackage.org)|162.243.21.36|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.coper.work/koujo/article [following]
--2018-02-08 20:55:50--  https://www.coper.work/koujo/article
Resolving www.coper.work (www.coper.work)... 52.193.113.43, 54.249.59.53
Connecting to www.coper.work (www.coper.work)|52.193.113.43|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘autopackage.tar.bz2’

autopackage.tar.bz2     [  <=>               ]  62.95K   256KB/s    in 0.2s    

2018-02-08 20:55:53 (256 KB/s) - ‘autopackage.tar.bz2’ saved [64462]

Download completed.


bzip2: autopackage.tar.bz2 is not a bzip2 file.
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

The autopackage support code could not be installed.

It can be manually downloaded and installed by running the
installation script located in the downloaded archive.

It seems that the file tries to download http://autopackage.org/downloads/latest/x86_64/autopackage.tar.bz2 which no longer exists and redirects to some other irrelevant website. The installation can't proceed from here; is there any other way to install celestia sans building from the source-code itself?

Need to fix obs:gotolonglat error

In Celestia 1.7.0 source code (even in the 5229 revision from SF), the error occurred: In CELX scripts where used obs:gotolonglat command, not processed distance parameter. The reason for this is unknown to me, but I think that error associated with porting the source code on a new mathematical engine Eigen.

Draw orbits lines: complete/fading

We were asked for implement orbits display modes: complete vs fading.
As I can see, there are only fading for now.
Should it be part of oncoming 1.7 release?

Red Saturn, Uran & Neptun

in GLSL mode with enabled ring shadows Saturn, Uran & Neptun are red globes without textures.

I have this issue with Intel Haswell Mobile and mesa 13, and RadeonSI and mesa 17.

QT version localization

Dialogs in the experimental QT version of Celestia available in English only. In the future, we need to organize a localization.

Image overlay in Celestia

At the time, Vincent Giangiulio made many code patches for Celestia, one of them was made to display BMP, JPG or PNG images in Celestia using CEL/CELX scenarios.
Supported image scaling, setting transparency and positioning.

I believe that to add this for scripts in Celestia 1.7.0 is a good idea, but I want to hear the views of other Celestia users.

Zodiacal Light

Steve Albers proposed to implement the rendering of the zodiacal light, which appears after sunset and before sunrise. I support this idea.

Geometry Issue

How to make geometry in Celestia using a modified Mars IAU reference system (non rotating system with the X-axis pointing to the direction of the mean equinox at J2000.0 epoch, Z-axis parallel to the planet rotation axis and Y-axis orthogonal to the former ones so that the system is right handed oriented). The planet rotation is counterclockwise ?

Fade constellation boundaries and constellations figures

The boundaries of the constellations fade at a distance of 1.6 AU from the sun.
The figures of the constellations fade at a distance of 20 kpc from the sun.

In fact, it turns out that the Earth's border is almost invisible. It needs to be fixed.

CELX starcolor/starstyle with menu item sync

New CELX commands have been added:

celestia:setstarcolor()
celestia:setstarstyle()

When executed, the new values are stored in the registry, but the menu items (Render->Star style & render->Star color) do not change their position (not synchronized).

Missing meshes from dwarf-planets

Opening data\solar-system\dwarf-planets\dwarf-planets.ssc shows me dwarf planets like Pluto and Charon should have proper meshes (pluto.cmod and charon.cmod) but those arent on meshes folder and so when went to one of them nothing shows in-Celestia.

Is this intentional?

Options dialog only appears once

Celestia 1.6.1-6 on archlinux rolling here (gtk2 version 2.24.31-1). Opening the Options dialog works fine for the first time after celestia startup. Every subsequent click on the menu item does nothing, but yields the following messages on the command line:

(celestia:8567): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWindow'

(celestia:8567): Gtk-CRITICAL **: IA__gtk_window_present_with_time: assertion 'GTK_IS_WINDOW (window)' failed

Installation Issue

I am trying with pip install Celestia-main.zip
But getting
command "python setup.py egg.info" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-req-build-cyiixo5p\

How can I improve?

Thank you.

incorrect usage of global time-related variables

Unix systems have global variables timezone, daylight and tzname set by call to localtime(). It looks like Windows platform doesn't have them so the following incorrect definitions were added to qtappwin.cpp:

#define timezone 1
#define daylight 8
#define tzname "tzname"

Cannot build on Linux

All of the instructions insist that you just need to run

./configure --with-gtk
make
make install

However, there is no configure file, only configure.in. Attempting to run autoconf fails with all kinds of errors, so I can't seem to generate the configure file myself.

provide a Debian Stretch package

or maybe even provide a base /debian/ directory.

Context: Stretch (new stable), dropped Celestia. That's a huge loss for the Debian ecosystem and users.
(and, incidentally, the loss of the source of possible contributors too)

GLEW initialize error

Hi all.
Celestia run perfectly and work on my computer with QT installed.
But when running on a computer where there is no installed QT, Celestia produces an error:
Celestia was unable to initialize OpenGL extensions (error 1). Graphics quality will be reduced.

An error occurs when glew initializing (src/celestia/qt/qtappwin.cpp line 260).

How can I fix it?

Windows Binaries

Is there any binaries for this fork floating around?

I tried to compile using code blocks (TDM-GCC) but it gives me a lot of errors.

Eigen library update

In the future, it would be nice to update the Eigen library because there was a lot of improvements in the mathematical part of it.

Star Flares

In this topic Chris developed diffractive refraction effect, which occurs when watching the stars through a variety of optical instruments (telescopes, binoculars, etc.)

Unfortunately, Chris has not completed the effect, so it is not the repository.

panning is broken

When one starts panning (horizontal or vertical movement of a camera) the camera "jumps" (usually up and right) and then continues to move properly.

This issue exist only with a Qt version, not with a glut one.

celx file-io does not work with qt version

the file-io does not work with qt, but it works with native windows (1.7.0)
This example script demonstrate it.
scripts.zip

First command is for allowing io access: (this ask the first time for permission to file access: y = yes, ESC = cancel, any other key = no)
celestia:requestsystemaccess()
I have tried y, Y, and z (german keyboard changed the key 'y' and 'z' from english layout)
The next statement causes a "Fatal Error" [string "scripts/Test.celx"]:11: attempt to index global 'io' (a nil value)
f = assert(io.open(pathname .. "/data.txt", "r"))
See link to lua manual 1.5.0 and later https://en.wikibooks.org/wiki/Celestia/Celx_Scripting/CELX_Lua_Methods

The celestia:getobserver():goto does not go to destination with newer lua interpreter (goto has no label)

Update pot files

While making progress on packaging Celestia (QT5) for debian i've stumbled upon the lack of a full translation for the interface.

I'm will to provide an ~ almost_good ~ translation to spanish after i finish this, but in the meantime i think that making this an issue can help a lot in the translation to other languages.

I'm attaching the .pot file generated and the script that i use for generating it.

update_pot.sh

#!/bin/bash

extractrc $(find -name \*.ui -o -name \*.rc -o -name \*.kcfg) > testrc.cpp
xgettext -ki18n -k_ -F -j \
         -d celestia --package-name=celestia --package-version=1.7.0 [email protected] --copyright-holder="Chris Laurel" \
         $(find . -name \*.c -o -name \*.cpp -o -name \*.cc -o -name \*.h -o -name \*.hpp -o -name \*.qml) -o po/celestia.pot
rm testrc.cpp

generated file (gzipped for github)

celestia.pot.gz

Full screen does not work

Full screen does not work with qt.
It resizes the window to max size but does not change to full screen.

FPS control menu should use checkboxes

FPS control menu should use checkboxes instead of plain menu entries. Also please move 'Limit Frame Rate' entry into it (trnaslating it into "Enable Vsync").

Captured ogg video is broken

[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
V: 00:00:30 / 00:00:35 (99%)
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
V: 00:00:30 / 00:00:35 (99%)
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
V: 00:00:30 / 00:00:35 (99%)
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
V: 00:00:31 / 00:00:35 (99%)
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
[ffmpeg/demuxer] ogg: Broken file, non-keyframe not correctly marked.
V: 00:00:34 / 00:00:35 (99%)

Make error ... Makefile:1473

I am getting an error as follows during make:

Makefile:1473: recipe for target 'libcelengine_a-planetgrid.o' failed

What am I missing?

Audio support for CEL/CELX scripts

Celestia-ED-1.6.1 contains the scripts with audio playback. Used OpenAL library.
I believe that to add audio playback for scripts in Celestia 1.7.0 is a good idea. But OpenAL library is outdated and need to use another.

QT Celestial Browser sorting

Need to fix a few defects in Celestial Browser (QT):

  1. Solar system. Sort by name and type is not yet implemented.
  2. Stars. Pressing the "name" button to sort by distance, not by name.
  3. Deep Sky Objects. Pressing the "name" button to sort by distance, not by name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.