orbits

Post requests, images, descriptions and reports about work in progress here.
Topic author
draper10701
Posts: 8
Joined: 24.02.2005
With us: 19 years 8 months

orbits

Post #1by draper10701 » 24.02.2005, 04:31

Hi.I'm new to this forum and to celestia in general,so i don't kmow if this is the aqppropriate area to post my question .but here goes.I've read a number of threads and followed a number of googled links but havent found an answer to what seems to me a simple question.How do I zero in on the orbit of an asteroid or comet exclusivelyThat is suppose I.m interested in a particular asteroid and want to see it's orbit in relation to the planets but without a lot of other extraneous orbits being shown.how do I dom it?I've seen some ad-ons that show so many orbits that the screen is hopelesssly clutterred so to simplify my question "how do i depict the orbit of asteroidx and ONLY asteroid x"? thanks for any help.

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #2by Vincent » 24.02.2005, 09:13

Hi,

It's not possible yet :cry:

But you have 3 solutions :

- You can remove any ssc file of your "extra" folder that contain the class of objects you don't want to see and paste it temporarily into an "extras_no" folder

- You can temporarily rename these xxxxxx.ssc files into xxxxxx.ssc.no

- And if you just want to desactivate a few objects in an ssc file, just add "#' at the beginnig of the object's definition lines

A fourth solution I'm testing at the moment is to create a no_object.ssc file with a "replace" or "modify" command that would desactivate unwanted objects on the screen... If this works, all you have to do is to place this file in your extra directory.

@+
Vincent
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Yes !! That works !!

Post #3by Vincent » 24.02.2005, 09:55

I found a way to desactivate an object during a script :lol: using a modify command. I know this command is not new but using it with a script will solve a problem many people had asked for in this forum...

For example, if you don't want Halley Comet to appear on your screen during a script, all you have to do is to create the no_halley.ssc file below and ask users to place it into their "extra" directory :

# no_halley.ssc desactivate Halley Comet

Modify "Halley" "Sol"
{
EllipticalOrbit
{
Period 0
SemiMajorAxis 0
}
}

The problem is that this object will be permanently off during the hole script...
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

maxim
Posts: 1036
Joined: 13.11.2003
With us: 20 years 11 months
Location: N?rnberg, Germany

Post #4by maxim » 24.02.2005, 11:43

You can only do this with a trick AFAIK (in fact this orbit thing is a bug or at least a missing feature in celestia):

- Switch on the display of orbits.
- Now, as soon as one of the specific orbit selections is checked, orbits are displayed for these type of objects AND for the current selected object.
- Moon orbits are the only ones that are displayed only when the parent planet is selected. So check moon orbits and select the desired asteriod.
- Now the asteriods orbit is displayed, but no moon orbits (as there is no planet selected)

maxim

MKruer
Posts: 501
Joined: 18.09.2002
With us: 22 years 1 month

Post #5by MKruer » 24.02.2005, 21:06

I believe that there is an add-on from mostlyharmless that allow you to do query commands, unfortunately it is limited to stars, not planets, but I believe that was one of the future goals.

Rocket Man
Posts: 87
Joined: 06.01.2005
With us: 19 years 10 months
Location: Marysville, Ohio

Post #6by Rocket Man » 01.03.2005, 23:24

Asteroid X's orbit is highlighted in red to see it better. Also if you have clasified it as an asteroid, you can go to Render, View options, and down at the bottom is the orbit and labels. uncheck planets and other besides asteroids. And the clutter of other orbits are gone. You can see Asteroid X's orbit clearer.









I hoped this helps.
"Knowledge is truth of reality, Wisdom is the reality of the truth."
-Rocket Man

Topic author
draper10701
Posts: 8
Joined: 24.02.2005
With us: 19 years 8 months

orbits

Post #7by draper10701 » 03.03.2005, 22:45

Thanks everyone for the help.The suggestion that worked for me was to place a # in front of the first line for each object in the asteroids.ssc.Since in my case ,there weren't that many objects(only the ones from the basic celestia download)this wasn't too tough.I can see how it might be cumbersome if you have a lot of objects in that class to deal with.In future I might try the "extras_no"folder work-around.So having "cleared the air" I made an.ssc file for asteroid 2004 mn4 (of close encunter in 2029 fame)using Selden's guide for converting orbital elements to celestia SSC format as a template,and it worked!Now I'm having fun working with mn4,and have some further projects in mind(ie. showing the asteroid in foreground and earth and moon at time of closest approach)But in any case it felt good to get the program to do what I wanted it to(you never forget your first time).Thanks again for the responses,if I come up with anything worthwhile I'll post it.

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

Post #8by selden » 03.03.2005, 23:12

Don't forget that you need to use orbital elements that are valid at the time of the encounter. The current published orbital elements won't be valid by that time. The asteroid's orbit will have been changed by several flybys of the Earth and Venus.

JPL's Horizons ephemeris service is the best source of updated elements.
Selden


Return to “Add-on development”