Nebulas positions

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Nebulas positions

Post #1by Reiko » 15.09.2010, 19:07

Are coordinates used for nebulas in DSC files the same format as those used for stars in STC files? :?

Avatar
jogad
Posts: 458
Joined: 17.09.2008
With us: 16 years 2 months
Location: Paris France

Re: Nebulas positions

Post #2by jogad » 15.09.2010, 20:52

NO :(
http://en.wikibooks.org/wiki/Celestia/DSC_File

Right Ascension in fractional Hours (unlike STC catalogs, which use fractional degrees)

And bebore you ask, replace the line 67

Code: Select all

 obsRAStr = deg2str(obsRA);
by

Code: Select all

 obsRAStr = deg2str(obsRA / 15);

:blue: :blue: :blue: :blue:

Topic author
Reiko
Posts: 1119
Joined: 05.10.2006
Age: 41
With us: 18 years 1 month
Location: Out there...

Re: Nebulas positions

Post #3by Reiko » 16.09.2010, 04:37

Thank you again. You're my hero! :D :blue: :D

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Nebulas positions

Post #4by ajtribick » 19.09.2010, 22:37

This was one of the reasons I decided to put in the facility to specify units. Unless you are building from the trunk though, it might be a while, you'll have to wait for 1.7.0...

(And unfortunately 1.6.1 has been delayed by a Mac graphics bug...)


Return to “Help Central”