Cel values &ts, &ltd, &rf, and &lm

All about writing scripts for Celestia in Lua and the .cel system
Topic author
newbe

Cel values &ts, &ltd, &rf, and &lm

Post #1by newbe » 31.12.2004, 06:42

Does anyone know the meaning of each of these values? &fov was easy but the others are a bit cryptic.

Topic author
newbe

Post #2by newbe » 31.12.2004, 19:02

I've partly solved the values, which I need for the script generator.
Any help will be appreciated.

Binary translations of Cel Values.
Values can be extracted mathematically by example [ 38807 and 2 = true ]

cel://Follow/Sol:Earth/2004-12-31T18:53 ... sML/F8v///

////////w&z=VWk67tHWNLjw/////////w&ow=0.999810&ox=0.000007&oy=-0.019506&oz=-0.0000

00&select=Sol:Earth&fov=20.582195&ts=1.000000&ltd=0&rf=38807&lm=0

[&ts]

unknown

[&rf] Flags

0 = none
1 = Stars
2 = Planets
4 = Galaxies
8 = Constellations
16 = Clouds
32 = Orbits
64 = Grid
128 = Night Side Light
256 = Atmosphere
512 = Anti-Aliasing
1024 = Eclipse Shadow
2048 = ?
4096 = Ring Shadows
8192 = Constellations Borders
16384 = Auto-Magnitude
32768 = Comet Tails
65536 = Markers

[&lm] Labels

0 = None
1 = Stars
2 = Planets
4 = Moons
8 = Constellations
16 = Galaxies
32 = Asteroids
64 = Spacecraft
128 = ?
265 = Comets

symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 6 months
Location: france, divion

Post #3by symaski62 » 01.01.2005, 01:42

windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Harry
Posts: 559
Joined: 05.09.2003
With us: 21 years 2 months
Location: Germany

Post #4by Harry » 01.01.2005, 02:52

ts is "timescale"
ltd is light time delay
The value 2048 for renderflags is "Show Stars As Points"
There also exists the value 131072 for "Show Partial Trajectories"
The value 128 for Labels is for "Location Labels"

HTH, and a happy new year!

Harald

Newbe

Post #5by Newbe » 01.01.2005, 17:44

Thanks Harald!!

Still making progress.

Having trouble with Celestia's command line function

" --once ./celestia --url VenusTour.cel"
VenusTour.cel is in the root C:\Program Files\Celestia\

Think I'm missing something here!

Shatters crashed before I Downloaded the Celestia User Guide.

Newbe

Script Generator

Post #6by Newbe » 04.01.2005, 04:35

I figured out the problem with the shell. All material I've found gave unneed data in command line.

The generator is moving along good, should,'t be much longer. But I'll test for a while before releasing.

[url]http://www.scrtc.com/~jdicus/temp.gif

It boils down to writing the script using Celestia.

press ctrl-C and it does most of the work.

It writes a script not just stuff a seturl.


[/url]


Return to “Scripting”