Mobile Celestia for iOS

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 10 months
Location: Suzhou, China

Mobile Celestia for iOS

Post #1by Markerz » 20.02.2020, 13:39

For Android, see Celestia for Android

Permanent link for Celestia for iOS
Permanent link for Celestia for macOS

Please report any bug/crash that you encounter on Github issues.

Github repo for iOS: https://github.com/levinli303/MobileCelestia
Github repo for macOS: https://github.com/levinli303/CelestiaApp

1.0 Release is available on App Store

App Store

What's new in RC

1. Better RTL support
2. Support time reversing
3. Support marker, reference vector display
4. Added subsystem option in info view
5. Added eclipse finder
6. Added Japanese localization
7. Added Noto fonts as default fonts

What's new in beta 8

1. Display info button in the toolbar, allow hiding toolbar
2. Add controls for faintest visible, ambient light, minimum labelled feature size, galaxy brightness
3. Switch between object mode and camera mode in toolbar
4. Debug actions (toggle display FPS, console)
5. Better support for modern phone screens
6. TTF and system font support
7. HiDPI & MSAA support
8. Native GLES support
9. Context menu support

What's new in beta 7

1. Add localization for Simplified Chinese (Mainland China), Russian and Portuguese (Brazil)

What's new in beta 6

1. Buttons to toggle rotate/move around, to zoom in/out
2. Support some keyboard shortcuts on iOS 13.4 on iPad

What's new in Celestia for macOS 1.7.0

It is a modern version built on Swift, it should provide all the functionality 1.6.x version have.

What's new in beta 5

1. Use content from CelestiaContent repo
2. Fix a bug where stars are too dim

What's new in beta 4

1. Use extras in the document folder (you can see in iTunes/Finder on macOS and Files on iOS) as the add-on folder to load
2. Always hide status bar

What's new in beta 3

1. Asking for confirmation before opening a url/running a script
2. Add hint for camera control (yaw/roll/pitch)
3. Add favorite page for bookmarks/scripts
4. Disable application idle timer when launched
5. Add script control
6. Sidebar revamp

What's new in beta 2

1. Fixed globular rendering
2. Use two finger pinch to zoom in/out
3. Support opening cel:// URLs (Celestia should be started before opening cel:// URLs)
4. Added an onboard/tutorial page on first launch
5. Allow launching with custom celestia.cfg/data folder
6. Added camera control to change observer's view
7. Sharing button shares a generated URL instead of an image
8. Crash reports will be sent to Visual Studio App Center

What's in beta 1

gestures (you will see a tutorial the first time you launch it):
1. one finger drag/pan, to rotate around a body (right click(or control click) drag on desktop)
2. two finger drag/pan, to move around (left click drag on desktop)
3. two finger pinch, to zoom in/out (mousewheel on desktop)
4. one finger tap (left click on desktop)
5. drag/pan from right edge
Attachments
IMG_82592F0C392D-1.jpg
Last edited by Markerz on 02.03.2021, 00:23, edited 22 times in total.

onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #2by onetwothree » 20.02.2020, 16:08

Great work!

I'd suggest to move your celutil/gl.h to celengine as this is a more correct place for it. It will be later moved to celrender/ subfolder when I remove rest of GL calls from from other parts of engine. I also possibly will remove GLU completely, we use it for mipmapping (natively supported in GL>=1.4) and error reporting (basically useless, maybe i removed it already).

And no need for "#ifdef __cplusplus" as we use C++ only.

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 5 months
Location: Tallahassee, Florida, US

Post #3by Anthony_B_Russo10 » 21.02.2020, 03:43

Very Cool, but at that point that build is well below an alpha release and there will have to be a way of getting addons onto an iOS version of Celestia.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

Topic author
Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 10 months
Location: Suzhou, China

Post #4by Markerz » 21.02.2020, 05:16

onetwothree wrote:I'd suggest to move your celutil/gl.h to celengine as this is a more correct place for it. It will be later moved to celrender/ subfolder when I remove rest of GL calls from from other parts of engine. I also possibly will remove GLU completely, we use it for mipmapping (natively supported in GL>=1.4) and error reporting (basically useless, maybe i removed it already).

that commit definitely still needs some more modification, looking forward to making it happen. making it available on iOS means it will work on Android too, as long as there is an Android developer around :wink:

Added after 3 minutes 24 seconds:
Anthony_B_Russo10 wrote:Very Cool, but at that point that build is well below an alpha release and there will have to be a way of getting addons onto an iOS version of Celestia.

still a lot are missing, for rendering, texture and font are very broken, also user interaction and detail UI are not implemented. there will not be a release until I get the essential part working.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 4 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #5by Lafuente_Astronomy » 21.02.2020, 12:02

Is it just me, or is this the birth of Celestia for Smartphone?
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 5 months
Location: Tallahassee, Florida, US

Post #6by Anthony_B_Russo10 » 21.02.2020, 15:14

It is, and soon there may be something on Android. Which will mean more versions to archive, which for Android will be easy.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

Topic author
Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 10 months
Location: Suzhou, China

Post #7by Markerz » 22.02.2020, 05:07

got the texture working, used a previous version of gl4es so it should be gl4es's problem that it wasn't working. so now the earth has a surface now, with atmosphere turned off.

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 5 months
Location: Tallahassee, Florida, US

Post #8by Anthony_B_Russo10 » 22.02.2020, 13:40

It somewhat reminds me of version 1.0 under Windows now.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

Topic author
Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 10 months
Location: Suzhou, China

Post #9by Markerz » 25.02.2020, 09:14

some new results, with the correct depth format set, atmosphere, rings renders correctly. added some interaction, if anyone is interested, he can check in the video in the attachment

IMG_2383.PNG

The attachment IMG_2383.PNG is no longer available
Attachments
IMG_2384.PNG

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 4 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #10by Lafuente_Astronomy » 25.02.2020, 15:05

Those look good indeed
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 5 months
Location: Tallahassee, Florida, US

Post #11by Anthony_B_Russo10 » 25.02.2020, 15:14

Agreed, you just want to try and set the field of view to be higher.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 4 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #12by Lafuente_Astronomy » 25.02.2020, 15:22

And, there should also be a feature to allow you to make your own celestial bodies, so that we can do our addon-making in there as well. Though if you want it complicated, then perhaps, it is wise to buy a really powerful SD card for that. I'm looking at you, anyone who is going to make very large and comprehensive addons in there
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Avatar
Gurren Lagann
Posts: 434
Joined: 31.01.2018
Age: 18
With us: 6 years 10 months
Location: State of Rio de Janeiro, Brazil

Post #13by Gurren Lagann » 25.02.2020, 16:43

I'm in the "anyone who is going to make very large and comprehensive addons in there" category
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 4 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #14by Lafuente_Astronomy » 25.02.2020, 21:49

Gurren Lagann wrote:I'm in the "anyone who is going to make very large and comprehensive addons in there" category

Indeed you are. Hope your phone doesn't crack or break internally
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Topic author
Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 10 months
Location: Suzhou, China

Post #15by Markerz » 26.02.2020, 06:30

I will upload a beta version on TestFlight soon, so anyone can try out on his phone. :wink:

Topic author
Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 10 months
Location: Suzhou, China

Post #16by Markerz » 27.02.2020, 04:44

the beta testing link is online, check the original post, you can share it with other people, so there can be more people getting involved in making it better!

Avatar
Gurren Lagann
Posts: 434
Joined: 31.01.2018
Age: 18
With us: 6 years 10 months
Location: State of Rio de Janeiro, Brazil

Post #17by Gurren Lagann » 27.02.2020, 15:02

So when will the Android version come out?
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Avatar
Anthony_B_Russo10
Moderator
Posts: 672
Joined: 03.07.2018
Age: 21
With us: 6 years 5 months
Location: Tallahassee, Florida, US

Post #18by Anthony_B_Russo10 » 27.02.2020, 16:45

Markers, is there a way you can add this to the Archive repository?
https://github.com/Anthony-B-Russo10/Celestia-Archive
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 40 computers, trying to list them here would be a pain.
Responsible for the NEO catalog: https://celestiaproject.space/forum/viewtopic.php?f=23&t=22203
And mod of the Discord server.

Avatar
Lafuente_Astronomy
Moderator
Posts: 726
Joined: 04.08.2018
Age: 26
With us: 6 years 4 months
Location: Cebu City, Cebu Province, Philippines
Contact:

Post #19by Lafuente_Astronomy » 27.02.2020, 22:08

This is going to be a major development in the future, so I'm putting it in Announcements
Official Administrator of the Celestia Discord Server.
Invite: https://discordapp.com/invite/WEWDcJh
If you don't have a Discord account, register here: https://discordapp.com/register
Have a blessed day.

Topic author
Markerz
Developer
Posts: 274
Joined: 29.01.2009
Age: 29
With us: 15 years 10 months
Location: Suzhou, China

Post #20by Markerz » 28.02.2020, 01:54

Gurren Lagann wrote:So when will the Android version come out?

i can't really speak for this, i have very limited development with Android. but if any Android developer is willing to volunteer, i could provide help to get the renderer to work on Android

Added after 1 minute 30 seconds:
Anthony_B_Russo10 wrote:Markers, is there a way you can add this to the Archive repository?
https://github.com/Anthony-B-Russo10/Celestia-Archive

the binary would hardly be useful, one can only install iOS apps from AppStore/Testflight on normal iOS devices.


Return to “Development”