Page 1 of 1

Saturn Script

Posted: 15.06.2004, 12:10
by Rich
Hi,
A humble little Saturn cel script. Probably kind of klugey...
One small segment uses the Cassini probe addon ("cassini xyz.ssc" is the ssc followed here) - but still looks OK without the probe addon.
-Rich

###### ===== Saturn === ######
{
cancel {}
print { text "(loading texture)" row -2 duration 4}
preloadtex { object "saturn" }
wait { duration 7 }
cancel {}
seturl { url
"cel://Freeflight/2004-04-07T14:04:55.10893?x=INkyNfN/XbOcDA&y=uwJyzQE+8uX+/////////w&z=pI3kaRs40Qx1/////////w&ow=-0.053089&ox=0.408325&oy=-0.908957&oz=-0.065192&select=Sol:Saturn&fov=23.077036&ts=1.000000<d=0&rf=120727&lm=0" }
renderflags { clear "ringshadows|galaxies"}
renderflags { clear "markers"}
cancel {}
print { text "Where are we now...?" row -2 duration 8}
wait { duration 4 }
cancel {}
timerate {rate 800}
wait { duration 6 }
timerate {rate 0}
wait { duration 0 }
select {object "saturn"}
#
gotoloc {
time 3
x "wPKHaZiq8racDA"
y "m7Mw8vbcdOf+/////////w"
z "RGg1lw8rUQ51/////////w"
ow 0.857461
ox 0.240528
oy -0.447066
oz -0.083898 }
wait { duration 4 }
follow {}
print { text "The planet Saturn" row -2 duration 8}
timerate {rate 1000}
wait { duration 6 }
goto {time 4 distance 9 upframe "geographic"}
wait { duration 3 }
cancel {}
wait { duration 4 }
select {object "saturn"}
follow{}
goto {time 4 distance 9 upframe "geographic"}
orbit { axis [ 1 0 0 ] rate 6 duration 16 }
goto {time 5 distance 15 }
wait { duration 10 }
#
cancel {}
seturl { url
"cel://SyncOrbit/Sol:Saturn/2004-04-11T14:11:02.11073?x=IHY/GjLQzlOcDA&y=01TcsQrBX+n+/////////w&z=3Hi+r10e/yB1/////////w&ow=0.114308&ox=-0.264888&oy=0.957080&oz=0.027656&track=Sol&select=Sol:Saturn&fov=51.005165&ts=1.000000<d=0&rf=116627&lm=0" }
renderflags { clear "markers"}
cancel {}
set { name "StarStyle" value "scaleddiscs"}
renderflags { clear "galaxies"}
wait { duration 2 }
select {object "saturn"}
synchronous {}
print { text " A beautiful sunrise on Saturn" row -2 duration 10}
select {object "sol"}
track {}
set { name "StarStyle" value "scaleddiscs"}
timerate {rate 250}
wait { duration 6 }
timerate {rate 500}
wait { duration 8 }
timerate {rate 1000}
print { text "You can see Mercury, Venus & Earth to the right of the Sun." row -2 duration 8}
wait { duration 9 }
timerate {rate 500}
print { text "Some of Saturn's moons are visible near the ring" row -2 duration 5}
wait { duration 7 }
timerate {rate 250}
print { text " A Saturn sunset." row -2 duration 5}
wait { duration 10 }
set { name "StarStyle" value "fuzzypoints"}
cancel {}
timerate {rate 400}
wait { duration 5 }
print { text "One last close look at Saturn's rings, passing in front of the sun" row -2 duration 5}
wait { duration 5.5 }
renderflags { set "galaxies"}
set { name "StarStyle" value "points"}
wait { duration 7 }
select {object "saturn"}
timerate {rate 600}
center {time 5}
wait { duration 12}
timerate {rate 6000}
wait { duration 5}
timerate {rate 100}
wait { duration 1}
#
cancel {}
seturl { url "cel://Freeflight/2004-06-11T15:12:00.50440?x=yajxqBRBWeWVDA&y=LD5QUVaK7UD//////////w&z=7pHSO6RLh0F3/////////w&ow=-0.038411&ox=-0.510863&oy=-0.005418&oz=0.858787&select=Sol:Saturn:Phoebe&fov=15.963135&ts=0.000000<d=0&rf=57235&lm=0"}
cancel {}
print {text "On June 11, 2004 the probe Cassini passes near Saturn's moon Phoebe." row -22 column 2 duration 8}
wait {duration 1}
select {object "cassini xyz"}
follow {}
select {object "phoebe"}
lock {}
wait {duration 1}
timerate {rate 300}
wait {duration 5}
timerate {rate 1100}
wait {duration 11}
timerate {rate 500}
wait {duration 7}
timerate {rate 900}
wait {duration 13}
}
#---------------------------------------------------

Re: Saturn Script

Posted: 15.06.2004, 12:57
by ANDREA
Rich wrote:Hi,
A humble little Saturn cel script. Probably kind of klugey...
One small segment uses the Cassini probe addon ("cassini xyz.ssc" is the ssc followed here) - but still looks OK without the probe addon.
-Rich

Hello Rich, I've just run your script, and enjoyed it.
Very nice and dynamic, well done. :D
Go on this way, please. :wink:
Thank you

Andrea :D

Posted: 16.06.2004, 08:16
by don
Howdy Rich,

Nice script! :D

I especially enjoyed the set-up for the sunrise--sunset, with the three planets next to the sun. Very creative. 8)

Good work Rich!

Posted: 17.06.2004, 05:45
by Bob Hegwood
Rich...

I thought I knew something about cel scripting, but your Saturn script just blew
me away. Great views and perspectives on the ringed planet. I've stashed your
script into my Celestia folder so that I can learn something about the techniques
you used in that script. Really cool effects, and I hope I ain't too brain-dead
to learn some of them. :wink:

Again, really nice script. Thanks for the education. :lol:

Take care, Bob

Saturn Script

Posted: 17.06.2004, 15:51
by Rich
Thank you all for the nice comments. :oops:
The saturn script is actually a small part of what is becoming an unwieldly "cool things" script which I originally intended to be an educational animation for my daughter, but kind of went off-track... I had to break it up into bite-sized chunks to keep my sanity when I replay & work on it. Again, as I am learning, the scripts tend to be way klugey.
The script ties in with the cel url questions I've had, because I basically have 2 functions in mind with the "master script" I'm making: A) I'm trying to put some basic solar system & space info in it, and B) I essentially find any cool places or happenings as a cel URL, then build a script around it - like the saturn sunrise.... As a 3D artist by trade, I guess I subconciously approach it as I would any 3D image I'd create - so my scripts end up being heavier on the eye-candy but pretty light on the hard educational information! :? (I'll have to add that stuff in later)

PS: btw Bob, your scripts are great - very informative and fantastic navigation.

-Rich

Re: Saturn Script

Posted: 17.06.2004, 17:05
by Bob Hegwood
Rich wrote:PS: btw Bob, your scripts are great - very informative and fantastic navigation.

Thanks, but they don't have anywhere NEAR the eye-candy that your Saturn
script has. Envious sigh... :wink: Like I said, though. I'll be looking at the cel to
see what I can learn. Thanks again.

Take care, Bob