Interactive Resurgence Maps

Description: Post requests, images, descriptions and reports about work in progress here.

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#21by selden » 28.07.2017, 12:15

That's very puzzling, since it works fine for me under Windows and Linux. I don't have direct access to a Mac.

I'm now wondering if there's a conflict with other Addons' celxx/lua scripts that you might be using and/or their variables.

First, make sure that you've deleted all of the previous versions of the Resurgence Addon. They can't co-habitate in the same Celestia folder tree.

Please enable Celestia's hud informational displays, so the name of the selected object appears in the upper left corner of Celestia's window.

Before you click on a button, what does it say in the upper left corner?
Click on an empty area of the map. What does it say in the upper left corner?
When you click on a button, what happens in the upper left corner? Do you see it flicker?
After you click on a button, what does it say in the upper left corner?

Please enable Celestia's on-screen logging. (Type a tilde (~). If you have a keyboard with support for diacriticals, you might need to type a space then a tilde)

Scroll up in the log (use the keyboard's up-arrow key) to find out if it's showing any errors complaining that various objects don't have a parent. If so, at the top of that list the log should show the error message "no valid orbit for...', preceeded by several error messages about the Celxx Lua script itself.
What are they?

Alternatively, or in addition, please try installing the Addon all by itself, with nothing else in your Extras folder, and then do the tests again.
Selden

Cham M
Avatar
Cham M
Age: 53
Posts: 4319
With us: 13 years 9 months
Location: Montreal

#22by Cham » 28.07.2017, 13:26

Selden,

I'm trying your addon with a minimal installation of Celestia. There's no LUA pluggins activated, and no other script running. No other addons at all, and of course I only put your latest addon into the extra folder.

Clicking a button gives its name (Button1, Button2, etc). While the script GoToHyperion.celx is working as it should, GoToMap.celx isn't. I think it's buggy.

The first thing I get after I launch Celestia, and double-click your GoToMap.celx file, is the map model with its name in the corner : Maps. Then when I click the blue Button3 for example, nothing at all happens. (but its name is shown in the corner, since I've selected that part)

The log console says nothing special except the usual textures and model loading. It says an unsupported texture format textures/lores/HyperionSystem. *, though. I don't know which one, since there's no lores folder in there.

I think that stopping time is unecessary.

Why do you put a dot "." at the end of some names, like Hyperion. ?

Also, there's a file called "resurgence.an8" inside the medres textures folder. This is not a texture and shouldn't be there and feels like a relic.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#23by selden » 28.07.2017, 14:17

Starting with v0.4, each of the .celx scripts contains only a Cel://URL It takes you to specific viewpoint and configures Celestia's Rendering options to make things visible. Those scripts do nothing else. If you see the map after using its Goto script, then the script is working as designed.

The Addon does nothing whatsoever which would stop time. In fact, the URLs are supposed to set the time to be "Real time". (That's what they do under Windows and Linux, anyhow.) If your Celestia's time is stopped, that would explain why the Addon is not working. Please do whatever is necessary to make time progress and see if that fixes the problem. I'll investigate other ways of taking the viewpoint to the maps besides URLs.

Celestia's complaint about not finding a lores texture is standard when there's no lores directory.

There are dots in the planet names for the "popout" system to distinguish that tiny planetary system from the "real" system. The real system is visible if you use its .celx script. It uses names without the dots.
Last edited by selden on 28.07.2017, 14:28, edited 1 time in total.
Selden

Cham M
Avatar
Cham M
Age: 53
Posts: 4319
With us: 13 years 9 months
Location: Montreal

#24by Cham » 28.07.2017, 14:22

All the files are in their proper place (LUA script, etc). I don't have problems with textures on my system. They load pretty quickly so this is not the source of the problem.

The LUA files aren't working. This is weird, since on my full installation, all of my LUA palettes and buttons are working great.

I'll try with another version of Celestia to see if it's related to the custom 1.7.0 built I'm using.

By the way, what triggers your LUA files ? Is there something to add to the config file ?

Added after 5 minutes 20 seconds:
EDIT : The addon now works with the old 1.6.1. So apparently there's something fishy with 1.7.0 !
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#25by selden » 28.07.2017, 14:39

Cham,

Sorry, I updated my initial response: I think the problem is due to Celestia's clock not running on your computer.

.Celestia runs all ScriptedOrbit functions (they're specified in .SSC catalogs) once when Celestia starts and then again once every time its internal clock ticks when its window is refreshed. The ScriptedOrbit function that I wrote for the map tests the buttons, performs appropriate actions and then returns a position of 0,0,0 to place the Map object at a fixed location relative to its parent object.

If Celestia's clock is stopped, nothing can move, so ScriptedOrbits don't get called, so none of the buttons can work.
Selden

Cham M
Avatar
Cham M
Age: 53
Posts: 4319
With us: 13 years 9 months
Location: Montreal

#26by Cham » 28.07.2017, 21:50

I confirm that the time stopped is the culprit. Your addon appears to work now with my 1.7.0, after I un-stop time !

It's a bit weird that your script stop time when I call it.

EDIT : The addon is now working perfectly, but you should make the script so it doesn't stop time.

Also, I suggest that you turn off all the labels on stars, planets, comets, etc, and that you turn off the orbits. They are "interfering" with the map aesthetics.

I suggest that you place the map board in front of the star, instead of the star in front of the board. It would be less "interfering" this way.
Or maybe the star on the upper edge of the board, with some space between both of them.

And lastly, I suggest you dim down the luminous buttons. They are too vivid, relative to the board textures.

The addon is pretty cool. It would be greater once completed.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#27by selden » 29.07.2017, 02:46

Thanks for the suggestions!
Selden

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#28by selden » 29.07.2017, 21:28

V0.6 is now available at https://www.classe.cornell.edu/~seb/celestia/files/ResurgenceMaps_v06.zip (120 MB, expands to 160 MB, updated 5:30PM EDT, 29 Jul 17)


Changes in v0.6
===============
+ added Thartar
+ updated all Hyperion Planetary maps to their current versions
+ added Globes and planets w/o labels
+ added lores textures
+ added some hires textures
+ moved Map to be near Carina Nebula
+ added extended Carina Nebula backdrop
+ modified design of buttons slightly
+ redesigned the Hyperion "pop-out" orrery
+ added star orbits
+ fixed some bugs

Cham,

I implemented only a few of your suggestions. More will be implemented in a future release.
I did manage to remember to update the file's protections this time, though. :)
Selden

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#29by selden » 30.07.2017, 13:19

Some screengrabs using Celestia v1.6.1 under Win7:

Hyperion System map with "pop-out" orrery:

HyperionSystemMap_with_orrery.png


Sesha Planetary map with rotating globe:

SeshaPlanetaryMap_with_globe.png
Selden

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#30by selden » 05.08.2017, 22:58

V0.7 is now available at https://www.classe.cornell.edu/~seb/celestia/files/ResurgenceMaps_v07.zip (176 MB, expands to 274 MB, updated 7 pm EDT, 5 Aug '17)

Changes in v0.7
===============
+ added map (and buttons) of Neosol stellar system
+ improved presentation of orrery
+ used higher resolution image of Carina Nebula (NGC3372)
+ added maps of Milky Way
+ added drop-down menu

capture_002_05082017_185603.png


Added after 37 minutes 51 seconds:
I've created a Web page which briefly describes the Addon.

See https://www.classe.cornell.edu/~seb/celestia/resurgence/
Selden

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#31by selden » 13.08.2017, 19:14

V0.8 is now available at https://www.classe.cornell.edu/~seb/celestia/resurgence/files/ResurgenceMaps_v08.zip (203 MB, expands to 365 MB, updated 3 pm EDT, 13 Aug '17)

Changes in v0.8
===============
+ added Neosol orrery
+ revised galaxy maps and their buttons
+ trimmed Neosol buttons
+ modified orientation of maps with respect to the image of the Carina Nebula.
+ updated HTML page

Neosol_orrery.png
Selden

John Van Vliet
Avatar
John Van Vliet
Posts: 2651
With us: 15 years 1 month

#32by John Van Vliet » 13.08.2017, 19:21

looking good

i thought you retired - i am guessing one of the perks is access to the Univ. Cornell servers

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#33by selden » 13.08.2017, 19:41

I'm not retired yet: my half-time employment got extended until Jan 31st, 2018, because they couldn't do without me. :)

I spoke to my boss about access to the lab's web server after that, and it looks like it'll be OK.
Selden

selden
Topic author
Avatar
selden
Topic author
Posts: 10104
With us: 15 years 1 month
Location: NY, USA

#34by selden » 30.08.2017, 23:19

V1.0 is now available. Ilanthar posted that he won't be producing the next map in the series until October or so, so it seemed appropriate to tie up some loose ends and finalize this version of my adaptation. I'm hoping that it'll be possible to add future maps without people having to download this entire Addon again.

https://www.classe.cornell.edu/~seb/celestia/resurgence/files/ResurgenceMaps_v1.zip (203 MB, expands to 365 MB).

Changes in v1.0 (August 30, 2017)
===============
+ updated Neosol stellar system map and associated buttons
+ adjusted dropdown menu buttons
+ revised display of Hyperion star system orrery
+ updated orbits of ETA Car
+ attempted to work around a "pause" bug in Celestia v1.7 for Macs

If there are any features that you think should be added in v2, please don't hesitate to let me know.
Selden


Return to “Add-on development”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest