Posts by cpotting

by cpotting
18.06.2009, 21:37
Forum: Scripting
Topic: goto always to sunny face of planet
Replies: 3
Views: 4237

Re: goto always to sunny face of planet

oops. I missed the definition of some constants that are needed: KM_PER_AU = 149597870.7 KM_PER_uLY = 9466411.842 AU_PER_uLY = (KM_PER_uLY / KM_PER_AU) SEC_PER_JDAY = 86400 DAYS_PER_YR = 365.2624 c_uLY_PER_SEC = 1000000 / (SEC_PER_JDAY * DAYS_PER_YR) UP = celestia:newvector(0,1,0) ALMOST_UP = celest...
by cpotting
18.06.2009, 20:20
Forum: Scripting
Topic: goto always to sunny face of planet
Replies: 3
Views: 4237

Re: goto always to sunny face of planet

The below code is for a function I created some time ago called travel_to . It is definitely over-powered for what you want to do, but it will position your observer as you indicated with only a few parameter settings. Unfortunately, I am pressed for time at the moment and can't take the time to wri...
by cpotting
24.04.2008, 23:20
Forum: Scripting
Topic: Frame revisions in Celx
Replies: 21
Views: 7691

Re: Frame revisions in Celx

I'm looking for advice on how to resolve an issue with the usage of frames in Celx scripts. I read through Fridger's suggestions for handling the the coordinate systems, and I am not ashamed to say that I was lost at the fifth paragraph of the first post (that's not bad for a guy who can total 4 nu...
by cpotting
08.01.2008, 01:06
Forum: Add-on development
Topic: Motherlode Peer Group Review
Replies: 203
Views: 42738

Re: Motherlode Peer Group Review

Bob, I just happened to be reading through this thread when my brother came over and asked me what I was doing. I explained the idea of the Motherlode and the problems (which addons are "good", which ones stillwork, etc.). I showed him the Motherlode site and ran him through the basics of how things...
by cpotting
01.01.2008, 19:02
Forum: Bugs
Topic: "Timing" of nighttime lights.
Replies: 8
Views: 3080

Re: "Timing" of nighttime lights.

Perhaps this is related. I have noticed that terminator seems to start too soon. Looking at Earth from "above" and you will see that far less than 50% of it is illuminated by the sun. The net result is that while I can look outside and still see the sun in the sky, Celestia is showing Vancouver Isla...
by cpotting
01.01.2008, 18:49
Forum: Celestia Users
Topic: How to get Telescope View...
Replies: 10
Views: 4076

Re: How to get Telescope View...

May I also suggest this keychart.
by cpotting
01.01.2008, 18:44
Forum: Celestia Users
Topic: How to get Telescope View...
Replies: 10
Views: 4076

Re: How to get Telescope View...

You are right, Christoria; zoom does not seem to be in the controls information. However, Spiff's answer is still correct. The comma (,) zooms in and the period (.) zooms out, without changing your current location. I did the following: start Celestia press "Enter" press "M 31" press "c" press "," a...
by cpotting
02.11.2007, 13:07
Forum: Scripting
Topic: A voice from the past
Replies: 18
Views: 9053

Re: A voice from the past

Thanks everyone.

ScriptedOrbit and ScriptedRotation look like great additions that will allow Celestia be less of a "passive" observational tool. I still have to check out the LuaHook and the Edu Tools, but that looks even more promising.

I am going to enjoy fiddling with this new version :)
by cpotting
01.11.2007, 20:57
Forum: Scripting
Topic: A voice from the past
Replies: 18
Views: 9053

Re: A voice from the past

In order to use require() in a CELX script, the script first must call celestia:requestsystemaccess() Thanks, that worked. 1.4.1 did not need permission; it's too bad that 1.5.0 does. It does limit the usefulness of the require() function a bit, but at least I can access it again. or be running in ...
by cpotting
01.11.2007, 20:41
Forum: Scripting
Topic: A voice from the past
Replies: 18
Views: 9053

Re: A voice from the past

Oh, Andrea's already seen it. :) But he's not the problem. he? oops. If you see this, sorry Andrea - I just assumed, because of the spelling, that you were female. I guess I didn't account for differences in spelling in different cultures. In case you didn't know, in Canada at least, Andrea would b...
by cpotting
01.11.2007, 20:33
Forum: Scripting
Topic: A voice from the past
Replies: 18
Views: 9053

Re: A voice from the past

In the meantime, you can use this build: http://vincent.gian.club.fr/celestia/celestia_1.5CVS.exe Thanks Vincent. However, that build has the same issue. You can see it if you try to execute a script with the command requires("xxx") You will get the error attempt to call global 'r...
by cpotting
01.11.2007, 20:14
Forum: Scripting
Topic: A voice from the past
Replies: 18
Views: 9053

Re: A voice from the past

Clive, Hi! 1. There are lotsa new Lua scripting possibilities now, especially since ScriptedOrbit and ScriptedRotation can be used to animate models. There are two videos on YouTube showing some preliminary results with Addons I've been working on. See http://www.youtube.com/user/CelestiaGuru 2. I'...
by cpotting
01.11.2007, 19:56
Forum: Scripting
Topic: A voice from the past
Replies: 18
Views: 9053

Re: A voice from the past

Welcome back Clive! Thanks. If needed, you can easily find a 1.5pre4 on Windows using the search on the forum... Yes. But all the one's I've downloaded don't seem to have all the LUA libraries activated. Looking at the code, it appears that the symbol LUA_VER must be defined with a value of 0x05010...
by cpotting
01.11.2007, 16:32
Forum: Scripting
Topic: A voice from the past
Replies: 18
Views: 9053

A voice from the past

Hello fellow scripters, Just wanted to say that I'm back. Well, I haven't really been gone, but I haven't had any time to devote to Celestia and scripting in almost two years. I hope to be a little more active now. I see that there is a new version of LUA being used - I am trying to bring myself up ...
by cpotting
01.11.2007, 16:16
Forum: Celestia Users
Topic: Light fall off the further you get away from a star?
Replies: 4
Views: 2068

Re: Light fall off the further you get away from a star?

Reiko, This is not a bug in Celestia or with your setup. It is a deliberate feature. There are two reasons for displaying Pluto as brightly as Venus: 1) Were you actually out in space viewing Venus, your pupils would constrict to allow less light in. While, if you where viewing Pluto, your pupils wo...
by cpotting
25.08.2006, 12:09
Forum: Physics and Astronomy
Topic: Sol - and only Sol - has planets
Replies: 6
Views: 3741

Sol - and only Sol - has planets

I was surprised that, in order to reach a concencus, they had to a) define that a planet must orbit a star and b) that the star is explicitly stated to be the Sun. This means that all the extra-solar planets that have been found over the last decade are not planets. It also leaves out the possibilit...
by cpotting
05.08.2006, 16:36
Forum: Physics and Astronomy
Topic: Usefullness of an out of date book
Replies: 3
Views: 2672

Re: Usefullness of an out of date book

Well, without having actually seen the book... It should still be useful for such things as which stars, constellations, nebulae, galaxies will be visible at what times of the year. Meteor showers should also be okay. However, any time of day given for 2005 would only be "approximate" for 2006/7. As...
by cpotting
11.05.2006, 11:39
Forum: Add-on development
Topic: Preview: The War Of The Worlds
Replies: 10
Views: 5309

Re: Preview: The War Of The Worlds

8O WOW That looks fantastic (well... I guess that is the idea). I can't wait. BTW: are you aware of the computer game by GT Interactive and Rage? I don't know if it is available anymore, but if you can find it, it may provide some good animations on how the martian machines move (besides, it was jus...
by cpotting
09.05.2006, 12:28
Forum: Scripting
Topic: Problems with frames (ed - NOT CO-ORDINATE SYSTEM)
Replies: 1
Views: 3381

Re: Problems with frames (ed - NOT CO-ORDINATE SYSTEM)

Take a look at the Cf script on the Motherlode. It probably is not exactly what you were after, but it may point you in the right direction.
by cpotting
05.05.2006, 11:23
Forum: Development
Topic: The Earth, The Moon, The Sun...
Replies: 15
Views: 6907

Re: The Earth, The Moon, The Sun...

Again, within the framework of my above explanation of the importance of those 3 bodies for us, it would be cool to have: term in supported language/term in Latin/other if exist. Example for the Sun: English: The Sun/Sol (or Sun/Sol; this English fluent people should debate it) French: Le Soleil/So...

Go to advanced search