Asterisms

General discussion about Celestia that doesn't fit into other forums.
Topic author
amzolt
Posts: 33
Joined: 01.06.2004
With us: 20 years 5 months
Location: Kettering, OH, USA

Asterisms

Post #1by amzolt » 07.01.2007, 16:55

I used to have an older version of Celestia that had a file that listed all the HD numbers of stars and permitted additions of self-selected names and I could name stars to my whim and create asterisms with my own names.
I'm trying to create my own asterisms (with the nesest download of Celestia) and some of the stars only have HP or TYC numbers.
Making an asterisms file with those numbers doesn't work...
Help??

~ Alex

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 07.01.2007, 18:21

My guess is that the asterisms file may be loaded before user stc files are loaded. As a result, it can't draw lines between them :(

One way around this is to create a CMOD model consisting of lines between Celestia's xyz locations and use it as a DSC Nebula object. An advantage is that you can use whatever colors you want for the lines. Sime disadvantages are that it can't be enabled and disabled while Celestia is running (except by disabling all Nebula objects) and you have to do the spherical trig yourself to convert RA, Dec (or Galactic l2, b2) and distance into appropriate x,y,z vaiues.

I wrote a Fortran program to do this for an Addon that I'm working on, but it is not designed to be "user friendly" if you don't know Fortran. I could provide it if you want. I use the g77 compiler, which is avaiable free as part of Cygwin.

In another thread, Vincent is considering making line drawing availble to Lua coding. This could be another way to do what you want. Let him know if you want it. See http://celestiaproject.net/forum/viewtopic.php?p=82982&82982
Selden

buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 2 months
Location: Massachusetts, USA

Post #3by buggs_moran » 08.01.2007, 14:11

Yeah Fortran 77! I wrote my major qualifying project for airfoil shape optimization using genetic algorithms in college with Fortran. Ah the memories.
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #4by chris » 08.01.2007, 21:59

selden wrote:My guess is that the asterisms file may be loaded before user stc files are loaded. As a result, it can't draw lines between them :(


I'll check tonight, but if that is really the case, it's very easy to fix.

--Chris

Topic author
amzolt
Posts: 33
Joined: 01.06.2004
With us: 20 years 5 months
Location: Kettering, OH, USA

Post #5by amzolt » 09.01.2007, 14:58

selden wrote:My guess is that the asterisms file may be loaded before user stc files are loaded. As a result, it can't draw lines between them :(

One way around this is to create a CMOD model consisting of lines between Celestia's xyz locations and use it as a DSC Nebula object....


Thanks!
Don't have the knowledge or time to do all that but thanks.
I'll pop over and give the Lua-person my plea...

~ Alex


Return to “Celestia Users”