Page 1 of 1

Celestia and earth what is the probleme ?

Posted: 12.11.2003, 18:50
by titof 13
Hi every body.
I'm realy sorry for my poor english.
I've a lot of problems.

1st ) i recently dyscover the wonderfull software " Celestia ", so for my job, i've a short presentation. I choos the astronomy.
2sd ) i'm biginer whith celestia
3rd ) i've a demonstration to do the next friday
and i've a big big big problem when i want to show the eart.


select { object "earth" }
goto { time 5 distance 5 ...}

When i run this very short part of my script, Celestia stop . i must restart the application.
The rest of my script is good and the travel thrue the solar system is very cool but not for our "home" :D
have you ever ear this kind of problem ?

Please help me, the situation is not urgent but extremly urgent :D

thank for your help and very sorry for my english.

Re: Celestia and earth what is the probleme ?

Posted: 12.11.2003, 19:07
by Darkmiss
titof 13 wrote:Hi every body.
Hello titof, Welcome

titof 13 wrote:select { object "earth" }
goto { time 5 distance 5 ...}


Try it like this

Code: Select all

        select { object "Earth" }
        goto { time 5 distance 5 }


just loose that last three dots

Posted: 12.11.2003, 20:13
by Guest
Hi Darkmiss, thanks for your welcom.

In my previous poste, i think there is a litle misunderstood. When i put the three dots, it's just because the scrip was not finish.
So i beleve that the best way to resolve my litle big problem :D is a short copy of my script.

The next week when i'll finish it, i post the totality of my script for the celestia community :wink:

here is the copy of my script

#### Retour a la maison #####

select { object "earth" } # s?lectionne TERRE
goto { time 5 distance 5 upframe "equatorial" }

wait { duration 6 }

renderflags { clear"orbits" }
labels { clear "planets" }

changedistance {duration 2 rate 1 }

orbit { axis [ 0 1 0 ] # rotation autour de l'objet sur l'axe X
rate 45 # angle de 45° par seconde
duration 15 } # Dur?e de la rotation

Wait { duration 15 } # tempo d'attente

########## FIN du SCRIPT ############

many Thanks for your help....

Titof

Posted: 12.11.2003, 23:18
by Harry
Anonymous wrote:Wait { duration 15 } # tempo d'attente


This must be a "wait" instead of "Wait". Apart from this problem, the complete script must be enclosed in curly braces "{ }". The following runs here without problems:

Code: Select all

{
    #### Retour a la maison #####
   
    select { object "earth" } # s?lectionne TERRE
    goto { time 5 distance 5 upframe "equatorial" }
   
    wait { duration 6 }
   
    renderflags { clear"orbits" }
    labels { clear "planets" }
   
    changedistance {duration 2 rate 1 }
   
    orbit { axis [ 0 1 0 ] # rotation autour de l'objet sur l'axe X
    rate 45 # angle de 45° par seconde
    duration 15 } # Dur?e de la rotation
   
    wait { duration 15 } # tempo d'attente
   
    ########## FIN du SCRIPT ############
}

Harald

Posted: 13.11.2003, 01:56
by Darkmiss
Well spotted Harry :)

Posted: 13.11.2003, 02:13
by bh
Bloody well done! Harry...ESB?

Regards...bh.

Posted: 13.11.2003, 13:44
by Harry
bh wrote:Harry...ESB?


Huh? What's ESB? :oops:

Posted: 13.11.2003, 17:35
by Guest
Hi every body

many thanks at all.

Today i make an uninstall of Celestia and a new install.
I modify my script like the Harry's proposition and all is good :-)))

Tomorow it's a great day. I'll do a presentation of my script at several peoples :-)))

so i hope everything will be OK 8)

thanks

Posted: 13.11.2003, 17:42
by JackHiggins
http://www.esb.ie

:lol:

I'm never going to get tired of that.... :D

(No, that's not really what bh is talking about btw!!)

Posted: 13.11.2003, 20:43
by don
Nice catch Harald!

It would be nice if Celestia performed an internal "ToLower" function on both the command and parameter names. This way, we could make them both much easier to read, for example...

Code: Select all

setvisibilitylimit {...}

could be written as:

SetVisibilityLimit {...}


So much to do, so little time ...

-Don G.

Posted: 13.11.2003, 23:50
by Guest
What's ESB? Is it Extra Sensory Berception by any chance?