Page 1 of 1

No Marker displayed

Posted: 28.11.2018, 17:04
by The Chimp
Hello,

In my .celx script I have the following .cel code...

Code: Select all

CEL([[{
   select { object "Sol/Earth/Moon" }
   center { }
   goto   { time 3 distance 6 up [ 0 1 0 ] upframe "equatorial" }
   wait   { duration 6 }
   gotolonglat { time 5.0 distance 2.5 longitude -23.4219 latitude -3.0128}
   renderflags {set "markers"}
   mark {object "Sol/Earth/Moon/Apollo12" size 10 color [1 1 0] symbol "square"}
   print {text "             Apollo 12\n\nSite         : Ocean of Storms\nDates      : 19 November 1969 - 21 November 1969\nDuration  : 1-day, 7:31\nCrew       : P Conrad, A Bean"
   row -20
   column 45
   duration 12.0}
    }]])
   wait(10)


    celestia:setrenderflags{markers = false}
    celestia:settime(2458449.45546)
    celestia:settimescale(1)

  CEL([[{
   select { object "Sol/Mars" }
   center { }
   goto   { time 3 distance 6 up [ 0 1 0 ] upframe "equatorial" }
   wait   { duration 6 }
   gotolonglat { time 5.0 distance 2.5 longitude 135.9 latitude 4.5}
   renderflags {set "markers"}
   mark {object "Sol/Mars/Insight" size 10 color [1 1 0] symbol "square"}
   print {text "             InSight\n\nSite         : Elysium Planitia\nLanding Date       : 26 November 2018\nMission  : Studying Mars' interior structure"
   row -20
   column 45
   duration 12.0}
   }]])
   wait(10)


The problem is that the square marker doesn't appear in the Mars piece. The Apollo 12 thing works correct.

This I append in the mars_locs.ssc:

Code: Select all


Location "Insight" "Sol/Mars"
{
    LongLat [ 135.9 4.5 0 ]
    Size 537.00
    Importance  49.45
    Type "AA"
}


I hope anyone has an idea.. thanks.

L L A P

Posted: 28.11.2018, 17:28
by onetwothree
For me it's vice versa, I have a marker on the Mars, but not on the Moon.

It doesn't look like you need to embed cel inside celx, why not to use celx only? Or cel only?

Posted: 28.11.2018, 23:19
by The Chimp
This is a part of a Solar System celx script. I was curious how the .cel embed works. It will be a total .celx script because I have some 'if then else' statements and some 'for' and 'while' loops and some functions in the script. Thanks.