Shoemaker-Levy Impacts Code

Post requests, images, descriptions and reports about work in progress here.
Topic author
Oni

Shoemaker-Levy Impacts Code

Post #1by Oni » 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
}

Commander David
Posts: 73
Joined: 27.06.2002
With us: 18 years 2 months
Location: Germany
Contact:

Post #2by Commander David » 26.03.2004, 07:57

Hi Oni,

this is very good. I`ve tested some "animations" in Celestia long time ago with a supernova our sun. Your work looks verry good. Thak you for sharing our idea.
Celestia on my System:
AMD Barton 2800+@3000+
1024 MB DDR-RAM
ATI Radeon 9500 non Pro 128MB
_________________
However if God is a mistake, then I do not regret anything. More worth living than this mistake did not give it.

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 17 years 4 months
Location: West Yorkshire, England

Post #3by TERRIER » 26.03.2004, 12:14

I like this, Oni , it's a great idea. 8)
Thanks for posting the code.
I'm going to try the impact effect with the VA Moon.jpg and VA brokencrust.jpg textures as well as the venusurface texture......
.....for the time being :wink:

regards
TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

Topic author
Oni

Shoemaker-Levy

Post #4by Oni » 28.03.2004, 09:34

Hi Commander Dave and Terrier!

Thanks for the feedback. Good to know it works on other pc's. Feel free to modify the code as you see fit. I'd love to see what everyone else comes up with. The impacts need more frames of animation to make them smoother of course. I can't take credit for the original code since that's Jack's. By the way Jack, any chance we'll get the rest of the fragments xyz's? :-)

guest jo
Posts: 126
Joined: 01.04.2004
With us: 16 years 5 months

Post #5by guest jo » 19.04.2004, 21:09

deleted
Last edited by guest jo on 19.08.2005, 16:13, edited 1 time in total.

Topic author
Oni

Post #6by Oni » 20.04.2004, 06:26

Hi Jo!

Ok, I guess the first thing to check is your time setting. The dates I have the impacts set to are 1994 July 16 19:28:45 UTC for fragment A and the rest follow until 1994 July 17 11:10:35 UTC for fragment D. As I mentioned I doubt these dates are very accurate as this was only a test. I'm sure with more research the actual impact dates/times could be found online.

Are you seeing the comets at all? They follow the xyz parameters that Jack gave us so the dates have to be set to 1994 to see them. That's what the beginning and ending Julian dates in the code do, but we still have to manually set the time or have a script set the time.

Let me know what you find out or if this works.


guest jo
Posts: 126
Joined: 01.04.2004
With us: 16 years 5 months

Post #8by guest jo » 20.04.2004, 07:28

deleted
Last edited by guest jo on 19.08.2005, 16:17, edited 1 time in total.

Topic author
Oni

Other things to check

Post #9by Oni » 21.04.2004, 04:24

Hi again Jo,

Hmmmm, interesting. So you can see the comets and they disappear as they should. What version of Celestia are you using? I'm not sure the LONGLAT command works in versions lower than 1.3.2 pre x so that's a possibility. I was using 1.3.2 pre 7 when I modified the code. Another is they might be showing up inside the planet as you mentioned, if so try changing the last parameter of that command to a higher number and see if you get anything that way.

ex: LongLat [-61.19521 -45.89033 1]

to LongLat [-61.19521 -45.89033 3]

Another thing to try if that fails is to reduce the julian dates to have the comets impact sooner in time (and further from the planet). Hope this helps.

Anyone else having a similar problem? I'm using Win 98, XP and Win 2000 and it works on all those platforms....so far anyway :-)

don
Posts: 1709
Joined: 12.07.2003
With us: 17 years 2 months
Location: Colorado, USA (7000 ft)

Post #10by don » 21.04.2004, 04:58

Are CMS meshes part of Chris' new CMOD additions, that are very recent (1.3.2 pre6 or pre 7)? If so, then Jo's version 1.3.1 won't work.
-Don G.
My Celestia Scripting Resources page

Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Avatar
selden
Developer
Posts: 10136
Joined: 04.09.2002
With us: 18 years
Location: NY, USA

Post #11by selden » 21.04.2004, 11:32

CMS meshes are ancient. Chris has been threatening to eliminate them for some time now, but hasn't yet.

LongLat is a new feature. It was introduced either in 1.3.2pre6 or pre7. It is not recognized by 1.3.1.
Selden

guest jo
Posts: 126
Joined: 01.04.2004
With us: 16 years 5 months

Post #12by guest jo » 22.04.2004, 07:18

deleted
Last edited by guest jo on 19.08.2005, 16:15, edited 1 time in total.

Rowan
Posts: 3
Joined: 17.06.2004
With us: 16 years 3 months

Comet - Shoemaker-Levy 9 impact code variation??

Post #13by Rowan » 17.06.2004, 00:41

I found that the longlat command does not appear to work
in 1.3.1 for positioning of the impacts so i modified
the original code and placed the impacts on the same
xyz orbit as the corresponding comet with.

Comet sizes have been increased in size for visual effect
and explosions times have been overlaped to create the
impression of a chain reaction of impacts. The radius of
the impact as well as the height and colour of the 'atmosphere'
can be adjusted to create different dramatic effects.
These are only the explosion sequences not the dirty smudges
left after the impacts.

With the current settings in the ssc, best viewed from about
1,000,000km from jupiter with all four fragments in view.
Set to real time or 10x just before impacts (10x for smoother
frame rate)

The texture used is Sirius B-White Dwarf.jpg or any bright white
yellowish texture renamed to sl9-Impact.jpg

The Code.

"Comet - Shoemaker-Levy 9-A" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.4
Beginning 2444239.500000000
Ending 2449550.31163
SampledOrbit "sl9_a.xyz"
Albedo 3
}


"Comet - Shoemaker-Levy 9-B" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.4
Beginning 2444239.500000000
Ending 2449550.58914
SampledOrbit "sl9_b.xyz"
Albedo 3
}


"Comet - Shoemaker-Levy 9-C" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.4
Beginning 2444239.500000000
Ending 2449550.77007
#Ending 2449550.80128
SampledOrbit "sl9_c.xyz"
Albedo 3
}


"Comet - Shoemaker-Levy 9-D" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.4
Beginning 2444239.500000000
Ending 2449550.96569
#Ending 2449550.99502
SampledOrbit "sl9_d.xyz"
Albedo 3
}


#
#
# The Impacts
#
#


"SL9-A Impact 1" "Sol"
{

Beginning 2449550.31163
Ending 2449550.31165
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 1000
# Oblateness 0.9
Atmosphere {
Height 10000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-A Impact 2" "Sol"
{

Beginning 2449550.31164
Ending 2449550.31166
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 2000
# Oblateness 0.9
Atmosphere {
Height 12000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-A Impact 3" "Sol"
{

Beginning 2449550.31165
Ending 2449550.31167
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 3000
# Oblateness 0.9
Atmosphere {
Height 14000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-A Impact 4" "Sol"
{

Beginning 2449550.31166
Ending 2449550.31168
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 4000
# Oblateness 0.9
Atmosphere {
Height 16000
Lower [ 1 0 0 ]
Upper [ 1 1 0 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-A Impact 5" "Sol"
{

Beginning 2449550.31167
Ending 2449550.31169
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 5000
# Oblateness 0.9
Atmosphere {
Height 18000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}


"SL9-A Impact 6" "Sol"
{

Beginning 2449550.31168
Ending 2449550.31170
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 6000
# Oblateness 0.9
Atmosphere {
Height 20000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}



"SL9-B Impact 1" "Sol"
{

Beginning 2449550.58914
Ending 2449550.58916
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 1000
# Oblateness 0.9
Atmosphere {
Height 10000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-B Impact 2" "Sol"
{

Beginning 2449550.58915
Ending 2449550.58917
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 2000
# Oblateness 0.9
Atmosphere {
Height 12000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-B Impact 3" "Sol"
{

Beginning 2449550.58916
Ending 2449550.58918
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 3000
# Oblateness 0.9
Atmosphere {
Height 14000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-B Impact 4" "Sol"
{

Beginning 2449550.58917
Ending 2449550.58919
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 4000
# Oblateness 0.9
Atmosphere {
Height 16000
Lower [ 1 0 0 ]
Upper [ 1 1 0 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-B Impact 5" "Sol"
{

Beginning 2449550.58918
Ending 2449550.58920
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 5000
# Oblateness 0.9
Atmosphere {
Height 18000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}



"SL9-B Impact 6" "Sol"
{

Beginning 2449550.58919
Ending 2449550.58921
SampledOrbit "sl9_b.xyz"


Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 6000
# Oblateness 0.9
Atmosphere {
Height 20000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}






"SL9-C Impact 1" "Sol"
{

Beginning 2449550.77007
Ending 2449550.77009
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 1000
# Oblateness 0.9
Atmosphere {
Height 10000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-C Impact 2" "Sol"
{

Beginning 2449550.77008
Ending 2449550.77010
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 2000
# Oblateness 0.9
Atmosphere {
Height 12000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-C Impact 3" "Sol"
{

Beginning 2449550.77009
Ending 2449550.77011
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 3000
# Oblateness 0.9
Atmosphere {
Height 14000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-C Impact 4" "Sol"
{

Beginning 2449550.77010
Ending 2449550.77012
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 4000
# Oblateness 0.9
Atmosphere {
Height 16000
Lower [ 1 0 0 ]
Upper [ 1 1 0 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-C Impact 5" "Sol"
{

Beginning 2449550.77011
Ending 2449550.77013
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 5000
# Oblateness 0.9
Atmosphere {
Height 18000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}


"SL9-C Impact 6" "Sol"
{

Beginning 2449550.77012
Ending 2449550.77014
SampledOrbit "sl9_c.xyz"


Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 6000
# Oblateness 0.9
Atmosphere {
Height 20000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}



"SL9-D Impact 1" "Sol"
{

Beginning 2449550.96569
Ending 2449550.96571
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 1000
# Oblateness 0.9
Atmosphere {
Height 10000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-D Impact 2" "Sol"
{

Beginning 2449550.96570
Ending 2449550.96572
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 2000
# Oblateness 0.9
Atmosphere {
Height 12000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-D Impact 3" "Sol"
{

Beginning 2449550.96571
Ending 2449550.96573
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 3000
# Oblateness 0.9
Atmosphere {
Height 14000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-D Impact 4" "Sol"
{

Beginning 2449550.96572
Ending 2449550.96574
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 4000
# Oblateness 0.9
Atmosphere {
Height 16000
Lower [ 1 0 0 ]
Upper [ 1 1 0 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-D Impact 5" "Sol"
{

Beginning 2449550.96573
Ending 2449550.96575
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 5000
# Oblateness 0.9
Atmosphere {
Height 18000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}


"SL9-D Impact 6" "Sol"
{

Beginning 2449550.96574
Ending 2449550.96576
SampledOrbit "sl9_d.xyz"


Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 6000
# Oblateness 0.9
Atmosphere {
Height 20000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}
XP Pro.
Celestia 1.3.1
Intel P4 2.8
1536 MB DDR-RAM
ATI Radeon 9600 256MB

danielj
Posts: 1477
Joined: 15.08.2003
With us: 17 years 1 month

Re: Fragment A Impact

Post #14by danielj » 17.06.2004, 03:59

I could see SL-9A in Celestia 1.3.1-1,but not SL-9D.Very nice addon,though.Can?t wait to see the marks in Jupiter?s atmosphere.Well?s it possible to do a texture for this?

Oni2501

Fantastic!!

Post #15by Oni2501 » 17.06.2004, 05:03

Hey Rowan!

Great job! Far better than mine and is exactly what I was hoping someone would improve upon! :-) A big plus that it also runs in the earlier versions as well. We need more good animations such as this. Maybe one day we'll see the dark spots on the planet after each impact...hmmm? I was able to see all impacts fine on my system. I have several bookmarks set up for the old version so it was a real treat to see your animations instead. Keep up the good work!

danielj
Posts: 1477
Joined: 15.08.2003
With us: 17 years 1 month

Re: Fragment A Impact

Post #16by danielj » 17.06.2004, 14:57

I saw the two explosions,but not the fragments.Could youn take a look in my ssc code to see what could be possible wrong :

# 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!)
#
# First list is of the large (1000m radius) comet style bodies
# Second list is of tiny bodies with same orbit but defined as asteroids so a small tail shows up!
#
#

"Comet - Shoemaker-Levy 9-A" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.4
Beginning 2444239.500000000
Ending 2449550.31163
SampledOrbit "sl9_a.xyz"
Albedo 3
}


"Comet - Shoemaker-Levy 9-B" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.4
Beginning 2444239.500000000
Ending 2449550.58914
SampledOrbit "sl9_b.xyz"
Albedo 3
}


"Comet - Shoemaker-Levy 9-C" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.4
Beginning 2444239.500000000
Ending 2449550.77007
#Ending 2449550.80128
SampledOrbit "sl9_c.xyz"
Albedo 3
}


"Comet - Shoemaker-Levy 9-D" "Sol"
{
Class "comet"
Mesh "roughsphere.cms"
Texture "comet3.jpg"
Emissive true
Radius 0.4
Beginning 2444239.500000000
Ending 2449550.96569
#Ending 2449550.99502
SampledOrbit "sl9_d.xyz"
Albedo 3
}


#
#
# The Impacts
#
#


"SL9-A Impact 1" "Sol"
{

Beginning 2449550.31163
Ending 2449550.31165
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 1000
# Oblateness 0.9
Atmosphere {
Height 10000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-A Impact 2" "Sol"
{

Beginning 2449550.31164
Ending 2449550.31166
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 2000
# Oblateness 0.9
Atmosphere {
Height 12000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-A Impact 3" "Sol"
{

Beginning 2449550.31165
Ending 2449550.31167
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 3000
# Oblateness 0.9
Atmosphere {
Height 14000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-A Impact 4" "Sol"
{

Beginning 2449550.31166
Ending 2449550.31168
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 4000
# Oblateness 0.9
Atmosphere {
Height 16000
Lower [ 1 0 0 ]
Upper [ 1 1 0 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-A Impact 5" "Sol"
{

Beginning 2449550.31167
Ending 2449550.31169
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 5000
# Oblateness 0.9
Atmosphere {
Height 18000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}


"SL9-A Impact 6" "Sol"
{

Beginning 2449550.31168
Ending 2449550.31170
SampledOrbit "sl9_a.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 6000
# Oblateness 0.9
Atmosphere {
Height 20000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}



"SL9-B Impact 1" "Sol"
{

Beginning 2449550.58914
Ending 2449550.58916
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 1000
# Oblateness 0.9
Atmosphere {
Height 10000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-B Impact 2" "Sol"
{

Beginning 2449550.58915
Ending 2449550.58917
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 2000
# Oblateness 0.9
Atmosphere {
Height 12000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-B Impact 3" "Sol"
{

Beginning 2449550.58916
Ending 2449550.58918
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 3000
# Oblateness 0.9
Atmosphere {
Height 14000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-B Impact 4" "Sol"
{

Beginning 2449550.58917
Ending 2449550.58919
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 4000
# Oblateness 0.9
Atmosphere {
Height 16000
Lower [ 1 0 0 ]
Upper [ 1 1 0 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-B Impact 5" "Sol"
{

Beginning 2449550.58918
Ending 2449550.58920
SampledOrbit "sl9_b.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 5000
# Oblateness 0.9
Atmosphere {
Height 18000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}



"SL9-B Impact 6" "Sol"
{

Beginning 2449550.58919
Ending 2449550.58921
SampledOrbit "sl9_b.xyz"


Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 6000
# Oblateness 0.9
Atmosphere {
Height 20000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}






"SL9-C Impact 1" "Sol"
{

Beginning 2449550.77007
Ending 2449550.77009
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 1000
# Oblateness 0.9
Atmosphere {
Height 10000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-C Impact 2" "Sol"
{

Beginning 2449550.77008
Ending 2449550.77010
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 2000
# Oblateness 0.9
Atmosphere {
Height 12000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-C Impact 3" "Sol"
{

Beginning 2449550.77009
Ending 2449550.77011
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 3000
# Oblateness 0.9
Atmosphere {
Height 14000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-C Impact 4" "Sol"
{

Beginning 2449550.77010
Ending 2449550.77012
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 4000
# Oblateness 0.9
Atmosphere {
Height 16000
Lower [ 1 0 0 ]
Upper [ 1 1 0 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-C Impact 5" "Sol"
{

Beginning 2449550.77011
Ending 2449550.77013
SampledOrbit "sl9_c.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 5000
# Oblateness 0.9
Atmosphere {
Height 18000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}


"SL9-C Impact 6" "Sol"
{

Beginning 2449550.77012
Ending 2449550.77014
SampledOrbit "sl9_c.xyz"


Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 6000
# Oblateness 0.9
Atmosphere {
Height 20000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}



"SL9-D Impact 1" "Sol"
{

Beginning 2449550.96569
Ending 2449550.96571
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 1000
# Oblateness 0.9
Atmosphere {
Height 10000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-D Impact 2" "Sol"
{

Beginning 2449550.96570
Ending 2449550.96572
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 2000
# Oblateness 0.9
Atmosphere {
Height 12000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-D Impact 3" "Sol"
{

Beginning 2449550.96571
Ending 2449550.96573
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 3000
# Oblateness 0.9
Atmosphere {
Height 14000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-D Impact 4" "Sol"
{

Beginning 2449550.96572
Ending 2449550.96574
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 4000
# Oblateness 0.9
Atmosphere {
Height 16000
Lower [ 1 0 0 ]
Upper [ 1 1 0 ]
Sky [ 0.3 0.3 0.3 ]
}
Albedo 0.9
}

"SL9-D Impact 5" "Sol"
{

Beginning 2449550.96573
Ending 2449550.96575
SampledOrbit "sl9_d.xyz"

Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 5000
# Oblateness 0.9
Atmosphere {
Height 18000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}


"SL9-D Impact 6" "Sol"
{

Beginning 2449550.96574
Ending 2449550.96576
SampledOrbit "sl9_d.xyz"


Texture "sl9-Impact.jpg"
Emissive true
Color [ 0.9 1 0.9 ]
BlendTexture true
Radius 6000
# Oblateness 0.9
Atmosphere {
Height 20000
Lower [ 0.95 1 0.95 ]
Upper [ 0.35 0.35 0.35 ]
Sky [ 0.3 0.3 0.3 ]
}

Albedo 0.9
}

Rowan
Posts: 3
Joined: 17.06.2004
With us: 16 years 3 months

RE Check Code

Post #17by Rowan » 17.06.2004, 19:42

Hi
The code looks fine. Remember the that at 1,000,000 km the comet
fragments will not be seen, but the comet tails will be visible if you have
comet tail rendering switched on.

The trick here is to set up your initial view at approx. 2mil km with Jupiter and the 4 comet fragments (with tails) filling the screen. Jupiter bottom left and fragments coming in from top right.

Set 'follow Jupiter', speed up time so you can see the comets rushing toward Jupiter, then just before fragment A impacts slow time down and zoom in to about 1mil Km and set time to 10x or 1x. repeat for the other fragments. If you overshoot just use the 'j' key to go backward or forward intime.
XP Pro.

Celestia 1.3.1

Intel P4 2.8

1536 MB DDR-RAM

ATI Radeon 9600 256MB

Rowan
Posts: 3
Joined: 17.06.2004
With us: 16 years 3 months

Hi Oni

Post #18by Rowan » 17.06.2004, 19:55

Hi There, glad you enjoyed it.

Positioning the impact remnants on the surface should not be to much
of a problem for those with versions later than 1.3.1 using the
longlat command to draw the impacts, the tricky part is to get
the co-ordinates right. Not sure how you do that?

Venussurface.jpg should do the trick as you have used in your code.
Unfortunatly i could not see your implementation of the longlat command.

Another thing to consider is the relative sizes between the explosions
and the impact remnants. From 1,000,000 Km the explosions are fine but the marks may be to small to really see untill you get closer to Jup.

Pity one cannot get feedback from within celestia such
as long-lat co-ords by moving the cursor over a planet, moon etc.
Another nice feature would be to be able to measure the distance
between two marked objects. - just a thought for the programing
boffs.

By the way - What are the other versions of celestia, i keep
coming across 1.3.2 pre ??, are these beta test versions and
can they be downloaded and if possible just the neccessary files,
not all the catalogs, models, textures etc too large for my
connection. Haleys Comet will be around again before i finish
downloading.
XP Pro.

Celestia 1.3.1

Intel P4 2.8

1536 MB DDR-RAM

ATI Radeon 9600 256MB

danielj
Posts: 1477
Joined: 15.08.2003
With us: 17 years 1 month

Re: RE Check Code

Post #19by danielj » 17.06.2004, 20:37

I mean to see the fragmets created after the explosion.Is it possible?Because we have 4 fragment for Shoemaker-Levy9-A,and when the impact happen,the comet simply dissapear.i was seeing in Celestia 1.3.1-1,512 MB RAM,Windows XP and NVIDIA Geforce FX 5700

Avatar
selden
Developer
Posts: 10136
Joined: 04.09.2002
With us: 18 years
Location: NY, USA

Post #20by selden » 17.06.2004, 20:48

Rowan,

The Celestia "preN" versions are beta-test kits for Windows that the primary author, Chris Laurel, puts together every once in a while and announces in the Celestia Users Forum. Pre8 is the most recent one. See http://shatters.net/forum/viewtopic.php?t=5072 for the pre8 announcement. That thread includes descriptions of the problems that it has, too.

They're generated from Celestia's CVS directory that's on SourceForge. If you're comfortable doing such things, you could compile and build Celestia from scratch, too. See http://sourceforge.net/projects/celestia

Added later: unfortunately the binary executable by itself usually is not enough. It often depends on other files in order to work properly -- the OpenGL vertex shader programs, for example, that are in the /shaders/ subdirectory. Often Chris does make the executable available by itself it contains only minor bugfixes. Lately, though, the prereleases have included major changes. There have been major changes to many of the supporting files, too.



Daniel,

There were no fragments left after the pieces of the comet plunged into Jupiter. Older Addons showed them passing through the planet, but that's not right.
Selden


Return to “Add-on development”

Who is online