Specific problems writing a .cel script

All about writing scripts for Celestia in Lua and the .cel system
Topic author
MB
Posts: 128
Joined: 19.07.2002
With us: 22 years 4 months
Location: Paris France

Post #21by MB » 25.11.2003, 10:42

Everything works perfectly. Now it becomes extremely easy, a real fun, to construct a beautiful .cel script as e.g. the Galileo trip that just begin to write (I should say make pictures ) using the recent JackHiggins high accuracy xyz trajectories.
MB

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #22by don » 25.11.2003, 21:05

That's great news MB!

Hope you share your script with us when it's finished <smile>.

-Don G.

Topic author
MB
Posts: 128
Joined: 19.07.2002
With us: 22 years 4 months
Location: Paris France

Post #23by MB » 26.11.2003, 11:06

Don
Sure, but it will take time!
BTW, I appreciate a lot your cel script guide, You should update it after the gifts of Christophe!
MB

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #24by don » 26.11.2003, 18:24

Howdy MB,

Yes, I will be going through the guide once 1.3.1 final is released, to make sure everything is in it, and updated, at that point.

-Don G.

folks
Posts: 19
Joined: 22.07.2004
With us: 20 years 4 months
Location: Sunshine Coast, Canada

Generating .cel scripts and problems with base-64

Post #25by folks » 26.08.2004, 00:48

Generating .cel scripts and problems with base-64

I working on generating .cel scripts that calculate smooth transitions between a series of URL's.

Easy for Set Orientation.
I can take a start-URL and end-URL, extract their orientation information and extrapolate between them generating one .cel line for each .033 sec

Harder for Set Position
Requires decoding base64 data from URL generating the intermediate values and then recoding into base64.

As I understand them, the solutions described earlier in this thread are great, but do not deal with this issue since the required changes are not always linear and may interleave orientation and FOV transitions.

If we could map smooth transitions through a series of URL's it would be closer to what I am trying to achieve.

Hope that I have missed something simple.

I understand that:
setposition functions use 6 doubles to represent the 3 internal BigFix coordinates (16 bytes)


Not sure how to think about base and offsets interms of calculating intermediate values between URLs.

Also wondering about an easy way to decode xyz URL values into corrisponding base and offset values.

-- Scott
Mac OS X 10.3.5 :: Nvdia GForce4 MX 32 MB :: Dual 867MHz G4 :: Celestia 1.3.1

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

Re: Generating .cel scripts and problems with base-64

Post #26by Harry » 26.08.2004, 11:23

folks wrote:I working on generating .cel scripts that calculate smooth transitions between a series of URL's.
Now you should use CELX for this kind of scripts, but...

Mac OS X 10.3.5 ... Dual 867MHz G4

Well, I can only hope the MacOS port will be updated to 1.3.2 including Lua/CELX soon...

Harald


Return to “Scripting”