Hello all,
I have seen in script for creating a mars axis
cmod_axis.zip
found here
http://www.lns.cornell.edu/~seb/celesti ... les.html#5
the script line:
Radius 5e3
was used.
can someone explain to me what the 5e3 means. I think its obviously a measurement for distance I think.
What might this number mean for example if this radius is compared to the radius of mars?
I want to create axis for other planets but this number in script confuses me.
thanks
steve
Radius 5e3
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Re: Radius 5e3
ncc1701d wrote:Hello all,
I have seen in script for creating a mars axis
cmod_axis.zip
found here
http://www.lns.cornell.edu/~seb/celesti ... les.html#5
the script line:
Radius 5e3
was used.
can someone explain to me what the 5e3 means. I think its obviously a measurement for distance I think.
What might this number mean for example if this radius is compared to the radius of mars?
I want to create axis for other planets but this number in script confuses me.
thanks
steve
Steve,
this is the scientific/computer notation for (big) numbers:
e1 = 10
e2 = 100
e3 = 1000
...
what is e4 my friend??
Hence 5e3 = 5000
what is 5.3245e3 ??
F.
Re: Radius 5e3
I hope I get this right
Is it 5324.5?
Thanks for you help. I had a hunch it was scientific notation but its been long time since I had math class.
Is it 5324.5?
Thanks for you help. I had a hunch it was scientific notation but its been long time since I had math class.
Re: Radius 5e3
One thing to bear in mind is that the Addon was created for an older version of Celestia before the new orbit and rotational frames were available. As a result, its catalog file had to include orbit and orientation values matching those of the parent body.
When using Celestia v1.5.0 or later, it can be more easily adapted for use with other objects by specifying that its coordinate systems be relative to the parent body.
p.s. You don't have to use scientific notation for the Radius value, of course.
Radius 5000
would have done just as well. For some reason, I didn't feel like typing 3 zeroes that day.
p.p.s.
And don't forget that Celestia built from svn includes its own display of coordinate systems' axes, which might be more appropriate for your purposes.
When using Celestia v1.5.0 or later, it can be more easily adapted for use with other objects by specifying that its coordinate systems be relative to the parent body.
Code: Select all
"_MarsAxis" "Sol/Mars"
{
Mesh "axis.cmod"
Radius 5e3 # 5000km, longer than Mars' equatorial radius of 3396 km
OrbitFrame { BodyFixed { Center "Sol/Mars"}}
FixedPosition [ 0 0 0 ]
BodyFrame { BodyFixed { Center "Sol/Mars"}}
FixedRotation {}
}
p.s. You don't have to use scientific notation for the Radius value, of course.
Radius 5000
would have done just as well. For some reason, I didn't feel like typing 3 zeroes that day.
p.p.s.
And don't forget that Celestia built from svn includes its own display of coordinate systems' axes, which might be more appropriate for your purposes.
Selden
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 2 months
- Location: Indiana, United States
Re: Radius 5e3
ncc1701d wrote:Is it 5324.5?
Good job! You are correct.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
-
- Posts: 194
- Joined: 27.12.2006
- Age: 49
- With us: 17 years 10 months
- Location: Vriezenveen, the Netherlands
- Contact:
Re: Radius 5e3
It's very easy, the number after the e is the number of positions you have to shift the dot (.) to the right. If the number is negative you should shift the dot to the left.
So:
3e3 = 3.0e3 = 3000.0
3e-3 = 3.0-3 = 0.003
So:
3e3 = 3.0e3 = 3000.0
3e-3 = 3.0-3 = 0.003
Windows 7 Ultimate x64, Intel Core i7 2600K 3.4 Ghz, 4 GB RAM, 120 GB SSD + 1 TB hdd, nVidia GTX460 1 GB, Celestia 1.6.0.xxxx
Download my latest SVN Build
Download my latest SVN Build