Shoemaker-Levy Impacts Code
Posted: 26.03.2004, 06:01
Was playing around with the Shoemaker-Levy code and xyz files written by Jack Higgins and decided I'd like to see the impacts on Jupiter So after many hours of trial and error coding I came up a simple (and I do mean simple) way of showing the impacts. Don't know if this will work for everyone else or not. I'm using Celestia version 1.3.2 pre 7. Would love to see this idea expanded on by someone that knows more about animation Below is the modified code. I'm sure it will require other changes for each person's setup, object names, textures, etc. so you'll need to know how to change ssc files. The impacts are nothing more than various roughsphere meshes set to last for 2 seconds each. Not very lifelike and I doubt very accurate in location and times...it was just something to try.
[/code]# Jack Higgins 2002/3
# jackhiggins@o2.ie
#
#
#
# Heliocentric xyz coordinates for all 21 fragments of comet Shoemaker-Levy 9 (D/1993 F2-A D/1993 F2-B D/1993 F2-C etc)
# Begins on 1st of January 1980, 1000 samples from then until 1990, then 1000 samples until 30 June 1994,
# with a slightly better bit in the middle where they get really close to jupiters north pole, then again another 1000
# samples until a few hours after the impact. (So you can define your own ending time!)
#
#
# these are defined as comets but much smaller so they'll have a small tail
#
#
"Comet - Shoemaker-Levy 9-A" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.07
Beginning 2444239.500000000
Ending 2449550.31163
SampledOrbit "sl9_a.xyz"
Albedo 3
}
"SL9-A Impact1" "Sol/Jupiter"
{
Beginning 2449550.31163
Ending 2449550.31165
Mesh "roughsphere.cms"
Texture "flare2.jpg"
Emissive true
Radius 500.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.80
}
"SL9-A Impact2" "Sol/Jupiter"
{
Beginning 2449550.31165
Ending 2449550.31167
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 1500.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.70
}
"SL9-A Impact3" "Sol/Jupiter"
{
Beginning 2449550.31167
Ending 2449550.31169
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2800.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.70
}
"SL9-A Impact4" "Sol/Jupiter"
{
Beginning 2449550.31169
Ending 2449550.31171
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2000.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.40
}
"SL9-A Impact5" "Sol/Jupiter"
{
Beginning 2449550.31171
Ending 2449550.31173
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 900.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.20
}
"Comet - Shoemaker-Levy 9-B" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.07
Beginning 2444239.500000000
Ending 2449550.58914
SampledOrbit "sl9_b.xyz"
Albedo 3
}
"SL9-B Impact1" "Sol/Jupiter"
{
Beginning 2449550.58914
Ending 2449550.58916
Mesh "roughsphere.cms"
Texture "flare2.jpg"
Emissive true
Radius 500.0
LongLat [55.73788 -45.34654 1]
Albedo 0.80
}
"SL9-B Impact2" "Sol/Jupiter"
{
Beginning 2449550.58916
Ending 2449550.58918
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 1500.0
LongLat [55.73788 -45.34654 1]
Albedo 0.70
}
"SL9-B Impact3" "Sol/Jupiter"
{
Beginning 2449550.58918
Ending 2449550.58920
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2800.0
LongLat [55.73788 -45.34654 1]
Albedo 0.70
}
"SL9-B Impact4" "Sol/Jupiter"
{
Beginning 2449550.58920
Ending 2449550.58922
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2000.0
LongLat [55.73788 -45.34654 1]
Albedo 0.50
}
"SL9-B Impact5" "Sol/Jupiter"
{
Beginning 2449550.58922
Ending 2449550.58924
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 900.0
LongLat [55.73788 -45.34654 1]
Albedo 0.30
}
"Comet - Shoemaker-Levy 9-C" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.07
Beginning 2444239.500000000
Ending 2449550.77007
#Ending 2449550.80128
SampledOrbit "sl9_c.xyz"
Albedo 3
}
"SL9-C Impact1" "Sol/Jupiter"
{
Beginning 2449550.77007
Ending 2449550.77009
Mesh "roughsphere.cms"
Texture "flare2.jpg"
Emissive true
Radius 500.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.80
}
"SL9-C Impact2" "Sol/Jupiter"
{
Beginning 2449550.77009
Ending 2449550.77011
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 1500.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.70
}
"SL9-C Impact3" "Sol/Jupiter"
{
Beginning 2449550.77011
Ending 2449550.77013
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2800.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.70
}
"SL9-C Impact4" "Sol/Jupiter"
{
Beginning 2449550.77013
Ending 2449550.77015
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2000.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.50
}
"SL9-C Impact5" "Sol/Jupiter"
{
Beginning 2449550.77015
Ending 2449550.77017
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 900.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.30
}
"Comet - Shoemaker-Levy 9-D" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.07
Beginning 2444239.500000000
Ending 2449550.96569
#Ending 2449550.99502
SampledOrbit "sl9_d.xyz"
Albedo 3
}
"SL9-D Impact1" "Sol/Jupiter"
{
Beginning 2449550.96569
Ending 2449550.96571
Mesh "roughsphere.cms"
Texture "flare2.jpg"
Emissive true
Radius 500.0
LongLat [90.34970 -46.09569 1]
Albedo 0.80
}
"SL9-D Impact2" "Sol/Jupiter"
{
Beginning 2449550.96571
Ending 2449550.96573
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 1500.0
LongLat [90.34970 -46.09569 1]
Albedo 0.70
}
"SL9-D Impact3" "Sol/Jupiter"
{
Beginning 2449550.96573
Ending 2449550.96575
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2800.0
LongLat [90.34970 -46.09569 1]
Albedo 0.70
}
"SL9-D Impact4" "Sol/Jupiter"
{
Beginning 2449550.96575
Ending 2449550.96577
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2000.0
LongLat [90.34970 -46.09569 1]
Albedo 0.50
}
"SL9-D Impact5" "Sol/Jupiter"
{
Beginning 2449550.96577
Ending 2449550.96579
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 900.0
LongLat [90.34970 -46.09569 1]
Albedo 0.30
}
[/code]# Jack Higgins 2002/3
# jackhiggins@o2.ie
#
#
#
# Heliocentric xyz coordinates for all 21 fragments of comet Shoemaker-Levy 9 (D/1993 F2-A D/1993 F2-B D/1993 F2-C etc)
# Begins on 1st of January 1980, 1000 samples from then until 1990, then 1000 samples until 30 June 1994,
# with a slightly better bit in the middle where they get really close to jupiters north pole, then again another 1000
# samples until a few hours after the impact. (So you can define your own ending time!)
#
#
# these are defined as comets but much smaller so they'll have a small tail
#
#
"Comet - Shoemaker-Levy 9-A" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.07
Beginning 2444239.500000000
Ending 2449550.31163
SampledOrbit "sl9_a.xyz"
Albedo 3
}
"SL9-A Impact1" "Sol/Jupiter"
{
Beginning 2449550.31163
Ending 2449550.31165
Mesh "roughsphere.cms"
Texture "flare2.jpg"
Emissive true
Radius 500.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.80
}
"SL9-A Impact2" "Sol/Jupiter"
{
Beginning 2449550.31165
Ending 2449550.31167
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 1500.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.70
}
"SL9-A Impact3" "Sol/Jupiter"
{
Beginning 2449550.31167
Ending 2449550.31169
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2800.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.70
}
"SL9-A Impact4" "Sol/Jupiter"
{
Beginning 2449550.31169
Ending 2449550.31171
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2000.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.40
}
"SL9-A Impact5" "Sol/Jupiter"
{
Beginning 2449550.31171
Ending 2449550.31173
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 900.0
LongLat [-61.19521 -45.89033 1]
Albedo 0.20
}
"Comet - Shoemaker-Levy 9-B" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.07
Beginning 2444239.500000000
Ending 2449550.58914
SampledOrbit "sl9_b.xyz"
Albedo 3
}
"SL9-B Impact1" "Sol/Jupiter"
{
Beginning 2449550.58914
Ending 2449550.58916
Mesh "roughsphere.cms"
Texture "flare2.jpg"
Emissive true
Radius 500.0
LongLat [55.73788 -45.34654 1]
Albedo 0.80
}
"SL9-B Impact2" "Sol/Jupiter"
{
Beginning 2449550.58916
Ending 2449550.58918
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 1500.0
LongLat [55.73788 -45.34654 1]
Albedo 0.70
}
"SL9-B Impact3" "Sol/Jupiter"
{
Beginning 2449550.58918
Ending 2449550.58920
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2800.0
LongLat [55.73788 -45.34654 1]
Albedo 0.70
}
"SL9-B Impact4" "Sol/Jupiter"
{
Beginning 2449550.58920
Ending 2449550.58922
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2000.0
LongLat [55.73788 -45.34654 1]
Albedo 0.50
}
"SL9-B Impact5" "Sol/Jupiter"
{
Beginning 2449550.58922
Ending 2449550.58924
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 900.0
LongLat [55.73788 -45.34654 1]
Albedo 0.30
}
"Comet - Shoemaker-Levy 9-C" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.07
Beginning 2444239.500000000
Ending 2449550.77007
#Ending 2449550.80128
SampledOrbit "sl9_c.xyz"
Albedo 3
}
"SL9-C Impact1" "Sol/Jupiter"
{
Beginning 2449550.77007
Ending 2449550.77009
Mesh "roughsphere.cms"
Texture "flare2.jpg"
Emissive true
Radius 500.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.80
}
"SL9-C Impact2" "Sol/Jupiter"
{
Beginning 2449550.77009
Ending 2449550.77011
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 1500.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.70
}
"SL9-C Impact3" "Sol/Jupiter"
{
Beginning 2449550.77011
Ending 2449550.77013
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2800.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.70
}
"SL9-C Impact4" "Sol/Jupiter"
{
Beginning 2449550.77013
Ending 2449550.77015
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2000.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.50
}
"SL9-C Impact5" "Sol/Jupiter"
{
Beginning 2449550.77015
Ending 2449550.77017
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 900.0
LongLat [-99.42253 -46.06113 1]
Albedo 0.30
}
"Comet - Shoemaker-Levy 9-D" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.07
Beginning 2444239.500000000
Ending 2449550.96569
#Ending 2449550.99502
SampledOrbit "sl9_d.xyz"
Albedo 3
}
"SL9-D Impact1" "Sol/Jupiter"
{
Beginning 2449550.96569
Ending 2449550.96571
Mesh "roughsphere.cms"
Texture "flare2.jpg"
Emissive true
Radius 500.0
LongLat [90.34970 -46.09569 1]
Albedo 0.80
}
"SL9-D Impact2" "Sol/Jupiter"
{
Beginning 2449550.96571
Ending 2449550.96573
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 1500.0
LongLat [90.34970 -46.09569 1]
Albedo 0.70
}
"SL9-D Impact3" "Sol/Jupiter"
{
Beginning 2449550.96573
Ending 2449550.96575
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2800.0
LongLat [90.34970 -46.09569 1]
Albedo 0.70
}
"SL9-D Impact4" "Sol/Jupiter"
{
Beginning 2449550.96575
Ending 2449550.96577
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 2000.0
LongLat [90.34970 -46.09569 1]
Albedo 0.50
}
"SL9-D Impact5" "Sol/Jupiter"
{
Beginning 2449550.96577
Ending 2449550.96579
Mesh "roughsphere.cms"
Texture "venussurface.jpg"
Emissive true
Radius 900.0
LongLat [90.34970 -46.09569 1]
Albedo 0.30
}