I'm new in the world of astronomy but learned about stellarium a few years ago. I can probably point out nothing in the sky so for me stellarium is more of an educational and learning tool rather than a sky map tool.
So from that educational/selfhelp angle I was wondering:
- Is it possible to have a wikipedia plugin, so that when you click on a star/object you dont only get the sinbad numbers but can also read what wiki says about it. Of course it wont have entries for even a tiny fraction of the stars out there but I'm thinking that it can become a powerful tool if you combine it with scripting and taking people for various tours.
-Also, is it possible to find scripts with audio?
You seem to have CSS turned off.
Please don't fill out this field.
A plugin with that sort of information would be a rather ambitious project. A separate online search for more information would be more suitable to find all the information available on a particular object.
Regarding the sound. There is a sound test script enclosed with the regular distribution package but no actual scripts using the sound feature because the sound feature is not compiled in the standard release package. Even if the sound is compiled there is no guaranty that it will work as it depends on the sound back end installed on your computer.
Further to this, to have a working sound/video script actually work requires more than sound compilation as a dependency that is required is part of the Qt installation on your computer and not included in the distribution package. If you don't have Qt 4.8.x installed you won't have the necessary dependency.
If you would like to have a demonstration of the sound/video capabilities of Stellarium ver 0.12.4 you can download a sound version from here. This download has the missing dependency so it should run OK on windows 7/8 or XP even if you don't have Qt installed.
Note delete the suffix .zip when it down loads
and a sound/video script from here
Thanks for the load of info Barry. I started playing with the scripting but not with the sound bit yet.
While I work on the scripting I'll put the plugins on the backburner then.
I'll try the sound samples that you provided. Thanks
One more question. Is there a function that waits for a keypress instead of the wait function?
I looked at the API docos and couldn't find anything. In the end I tried to work around it by using the play/pause button:
function waitForKey() //Actually seems that only mouse click will work and not K
Maybe this is completely unnecessary.
To write scripts the easiest way to learn is to look at the structure of the samples. I am not a specialist writer of scripts so I am not very familiar with all the possible commands. There is a list of those I know in the user guide.
There is a user guide in the wiki that lists much of the scripting procedures and you can download my latest version of the user guide here
The section on scripting is incomplete because the script engine is a work in progress.
If you download this file to get the audio capability
it is not really a zip file and unzip won't know what to do with it. That is why he says you have to "delete the .zip suffix". Change the name of the file to stellariium-0123-sound.exe run it. It will install the sound enabled version.
Note is the 32 bit version and it will install in the Program Files (x86) folder of your drive. It seems to run fine on my 64 bit system. I don't know how to get the 64 bit version.
Yes it is only a 32 bit version. There is no 64 bit version. The 64 versions are a bit gimmicky and don't perform any better than the 32 bit versions.
A sound compiled version of Stellarium was never distributed because it needs a compatible sound card on your computer and the dependency to address the "back end" was never included. see the folder phonon_backend in my sound version.
Many computers don't let you download *.exe files through their fire walls (This one with win 7 is one). adding the extra suffix was the easiest way to avoid uploading a real zipped version of the file to my server.