chris wrote:Using the follow command will switch from synchronous to follow mode. That should do the trick . . . However, being in synchronous mode also shouldn't lock the camera. If you post your script, I'll see if I can figure out what's going on.
--Chris
Thanks for replying Chris! Great piece of software BTW! :D
I tried using 'follow' but then the camera is no longer looking at ACrux. If I remove both 'synchronous' and 'follow' the camera moves back 13 billion light years which is what I want, but you can't see the stars wheeling through the sky before it moves. If I add 'synchronous' it doesn't move back at all but the stars do wheel around in the first part of the script. If I add 'follow' the camera doesn't track out away from ACrux and only moves 133,000 light years. 'changedistance' seems to give me inconsistent results.
Perhaps some explanation for why I'm trying to make such a specific script. I'm using SnagIt to screencapture Celestia at every frame so I can put together an animation. The animation will in fact run backwards so that in the final version the camera will fly from outside the galaxy towards the earth and stop on the earth's surface giving you a view of ACrux as you would see it from Earth. Acrux then wheels across the sky.
I guess I could do it in 2 scripts but if I could turn off 'synchronous' this script would work fine I think.
My actual script flys out through 175 frames, this is a cut down version to save space. First load the following location
"Southern Cross " {
isFolder false
parentFolder ""
base [ 0.003250456295451737 8.597883250065549e-011 1.133035927738146e-005 ]
offset [ 3250.453044995442 8.597874652182305e-005 11.33034794702218 ]
axis [ -0.468062 0.824276 0.318569 ]
angle 4.1165
time 2451670
selection "#60718"
coordsys "ecliptical"
}
Then run this script:
{
# Load Southern Cross 3
cancel {}
time { jd 2451670 }
select { object "Acrux" }
center {}
wait { duration 1 }
select { object "Sol/Earth" }
wait { duration 1 }
synchronous {}
wait { duration 1 }
timerate {rate -100 }
wait { duration 7 }
follow {}
changedistance { rate 0.050 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 1.620 duration 0.1 }
print { text "Frame 1" }
changedistance { rate 0.080 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 2.240 duration 0.1 }
print { text "Frame 2" }
changedistance { rate 0.120 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 3.100 duration 0.1 }
print { text "Frame 3" }
changedistance { rate 0.170 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 4.280 duration 0.1 }
print { text "Frame 4" }
changedistance { rate 0.240 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 5.910 duration 0.1 }
print { text "Frame 5" }
changedistance { rate 0.330 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 8.170 duration 0.1 }
print { text "Frame 6" }
changedistance { rate 0.470 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 11.290 duration 0.1 }
print { text "Frame 7" }
changedistance { rate 0.650 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 15.610 duration 0.1 }
print { text "Frame 8" }
changedistance { rate 0.900 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 21.570 duration 0.1 }
print { text "Frame 9" }
changedistance { rate 1.260 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 29.810 duration 0.1 }
print { text "Frame 10" }
changedistance { rate 1.740 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 41.190 duration 0.1 }
print { text "Frame 11" }
changedistance { rate 2.410 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 56.930 duration 0.1 }
print { text "Frame 12" }
changedistance { rate 3.340 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 78.680 duration 0.1 }
print { text "Frame 13" }
changedistance { rate 4.620 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 108.730 duration 0.1 }
print { text "Frame 14" }
changedistance { rate 6.390 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 150.270 duration 0.1 }
print { text "Frame 15" }
changedistance { rate 8.840 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 207.670 duration 0.1 }
print { text "Frame 16" }
changedistance { rate 12.220 duration 0.4 }
rotate { axis [ 0 0 1 ] rate 287.000 duration 0.1 }
print { text "Frame 17" }
}
Thanks Chris
John