Guys,
I recently started using Celestia 1.5 Mac OS. I've made a number of .cel scripts that work great with 1.4, but when I try to run them in 1.5, many of them start out at 206.27 au's distant from what ever object I'm looking at. Known bug?
old scripts don't work
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
Re: old scripts don't work
I have noticed this behavior on occasion myself. In order to have the script perform correctly, I have had to exit completely from Celestia, and then start the script again after Celestia starts up fresh. Don't know why this happens, but this is how I have fixed this problem when it occurs on my machine. Apparently something gets wacked after you run one script, and then try to run another without re-starting Celestia.Rich wrote:Guys,
I recently started using Celestia 1.5 Mac OS. I've made a number of .cel scripts that work great with 1.4, but when I try to run them in 1.5, many of them start out at 206.27 au's distant from what ever object I'm looking at. Known bug?
Just FYI...
Thanks, Bob
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Re: old scripts don't work
The solar system's position is different in Celestia v1.5: the solar system's barycenter now is at the center of Celestia's coordinate system. The Sun and the planets all orbit around it.
In previous versions of Celestia the Sun was positioned some 200 AU away from the center of Celestia's coordinate system. This was to avoid some numeric problems which are no longer relevant.
Why this would affect some scripts only some of the time, I dunno.
In previous versions of Celestia the Sun was positioned some 200 AU away from the center of Celestia's coordinate system. This was to avoid some numeric problems which are no longer relevant.
Why this would affect some scripts only some of the time, I dunno.
Selden
Re: old scripts don't work
selden wrote:The solar system's position is different in Celestia v1.5: the solar system's barycenter now is at the center of Celestia's coordinate system. The Sun and the planets all orbit around it.
In previous versions of Celestia the Sun was positioned some 200 AU away from the center of Celestia's coordinate system. This was to avoid some numeric problems which are no longer relevant.
Why this would affect some scripts only some of the time, I dunno.
Ahh. I think that explains my problem. Maybe there's a "preface" bit that an be added to the scripts to bring the viewer into the new center...
Bob, I've had the problems you mention too, and have solved them the same way. I think some 'residual' script info remains from script to script. One way I got around this was to start some of my scripts by setting the environment, placement etc., with some absolute values; essentially a RESET before the script actually begins.
-Thanks, Rich
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
Re: old scripts don't work
This is a question for Vincent I think...
I'm just curious to know why CELX scripts written for 1.5.1 no longer work in 1.6? I have looked at the two versions of the
scripts you made for Cham's Political Border add-on, and I'm afraid that I simply do not understand what the differences are.
Could you explain why the version of 1.5.1 has to be different? I know this is probably a stupid question, but I really am curious
to know why two different versions of the script are needed for two different versions of Celestia. Is this going to be the case
for future versions of Celestia also?
Thanks, Brain-Dead
I'm just curious to know why CELX scripts written for 1.5.1 no longer work in 1.6? I have looked at the two versions of the
scripts you made for Cham's Political Border add-on, and I'm afraid that I simply do not understand what the differences are.
Could you explain why the version of 1.5.1 has to be different? I know this is probably a stupid question, but I really am curious
to know why two different versions of the script are needed for two different versions of Celestia. Is this going to be the case
for future versions of Celestia also?
Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Re: old scripts don't work
Bob,
Vincent simply took advantages of some new CELX functions that were introduced in 1.6.0 to simplify things. The script which works for 1.5.1 SHOULD also works for 1.6.0.
Vincent simply took advantages of some new CELX functions that were introduced in 1.6.0 to simplify things. The script which works for 1.5.1 SHOULD also works for 1.6.0.
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
Re: old scripts don't work
Cham wrote:Bob,
Vincent simply took advantages of some new CELX functions that were introduced in 1.6.0 to simplify things. The script which works for 1.5.1 SHOULD also works for 1.6.0.
But the CELX script for your Political Borders add-on had to have two versions of the script in order for it to work in 1.5.1...
Oh, okay... I'm a little slow (as you know.)
I see what you mean now I think. I had to revise the CELX script you had originally so that it would work with 1.5.1.
Okay, got it.
Thanks very much. Sorry I'm such a pain here, but I am starting to warm up to CELX a bit. Just taking my slow mind a bit longer than most of you geniuses.
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN