I have created these four scripts. Three of them work properly, in that the ecliptical reference frame markers are all at right angles to the camera/screen. But the script for Mars adds a bit of extra rotation, such that the blue Z axis reference frame marker is rotated slightly to the "forward" direction. Is there something wrong with that script, or did I make a false assumption regarding the reference frame? Thanks.
I am using Celestia 1.6.1.
Code: Select all
{
#------------------------------------------------------------------
# Written by: <your name>
# on: <date>
#
# The purpose of this script is ...
#------------------------------------------------------------------
# Set Celestia values (modify to meet your needs)...
#------------------------------------------------------------------
# Render the following objects...
# renderflags { set "planets" }
# Unmark all objects...
unmarkall {}
# Set Field of View...
set { name "FOV" value 30.0 }
# Set Time Rate (1x, 100x, 1000x, etc.)...
timerate { rate 1.0 }
#------------------------------------------------------------------
# Script Body - Your code goes here ...
#------------------------------------------------------------------
renderflags { clear "boundaries|comettails|constellations" }
renderflags { clear "cloudmaps|galaxies|nightmaps|planets|stars" }
renderflags { clear "eclipseshadows|orbitspointstars|ringshadows" }
renderflags { clear "automag|grid" }
renderflags { clear "atmospheres" }
renderflags { set "planets" }
renderflags { set "markers" }
time { jd 2458383.500000 }
timerate { rate 0 }
setframe
{
ref "Sol/Earth"
target "Earth"
coordsys "ecliptical"
}
select { object "Earth" }
gotoloc
{
time 0
position [0 100000 0]
xrot 90
yrot 0
zrot 0
}
#------------------------------------------------------------------
# End of Script - Let the user know the script is done running ...
#------------------------------------------------------------------
print { text "The script is finished."
row -3
column 25
duration 5 }
wait { duration 5 }
}
Code: Select all
{
#------------------------------------------------------------------
# Written by: <your name>
# on: <date>
#
# The purpose of this script is ...
#------------------------------------------------------------------
# Set Celestia values (modify to meet your needs)...
#------------------------------------------------------------------
# Render the following objects...
# renderflags { set "planets" }
# Unmark all objects...
unmarkall {}
# Set Field of View...
set { name "FOV" value 30.0 }
# Set Time Rate (1x, 100x, 1000x, etc.)...
timerate { rate 1.0 }
#------------------------------------------------------------------
# Script Body - Your code goes here ...
#------------------------------------------------------------------
renderflags { clear "boundaries|comettails|constellations" }
renderflags { clear "cloudmaps|galaxies|nightmaps|planets|stars" }
renderflags { clear "eclipseshadows|orbitspointstars|ringshadows" }
renderflags { clear "automag|grid" }
renderflags { clear "atmospheres" }
renderflags { set "planets" }
renderflags { set "markers" }
time { jd 2458383.500000 }
timerate { rate 0 }
setframe
{
ref "Sol/Mars"
target "Mars"
coordsys "ecliptical"
}
select { object "Mars" }
gotoloc
{
time 0
position [0 100000 0]
xrot 90
yrot 0
zrot 0
}
#------------------------------------------------------------------
# End of Script - Let the user know the script is done running ...
#------------------------------------------------------------------
print { text "The script is finished."
row -3
column 25
duration 5 }
wait { duration 5 }
}
Code: Select all
{
#------------------------------------------------------------------
# Written by: <your name>
# on: <date>
#
# The purpose of this script is ...
#------------------------------------------------------------------
# Set Celestia values (modify to meet your needs)...
#------------------------------------------------------------------
# Render the following objects...
# renderflags { set "planets" }
# Unmark all objects...
unmarkall {}
# Set Field of View...
set { name "FOV" value 30.0 }
# Set Time Rate (1x, 100x, 1000x, etc.)...
timerate { rate 1.0 }
#------------------------------------------------------------------
# Script Body - Your code goes here ...
#------------------------------------------------------------------
renderflags { clear "boundaries|comettails|constellations" }
renderflags { clear "cloudmaps|galaxies|nightmaps|planets|stars" }
renderflags { clear "eclipseshadows|orbitspointstars|ringshadows" }
renderflags { clear "automag|grid" }
renderflags { clear "atmospheres" }
renderflags { set "planets" }
renderflags { set "markers" }
time { jd 2458383.500000 }
timerate { rate 0 }
setframe
{
ref "Sol/Saturn"
target "Saturn"
coordsys "ecliptical"
}
select { object "Saturn" }
gotoloc
{
time 0
position [0 1000000 0]
xrot 90
yrot 0
zrot 0
}
#------------------------------------------------------------------
# End of Script - Let the user know the script is done running ...
#------------------------------------------------------------------
print { text "The script is finished."
row -3
column 25
duration 5 }
wait { duration 5 }
}
Code: Select all
{
#------------------------------------------------------------------
# Written by: <your name>
# on: <date>
#
# The purpose of this script is ...
#------------------------------------------------------------------
# Set Celestia values (modify to meet your needs)...
#------------------------------------------------------------------
# Render the following objects...
# renderflags { set "planets" }
# Unmark all objects...
unmarkall {}
# Set Field of View...
set { name "FOV" value 30.0 }
# Set Time Rate (1x, 100x, 1000x, etc.)...
timerate { rate 1.0 }
#------------------------------------------------------------------
# Script Body - Your code goes here ...
#------------------------------------------------------------------
renderflags { clear "boundaries|comettails|constellations" }
renderflags { clear "cloudmaps|galaxies|nightmaps|planets|stars" }
renderflags { clear "eclipseshadows|orbitspointstars|ringshadows" }
renderflags { clear "automag|grid" }
renderflags { clear "atmospheres" }
renderflags { set "planets" }
renderflags { set "markers" }
time { jd 2458383.500000 }
timerate { rate 0 }
setframe
{
ref "Sol/Uranus"
target "Uranus"
coordsys "ecliptical"
}
select { object "Uranus" }
gotoloc
{
time 0
position [0 300000 0]
xrot 90
yrot 0
zrot 0
}
#------------------------------------------------------------------
# End of Script - Let the user know the script is done running ...
#------------------------------------------------------------------
print { text "The script is finished."
row -3
column 25
duration 5 }
wait { duration 5 }
}
Added after 11 hours 9 minutes:Are Mars and Venus perhaps placed in other parent reference frames than the ecliptic, thus screwing up the orientation of the Frame Axes markers?