Pulsar Sounds Tour (pre)

All about writing scripts for Celestia in Lua and the .cel system
Topic author
maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years
Location: N?rnberg, Germany

Pulsar Sounds Tour (pre)

Post #1by maxim » 29.05.2004, 16:33

In order to do some final tests on my hybrid script, I'd like to find someone with

1. a slow system
2. a linux system
3. a macos system

who let's run the script, to see if all works fine, or if there are some incompatibilities.
Thanks for your help.

maxim

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #2by Bob Hegwood » 13.06.2004, 18:21

Maxim,

Do you suppose you could post the script package - or a link to it - here on the
forum? It seems that my machinations with Cygwin have caused me to lose
one or two items. Unfortunately, your Sounds package was one of them.

Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1

Topic author
maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years
Location: N?rnberg, Germany

Post #3by maxim » 13.06.2004, 18:58

Here it is Bob:
The Tour
The pulsar package

maxim :D

BTW, nice Venus tour - there should be a way to fade the cloud layer.

Remark added later:
There are comment markers around on line in one of the package files: PulsarSoundIntro.html.
These have to be removed, so that the containing checkbox becomes existent.
Last edited by maxim on 15.06.2004, 06:50, edited 1 time in total.

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #4by Bob Hegwood » 13.06.2004, 19:06

Thanks Maxim...

I'll be playing with it some more tonight as per your e-mailed instructions.

I agree with your "Fade" idea for the Venus clouds. You can probably *do* this
with celx, but I just don't like that damned stuff. :wink:

Take care, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

Rich

Pulsars scripts

Post #5by Rich » 14.06.2004, 18:59

Hi Maxim,
I tried to email you several times last week, but got bounce-backs!

I couldn't get the html stuff to run with celestia; I couldn't get past the initial startup screen.
Any special setting-up I must do ahead of time...? I have a feeling it's a mac-incompatibility......

The pulsars, however, when visited "by hand" in Celestia, look cool.

-Rich

Topic author
maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years
Location: N?rnberg, Germany

Post #6by maxim » 14.06.2004, 21:38

Rich,

yes, it seems that my reply adress is a bit outdated. But that one here in the forum should be ok.

The pulsar package is not mine, but out here from the forum. I only adjusted the textures a bit.

maxim

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

Post #7by don » 15.06.2004, 00:27

maxim,

This really is a COOL package. 8)

To be able to see AND hear the pulsars is quite amazing.

Keep up your great work! :D
-Don G.
My Celestia Scripting Resources page

Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #8by Bob Hegwood » 15.06.2004, 05:46

Mr. Gee,

Any thoughts or ideas about why Maxim's package works on your XP, but it
doesn't work on mine? I'm using the latest IE and just re-downloaded it to make
certain that THAT wasn't the problem.

Maybe we can define your atmosphere a bit better. For example, where did you
get your JavaScript package? Is this a console or a runtime environment?
Maxim is killing himself trying to figure out why it won't work on my system, but
I think it's probably just me and/or my system. :wink:

Any ideas?

Thanks, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #9by selden » 15.06.2004, 12:29

maxim,

I'm sorry to say that your Pulsar Tour doesn't work for me, either.

The initial browser window opens and resizes itself (much too small, by the way. The Exit and Go buttons are below the bottom of the window). I started Celestia separately (in a desktop window). Neither the Go nor the Exit buttons do anything.

I have J2sdk1.4.1_03 installed. Java programs and other Web pages using Java work fine (e.g. JavaStart runs Sun's demo Java programs).

System:
256MB 512MHz P3, WinXP Pro SP1
128MB GF4 Ti4200, drivers v56.72
Celestia v1.3.2pre8+ (compiled from cvs)
Selden

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

Post #10by don » 15.06.2004, 23:07

If it makes any difference, I am using Java 2 Runtime Environment version 1.4.2_04 (from the Sun site button download).
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #11by Bob Hegwood » 16.06.2004, 05:32

don wrote:If it makes any difference, I am using Java 2 Runtime Environment version 1.4.2_04 (from the Sun site button download).

Same one I have, Don, but the stuff *works* on your system. What else could
be different I wonder? Perhaps one or two of the many options available under
the IE "Tools\Internet Options" header? Just a thought...

Thanks, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

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

Post #12by don » 16.06.2004, 06:31

An interesting thought, to be sure.

I'm re-downloading the current version and will go play with it to see if I can break it with resetting anything in IE. I'd hate to try and type all the options and settings into a message. Maybe Selden knows of some secret Windows way to list / print out all these options?

I'll let you know if I can find anything...
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

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

Post #13by don » 16.06.2004, 07:17

Guess what? The current download version doesn't run on my machine either.

Try this guys...

Open the file "...\Celestia\html\PulsarSound\PulsarSoundIntro.html in a plain text editor. Towards the bottom of the file, look for "<!--" and delete that line. Also, look for "-->" and delete that line. This should UNcomment the line in between...

Code: Select all

<td align="right" class="ht">Journey Sound on<input type="checkbox" name="js" value="1"/></td>


Next, run the start html file again and you will now see a checkbox in the main pop-up form. Check it and click Go.

Does this work?
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #14by selden » 16.06.2004, 11:44

After checking the box and clicking on "Go", I got several seconds of electronic music but then it stopped. There was no change of viewpoint.

I tried several of the html files. They created sound but no motion.
Selden

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #15by Bob Hegwood » 16.06.2004, 17:49

Don,

Like I told you in e-mail, I have already fixed that particular error, and Mr.
Maxim had me add some debugging code to my version of the Java scripts.

At this point, I'm still in the same boat as Selden. I can hear the sounds, and
I can actually go from one html screen to another while hearing the different
sounds associated with each screen.

The continuing problem is that Celestia will absolutely *not* start up when
called via cel scripts from the Java scripts. I have my cel scripts associated
with the Celestia program as suggested by Maxim, and I've tried a multitude
of various settings for both the IE and the Java Script runtime environment.

So the fact remains that there's *something* different about Don's XP installation.
Something is set - or exists - on Don's system, that does not exist on my system
and on Selden's. We should be able to find this I would think. :wink:

Take care, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

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

Post #16by don » 16.06.2004, 18:07

What is your default browser Selden (the one that opens when you dbl-click a HTML file)? (Mine is IE version: 6.0.2800.1106.xpsp2.030422-1633)

You have downloaded and installed the Pulsar files, yes?

You are dbl-clicking the "startPulsarSound.html" file, yes?

Here are some IE settings to try...

Tools/Internet Options/Advanced ...
"Browsing" category:
* CHECK Display notification about every script error (Display errors as they happen.)
* UNcheck Reuse windows for launching shortcuts

"Microsoft VM" category:
* UNcheck all items since you have Java (Sun) installed

Short of listing every IE option and it's setting on my system, I'm not sure what else to offer.
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #17by selden » 16.06.2004, 19:13

Don,

I'm using IE6 sp1 -- as shipped with XP plus all critical patches.

I fear that there may be unrecognized but inappropriate assumptions in the code about the user's system configuration. (As an example, it may be depending on the user allowing Web pages to be drawn with whatever font sizes the Web page's author has specified. I don't allow that. I have a lower limit set on the size of font that may be drawn.) Unfortunately, I simply don't have the time to try to help track the bugs down.
Selden

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

Post #18by don » 16.06.2004, 23:30

I understand Selden. I'm sure maxim will get it figured out. :)
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #19by Bob Hegwood » 19.06.2004, 05:32

Brain-Dead Bob again...

Just to enlighten a bit further, I can now get the scripts to work with the exception
of activating the Celestia CEL scripts. When I open up the small, controlling
IE window, I can see that each script has been loaded by IE, but it's just not
being activated. In other words, the scripts are displayed by IE as if they're
Notepad files. It's also interesting to note that the different cel scripts *are*
actually loaded into the controlling IE window each time I press "GO" in the
Touring windows. Does this help at all?

Don and I have investigated a pretty large number of the IE settings now, but
thus far, with no luck. :oops:

Take care, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

Topic author
maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years
Location: N?rnberg, Germany

Post #20by maxim » 20.06.2004, 19:30

Thanks for all your help guys.
I've been off in France for a week, and so couldn't respond to the thread.
Sorry for the unremoved comments - I hadn't found time to do the corrected upload yet.

Some replies:

Selden:
Yes, I have to make some assumptions about the users system. When I use browser windows for beeing displayed in front of Celestia views they have to be small, to not hide important things. As there is no way (at least I haven't found one yet) to automatically decide for a windows size from the final layout look of a page, when used with different font sizes, I created a setup file called 'pluginConfig.js' where every user can adjust window position and size to his personal needs.
There may be ('are' indeed) other inappropriaties, that's why I started this thread.
The sound you hear is no electronic music but a sequence of millisecond pulsars detected in the 47 tucanae cluster. The sequence order itself is artificial.
It should be possible to run the whole script even without celestia running. The journey from one pulsar to the next is between 25-50 secs. After that time you should get a new popup window and a new sound. Unfortunately you then don't see what you hear.

Don:
Thanks for all your support. I'm quite sure it has nothing to do with the Sun-Java environment, or the standart IE settings. To me it looks like either as if the cel-mime type isn't defined in those systems (wich is unlikely, but that would cause the IE to display the cel-script as text instead of executing it), or that any security plugin or system setting doesn't allow any scripts that could cause trouble beeing started and displays them instead as pure text.

Bob:
You told me some time ago that you can start cel-scripts by typing the scripts filename and path into the adress line of the browser. If you type the name of the actual displayed script into the controller window and hit return - what happens?


I'm a bit busy at the moment, but I will continue to find a common solution that will work for everyone. I would like to get a feedback from someone with a linux system.

maxim :)


Return to “Scripting”