Here's a NEW one for ya!
Posted: 08.02.2004, 01:39
Me again,
Let's see if I can explain this correctly the FIRST time.
I'm using the following to locate various features on each of the moons of Saturn within a script I'm writing.
unmark {object "Sol/Saturn/Object1"}
renderflags {set "markers"}
mark {object "Sol/Saturn/Object1" size 15 color [0 0 0] symbol "x"}
wait {duration 5.0}
unmark {object "Sol/Saturn/Object1"}
..
..
more code
..
..
This works fine until I GOTO another object, and I find that the object is already MARKED with a red diamond.
Doesn't matter of I use...
renderflags {clear "markers"}
unmark {object "Sol/Saturn/Object2"}
when I turn the markers back on with:
renderflags {set "markers"}
Object2 is marked with a red diamond. Now before you go jumping all over me about unmarking objects, prior to rendering the marks, believe me, I have TESTED this problem all day.
FYI though, I found a weird solution... In order to keep the next moon I display from having a red diamond on it, I simply use an unmarkall {} AFTER the next object has been selected. See the example below for the FIX to the problem.
select {object "Sol/Saturn/Tethys"}
unmarkall {} <-------------- Placing this here removes any mark from
center {time 5.0} ---------- Tethys. Anything else has NO effect.
wait {duration 5.0}
follow {}
goto {time 5.0 distance 5.0}
Just thought I'd let someone know about it. And, I already *know* that I'm a pain in the ass, so let's just leave it at that, okay?
Thanks for your kind attention, Bob
Let's see if I can explain this correctly the FIRST time.
I'm using the following to locate various features on each of the moons of Saturn within a script I'm writing.
unmark {object "Sol/Saturn/Object1"}
renderflags {set "markers"}
mark {object "Sol/Saturn/Object1" size 15 color [0 0 0] symbol "x"}
wait {duration 5.0}
unmark {object "Sol/Saturn/Object1"}
..
..
more code
..
..
This works fine until I GOTO another object, and I find that the object is already MARKED with a red diamond.
Doesn't matter of I use...
renderflags {clear "markers"}
unmark {object "Sol/Saturn/Object2"}
when I turn the markers back on with:
renderflags {set "markers"}
Object2 is marked with a red diamond. Now before you go jumping all over me about unmarking objects, prior to rendering the marks, believe me, I have TESTED this problem all day.
FYI though, I found a weird solution... In order to keep the next moon I display from having a red diamond on it, I simply use an unmarkall {} AFTER the next object has been selected. See the example below for the FIX to the problem.
select {object "Sol/Saturn/Tethys"}
unmarkall {} <-------------- Placing this here removes any mark from
center {time 5.0} ---------- Tethys. Anything else has NO effect.
wait {duration 5.0}
follow {}
goto {time 5.0 distance 5.0}
Just thought I'd let someone know about it. And, I already *know* that I'm a pain in the ass, so let's just leave it at that, okay?
Thanks for your kind attention, Bob