Posts by Dandelion

by Dandelion
30.09.2009, 10:53
Forum: Scripting
Topic: CELX Script trip from earth to the sun
Replies: 2
Views: 5772

Re: CELX Script trip from earth to the sun

Hi Vincent,
thanks for the script its just what I needed!!

Now my next question: After reaching the sun I want to pass by it (no problem here I managed that) and than look back at it. So how can I trigger the keyboard shortcut shift + * (rear view) with in a script?

Greetings,
Thomas
by Dandelion
23.09.2009, 11:48
Forum: Scripting
Topic: CELX Script trip from earth to the sun
Replies: 2
Views: 5772

CELX Script trip from earth to the sun

Hello, I need a celx script that takes me from the earth to the sun at a given speed in real time. I don't need anything fancy just as simple as possible. I thought that this would do the trick obs = celestia:getobserver() sol = celestia:find("Sol") celestia:select(sol) obs:center(sol) obs...
by Dandelion
18.09.2009, 16:44
Forum: Development
Topic: Working with universal coordinate system
Replies: 2
Views: 3560

Re: Working with universal coordinate system

Hello, what exactly is the orientation of the observer? i thought it is the vector in which the observer is moving or looking!! And it doesn't seem to normalize correctly. Quatd myOrientation = observer.getOrientation(); myOrientation.normalize(); double test2 = sqrt(pow(myOrientation.x,2.0) + pow(m...
by Dandelion
20.08.2009, 17:33
Forum: Development
Topic: Working with universal coordinate system
Replies: 2
Views: 3560

Working with universal coordinate system

Hi, I'm trying to figure out if the Observer is moving towards an object (e.g a star) or away from it. This is what I have so far. I not sure if the idea is correct. I'm calculating a new orientation from from the stars position and the observers position : Quatd newOrientation = starPosition - myPo...
by Dandelion
10.08.2009, 19:45
Forum: Development
Topic: text output console
Replies: 4
Views: 3701

Re: text output console

Hi, sorry for the lack of information. First of all my c++ knowledge is very limited. I'm using VS 2008 with Vista. I'm trying to modify the way the surface.color is calculated in the Renderer::renderStar function. There for I added two variables. Now for some reason the stars are only black. My cal...
by Dandelion
10.08.2009, 11:18
Forum: Development
Topic: text output console
Replies: 4
Views: 3701

text output console

Hello,

is there any way to check the content of a variable in the renderer? I tried cout << xx but then where is the console the output is displayed. Or is it possible to access the variables via the huddetails/overlayelements from the celestiacore?

Greetings
Thomas
by Dandelion
24.06.2009, 13:01
Forum: Scripting
Topic: run celx skript in background
Replies: 3
Views: 5627

Re: run celx skript in background

So if the calculation takes to long Celestia would take over again?
by Dandelion
23.06.2009, 17:26
Forum: Scripting
Topic: run celx skript in background
Replies: 3
Views: 5627

run celx skript in background

Hi,

is it possible to have a celx script run in the background all the time doing some calculations and making an output now and then?

Go to advanced search