Tags:
create new tag
, Tags del sitio

Tutatis se acerca

Un script de Celestia? para una función en el Planetario de Morelia.

%STARTATTACH{"tutatis.cel"}%
#### Aqui comienza el archivo
{
#------------------------------------------------------------------
#  "Tutatis se acerca"
#  Planetario de Morelia "Lic. Felipe Rivera"
#  Autores: Francisco Alcaraz Ayala
#           Cuauhtemoc Pacheco Diaz
#  Produccion: Linux OpenSource. 29 de septiembre de 2004.
#------------------------------------------------------------------

#   No presentes los siguientes elementos...
    renderflags { clear "boundaries|comettails|constellations" }

#   Despliega los siguientes elementos...
    renderflags { set "cloudmaps|planets|stars" }

#   Elimina las marcas de los objetos seleccionados y deshabilita
#   el desplegado de las marcas...
#    unmarkall {}

# Selecciona el campo de vision...
#  set { name "FOV" value 45.0 }

# Selecciona la magnitud del tiempo (1x, 100x, 1000x, etc.)...
  timerate { rate 1.0 }

#------------------------------------------------------------------
# Inicia la presentacion (condiciones iniciales)
#------------------------------------------------------------------

# Las marcas que requerimos
# El comando cancel puede ser usado en el script para abortar 
# cancel { }
  renderflags { clear "boundaries|comettails|constellations" }
  renderflags { clear "eclipseshadows|orbitspointstars|ringshadows" }
  renderflags { clear "automag|grid" }
  renderflags { set   "cloudmaps|galaxies|nightmaps|planets|stars" }
  renderflags { set   "atmospheres|markers" }
  labels    { clear "planets|moons|spacecraft|asteroids" }
  labels    { clear "constellations|stars|galaxies" }

  set { name "StarStyle" value "points" }
  setvisibilitylimit { magnitude -2.0 }

  set { name "FOV" value 47.0 }

  preloadtex { object "Sol/Jupiter" }

#------------------------------------------------------------------
# Sistema Solar Interior y Sistema Solar Exterior 
#------------------------------------------------------------------

  renderflags { set "orbits" }
  select { object "Sol" }
  center { }
  follow { }

  labels    { set "planets" }
  select { object "Earth" }

# Sistema solar interior
  gotoloc { time 16
            position  [ 1000000000 1000000000 1000000000 ]
            xrot 40
            yrot -47
            zrot -140
          }

  wait { duration 6 }
  print     { text "Orbita de Jupiter"
              row -5 column 5 duration 6 }

  labels    { set "asteroids" }
  wait { duration 15 }


  ##############################
  #print  { text "Vesta"
  #       row  -5
  #       column 5 
  #       duration 8 }
  select { object "Vesta" }
  wait { duration 8 }

        goto { time 5 distance 4 upframe "equatorial" }

        renderflags { clear "asteroids" }

        print { text "Asteroide Vesta" 
                row  -5
                column 5 
                duration 10 }
        orbit { axis [ 0 1 0 ] rate 30 duration 10 }
        changedistance { duration 6.0 rate 0.5 }

        wait { duration 1.0 }

  gotoloc { time 16
            position  [ 1000000000 1000000000 1000000000 ]
            xrot 40
            yrot -47
            zrot -140
          }

  wait { duration 10 }

  ##############################
  print  { text "Kloepatra"
         row  -5
         column 5 
         }
  select { object "Kleopatra" }
  wait { duration 10 }

#------------------------------------------------------------------
# Sistema orbital Jupiter-Lunas
#------------------------------------------------------------------

  renderflags { clear "orbits" }
  renderflags { clear   "atmospheres" }

  # Nos acercamos a Jupiter
  select { object "Sol/Jupiter" }
  goto { time 8 distance 5 upframe "equatorial" up [ 0 1 0 ] } 
  wait { duration 5 }
  orbit { axis [ 0 1 0 ] rate 20 duration 16 }

  # Observamos las orbita desde arriba
  orbit { axis [ 1 0 0 ] rate 45 duration 6  }
  renderflags  { set "orbits" }
  changedistance { duration 5.7 rate 1.0 }

  labels { set "planets|moons" }
  wait { duration 3.0 }
  # Aceleramos el tiempo para distinguir su recorrido
  timerate { rate 300000 }
  wait { duration 10.0 }
  # Eliminamos momentaneamente las orbitas
    renderflags { clear "orbits" }
    wait { duration 5.0 }
  # Eliminamos momentanemente nombres de los objetos
  # labels { clear "planets|moons" }
  # wait { duration 5.0 }
  # Activamos las orbitas y los nombres de los planetas
  renderflags { set "orbits" }
  labels { set "planets" }
  wait { duration 5.0 }
  orbit { axis [ 0 1 0 ] rate 20 duration 8 }


  # MARTE
  wait { duration 5.0 }
  timerate { rate 1000 }
  # Nos acercamos a 
  select { object "Sol/Mars" }
  labels { clear "planets|moons" }
  goto { time 8 distance 5 upframe "equatorial" up [ 0 1 0 ] } 
  wait { duration 3 }
  orbit { axis [ 0 1 0 ] rate 20 duration 8 }

  # Observamos las orbita desde arriba
  orbit { axis [ 1 0 0 ] rate 45 duration 6  }
  renderflags  { set "orbits" }
  changedistance { duration 1.5 rate 1.0 }
  labels { set "planets|moons" }

#------------------------------------------------------------------
# Visita a las lunas de Marte (Fobos y Deimos)
#------------------------------------------------------------------

        wait { duration 1.0 }

        select { object "Sol/Mars" }
        center { time 2 }
        wait { duration 2 }
        goto { time 8 distance 6 up [ 0 1 0 ] upframe "equatorial" }
        wait { duration 6.5 }
        renderflags { clear "orbits" }
        labels { clear "planets|moons" }

        orbit { axis [ 0 1 0 ] rate 30 duration 12 }
        
        select { object "Sol/Mars/Phobos" }
        goto { time 5 distance 4 upframe "equatorial" }
        print { text " " 
                row  -5
                column 5 
                duration 9 }
        orbit { axis [ 0 1 0 ] rate 30 duration 22 }
        changedistance { duration 6.0 rate 0.5 }

        wait { duration 1.0 }

        select { object "Sol/Mars" }
        center { time 2 }
        wait { duration 2 }
        goto { time 6 distance 6 up [ 0 1 0 ] upframe "equatorial" }
        wait { duration 6.5 }
        renderflags { clear "orbits" }
        labels { clear "planets" }

        labels { clear "moons" }

        orbit { axis [ 0 1 0 ] rate 30 duration 5 }
        
        select { object "Sol/Mars/Deimos" }
        goto { time 5 distance 4 upframe "equatorial" }
        print { text " " 
                row  -5
                column 5 
                duration 9 }
        orbit { axis [ 0 1 0 ] rate 30 duration 22 }
        changedistance { duration 6.0 rate 0.5 }

#------------------------------------------------------------------
# Sistema Solar Interior y Sistema Solar Exterior 
#------------------------------------------------------------------

  renderflags { set "orbits" }
  select { object "Sol" }
  center { }
  follow { }

  labels    { set "planets" }
  select { object "Earth" }

# Sistema solar interior
  gotoloc { time 16
            position  [ 1000000000 1000000000 1000000000 ]
            xrot 40
            yrot -47
            zrot -140
          }

  wait { duration 6 }
  print     { text "orbitas de jupiter "
              row -5 column 5 duration 6 }

  wait { duration 15 }

 labels    { set "asterois" }

}
#### Aqui temina el archivo
%ENDATTACH%
Topic attachments
I Attachment Action Size Date Who Comment
elsecel tutatis.cel manage 7.0 K 04 Mar 2008 - 01:20 Cuauhtemoc Pacheco Generated by AttachContentPlugin
Topic revision: r1 - 04 Mar 2008 - 01:20:17 - Cuauhtemoc Pacheco