On to master .DSC: Rocket Man got a question.

General discussion about Celestia that doesn't fit into other forums.
Topic author
Rocket Man
Posts: 87
Joined: 06.01.2005
With us: 19 years 10 months
Location: Marysville, Ohio

On to master .DSC: Rocket Man got a question.

Post #1by Rocket Man » 16.07.2005, 17:52

All right, I pretty good with .SSC's now and been good at .STC's I figured I add one of Cham's Nebulas to one of my systems.

Here is my quetsion:
Does the .DSC RA and Dec use a different system of placement as a .STC?

Reason, I used the same RA and Dec as the Star [MT91] 902

Code: Select all

"[MT91] 902"
{
RA 308.321958333333
Dec 41.3226944444445
Distance 5608.3
SpectralType "B"
AbsMag 1.55
}


Code: Select all

Nebula "[MT91] 902 Nebula"
{
Mesh "noel.3ds"
Emissive true
RA 308.321958333333
Dec 41.3226944444445
Distance 5608.3
Radius 1
}

But the nebula is place all most 265 lys away. What is up here?



Thanks.
"Knowledge is truth of reality, Wisdom is the reality of the truth."
-Rocket Man

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

Post #2by selden » 16.07.2005, 18:54

Does the .DSC RA and Dec use a different system of placement as a .STC?


Yes.

DSC files use RA as measured in hours.
STC files use RA as measured in degrees.
1 hour = 15 degrees.

Both use Dec as measured in the same degrees.

So if you know the RA in degrees, divide that value by 15 to get the RA in hours.

If you know the RA in hours, multiply that value by 15 to get the RA in degrees.
Selden


Return to “Celestia Users”