<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://stellarium.org/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://stellarium.org/wiki/api.php?action=feedcontributions&amp;user=Johannes&amp;feedformat=atom</id>
		<title>Stellarium Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://stellarium.org/wiki/api.php?action=feedcontributions&amp;user=Johannes&amp;feedformat=atom"/>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Special:Contributions/Johannes"/>
		<updated>2013-05-24T16:45:54Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2008-06-15T21:01:48Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
'''Open Source telescope servers'''&lt;br /&gt;
&lt;br /&gt;
These programs are supported by us:&lt;br /&gt;
&lt;br /&gt;
* TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
* TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
* TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes, G11 or compatible&lt;br /&gt;
&lt;br /&gt;
* TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
* TelescopeServerNexStar: used for controlling Celestron NexStar telescopes, contributed by Michael Heinz&lt;br /&gt;
&lt;br /&gt;
* TelescopeServerNexStar.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
'''Closed Source telescope servers: ASCOM Support'''&lt;br /&gt;
&lt;br /&gt;
Programs that cannot be supported by us, because we have not the source code:&lt;br /&gt;
&lt;br /&gt;
* StellariumScope.exe (http://www.ByteArts.com/stellarium): is a program for MS Windows allowing stellarium to control a variety of telescope using the ASCOM drivers (http://ascom-standards.org). Extends capabilities to include both &amp;quot;Slew&amp;quot; and &amp;quot;Sync&amp;quot; functions, and automated installation and setup (no need to edit configuration files). ''Formerly known as &amp;quot;StellariumServer&amp;quot;''.&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous svn:&lt;br /&gt;
&lt;br /&gt;
 svn co https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me.&lt;br /&gt;
&lt;br /&gt;
Michael Heinz has provided an XCode project file for Mac, which is included in svn.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.aon.at/johannes_gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.aon.at/johannes_gajdosik/TelescopeServerNexStar.exe.gz TelescopeServerNexStar.exe.gz]&lt;br /&gt;
 [http://members.aon.at/johannes_gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
Some people have problems with their browsers: the browser silently unpacks the gziped file. If you suffer from such a problem, just rename the downloaded file to TelescopeServerLx200.exe (or similar).&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. If you have a slow telescope controller - like the Meade AutoStar 494 that comes with ETX 70 - you should increase this value to 1200000 or higher, in order to get smooth movement of the telescope marker. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
Since version 0.9.1: For displaying concentric circles around the telescope marker indicating the FOV of your oculars write for example:&lt;br /&gt;
&lt;br /&gt;
 [telescopes]&lt;br /&gt;
 1_ocular_0 = 0.5&lt;br /&gt;
 1_ocular_1 = 0.1&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
This will define 2 oculars with FOV=0.5 and 0.1 degrees for telescope 1. You can specify up to 10 oculars for each telescope.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2008-02-04T08:29:21Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Alternatively: downloading precompiled MS Windows binaries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes, G11 or compatible&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar: used for controlling Celestron NexStar telescopes, contributed by Michael Heinz&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
'''ASCOM Support'''&lt;br /&gt;
&lt;br /&gt;
StellariumScope.exe (http://www.ByteArts.com/stellarium): is a program for MS Windows allowing stellarium to control a variety of telescope using the ASCOM drivers (http://ascom-standards.org). Extends capabilities to include both &amp;quot;Slew&amp;quot; and &amp;quot;Sync&amp;quot; functions, and automated installation and setup (no need to edit configuration files). ''Formerly known as &amp;quot;StellariumServer&amp;quot;''.&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous svn:&lt;br /&gt;
&lt;br /&gt;
 svn co https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me.&lt;br /&gt;
&lt;br /&gt;
Michael Heinz has provided an XCode project file for Mac, which is included in svn.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.aon.at/johannes_gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.aon.at/johannes_gajdosik/TelescopeServerNexStar.exe.gz TelescopeServerNexStar.exe.gz]&lt;br /&gt;
 [http://members.aon.at/johannes_gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
Some people have problems with their browsers: the browser silently unpacks the gziped file. If you suffer from such a problem, just rename the downloaded file to TelescopeServerLx200.exe (or similar).&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. If you have a slow telescope controller - like the Meade AutoStar 494 that comes with ETX 70 - you should increase this value to 1200000 or higher, in order to get smooth movement of the telescope marker. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
Since version 0.9.1: For displaying concentric circles around the telescope marker indicating the FOV of your oculars write for example:&lt;br /&gt;
&lt;br /&gt;
 [telescopes]&lt;br /&gt;
 1_ocular_0 = 0.5&lt;br /&gt;
 1_ocular_1 = 0.1&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
This will define 2 oculars with FOV=0.5 and 0.1 degrees for telescope 1. You can specify up to 10 oculars for each telescope.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Star_Catalogues</id>
		<title>Star Catalogues</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Star_Catalogues"/>
				<updated>2007-11-01T23:42:12Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* mmap loading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In Stellarium version 0.9.0, star catalogues are split into 9 files, which contain stars of varying brightness.  These files can be found in the ''&amp;lt;installation directory&amp;gt;/stars/default/''.  Only the smaller four of these files come with Stellarium in the main package to keep the size manageable. &lt;br /&gt;
&lt;br /&gt;
About 99% of all these stars come from the NOMAD catalog (Naval Observatory Merged Astrometric Dataset version 1, by USNO). The rest (brighter ones) from Tycho2 and Hipparcos. Please see the stellarium README file for the conditions, under which you may redistribute data files originating from NOMAD.&lt;br /&gt;
&lt;br /&gt;
Here is a list of all available catalogues.  The ''RAM needed'' column applies for the case of ordinary catalog loading at startup, and is an estimate. (MNG managed to load file 7 with 512 M ram, but only just.  YMMV). For mmap loading system memory is not a limit any more, see next section.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=4 border=1&lt;br /&gt;
|''File name'' || ''Star Count'' || ''Magnitude Range'' || ''File Size'' || ''RAM needed'' || ''Availability''&lt;br /&gt;
|-&lt;br /&gt;
|stars_0_0v0_1.cat || 5,013 || m &amp;lt; 6.0 || 138K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_1_0v0_1.cat || 21,999 || 6.0 &amp;lt;= m &amp;lt; 7.5 || 602K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_2_0v0_1.cat || 151,516 || 7.5 &amp;lt;= m &amp;lt; 9.0 || 4.1M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_3_1v0_0.cat || 434,064 || 9.0 &amp;lt;= m &amp;lt; 10.5 || 4.2M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_4_1v0_0.cat || 1,725,497 || 10.5 &amp;lt;= m &amp;lt; 12.0 || 17M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_5_2v0_0.cat || 7,669,011 || 12.0 &amp;lt;= m &amp;lt; 13.5 || 44M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_6_2v0_0.cat || 26,615,233 || 13.5 &amp;lt;= m &amp;lt; 15.0 || 153M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_7_2v0_0.cat || 57,826,266 || 15.0 &amp;lt;= m &amp;lt; 16.5 || 333M || 512M (just!) || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_8_2v0_0.cat || 116,923,084 || 16.5 &amp;lt;= m &amp;lt; 18.0 || 674M ||1024M? || Separate download&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To try out the large catalogue files download them from [https://sourceforge.net/project/showfiles.php?group_id=48857&amp;amp;package_id=233730 here], and put then in the ''stars/default'' sub-directory of the [[Installation Data Directory]].&lt;br /&gt;
&lt;br /&gt;
NOTE: when downloading from this page, '''do not''' right-click and save as - '''left click'''.  These are not direct download links - they are links to the list of download mirrors.  Left click on them, and wait for your download to start.&lt;br /&gt;
&lt;br /&gt;
For using stars_7_2v0_0.cat I recommend 1GB of RAM, and for stars_8_2v0_0.cat at lease 1.5GB.&lt;br /&gt;
In version 0.9.0 the catalogs are just loaded into RAM, and if you do not have enough of it, swapping will start. Add up the star catalog sizes, compare with your amount of RAM, and your common sense will tell you how many files you can load.  Yours, Johannes&lt;br /&gt;
&lt;br /&gt;
== mmap loading ==&lt;br /&gt;
&lt;br /&gt;
Since version 0.9.1 you can instruct your computer to load all the stars into main memory not at startup, but to load groups of stars when they are displayed for the first time. This is done using the operating systems mmap function, hence the name &amp;quot;mmap loading&amp;quot;. Using this technique you can use all of the star catalogs even if you have very little RAM. Also the initial startup time is greatly decreased. The drawback is that your computer loads the stars during normal program operation, when they are used for the first time. Therefore the scrolling and zooming will not be so smooth as when you load all catalogs at startup in advance.&lt;br /&gt;
&lt;br /&gt;
For each catalog file that you want to use, you can decide if you want to load it at startup or using mmap by prefixing the catalog name with &amp;quot;mmap:&amp;quot; in stars.ini:&lt;br /&gt;
&lt;br /&gt;
 [stars]&lt;br /&gt;
 cat_file_name_00       = stars_0_0v0_1.cat&lt;br /&gt;
 cat_file_name_01       = stars_1_0v0_1.cat&lt;br /&gt;
 cat_file_name_02       = stars_2_0v0_1.cat&lt;br /&gt;
 cat_file_name_03       = stars_3_1v0_0.cat&lt;br /&gt;
 cat_file_name_04       = stars_4_1v0_0.cat&lt;br /&gt;
 #you can use mmap loading, if you do not want to load all stars&lt;br /&gt;
 #immediately into RAM:&lt;br /&gt;
 cat_file_name_05       = mmap:stars_5_2v0_0.cat&lt;br /&gt;
 cat_file_name_06       = mmap:stars_6_2v0_0.cat&lt;br /&gt;
 cat_file_name_07       = mmap:stars_7_2v0_0.cat&lt;br /&gt;
 cat_file_name_08       = mmap:stars_8_2v0_0.cat&lt;br /&gt;
 cat_hip_sp_file_name   = stars_hip_sp_0v0_0.cat&lt;br /&gt;
 cat_hip_cids_file_name = stars_hip_cids_0v0_0.cat&lt;br /&gt;
&lt;br /&gt;
In this example mmap loading is configured for stars_5,...,stars_8 only.&lt;br /&gt;
&lt;br /&gt;
Caveat: when using mmap loading, you must use catalog files that match your computers hardware architecture and the compiler used for building stellarium. The ordinary .cat files can be used with little endian computers and gcc: this applies to all PC (i368 and x86_64 architectures) and the newer Intel macs. Nigel Kerr has made a program for converting .cat files into .bcat files, which can be used with big endian computers and gcc (primarily for the older macs with PPC architecture). All others must use my program ConvertCatToNative.C (in the util directory) for converting .cat (or .bcat) files into a native format appropriate for their architecture and compiler.&lt;br /&gt;
&lt;br /&gt;
== Errata ==&lt;br /&gt;
Prior to version 0.9.1 the files stars_3_1v0_0.cat and stars_5_2v0_0.cat were falsely called stars_3_0v0_0.cat and stars_5_1v0_0.cat. Now this misnaming is fixed. The contents of the files is unchanged, just the names have been fixed in order to reflect the contents, which is stars of type 1 and of type 2, respectively. All you have to do is make sure your file stars.ini lists the names of your star catalog files,&lt;br /&gt;
no matter whether you use the new names or the old ones.&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Star_Catalogues</id>
		<title>Star Catalogues</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Star_Catalogues"/>
				<updated>2007-11-01T23:25:12Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: mmap&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In Stellarium version 0.9.0, star catalogues are split into 9 files, which contain stars of varying brightness.  These files can be found in the ''&amp;lt;installation directory&amp;gt;/stars/default/''.  Only the smaller four of these files come with Stellarium in the main package to keep the size manageable. &lt;br /&gt;
&lt;br /&gt;
About 99% of all these stars come from the NOMAD catalog (Naval Observatory Merged Astrometric Dataset version 1, by USNO). The rest (brighter ones) from Tycho2 and Hipparcos. Please see the stellarium README file for the conditions, under which you may redistribute data files originating from NOMAD.&lt;br /&gt;
&lt;br /&gt;
Here is a list of all available catalogues.  The ''RAM needed'' column applies for the case of ordinary catalog loading at startup, and is an estimate. (MNG managed to load file 7 with 512 M ram, but only just.  YMMV). For mmap loading system memory is not a limit any more, see next section.&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=4 border=1&lt;br /&gt;
|''File name'' || ''Star Count'' || ''Magnitude Range'' || ''File Size'' || ''RAM needed'' || ''Availability''&lt;br /&gt;
|-&lt;br /&gt;
|stars_0_0v0_1.cat || 5,013 || m &amp;lt; 6.0 || 138K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_1_0v0_1.cat || 21,999 || 6.0 &amp;lt;= m &amp;lt; 7.5 || 602K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_2_0v0_1.cat || 151,516 || 7.5 &amp;lt;= m &amp;lt; 9.0 || 4.1M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_3_1v0_0.cat || 434,064 || 9.0 &amp;lt;= m &amp;lt; 10.5 || 4.2M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_4_1v0_0.cat || 1,725,497 || 10.5 &amp;lt;= m &amp;lt; 12.0 || 17M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_5_2v0_0.cat || 7,669,011 || 12.0 &amp;lt;= m &amp;lt; 13.5 || 44M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_6_2v0_0.cat || 26,615,233 || 13.5 &amp;lt;= m &amp;lt; 15.0 || 153M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_7_2v0_0.cat || 57,826,266 || 15.0 &amp;lt;= m &amp;lt; 16.5 || 333M || 512M (just!) || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_8_2v0_0.cat || 116,923,084 || 16.5 &amp;lt;= m &amp;lt; 18.0 || 674M ||1024M? || Separate download&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To try out the large catalogue files download them from [https://sourceforge.net/project/showfiles.php?group_id=48857&amp;amp;package_id=233730 here], and put then in the ''stars/default'' sub-directory of the [[Installation Data Directory]].&lt;br /&gt;
&lt;br /&gt;
NOTE: when downloading from this page, '''do not''' right-click and save as - '''left click'''.  These are not direct download links - they are links to the list of download mirrors.  Left click on them, and wait for your download to start.&lt;br /&gt;
&lt;br /&gt;
For using stars_7_2v0_0.cat I recommend 1GB of RAM, and for stars_8_2v0_0.cat at lease 1.5GB.&lt;br /&gt;
In version 0.9.0 the catalogs are just loaded into RAM, and if you do not have enough of it, swapping will start. Add up the star catalog sizes, compare with your amount of RAM, and your common sense will tell you how many files you can load.  Yours, Johannes&lt;br /&gt;
&lt;br /&gt;
== mmap loading ==&lt;br /&gt;
&lt;br /&gt;
Since version 0.9.1 you can instruct your computer to load all the stars into main memory not at startup, but to load groups of stars when they are displayed for the first time. This is done using the operating systems mmap function, hence the name &amp;quot;mmap loading&amp;quot;. Using this technique you can use all of the star catalogs even if you have very little RAM. Also the initial startup time is greatly decreased. The drawback is that your computer loads the stars during normal program operation, when they are used for the first time. Therefore the scrolling and zooming will not be so smooth as when you load all catalogs at startup in advance.&lt;br /&gt;
&lt;br /&gt;
For each catalog file that you want to use, you can decide if you want to load it at startup or using mmap by prefixing the catalog name with &amp;quot;mmap:&amp;quot; in stars.ini:&lt;br /&gt;
&lt;br /&gt;
 [stars]&lt;br /&gt;
 cat_file_name_00       = stars_0_0v0_1.cat&lt;br /&gt;
 cat_file_name_01       = stars_1_0v0_1.cat&lt;br /&gt;
 cat_file_name_02       = stars_2_0v0_1.cat&lt;br /&gt;
 cat_file_name_03       = stars_3_1v0_0.cat&lt;br /&gt;
 cat_file_name_04       = stars_4_1v0_0.cat&lt;br /&gt;
 #you can use mmap loading, if you do not want to load all stars&lt;br /&gt;
 #immediately into RAM:&lt;br /&gt;
 cat_file_name_05       = mmap:stars_5_2v0_0.cat&lt;br /&gt;
 cat_file_name_06       = mmap:stars_6_2v0_0.cat&lt;br /&gt;
 cat_file_name_07       = mmap:stars_7_2v0_0.cat&lt;br /&gt;
 cat_file_name_08       = mmap:stars_8_2v0_0.cat&lt;br /&gt;
 cat_hip_sp_file_name   = stars_hip_sp_0v0_0.cat&lt;br /&gt;
 cat_hip_cids_file_name = stars_hip_cids_0v0_0.cat&lt;br /&gt;
&lt;br /&gt;
In this example mmap loading is configured for stars_5,...,stars_8 only.&lt;br /&gt;
&lt;br /&gt;
== Errata ==&lt;br /&gt;
Prior to version 0.9.1 the files stars_3_1v0_0.cat and stars_5_2v0_0.cat were falsely called stars_3_0v0_0.cat and stars_5_1v0_0.cat. Now this misnaming is fixed. The contents of the files is unchanged, just the names have been fixed in order to reflect the contents, which is stars of type 1 and of type 2, respectively. All you have to do is make sure your file stars.ini lists the names of your star catalog files,&lt;br /&gt;
no matter whether you use the new names or the old ones.&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Star_Catalogues</id>
		<title>Star Catalogues</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Star_Catalogues"/>
				<updated>2007-11-01T23:20:32Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: mmap loading&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In Stellarium version 0.9.0, star catalogues are split into 9 files, which contain stars of varying brightness.  These files can be found in the ''&amp;lt;installation directory&amp;gt;/stars/default/''.  Only the smaller four of these files come with Stellarium in the main package to keep the size manageable. &lt;br /&gt;
&lt;br /&gt;
About 99% of all these stars come from the NOMAD catalog (Naval Observatory Merged Astrometric Dataset version 1, by USNO). The rest (brighter ones) from Tycho2 and Hipparcos. Please see the stellarium README file for the conditions, under which you may redistribute data files originating from NOMAD.&lt;br /&gt;
&lt;br /&gt;
Here is a list of all available catalogues.  The ''RAM needed'' column is an estimate. (MNG managed to load file 7 with 512 M ram, but only just.  YMMV).&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=4 border=1&lt;br /&gt;
|''File name'' || ''Star Count'' || ''Magnitude Range'' || ''File Size'' || ''RAM needed'' || ''Availability''&lt;br /&gt;
|-&lt;br /&gt;
|stars_0_0v0_1.cat || 5,013 || m &amp;lt; 6.0 || 138K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_1_0v0_1.cat || 21,999 || 6.0 &amp;lt;= m &amp;lt; 7.5 || 602K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_2_0v0_1.cat || 151,516 || 7.5 &amp;lt;= m &amp;lt; 9.0 || 4.1M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_3_1v0_0.cat || 434,064 || 9.0 &amp;lt;= m &amp;lt; 10.5 || 4.2M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_4_1v0_0.cat || 1,725,497 || 10.5 &amp;lt;= m &amp;lt; 12.0 || 17M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_5_2v0_0.cat || 7,669,011 || 12.0 &amp;lt;= m &amp;lt; 13.5 || 44M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_6_2v0_0.cat || 26,615,233 || 13.5 &amp;lt;= m &amp;lt; 15.0 || 153M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_7_2v0_0.cat || 57,826,266 || 15.0 &amp;lt;= m &amp;lt; 16.5 || 333M || 512M (just!) || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_8_2v0_0.cat || 116,923,084 || 16.5 &amp;lt;= m &amp;lt; 18.0 || 674M ||1024M? || Separate download&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To try out the large catalogue files download them from [https://sourceforge.net/project/showfiles.php?group_id=48857&amp;amp;package_id=233730 here], and put then in the ''stars/default'' sub-directory of the [[Installation Data Directory]].&lt;br /&gt;
&lt;br /&gt;
NOTE: when downloading from this page, '''do not''' right-click and save as - '''left click'''.  These are not direct download links - they are links to the list of download mirrors.  Left click on them, and wait for your download to start.&lt;br /&gt;
&lt;br /&gt;
For using stars_7_2v0_0.cat i recommend 1GB or RAM, and for stars_8_2v0_0.cat at lease 1.5GB.&lt;br /&gt;
In version 0.9.0 the catalogs are just loaded into RAM, and if you do not have enough of it, swapping will start. Add up the star catalog sizes, compare with your amount of RAM, and your common sense will tell you how many files you can load.  Yours, Johannes&lt;br /&gt;
&lt;br /&gt;
== mmap loading ==&lt;br /&gt;
&lt;br /&gt;
Since version 0.9.1 you can instruct your computer to load all the stars into main memory not at startup, but to load groups of stars when they are displayed for the first time. This is done using the operating systems mmap function, hence the name &amp;quot;mmap loading&amp;quot;. Using this technique you can use all of the star catalogs even if you have very little RAM. Also the initial startup time is greatly decreased. The drawback is that your computer loads the stars during normal program operation, when they are used for the first time. Therefore the scrolling and zooming will not be so smooth as when you load all catalogs at startup in advance.&lt;br /&gt;
&lt;br /&gt;
For each catalog file that you want to use, you can decide if you want to load it at startup or using mmap by prefixing the catalog name with &amp;quot;mmap:&amp;quot; in stars.ini:&lt;br /&gt;
&lt;br /&gt;
 [stars]&lt;br /&gt;
 cat_file_name_00       = stars_0_0v0_1.cat&lt;br /&gt;
 cat_file_name_01       = stars_1_0v0_1.cat&lt;br /&gt;
 cat_file_name_02       = stars_2_0v0_1.cat&lt;br /&gt;
 cat_file_name_03       = stars_3_1v0_0.cat&lt;br /&gt;
 cat_file_name_04       = stars_4_1v0_0.cat&lt;br /&gt;
 #you can use mmap loading, if you do not want to load all stars&lt;br /&gt;
 #immediately into RAM:&lt;br /&gt;
 cat_file_name_05       = mmap:stars_5_2v0_0.cat&lt;br /&gt;
 cat_file_name_06       = mmap:stars_6_2v0_0.cat&lt;br /&gt;
 cat_file_name_07       = mmap:stars_7_2v0_0.cat&lt;br /&gt;
 cat_file_name_08       = mmap:stars_8_2v0_0.cat&lt;br /&gt;
 cat_hip_sp_file_name   = stars_hip_sp_0v0_0.cat&lt;br /&gt;
 cat_hip_cids_file_name = stars_hip_cids_0v0_0.cat&lt;br /&gt;
&lt;br /&gt;
In this example mmap loading is configured for stars_5,...,stars_8 only.&lt;br /&gt;
&lt;br /&gt;
== Errata ==&lt;br /&gt;
Prior to version 0.9.1 the files stars_3_1v0_0.cat and stars_5_2v0_0.cat were falsely called stars_3_0v0_0.cat and stars_5_1v0_0.cat. Now this misnaming is fixed. The contents of the files is unchanged, just the names have been fixed in order to reflect the contents, which is stars of type 1 and of type 2, respectively. All you have to do is make sure your file stars.ini lists the names of your star catalog files,&lt;br /&gt;
no matter whether you use the new names or the old ones.&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Star_Catalogues</id>
		<title>Star Catalogues</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Star_Catalogues"/>
				<updated>2007-11-01T22:14:54Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: catalogs renamed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In Stellarium version 0.9.0, star catalogues are split into 9 files, which contain stars of varying brightness.  These files can be found in the ''&amp;lt;installation directory&amp;gt;/stars/default/''.  Only the smaller four of these files come with Stellarium in the main package to keep the size manageable. &lt;br /&gt;
&lt;br /&gt;
About 99% of all these stars come from the NOMAD catalog (Naval Observatory Merged Astrometric Dataset version 1, by USNO). The rest (brighter ones) from Tycho2 and Hipparcos. Please see the stellarium README file for the conditions, under which you may redistribute data files originating from NOMAD.&lt;br /&gt;
&lt;br /&gt;
Here is a list of all available catalogues.  The ''RAM needed'' column is an estimate. (MNG managed to load file 7 with 512 M ram, but only just.  YMMV).&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=4 border=1&lt;br /&gt;
|''File name'' || ''Star Count'' || ''Magnitude Range'' || ''File Size'' || ''RAM needed'' || ''Availability''&lt;br /&gt;
|-&lt;br /&gt;
|stars_0_0v0_1.cat || 5,013 || m &amp;lt; 6.0 || 138K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_1_0v0_1.cat || 21,999 || 6.0 &amp;lt;= m &amp;lt; 7.5 || 602K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_2_0v0_1.cat || 151,516 || 7.5 &amp;lt;= m &amp;lt; 9.0 || 4.1M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_3_1v0_0.cat || 434,064 || 9.0 &amp;lt;= m &amp;lt; 10.5 || 4.2M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_4_1v0_0.cat || 1,725,497 || 10.5 &amp;lt;= m &amp;lt; 12.0 || 17M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_5_2v0_0.cat || 7,669,011 || 12.0 &amp;lt;= m &amp;lt; 13.5 || 44M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_6_2v0_0.cat || 26,615,233 || 13.5 &amp;lt;= m &amp;lt; 15.0 || 153M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_7_2v0_0.cat || 57,826,266 || 15.0 &amp;lt;= m &amp;lt; 16.5 || 333M || 512M (just!) || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_8_2v0_0.cat || 116,923,084 || 16.5 &amp;lt;= m &amp;lt; 18.0 || 674M ||1024M? || Separate download&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To try out the large catalogue files download them from [https://sourceforge.net/project/showfiles.php?group_id=48857&amp;amp;package_id=233730 here], and put then in the ''stars/default'' sub-directory of the [[Installation Data Directory]].&lt;br /&gt;
&lt;br /&gt;
NOTE: when downloading from this page, '''do not''' right-click and save as - '''left click'''.  These are not direct download links - they are links to the list of download mirrors.  Left click on them, and wait for your download to start.&lt;br /&gt;
&lt;br /&gt;
For using stars_7_2v0_0.cat i recommend 1GB or RAM, and for stars_8_2v0_0.cat at lease 1.5GB.&lt;br /&gt;
In version 0.9.0 the catalogs are just loaded into RAM, and if you do not have enough of it, swapping will start. Add up the star catalog sizes, compare with your amount of RAM, and your common sense will tell you how many files you can load.  Yours, Johannes&lt;br /&gt;
&lt;br /&gt;
== Errata ==&lt;br /&gt;
Prior to version 0.9.1 the files stars_3_1v0_0.cat and stars_5_2v0_0.cat were falsely called stars_3_0v0_0.cat and stars_5_1v0_0.cat. Now this misnaming is fixed. The contents of the files is unchanged, just the names have been fixed in order to reflect the contents, which is stars of type 1 and of type 2, respectively. All you have to do is make sure your file stars.ini lists the names of your star catalog files,&lt;br /&gt;
no matter whether you use the new names or the old ones.&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2007-10-09T23:08:26Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Useful Stellarium features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes, G11 or compatible&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar: used for controlling Celestron NexStar telescopes, contributed by Michael Heinz&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
'''ASCOM Support'''&lt;br /&gt;
&lt;br /&gt;
StellariumServer.exe (http://www.geocities.com/scottpinkham/astro): is a program for MS Windows allowing stellarium to control a variety of telescope using the ASCOM drivers (http://ascom-standards.org).&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous svn:&lt;br /&gt;
&lt;br /&gt;
 svn co https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me.&lt;br /&gt;
&lt;br /&gt;
Michael Heinz has provided an XCode project file for Mac, which is included in svn.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerNexStar.exe.gz TelescopeServerNexStar.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
Some people have problems with their browsers: the browser silently unpacks the gziped file. If you suffer from such a problem, just rename the downloaded file to TelescopeServerLx200.exe (or similar).&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. If you have a slow telescope controller - like the Meade AutoStar 494 that comes with ETX 70 - you should increase this value to 1200000 or higher, in order to get smooth movement of the telescope marker. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
Since version 0.9.1: For displaying concentric circles around the telescope marker indicating the FOV of your oculars write for example:&lt;br /&gt;
&lt;br /&gt;
 [telescopes]&lt;br /&gt;
 1_ocular_0 = 0.5&lt;br /&gt;
 1_ocular_1 = 0.1&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
This will define 2 oculars with FOV=0.5 and 0.1 degrees for telescope 1. You can specify up to 10 oculars for each telescope.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2007-10-09T22:59:51Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Useful Stellarium features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes, G11 or compatible&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar: used for controlling Celestron NexStar telescopes, contributed by Michael Heinz&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
'''ASCOM Support'''&lt;br /&gt;
&lt;br /&gt;
StellariumServer.exe (http://www.geocities.com/scottpinkham/astro): is a program for MS Windows allowing stellarium to control a variety of telescope using the ASCOM drivers (http://ascom-standards.org).&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous svn:&lt;br /&gt;
&lt;br /&gt;
 svn co https://stellarium.svn.sourceforge.net/svnroot/stellarium/trunk/telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me.&lt;br /&gt;
&lt;br /&gt;
Michael Heinz has provided an XCode project file for Mac, which is included in svn.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerNexStar.exe.gz TelescopeServerNexStar.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
Some people have problems with their browsers: the browser silently unpacks the gziped file. If you suffer from such a problem, just rename the downloaded file to TelescopeServerLx200.exe (or similar).&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. If you have a slow telescope controller - like the Meade AutoStar 494 that comes with ETX 70 - you should increase this value to 1200000 or higher, in order to get smooth movement of the telescope marker. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
Since version 0.9.2: For displaying concentric circles around the telescope marker indicating the FOV of your oculars write for example:&lt;br /&gt;
&lt;br /&gt;
 [telescopes]&lt;br /&gt;
 1_ocular_0 = 0.5&lt;br /&gt;
 1_ocular_1 = 0.1&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
This will define 2 oculars with FOV=0.5 and 0.1 degrees for telescope 1. You can specify up to 10 oculars for each telescope.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Star_Catalogues</id>
		<title>Star Catalogues</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Star_Catalogues"/>
				<updated>2007-06-07T21:35:23Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In Stellarium version 0.9.0, star catalogues are split into 9 files, which contain stars of varying brightness.  These files can be found in the ''&amp;lt;installation directory&amp;gt;/stars/default/''.  Only the smaller four of these files come with Stellarium in the main package to keep the size manageable. &lt;br /&gt;
&lt;br /&gt;
About 99% of all these stars come from the NOMAD catalog (Naval Observatory Merged Astrometric Dataset version 1, by USNO). The rest (brighter ones) from Tycho2 and Hipparcos. Please see the stellarium README file for the conditions, under which you may redistribute data files originating from NOMAD.&lt;br /&gt;
&lt;br /&gt;
Here is a list of all available catalogues.  The ''RAM needed'' column is an estimate. (MNG managed to load file 7 with 512 M ram, but only just.  YMMV).&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=4 border=1&lt;br /&gt;
|''File name'' || ''Star Count'' || ''Magnitude Range'' || ''File Size'' || ''RAM needed'' || ''Availability''&lt;br /&gt;
|-&lt;br /&gt;
|stars_0_0v0_0.cat || 5,013 || m &amp;lt; 6.0 || 138K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_1_0v0_0.cat || 21,999 || 6.0 &amp;lt;= m &amp;lt; 7.5 || 602K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_2_0v0_0.cat || 151,516 || 7.5 &amp;lt;= m &amp;lt; 9.0 || 4.1M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_3_0v0_0.cat || 434,064 || 9.0 &amp;lt;= m &amp;lt; 10.5 || 4.2M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_4_1v0_0.cat || 1,725,497 || 10.5 &amp;lt;= m &amp;lt; 12.0 || 17M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_5_1v0_0.cat || 7,669,011 || 12.0 &amp;lt;= m &amp;lt; 13.5 || 44M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_6_2v0_0.cat || 26,615,233 || 13.5 &amp;lt;= m &amp;lt; 15.0 || 153M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_7_2v0_0.cat || 57,826,266 || 15.0 &amp;lt;= m &amp;lt; 16.5 || 333M || 512M (just!) || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_8_2v0_0.cat || 116,923,084 || 16.5 &amp;lt;= m &amp;lt; 18.0 || 674M ||1024M? || Separate download&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To try out the large catalogue files download them from [https://sourceforge.net/project/showfiles.php?group_id=48857&amp;amp;package_id=233730 here], and put then in the ''stars/default'' sub-directory of the [[Installation Data Directory]].&lt;br /&gt;
&lt;br /&gt;
NOTE: when downloading from this page, '''do not''' right-click and save as - '''left click'''.  These are not direct download links - they are links to the list of download mirrors.  Left click on them, and wait for your download to start.&lt;br /&gt;
&lt;br /&gt;
For using stars_7_2v0_0.cat i recommend 1GB or RAM, and for stars_8_2v0_0.cat at lease 1.5GB.&lt;br /&gt;
In version 0.9.0 the catalogs are just loaded into RAM, and if you do not have enough of it, swapping will start. Add up the star catalog sizes, compare with your amount of RAM, and your common sense will tell you how many files you can load.  Yours, Johannes&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Star_Catalogues</id>
		<title>Star Catalogues</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Star_Catalogues"/>
				<updated>2007-06-07T21:33:28Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In Stellarium version 0.9.0, star catalogues are split into 9 files, which contain stars of varying brightness.  These files can be found in the ''&amp;lt;installation directory&amp;gt;/stars/default/''.  Only the smaller four of these files come with Stellarium in the main package to keep the size manageable. &lt;br /&gt;
&lt;br /&gt;
About 99% of all these stars come from the NOMAD catalog (Naval Observatory Merged Astrometric Dataset version 1, by USNO). The rest (brighter ones) from Tycho2 and Hipparcos. Please see the stellarium README file for the conditions, under which you may redistribute data files originating from NOMAD.&lt;br /&gt;
&lt;br /&gt;
Here is a list of all available catalogues.  The ''RAM needed'' column is an estimate. (MNG managed to load file 7 with 512 M ram, but only just.  YMMV).&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=4 border=1&lt;br /&gt;
|''File name'' || ''Star Count'' || ''Magnitude Range'' || ''File Size'' || ''RAM needed'' || ''Availability''&lt;br /&gt;
|-&lt;br /&gt;
|stars_0_0v0_0.cat || 5,013 || m &amp;lt; 6.0 || 138K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_1_0v0_0.cat || 21,999 || 6.0 &amp;lt;= m &amp;lt; 7.5 || 602K || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_2_0v0_0.cat || 151,516 || 7.5 &amp;lt;= m &amp;lt; 9.0 || 4.1M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_3_0v0_0.cat || 434,064 || 9.0 &amp;lt;= m &amp;lt; 10.5 || 4.2M || 256M || In default package&lt;br /&gt;
|-&lt;br /&gt;
|stars_4_1v0_0.cat || 1,725,497 || 10.5 &amp;lt;= m &amp;lt; 12.0 || 17M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_5_1v0_0.cat || 7,669,011 || 12.0 &amp;lt;= m &amp;lt; 13.5 || 44M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_6_2v0_0.cat || 26,615,233 || 13.5 &amp;lt;= m &amp;lt; 15.0 || 153M || 512M || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_7_2v0_0.cat || 57,826,266 || 15.0 &amp;lt;= m &amp;lt; 16.5 || 333M || 512M (just!) || Separate download&lt;br /&gt;
|-&lt;br /&gt;
|stars_8_2v0_0.cat || 116,923,084 || 16.5 &amp;lt;= m &amp;lt; 18.0 || 674M ||1024M? || Separate download&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
To try out the large catalogue files download them from [https://sourceforge.net/project/showfiles.php?group_id=48857&amp;amp;package_id=233730 here], and put then in the ''stars/default'' sub-directory of the [[Installation Data Directory]].&lt;br /&gt;
&lt;br /&gt;
NOTE: when downloading from this page, '''do not''' right-click and save as - '''left click'''.  These are not direct download links - they are links to the list of download mirrors.  Left click on them, and wait for your download to start.&lt;br /&gt;
&lt;br /&gt;
For using stars_7_2v0_0.cat i recomment 1GB or RAM, and for stars_8_2v0_0.cat at lease 1.5GB.&lt;br /&gt;
In version 0.9.0 the catalogs are just loaded into RAM, and if you do not have enough of it, swapping will start. Add up the star catalog sizes, compare with your amount of RAM, and your common sense will tell you how many files you can load.  Yours, Johannes&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2007-06-07T21:13:53Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Alternatively: downloading precompiled MS Windows binaries */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes, G11 or compatible&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar: used for controlling Celestron NexStar telescopes, contributed by Michael Heinz&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
'''ASCOM Support'''&lt;br /&gt;
&lt;br /&gt;
StellariumServer.exe (http://www.geocities.com/scottpinkham/astro): is a program for MS Windows allowing stellarium to control a variety of telescope using the ASCOM drivers (http://ascom-standards.org).&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous svn:&lt;br /&gt;
&lt;br /&gt;
 svn co https://svn.sourceforge.net/svnroot/stellarium/trunk/telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me.&lt;br /&gt;
&lt;br /&gt;
Michael Heinz has provided an XCode project file for Mac, which is included in svn.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerNexStar.exe.gz TelescopeServerNexStar.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
Some people have problems with their browsers: the browser silently unpacks the gziped file. If you suffer from such a problem, just rename the downloaded file to TelescopeServerLx200.exe (or similar).&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. If you have a slow telescope controller - like the Meade AutoStar 494 that comes with ETX 70 - you should increase this value to 1200000 or higher, in order to get smooth movement of the telescope marker. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Help_with_Fortran90</id>
		<title>Help with Fortran90</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Help_with_Fortran90"/>
				<updated>2007-05-14T20:47:19Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Summary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to conversation and mutual help on creating Neptunian satellite ephemeris using&lt;br /&gt;
Le Guyader's and Jerome Berthier's ftp://ftp.imcce.fr/pub/ephem/satel/neptuno/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First approach: f77 ==&lt;br /&gt;
In Config.mk replace FC = xlf with FC = f77 and type 'make'. You will see lots of errors like&lt;br /&gt;
&lt;br /&gt;
 isat_d.f: In subroutine `isatd':&lt;br /&gt;
 isat_d.f:1353: &lt;br /&gt;
    210     format(8x,' Dernier pas:',d23.16)'&lt;br /&gt;
                                            ^&lt;br /&gt;
 Invalid form for FORMAT statement at (^)&lt;br /&gt;
&lt;br /&gt;
In my opinion the reason is that the code is not FORTRAN77 conform. I tried to overcome this problem by fixing the source code, there is an awful lot of wrong format statements. For finding the input files I changed in fs2fd.f:&lt;br /&gt;
&lt;br /&gt;
 infile  = trim(dir_s)//trim(fil_s)&lt;br /&gt;
 outfile = trim(dir_d)//trim(fil_d)&lt;br /&gt;
&lt;br /&gt;
into&lt;br /&gt;
&lt;br /&gt;
 infile  = './data/Nsat-fs.dat'&lt;br /&gt;
 outfile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Same in ins_d.f:&lt;br /&gt;
&lt;br /&gt;
 theofile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Additionally in ins_d.f I had to move the passage&lt;br /&gt;
&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
after the COMMON block:&lt;br /&gt;
&lt;br /&gt;
 COMMON/STCOMX/KM,BARY,PVSUN&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
FORTRAN77 seem not to support variable size arrays, so in isat_d.f I had to replace&lt;br /&gt;
&lt;br /&gt;
 dimension tp(np),up(np),cp(3,np),aia(4)&lt;br /&gt;
&lt;br /&gt;
in line 183 with&lt;br /&gt;
&lt;br /&gt;
 dimension tp(100000),up(100000),cp(3,100000),aia(4)&lt;br /&gt;
&lt;br /&gt;
The same for lines 2455 and 2456. In line 2408 I removed the definition of w(3,np,0:nd).&lt;br /&gt;
After that the source compiled into an executable called 'ilgs_d', which is ought to be the double precision version. The quad precision version would be called 'ilgs_q'. Anyway, the executable failed with the following output:&lt;br /&gt;
&lt;br /&gt;
        ________________________________________&lt;br /&gt;
                                                &lt;br /&gt;
           Fichier ./data/Nsat-fd.dat              &lt;br /&gt;
        ________________________________________&lt;br /&gt;
 &lt;br /&gt;
 open: No such file or directory&lt;br /&gt;
 apparent state: unit 12 named /DATA/DE403/de403.unx&lt;br /&gt;
 last format: list io&lt;br /&gt;
 lately reading direct unformatted external IO&lt;br /&gt;
 Aborted&lt;br /&gt;
&lt;br /&gt;
== Second approach: f2c ==&lt;br /&gt;
Using f2c gives the same results as using f77. I hoped to get more insight from reading the C-code, but I did not. I had big success for the other IMCCE fortran programs with f2c, it helped me a lot in understanding and getting functional executables. But not this time.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The file ./data/Nsat-fd.dat exists, maybe the error refers to the file /DATA/DE403/de403.unx, which is indeed missing on my system. And I do not know from where to get it. At ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/DE403.BSP I found the file for Sparc architecture, for i386 it seems not to be available any more, but it could be created from DE403.BSP.&lt;br /&gt;
&lt;br /&gt;
But before doing further investigation I would like to ask a FORTRAN programmer about this software. My understanding is as follows, please correct me when I am wrong:&lt;br /&gt;
&lt;br /&gt;
1) The software is a numerical integrator for a physical model of the Nepunian system. For as a period as long as the planet positions are provided, the Neptunian satellites position can be computed by numerical integration. Especially dates outside the interval 1800-2050 are no problem, when the DE403 planet positions are replaced by VSOP87 or similar.&lt;br /&gt;
&lt;br /&gt;
2) Therefore it is possible to produce a large table of each satellites position and velocity for a long period, lets say 1500-2500. In fact this is the main goal. When I have this table, I will try frequency analysis techniques in order to create poisson series or similar, that can be included into stellarium.&lt;br /&gt;
&lt;br /&gt;
My problem is that I can speak neigther french nor FORTRAN, so I really do not know what is going on in this software, and I would really appreciate your help. You can contact be by:&lt;br /&gt;
&lt;br /&gt;
- email: johannes (dot) gajdosik (at) gmx (dot) at&lt;br /&gt;
&lt;br /&gt;
- posting into the forum&lt;br /&gt;
&lt;br /&gt;
- writing something in this wiki page&lt;br /&gt;
&lt;br /&gt;
I am sorry for having written: &amp;quot;If you do not mind I would prefer to be contacted by email, please write the words&lt;br /&gt;
&amp;quot;stellarium&amp;quot; and &amp;quot;fortran&amp;quot; into the subject line.&amp;quot;&lt;br /&gt;
This was really a bad idea, because it caused multiple work on the same subject for the community.&lt;br /&gt;
So lets stay with this wiki.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
[[User:Johannes|Johannes]] 14:38, 1 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Hi! I'm a french programmer, but unfortunately not a fortran programmer, and I'd like to help if I can . I've started to read fortran tutorial and I plan to test lf95 trial as fortran compiler since it's the one used in the linux Config.mk provided in neptuno package but I don't have much free time these days. I'll let know if I succeed in any way, let me know if you have questions.&lt;br /&gt;
Blakbear.&lt;br /&gt;
&lt;br /&gt;
Hello Blackbear,&lt;br /&gt;
thank you very much for offering help! I first did not see your writing into the wiki, because the &amp;quot;watch&amp;quot; function seems not to work for me. If you get any insight into the code,&lt;br /&gt;
or if you can give any answers to 1) or 2) please send me an email, this will be the easiest way of communication.&lt;br /&gt;
Johannes&lt;br /&gt;
&lt;br /&gt;
Hi, Johannes. I could build &amp;quot;ilgs3_d&amp;quot; by g77 and execute without error. But I could not investigate that result is correct or is not correct. Shall I report my procedure?(in this page? or e-mail?) I write a part of output(little formatted), instead answer your questions.&lt;br /&gt;
        (  1)  Date: 0.2378496500000000E+07&lt;br /&gt;
        Nombre maximum d&amp;quot;enregistrements = 22829&lt;br /&gt;
        Intervalle cherché =                  1&lt;br /&gt;
        Temps initial d&amp;quot;intégration =  0.2378496500000000E+07&lt;br /&gt;
        Intervalle d&amp;quot;intégration =     0.0000000000000000E+00&lt;br /&gt;
        Pas d&amp;quot;intégration =            0.0000000000000000E+00&lt;br /&gt;
        Temps final d&amp;quot;intégration =    0.2378496500000000E+07&lt;br /&gt;
        ___________________________________________________&lt;br /&gt;
        Résultats&lt;br /&gt;
        ----------&lt;br /&gt;
                      Triton&lt;br /&gt;
        (  1)  Date: 0.2378496500000000E+07&lt;br /&gt;
        v0(1,1,0) =-0.2019388268736855E-04&lt;br /&gt;
        v0(2,1,0) = 0.1722904160856275E-02&lt;br /&gt;
        v0(3,1,0) = 0.1629414715885055E-02&lt;br /&gt;
        v0(1,1,1) = 0.2533936570868142E-02&lt;br /&gt;
        v0(2,1,1) =-0.4058902541155617E-04&lt;br /&gt;
        v0(3,1,1) = 0.7430677191550270E-04&lt;br /&gt;
By the way, when create de403.unx, why did not you convert from unxpXXXX.403 or ascpXXXX.403?--[[User:Sigma|Sigma]] 06:10, 9 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Same here, I've succeeded in compiling ilgs3_d with lf95 but I can't get a result yet, so Sigma seems more advanced. So far I can't validate my email so I can't use it for the time being, but feel free to ask if you need french to english translation. &lt;br /&gt;
Blakbear.&lt;br /&gt;
&lt;br /&gt;
:I uploaded diff files: [http://www.h5.dion.ne.jp/~sigma/stellarium/neptune/ins3_d.f.diff for ins3_d.f],[http://www.h5.dion.ne.jp/~sigma/stellarium/neptune/ins8_d.f.diff for ins8_d.f],[http://www.h5.dion.ne.jp/~sigma/stellarium/neptune/isat8_d.f.diff for isat8_d.f]. Sorry, I could not upload de403.unx, because it was big size for my space(about 9MB gziped). And ilgs8_d did not execute. Probably, there may be a hint for 8 satellites code in LISETMOI and README. Please check them. I'm weak in English, additionaly can not read French. orz--[[User:Sigma|Sigma]] 20:41, 10 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Hi! I've succeeded in compiling and running both ilgs3_d and ilgs8_d, getting some results and some problems when testing with later dates but at least it works for initial date it seems.&amp;lt;br /&amp;gt; &lt;br /&gt;
All the modifications I've done for ilgs8_d to work have already been pointed out by Johannes : bad formatting with ' where there shouldn't be and bad location, missing the . to access current dir. I've used unxp1950.403 found on jpl ftp ftp://ssd.jpl.nasa.gov/pub/eph/export/unix/ renamed in de403.unx.&amp;lt;br /&amp;gt;&lt;br /&gt;
I'm going to make an archive with all the files I've used and make it available tonight, so anyone will be able to test it.&lt;br /&gt;
&lt;br /&gt;
--[[User:Blakbear|Blakbear]] 13:56, 11 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
Thank you all so much for your help! In addition to the information in the wiki I got also emails describing how to create de403.unx. Indeed you had more success then I running the program. Now remains only the problem of creating ephemeris data over a reasonably long timespan, lets say 1500-2500. The file Nsat-fd.dat provides initial values not for this whole period, but I doubt that this is needed. Instead isat_d and ilgs_d should contain a numerical model and an integrator suitable for creating data for an arbitrary period, provided there are the planet positions. This leads to the question:&lt;br /&gt;
&lt;br /&gt;
Can anybody of you understand the contents of isat_d.f and ilgs_d.f? where is the integrator, where is the numerical model, and from where are the planet positions needed for planetary perturbation? This is the part, where French language skills might be helpful. For I cannot understand the comments, function and variable names, for me these are just meaningless accumulations of letters.&lt;br /&gt;
&lt;br /&gt;
Thanks again,&lt;br /&gt;
--[[User:Johannes|Johannes]] 09:44, 14 May 2007 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Help_with_Fortran90</id>
		<title>Help with Fortran90</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Help_with_Fortran90"/>
				<updated>2007-05-14T16:44:22Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to conversation and mutual help on creating Neptunian satellite ephemeris using&lt;br /&gt;
Le Guyader's and Jerome Berthier's ftp://ftp.imcce.fr/pub/ephem/satel/neptuno/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First approach: f77 ==&lt;br /&gt;
In Config.mk replace FC = xlf with FC = f77 and type 'make'. You will see lots of errors like&lt;br /&gt;
&lt;br /&gt;
 isat_d.f: In subroutine `isatd':&lt;br /&gt;
 isat_d.f:1353: &lt;br /&gt;
    210     format(8x,' Dernier pas:',d23.16)'&lt;br /&gt;
                                            ^&lt;br /&gt;
 Invalid form for FORMAT statement at (^)&lt;br /&gt;
&lt;br /&gt;
In my opinion the reason is that the code is not FORTRAN77 conform. I tried to overcome this problem by fixing the source code, there is an awful lot of wrong format statements. For finding the input files I changed in fs2fd.f:&lt;br /&gt;
&lt;br /&gt;
 infile  = trim(dir_s)//trim(fil_s)&lt;br /&gt;
 outfile = trim(dir_d)//trim(fil_d)&lt;br /&gt;
&lt;br /&gt;
into&lt;br /&gt;
&lt;br /&gt;
 infile  = './data/Nsat-fs.dat'&lt;br /&gt;
 outfile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Same in ins_d.f:&lt;br /&gt;
&lt;br /&gt;
 theofile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Additionally in ins_d.f I had to move the passage&lt;br /&gt;
&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
after the COMMON block:&lt;br /&gt;
&lt;br /&gt;
 COMMON/STCOMX/KM,BARY,PVSUN&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
FORTRAN77 seem not to support variable size arrays, so in isat_d.f I had to replace&lt;br /&gt;
&lt;br /&gt;
 dimension tp(np),up(np),cp(3,np),aia(4)&lt;br /&gt;
&lt;br /&gt;
in line 183 with&lt;br /&gt;
&lt;br /&gt;
 dimension tp(100000),up(100000),cp(3,100000),aia(4)&lt;br /&gt;
&lt;br /&gt;
The same for lines 2455 and 2456. In line 2408 I removed the definition of w(3,np,0:nd).&lt;br /&gt;
After that the source compiled into an executable called 'ilgs_d', which is ought to be the double precision version. The quad precision version would be called 'ilgs_q'. Anyway, the executable failed with the following output:&lt;br /&gt;
&lt;br /&gt;
        ________________________________________&lt;br /&gt;
                                                &lt;br /&gt;
           Fichier ./data/Nsat-fd.dat              &lt;br /&gt;
        ________________________________________&lt;br /&gt;
 &lt;br /&gt;
 open: No such file or directory&lt;br /&gt;
 apparent state: unit 12 named /DATA/DE403/de403.unx&lt;br /&gt;
 last format: list io&lt;br /&gt;
 lately reading direct unformatted external IO&lt;br /&gt;
 Aborted&lt;br /&gt;
&lt;br /&gt;
== Second approach: f2c ==&lt;br /&gt;
Using f2c gives the same results as using f77. I hoped to get more insight from reading the C-code, but I did not. I had big success for the other IMCCE fortran programs with f2c, it helped me a lot in understanding and getting functional executables. But not this time.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The file ./data/Nsat-fd.dat exists, maybe the error refers to the file /DATA/DE403/de403.unx, which is indeed missing on my system. And I do not know from where to get it. At ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/DE403.BSP I found the file for Sparc architecture, for i386 it seems not to be available any more, but it could be created from DE403.BSP.&lt;br /&gt;
&lt;br /&gt;
But before doing further investigation I would like to ask a FORTRAN programmer about this software. My understanding is as follows, please correct me when I am wrong:&lt;br /&gt;
&lt;br /&gt;
1) The software is a numerical integrator for a physical model of the Nepunian system. For as a period as long as the planet positions are provided, the Neptunian satellites position can be computed by numerical integration. Especially dates outside the interval 1800-2050 are no problem, when the DE403 planet positions are replaced by VSOP87 or similar.&lt;br /&gt;
&lt;br /&gt;
2) Therefore it is possible to produce a large table of each satellites position and velocity for a long period, lets say 1500-2500. In fact this is the main goal. When I have this table, I will try frequency analysis techniques in order to create poisson series or similar, that can be included into stellarium.&lt;br /&gt;
&lt;br /&gt;
My problem is that I can speak neigther french nor FORTRAN, so I really do not know what is going on in this software, and I would really appreciate your help. You can contact be by:&lt;br /&gt;
&lt;br /&gt;
- email: johannes (dot) gajdosik (at) gmx (dot) at&lt;br /&gt;
&lt;br /&gt;
- posting into the forum&lt;br /&gt;
&lt;br /&gt;
- writing something in this wiki page&lt;br /&gt;
&lt;br /&gt;
If you do not mind I would prefer to be contacted by email, please write the words&lt;br /&gt;
&amp;quot;stellarium&amp;quot; and &amp;quot;fortran&amp;quot; into the subject line.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
[[User:Johannes|Johannes]] 14:38, 1 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Hi! I'm a french programmer, but unfortunately not a fortran programmer, and I'd like to help if I can . I've started to read fortran tutorial and I plan to test lf95 trial as fortran compiler since it's the one used in the linux Config.mk provided in neptuno package but I don't have much free time these days. I'll let know if I succeed in any way, let me know if you have questions.&lt;br /&gt;
Blakbear.&lt;br /&gt;
&lt;br /&gt;
Hello Blackbear,&lt;br /&gt;
thank you very much for offering help! I first did not see your writing into the wiki, because the &amp;quot;watch&amp;quot; function seems not to work for me. If you get any insight into the code,&lt;br /&gt;
or if you can give any answers to 1) or 2) please send me an email, this will be the easiest way of communication.&lt;br /&gt;
Johannes&lt;br /&gt;
&lt;br /&gt;
Hi, Johannes. I could build &amp;quot;ilgs3_d&amp;quot; by g77 and execute without error. But I could not investigate that result is correct or is not correct. Shall I report my procedure?(in this page? or e-mail?) I write a part of output(little formatted), instead answer your questions.&lt;br /&gt;
        (  1)  Date: 0.2378496500000000E+07&lt;br /&gt;
        Nombre maximum d&amp;quot;enregistrements = 22829&lt;br /&gt;
        Intervalle cherché =                  1&lt;br /&gt;
        Temps initial d&amp;quot;intégration =  0.2378496500000000E+07&lt;br /&gt;
        Intervalle d&amp;quot;intégration =     0.0000000000000000E+00&lt;br /&gt;
        Pas d&amp;quot;intégration =            0.0000000000000000E+00&lt;br /&gt;
        Temps final d&amp;quot;intégration =    0.2378496500000000E+07&lt;br /&gt;
        ___________________________________________________&lt;br /&gt;
        Résultats&lt;br /&gt;
        ----------&lt;br /&gt;
                      Triton&lt;br /&gt;
        (  1)  Date: 0.2378496500000000E+07&lt;br /&gt;
        v0(1,1,0) =-0.2019388268736855E-04&lt;br /&gt;
        v0(2,1,0) = 0.1722904160856275E-02&lt;br /&gt;
        v0(3,1,0) = 0.1629414715885055E-02&lt;br /&gt;
        v0(1,1,1) = 0.2533936570868142E-02&lt;br /&gt;
        v0(2,1,1) =-0.4058902541155617E-04&lt;br /&gt;
        v0(3,1,1) = 0.7430677191550270E-04&lt;br /&gt;
By the way, when create de403.unx, why did not you convert from unxpXXXX.403 or ascpXXXX.403?--[[User:Sigma|Sigma]] 06:10, 9 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Same here, I've succeeded in compiling ilgs3_d with lf95 but I can't get a result yet, so Sigma seems more advanced. So far I can't validate my email so I can't use it for the time being, but feel free to ask if you need french to english translation. &lt;br /&gt;
Blakbear.&lt;br /&gt;
&lt;br /&gt;
:I uploaded diff files: [http://www.h5.dion.ne.jp/~sigma/stellarium/neptune/ins3_d.f.diff for ins3_d.f],[http://www.h5.dion.ne.jp/~sigma/stellarium/neptune/ins8_d.f.diff for ins8_d.f],[http://www.h5.dion.ne.jp/~sigma/stellarium/neptune/isat8_d.f.diff for isat8_d.f]. Sorry, I could not upload de403.unx, because it was big size for my space(about 9MB gziped). And ilgs8_d did not execute. Probably, there may be a hint for 8 satellites code in LISETMOI and README. Please check them. I'm weak in English, additionaly can not read French. orz--[[User:Sigma|Sigma]] 20:41, 10 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Hi! I've succeeded in compiling and running both ilgs3_d and ilgs8_d, getting some results and some problems when testing with later dates but at least it works for initial date it seems.&amp;lt;br /&amp;gt; &lt;br /&gt;
All the modifications I've done for ilgs8_d to work have already been pointed out by Johannes : bad formatting with ' where there shouldn't be and bad location, missing the . to access current dir. I've used unxp1950.403 found on jpl ftp ftp://ssd.jpl.nasa.gov/pub/eph/export/unix/ renamed in de403.unx.&amp;lt;br /&amp;gt;&lt;br /&gt;
I'm going to make an archive with all the files I've used and make it available tonight, so anyone will be able to test it.&lt;br /&gt;
&lt;br /&gt;
--[[User:Blakbear|Blakbear]] 13:56, 11 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
== Results ==&lt;br /&gt;
Thank you all so much for your help! In addition to the information in the wiki I got also emails describing how to create de403.unx. Indeed you had more success then I running the program. Now remains only the problem of creating ephemeris data over a reasonably long timespan, lets say 1500-2500. The file Nsat-fd.dat provides initial values not for this whole period, but I doubt that this is needed. Instead isat_d and ilgs_d should contain a numerical model and an integrator suitable for creating data for an arbitrary period, provided there are the planet positions. This leads to the question:&lt;br /&gt;
&lt;br /&gt;
Can anybody of you understand the contents of isat_d.f and ilgs_d.f? where is the integrator, where is the numerical model, and from where are the planet positions needed for planetary perturbation? This is the part, where French language skills might be helpful. For I cannot understand the comments, function and variable names, for me these are just meaningless accumulations of letters.&lt;br /&gt;
&lt;br /&gt;
Thanks again,&lt;br /&gt;
--[[User:Johannes|Johannes]] 09:44, 14 May 2007 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Help_with_Fortran90</id>
		<title>Help with Fortran90</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Help_with_Fortran90"/>
				<updated>2007-05-08T22:31:11Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Summary */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to conversation and mutual help on creating Neptunian satellite ephemeris using&lt;br /&gt;
Le Guyader's and Jerome Berthier's ftp://ftp.imcce.fr/pub/ephem/satel/neptuno/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First approach: f77 ==&lt;br /&gt;
In Config.mk replace FC = xlf with FC = f77 and type 'make'. You will see lots of errors like&lt;br /&gt;
&lt;br /&gt;
 isat_d.f: In subroutine `isatd':&lt;br /&gt;
 isat_d.f:1353: &lt;br /&gt;
    210     format(8x,' Dernier pas:',d23.16)'&lt;br /&gt;
                                            ^&lt;br /&gt;
 Invalid form for FORMAT statement at (^)&lt;br /&gt;
&lt;br /&gt;
In my opinion the reason is that the code is not FORTRAN77 conform. I tried to overcome this problem by fixing the source code, there is an awful lot of wrong format statements. For finding the input files I changed in fs2fd.f:&lt;br /&gt;
&lt;br /&gt;
 infile  = trim(dir_s)//trim(fil_s)&lt;br /&gt;
 outfile = trim(dir_d)//trim(fil_d)&lt;br /&gt;
&lt;br /&gt;
into&lt;br /&gt;
&lt;br /&gt;
 infile  = './data/Nsat-fs.dat'&lt;br /&gt;
 outfile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Same in ins_d.f:&lt;br /&gt;
&lt;br /&gt;
 theofile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Additionally in ins_d.f I had to move the passage&lt;br /&gt;
&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
after the COMMON block:&lt;br /&gt;
&lt;br /&gt;
 COMMON/STCOMX/KM,BARY,PVSUN&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
FORTRAN77 seem not to support variable size arrays, so in isat_d.f I had to replace&lt;br /&gt;
&lt;br /&gt;
 dimension tp(np),up(np),cp(3,np),aia(4)&lt;br /&gt;
&lt;br /&gt;
in line 183 with&lt;br /&gt;
&lt;br /&gt;
 dimension tp(100000),up(100000),cp(3,100000),aia(4)&lt;br /&gt;
&lt;br /&gt;
The same for lines 2455 and 2456. In line 2408 I removed the definition of w(3,np,0:nd).&lt;br /&gt;
After that the source compiled into an executable called 'ilgs_d', which is ought to be the double precision version. The quad precision version would be called 'ilgs_q'. Anyway, the executable failed with the following output:&lt;br /&gt;
&lt;br /&gt;
        ________________________________________&lt;br /&gt;
                                                &lt;br /&gt;
           Fichier ./data/Nsat-fd.dat              &lt;br /&gt;
        ________________________________________&lt;br /&gt;
 &lt;br /&gt;
 open: No such file or directory&lt;br /&gt;
 apparent state: unit 12 named /DATA/DE403/de403.unx&lt;br /&gt;
 last format: list io&lt;br /&gt;
 lately reading direct unformatted external IO&lt;br /&gt;
 Aborted&lt;br /&gt;
&lt;br /&gt;
== Second approach: f2c ==&lt;br /&gt;
Using f2c gives the same results as using f77. I hoped to get more insight from reading the C-code, but I did not. I had big success for the other IMCCE fortran programs with f2c, it helped me a lot in understanding and getting functional executables. But not this time.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The file ./data/Nsat-fd.dat exists, maybe the error refers to the file /DATA/DE403/de403.unx, which is indeed missing on my system. And I do not know from where to get it. At ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/DE403.BSP I found the file for Sparc architecture, for i386 it seems not to be available any more, but it could be created from DE403.BSP.&lt;br /&gt;
&lt;br /&gt;
But before doing further investigation I would like to ask a FORTRAN programmer about this software. My understanding is as follows, please correct me when I am wrong:&lt;br /&gt;
&lt;br /&gt;
1) The software is a numerical integrator for a physical model of the Nepunian system. For as a period as long as the planet positions are provided, the Neptunian satellites position can be computed by numerical integration. Especially dates outside the interval 1800-2050 are no problem, when the DE403 planet positions are replaced by VSOP87 or similar.&lt;br /&gt;
&lt;br /&gt;
2) Therefore it is possible to produce a large table of each satellites position and velocity for a long period, lets say 1500-2500. In fact this is the main goal. When I have this table, I will try frequency analysis techniques in order to create poisson series or similar, that can be included into stellarium.&lt;br /&gt;
&lt;br /&gt;
My problem is that I can speak neigther french nor FORTRAN, so I really do not know what is going on in this software, and I would really appreciate your help. You can contact be by:&lt;br /&gt;
&lt;br /&gt;
- email: johannes (dot) gajdosik (at) gmx (dot) at&lt;br /&gt;
&lt;br /&gt;
- posting into the forum&lt;br /&gt;
&lt;br /&gt;
- writing something in this wiki page&lt;br /&gt;
&lt;br /&gt;
If you do not mind I would prefer to be contacted by email, please write the words&lt;br /&gt;
&amp;quot;stellarium&amp;quot; and &amp;quot;fortran&amp;quot; into the subject line.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
[[User:Johannes|Johannes]] 14:38, 1 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Hi! I'm a french programmer, but unfortunately not a fortran programmer, and I'd like to help if I can . I've started to read fortran tutorial and I plan to test lf95 trial as fortran compiler since it's the one used in the linux Config.mk provided in neptuno package but I don't have much free time these days. I'll let know if I succeed in any way, let me know if you have questions.&lt;br /&gt;
Blakbear.&lt;br /&gt;
&lt;br /&gt;
Hello Blackbear,&lt;br /&gt;
thank you very much for offering help! I first did not see your writing into the wiki, because the &amp;quot;watch&amp;quot; function seems not to work for me. If you get any insight into the code,&lt;br /&gt;
or if you can give any answers to 1) or 2) please send me an email, this will be the easiest way of communication.&lt;br /&gt;
Johannes&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Help_with_Fortran90</id>
		<title>Help with Fortran90</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Help_with_Fortran90"/>
				<updated>2007-05-08T22:22:59Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Second approach: f2c */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to conversation and mutual help on creating Neptunian satellite ephemeris using&lt;br /&gt;
Le Guyader's and Jerome Berthier's ftp://ftp.imcce.fr/pub/ephem/satel/neptuno/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First approach: f77 ==&lt;br /&gt;
In Config.mk replace FC = xlf with FC = f77 and type 'make'. You will see lots of errors like&lt;br /&gt;
&lt;br /&gt;
 isat_d.f: In subroutine `isatd':&lt;br /&gt;
 isat_d.f:1353: &lt;br /&gt;
    210     format(8x,' Dernier pas:',d23.16)'&lt;br /&gt;
                                            ^&lt;br /&gt;
 Invalid form for FORMAT statement at (^)&lt;br /&gt;
&lt;br /&gt;
In my opinion the reason is that the code is not FORTRAN77 conform. I tried to overcome this problem by fixing the source code, there is an awful lot of wrong format statements. For finding the input files I changed in fs2fd.f:&lt;br /&gt;
&lt;br /&gt;
 infile  = trim(dir_s)//trim(fil_s)&lt;br /&gt;
 outfile = trim(dir_d)//trim(fil_d)&lt;br /&gt;
&lt;br /&gt;
into&lt;br /&gt;
&lt;br /&gt;
 infile  = './data/Nsat-fs.dat'&lt;br /&gt;
 outfile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Same in ins_d.f:&lt;br /&gt;
&lt;br /&gt;
 theofile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Additionally in ins_d.f I had to move the passage&lt;br /&gt;
&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
after the COMMON block:&lt;br /&gt;
&lt;br /&gt;
 COMMON/STCOMX/KM,BARY,PVSUN&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
FORTRAN77 seem not to support variable size arrays, so in isat_d.f I had to replace&lt;br /&gt;
&lt;br /&gt;
 dimension tp(np),up(np),cp(3,np),aia(4)&lt;br /&gt;
&lt;br /&gt;
in line 183 with&lt;br /&gt;
&lt;br /&gt;
 dimension tp(100000),up(100000),cp(3,100000),aia(4)&lt;br /&gt;
&lt;br /&gt;
The same for lines 2455 and 2456. In line 2408 I removed the definition of w(3,np,0:nd).&lt;br /&gt;
After that the source compiled into an executable called 'ilgs_d', which is ought to be the double precision version. The quad precision version would be called 'ilgs_q'. Anyway, the executable failed with the following output:&lt;br /&gt;
&lt;br /&gt;
        ________________________________________&lt;br /&gt;
                                                &lt;br /&gt;
           Fichier ./data/Nsat-fd.dat              &lt;br /&gt;
        ________________________________________&lt;br /&gt;
 &lt;br /&gt;
 open: No such file or directory&lt;br /&gt;
 apparent state: unit 12 named /DATA/DE403/de403.unx&lt;br /&gt;
 last format: list io&lt;br /&gt;
 lately reading direct unformatted external IO&lt;br /&gt;
 Aborted&lt;br /&gt;
&lt;br /&gt;
== Second approach: f2c ==&lt;br /&gt;
Using f2c gives the same results as using f77. I hoped to get more insight from reading the C-code, but I did not. I had big success for the other IMCCE fortran programs with f2c, it helped me a lot in understanding and getting functional executables. But not this time.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The file ./data/Nsat-fd.dat exists, maybe the error refers to the file /DATA/DE403/de403.unx, which is indeed missing on my system. And I do not know from where to get it. At ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/DE403.BSP I found the file for Sparc architecture, for i386 it seems not to be available any more, but it could be created from DE403.BSP.&lt;br /&gt;
&lt;br /&gt;
But before doing further investigation I would like to ask a FORTRAN programmer about this software. My understanding is as follows, please correct me when I am wrong:&lt;br /&gt;
&lt;br /&gt;
1) The software is a numerical integrator for a physical model of the Nepunian system. For as a period as long as the planet positions are provided, the Neptunian satellites position can be computed by numerical integration. Especially dates outside the interval 1800-2050 are no problem, when the DE403 planet positions are replaced by VSOP87 or similar.&lt;br /&gt;
&lt;br /&gt;
2) Therefore it is possible to produce a large table of each satellites position and velocity for a long period, lets say 1500-2500. In fact this is the main goal. When I have this table, I will try frequency analysis techniques in order to create poisson series or similar, that can be included into stellarium.&lt;br /&gt;
&lt;br /&gt;
My problem is that I can speak neigther french nor FORTRAN, so I really do not know what is going on in this software, and I would really appreciate your help. You can contact be by:&lt;br /&gt;
&lt;br /&gt;
- email&lt;br /&gt;
&lt;br /&gt;
- posting into the forum&lt;br /&gt;
&lt;br /&gt;
- writing something in this wiki page&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
[[User:Johannes|Johannes]] 14:38, 1 May 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
Hi! I'm a french programmer, but unfortunately not a fortran programmer, and I'd like to help if I can . I've started to read fortran tutorial and I plan to test lf95 trial as fortran compiler since it's the one used in the linux Config.mk provided in neptuno package but I don't have much free time these days. I'll let know if I succeed in any way, let me know if you have questions.&lt;br /&gt;
Blakbear.&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Main_Page"/>
				<updated>2007-05-01T21:55:51Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==Welcome==&lt;br /&gt;
Welcome to the Stellarium wiki, a knowledge website about Stellarium, the free planetarium for your computer.  The wiki allows Stellarium users to collectively build the knowledge base about Stellarium, so if you have something to add, register and edit the page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width:29%; margin-right:25px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385;&amp;quot;&amp;gt;Getting started&amp;lt;/h2&amp;gt;&lt;br /&gt;
* [[Stellarium:About|What is Stellarium?]]&lt;br /&gt;
* [[Complete feature list]]&lt;br /&gt;
* [[Download|Where to download Stellarium]]&lt;br /&gt;
* [[Installation guide]]&lt;br /&gt;
* [[Quickstart guide]]&lt;br /&gt;
* [[Keyboard actions]]&lt;br /&gt;
* [[FAQ|Frequently Asked Questions]]&lt;br /&gt;
===User's Guide===&lt;br /&gt;
* [http://prdownloads.sourceforge.net/stellarium/stellarium_user_guide-0.8.1-1.pdf?download Download User's Guide PDF]&lt;br /&gt;
* [http://www.porpoisehead.net/mysw/stellarium_user_guide_html-0.8.1-1/ Online version]&lt;br /&gt;
* [[:Category:User's_Guide|wiki page about the guide]]&lt;br /&gt;
* [[User guide contributions|Making user guide contributions]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Extras&amp;lt;/h2&amp;gt;&lt;br /&gt;
===extra files for Stellarium===&lt;br /&gt;
* [[Landscapes]]&lt;br /&gt;
* [[Nebula images]]&lt;br /&gt;
* [[Scripts]]&lt;br /&gt;
* [[Sky cultures]]: See how people across the world look at the heavens above.&lt;br /&gt;
===education===&lt;br /&gt;
* [[Education|Education Resources]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width:29%; margin-right:25px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Help us&amp;lt;/h2&amp;gt;&lt;br /&gt;
===ongoing efforts===&lt;br /&gt;
* [[Translation using gettext|Translate Stellarium in your language]]&lt;br /&gt;
* [[Homepage translation|Translate the homepage in your language]]&lt;br /&gt;
* [[Help:Contents|Tips for editing the wiki]]&lt;br /&gt;
===specific things you can do===&lt;br /&gt;
* here will be a list of specific tasks&lt;br /&gt;
* [[Help:Fortran90|Compiling FORTRAN90 Neptunian satellite ephemeris]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width:29%; margin-right:0px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Advanced topics&amp;lt;/h2&amp;gt;&lt;br /&gt;
===Projection===&lt;br /&gt;
* [[Setting up your own dome using Stellarium's spheric mirror distortion feature|Dome projection with a spheric mirror]]&lt;br /&gt;
===Telescope Control===&lt;br /&gt;
* [[Telescope Control|Control your telescope]]&lt;br /&gt;
* [[Telescope Compatibility|Telescope control compatibility]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Developers&amp;lt;/h2&amp;gt;&lt;br /&gt;
===compiling===&lt;br /&gt;
* [[Svn checkout|Checking out a Subversion development version]] (the old CVS page is [[Cvs checkout|here]] for historical purposes).&lt;br /&gt;
* [[Compilation on Linux]]&lt;br /&gt;
* [[Windows Build Instructions]]&lt;br /&gt;
* [[Building universal Stellarium 0.8.1 on an Intel Mac]]&lt;br /&gt;
===coding===&lt;br /&gt;
* [[Coding Standard]]&lt;br /&gt;
* [[Stellarium Code Architecture]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=0 cellspacing=1&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|style=&amp;quot;border: none;padding-left:1em;padding-right:0.5em; background-color:#2b2a30;&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==The Stellarium wiki in other languages==&lt;br /&gt;
''&amp;lt;small&amp;gt;[[Template:MetaHomePages|Edit this list:]]&amp;lt;/small&amp;gt;'' &amp;lt;small&amp;gt;{{MetaHomePages}}&amp;lt;/small&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Main_Page"/>
				<updated>2007-05-01T21:55:16Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==Welcome==&lt;br /&gt;
Welcome to the Stellarium wiki, a knowledge website about Stellarium, the free planetarium for your computer.  The wiki allows Stellarium users to collectively build the knowledge base about Stellarium, so if you have something to add, register and edit the page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width:29%; margin-right:25px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385;&amp;quot;&amp;gt;Getting started&amp;lt;/h2&amp;gt;&lt;br /&gt;
* [[Stellarium:About|What is Stellarium?]]&lt;br /&gt;
* [[Complete feature list]]&lt;br /&gt;
* [[Download|Where to download Stellarium]]&lt;br /&gt;
* [[Installation guide]]&lt;br /&gt;
* [[Quickstart guide]]&lt;br /&gt;
* [[Keyboard actions]]&lt;br /&gt;
* [[FAQ|Frequently Asked Questions]]&lt;br /&gt;
===User's Guide===&lt;br /&gt;
* [http://prdownloads.sourceforge.net/stellarium/stellarium_user_guide-0.8.1-1.pdf?download Download User's Guide PDF]&lt;br /&gt;
* [http://www.porpoisehead.net/mysw/stellarium_user_guide_html-0.8.1-1/ Online version]&lt;br /&gt;
* [[:Category:User's_Guide|wiki page about the guide]]&lt;br /&gt;
* [[User guide contributions|Making user guide contributions]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Extras&amp;lt;/h2&amp;gt;&lt;br /&gt;
===extra files for Stellarium===&lt;br /&gt;
* [[Landscapes]]&lt;br /&gt;
* [[Nebula images]]&lt;br /&gt;
* [[Scripts]]&lt;br /&gt;
* [[Sky cultures]]: See how people across the world look at the heavens above.&lt;br /&gt;
===education===&lt;br /&gt;
* [[Education|Education Resources]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width:29%; margin-right:25px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Help us&amp;lt;/h2&amp;gt;&lt;br /&gt;
===ongoing efforts===&lt;br /&gt;
* [[Translation using gettext|Translate Stellarium in your language]]&lt;br /&gt;
* [[Homepage translation|Translate the homepage in your language]]&lt;br /&gt;
* [[Help:Contents|Tips for editing the wiki]]&lt;br /&gt;
===specific things you can do===&lt;br /&gt;
* here will be a list of specific tasks&lt;br /&gt;
* [[Help:Fortran90|Comiling FORTRAN90 Neptunian satellite ephemeris]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width:29%; margin-right:0px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Advanced topics&amp;lt;/h2&amp;gt;&lt;br /&gt;
===Projection===&lt;br /&gt;
* [[Setting up your own dome using Stellarium's spheric mirror distortion feature|Dome projection with a spheric mirror]]&lt;br /&gt;
===Telescope Control===&lt;br /&gt;
* [[Telescope Control|Control your telescope]]&lt;br /&gt;
* [[Telescope Compatibility|Telescope control compatibility]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Developers&amp;lt;/h2&amp;gt;&lt;br /&gt;
===compiling===&lt;br /&gt;
* [[Svn checkout|Checking out a Subversion development version]] (the old CVS page is [[Cvs checkout|here]] for historical purposes).&lt;br /&gt;
* [[Compilation on Linux]]&lt;br /&gt;
* [[Windows Build Instructions]]&lt;br /&gt;
* [[Building universal Stellarium 0.8.1 on an Intel Mac]]&lt;br /&gt;
===coding===&lt;br /&gt;
* [[Coding Standard]]&lt;br /&gt;
* [[Stellarium Code Architecture]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=0 cellspacing=1&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|style=&amp;quot;border: none;padding-left:1em;padding-right:0.5em; background-color:#2b2a30;&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==The Stellarium wiki in other languages==&lt;br /&gt;
''&amp;lt;small&amp;gt;[[Template:MetaHomePages|Edit this list:]]&amp;lt;/small&amp;gt;'' &amp;lt;small&amp;gt;{{MetaHomePages}}&amp;lt;/small&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Help_with_Fortran90</id>
		<title>Help with Fortran90</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Help_with_Fortran90"/>
				<updated>2007-05-01T21:46:11Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to conversation and mutual help on creating Neptunian satellite ephemeris using&lt;br /&gt;
Le Guyader's and Jerome Berthier's ftp://ftp.imcce.fr/pub/ephem/satel/neptuno/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First approach: f77 ==&lt;br /&gt;
In Config.mk replace FC = xlf with FC = f77 and type 'make'. You will see lots of errors like&lt;br /&gt;
&lt;br /&gt;
 isat_d.f: In subroutine `isatd':&lt;br /&gt;
 isat_d.f:1353: &lt;br /&gt;
    210     format(8x,' Dernier pas:',d23.16)'&lt;br /&gt;
                                            ^&lt;br /&gt;
 Invalid form for FORMAT statement at (^)&lt;br /&gt;
&lt;br /&gt;
In my opinion the reason is that the code is not FORTRAN77 conform. I tried to overcome this problem by fixing the source code, there is an awful lot of wrong format statements. For finding the input files I changed in fs2fd.f:&lt;br /&gt;
&lt;br /&gt;
 infile  = trim(dir_s)//trim(fil_s)&lt;br /&gt;
 outfile = trim(dir_d)//trim(fil_d)&lt;br /&gt;
&lt;br /&gt;
into&lt;br /&gt;
&lt;br /&gt;
 infile  = './data/Nsat-fs.dat'&lt;br /&gt;
 outfile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Same in ins_d.f:&lt;br /&gt;
&lt;br /&gt;
 theofile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Additionally in ins_d.f I had to move the passage&lt;br /&gt;
&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
after the COMMON block:&lt;br /&gt;
&lt;br /&gt;
 COMMON/STCOMX/KM,BARY,PVSUN&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
FORTRAN77 seem not to support variable size arrays, so in isat_d.f I had to replace&lt;br /&gt;
&lt;br /&gt;
 dimension tp(np),up(np),cp(3,np),aia(4)&lt;br /&gt;
&lt;br /&gt;
in line 183 with&lt;br /&gt;
&lt;br /&gt;
 dimension tp(100000),up(100000),cp(3,100000),aia(4)&lt;br /&gt;
&lt;br /&gt;
The same for lines 2455 and 2456. In line 2408 I removed the definition of w(3,np,0:nd).&lt;br /&gt;
After that the source compiled into an executable called 'ilgs_d', which is ought to be the double precision version. The quad precision version would be called 'ilgs_q'. Anyway, the executable failed with the following output:&lt;br /&gt;
&lt;br /&gt;
        ________________________________________&lt;br /&gt;
                                                &lt;br /&gt;
           Fichier ./data/Nsat-fd.dat              &lt;br /&gt;
        ________________________________________&lt;br /&gt;
 &lt;br /&gt;
 open: No such file or directory&lt;br /&gt;
 apparent state: unit 12 named /DATA/DE403/de403.unx&lt;br /&gt;
 last format: list io&lt;br /&gt;
 lately reading direct unformatted external IO&lt;br /&gt;
 Aborted&lt;br /&gt;
&lt;br /&gt;
== Second approach: f2c ==&lt;br /&gt;
Using f2c gives the same results as using f77. I hoped to get more insight from reading the C-code, but I did not. I had big success for the other IMCCE fortran programs with i2c, it helped me a lot in understanding and getting functional executables. But not this time.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The file ./data/Nsat-fd.dat exists, maybe the error refers to the file /DATA/DE403/de403.unx, which is indeed missing on my system. And I do not know from where to get it. At ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/DE403.BSP I found the file for Sparc architecture, for i386 it seems not to be available any more, but it could be created from DE403.BSP.&lt;br /&gt;
&lt;br /&gt;
But before doing further investigation I would like to ask a FORTRAN programmer about this software. My understanding is as follows, please correct me when I am wrong:&lt;br /&gt;
&lt;br /&gt;
1) The software is a numerical integrator for a physical model of the Nepunian system. For as a period as long as the planet positions are provided, the Neptunian satellites position can be computed by numerical integration. Especially dates outside the interval 1800-2050 are no problem, when the DE403 planet positions are replaced by VSOP87 or similar.&lt;br /&gt;
&lt;br /&gt;
2) Therefore it is possible to produce a large table of each satellites position and velocity for a long period, lets say 1500-2500. In fact this is the main goal. When I have this table, I will try frequency analysis techniques in order to create poisson series or similar, that can be included into stellarium.&lt;br /&gt;
&lt;br /&gt;
My problem is that I can speak neigther french nor FORTRAN, so I really do not know what is going on in this software, and I would really appreciate your help. You can contact be by:&lt;br /&gt;
&lt;br /&gt;
- email&lt;br /&gt;
&lt;br /&gt;
- posting into the forum&lt;br /&gt;
&lt;br /&gt;
- writing something in this wiki page&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
[[User:Johannes|Johannes]] 14:38, 1 May 2007 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Help_with_Fortran90</id>
		<title>Help with Fortran90</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Help_with_Fortran90"/>
				<updated>2007-05-01T21:40:37Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to conversation and mutual help on creating Neptunian satellite ephemeris using&lt;br /&gt;
Le Guyader's and Jerome Berthier's ftp://ftp.imcce.fr/pub/ephem/satel/neptuno/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First approach: f77 ==&lt;br /&gt;
In Config.mk replace FC = xlf with FC = f77 and type 'make'. You will see lots of errors like&lt;br /&gt;
&lt;br /&gt;
 isat_d.f: In subroutine `isatd':&lt;br /&gt;
 isat_d.f:1353: &lt;br /&gt;
    210     format(8x,' Dernier pas:',d23.16)'&lt;br /&gt;
                                            ^&lt;br /&gt;
 Invalid form for FORMAT statement at (^)&lt;br /&gt;
&lt;br /&gt;
In my opinion the reason is that the code is not FORTRAN77 conform. I tried to overcome this problem by fixing the source code, there is an awful lot of wrong format statements. For finding the input files I changed in fs2fd.f:&lt;br /&gt;
&lt;br /&gt;
 infile  = trim(dir_s)//trim(fil_s)&lt;br /&gt;
 outfile = trim(dir_d)//trim(fil_d)&lt;br /&gt;
&lt;br /&gt;
into&lt;br /&gt;
&lt;br /&gt;
 infile  = './data/Nsat-fs.dat'&lt;br /&gt;
 outfile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Same in ins_d.f:&lt;br /&gt;
&lt;br /&gt;
 theofile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Additionally in ins_d.f I had to move the passage&lt;br /&gt;
&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
after the COMMON block:&lt;br /&gt;
&lt;br /&gt;
 COMMON/STCOMX/KM,BARY,PVSUN&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
FORTRAN77 seem not to support variable size arrays, so in isat_d.f I had to replace&lt;br /&gt;
&lt;br /&gt;
 dimension tp(np),up(np),cp(3,np),aia(4)&lt;br /&gt;
&lt;br /&gt;
in line 183 with&lt;br /&gt;
&lt;br /&gt;
 dimension tp(100000),up(100000),cp(3,100000),aia(4)&lt;br /&gt;
&lt;br /&gt;
The same for lines 2455 and 2456. In line I removed the definition of w(3,np,0:nd).&lt;br /&gt;
After that the source compiled into an executable called 'ilgs_d', which is ought to be the double precision version. The quad precision version would be called 'ilgs_q'. Anyway, the executable failed with the following output:&lt;br /&gt;
&lt;br /&gt;
        ________________________________________&lt;br /&gt;
                                                &lt;br /&gt;
           Fichier ./data/Nsat-fd.dat              &lt;br /&gt;
        ________________________________________&lt;br /&gt;
 &lt;br /&gt;
 open: No such file or directory&lt;br /&gt;
 apparent state: unit 12 named /DATA/DE403/de403.unx&lt;br /&gt;
 last format: list io&lt;br /&gt;
 lately reading direct unformatted external IO&lt;br /&gt;
 Aborted&lt;br /&gt;
&lt;br /&gt;
== Second approach: f2c ==&lt;br /&gt;
Using f2c gives the same results as using f77. I hoped to get more insight from reading the C-code, but I did not.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The file ./data/Nsat-fd.dat exists, maybe the error refers to the file /DATA/DE403/de403.unx, which is indeed missing on my system. And I do not know from where to get it. At ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/DE403.BSP I found the file for Sparc architecture, for i386 it seems not to be available any more, but it could be created from DE403.BSP.&lt;br /&gt;
&lt;br /&gt;
But before doing further investigation I would like to ask a FORTRAN programmer about this software. My understanding is as follows, please correct me when I am wrong:&lt;br /&gt;
&lt;br /&gt;
1) The software is a numerical integrator for a physical model of the Nepunian system. For as a period as long as the planet positions are provided, the Neptunian satellites position can be computed by numerical integration. Especially dates outside the interval 1800-2050 are no problem, when the DE403 planet positions are replaced by VSOP87 or similar.&lt;br /&gt;
&lt;br /&gt;
2) Therefore it is possible to produce a large table of each satellites position and velocity for a long period, lets say 1500-2500. In fact this is the main goal. When I have this table, I will try frequency analysis techniques in order to create poisson series or similar, that can be included into stellarium.&lt;br /&gt;
&lt;br /&gt;
My problem is that I can speak neigther french nor FORTRAN, so I really do not know what is going on in this software, and I would really appreciate your help. You can contact be by:&lt;br /&gt;
&lt;br /&gt;
- email&lt;br /&gt;
&lt;br /&gt;
- posting into the forum&lt;br /&gt;
&lt;br /&gt;
- writing something in this wiki page&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
[[User:Johannes|Johannes]] 14:38, 1 May 2007 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Help_with_Fortran90</id>
		<title>Help with Fortran90</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Help_with_Fortran90"/>
				<updated>2007-05-01T21:38:15Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to conversation and mutual help on creating Neptunian satellite ephemeris using&lt;br /&gt;
Le Guyader's and Jerome Berthier's ftp://ftp.imcce.fr/pub/ephem/satel/neptuno/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First approach: f77 ==&lt;br /&gt;
In Config.mk replace FC = xlf with FC = f77 and type 'make'. You will see lots of errors like&lt;br /&gt;
&lt;br /&gt;
 isat_d.f: In subroutine `isatd':&lt;br /&gt;
 isat_d.f:1353: &lt;br /&gt;
    210     format(8x,' Dernier pas:',d23.16)'&lt;br /&gt;
                                            ^&lt;br /&gt;
 Invalid form for FORMAT statement at (^)&lt;br /&gt;
&lt;br /&gt;
In my opinion the reason is that the code is not FORTRAN77 conform. I tried to overcome this problem by fixing the source code, there is an awful lot of wrong format statements. For finding the input files I changed in fs2fd.f:&lt;br /&gt;
&lt;br /&gt;
 infile  = trim(dir_s)//trim(fil_s)&lt;br /&gt;
 outfile = trim(dir_d)//trim(fil_d)&lt;br /&gt;
&lt;br /&gt;
into&lt;br /&gt;
&lt;br /&gt;
 infile  = './data/Nsat-fs.dat'&lt;br /&gt;
 outfile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Same in ins_d.f:&lt;br /&gt;
&lt;br /&gt;
 theofile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Additionally in ins_d.f I had to move the passage&lt;br /&gt;
&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
after the COMMON block:&lt;br /&gt;
&lt;br /&gt;
 COMMON/STCOMX/KM,BARY,PVSUN&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
FORTRAN77 seem not to support variable size arrays, so in isat_d.f I had to replace&lt;br /&gt;
&lt;br /&gt;
 dimension tp(np),up(np),cp(3,np),aia(4)&lt;br /&gt;
&lt;br /&gt;
in line 183 with&lt;br /&gt;
&lt;br /&gt;
 dimension tp(100000),up(100000),cp(3,100000),aia(4)&lt;br /&gt;
&lt;br /&gt;
The same for lines 2455 and 2456. In line I removed the definition of w(3,np,0:nd).&lt;br /&gt;
After that the source compiled into an executable called 'ilgs_d', which is ought to be the double precision version. The quad precision version would be called 'ilgs_q'. Anyway, the executable failed with the following output:&lt;br /&gt;
&lt;br /&gt;
        ________________________________________&lt;br /&gt;
                                                &lt;br /&gt;
           Fichier ./data/Nsat-fd.dat              &lt;br /&gt;
        ________________________________________&lt;br /&gt;
 &lt;br /&gt;
 open: No such file or directory&lt;br /&gt;
 apparent state: unit 12 named /DATA/DE403/de403.unx&lt;br /&gt;
 last format: list io&lt;br /&gt;
 lately reading direct unformatted external IO&lt;br /&gt;
 Aborted&lt;br /&gt;
&lt;br /&gt;
== Second approach: f2c ==&lt;br /&gt;
Using f2c gives the same results as using f77. I hoped to get more insight from reading the C-code, but I did not.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The file ./data/Nsat-fd.dat exists, maybe the error refers to the file /DATA/DE403/de403.unx, which is indeed missing on my system. And I do not know from where to get it. At ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/DE403.BSP I found the file for Sparc architecture, for i386 it seems not to be available any more, but it could be created from DE403.BSP.&lt;br /&gt;
&lt;br /&gt;
But before doing further investigation I would like to ask a FORTRAN programmer about this software. My understanding is as follows, please correct me when I am wrong:&lt;br /&gt;
&lt;br /&gt;
1) The software is a numerical integrator for the physical model of the Nepunian system. For as a period as long as the planet positions are provided, the Neptunian satellites position can be computed by numerical integration. Especially dates outside the interval 1800-2050 are no problem, when the DE403 planet positions are replaced by VSOP87 or similar.&lt;br /&gt;
&lt;br /&gt;
2) Therefore it is possible to produce a large table of each satellites position and velocities for a long period, lets say 1500-2500. In fact this is the main goal. When I have this table, I will try frequency analysis techniques in order to create poisson series or similar, that can be included into stellarium.&lt;br /&gt;
&lt;br /&gt;
My problem is that I can speak neigther french nor FORTRAN, so I really do not know what is going on in this software, and I would really appreciate your help. You can contact be by:&lt;br /&gt;
&lt;br /&gt;
- email&lt;br /&gt;
&lt;br /&gt;
- posting into the forum&lt;br /&gt;
&lt;br /&gt;
- writing something in this wiki page&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
[[User:Johannes|Johannes]] 14:38, 1 May 2007 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Help_with_Fortran90</id>
		<title>Help with Fortran90</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Help_with_Fortran90"/>
				<updated>2007-05-01T21:24:38Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: compiling FORTAN90 Neptunian satellite ephemeris&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is dedicated to conversation and mutual help on creating Neptunian satellite ephemeris using&lt;br /&gt;
Le Guyader's and Jerome Berthier's ftp://ftp.imcce.fr/pub/ephem/satel/neptuno/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== First approach: f77 ==&lt;br /&gt;
In Config.mk replace FC = xlf with FC = f77 and type 'make'. You will see lots of errors like&lt;br /&gt;
&lt;br /&gt;
 isat_d.f: In subroutine `isatd':&lt;br /&gt;
 isat_d.f:1353: &lt;br /&gt;
    210     format(8x,' Dernier pas:',d23.16)'&lt;br /&gt;
                                            ^&lt;br /&gt;
 Invalid form for FORMAT statement at (^)&lt;br /&gt;
&lt;br /&gt;
In my opinion the reason is that the code is not FORTRAN77 conform. I tried to overcome this problem by fixing the source code, there is an awful lot of wrong format statements. For finding the input files I changed in fs2fd.f:&lt;br /&gt;
&lt;br /&gt;
 infile  = trim(dir_s)//trim(fil_s)&lt;br /&gt;
 outfile = trim(dir_d)//trim(fil_d)&lt;br /&gt;
&lt;br /&gt;
into&lt;br /&gt;
&lt;br /&gt;
 infile  = './data/Nsat-fs.dat'&lt;br /&gt;
 outfile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Same in ins_d.f:&lt;br /&gt;
&lt;br /&gt;
 theofile = './data/Nsat-fd.dat'&lt;br /&gt;
&lt;br /&gt;
Additionally in ins_d.f I had to move the passage&lt;br /&gt;
&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
after the COMMON block:&lt;br /&gt;
&lt;br /&gt;
 COMMON/STCOMX/KM,BARY,PVSUN&lt;br /&gt;
 LOGICAL FIRST&lt;br /&gt;
 DATA FIRST/.TRUE./&lt;br /&gt;
&lt;br /&gt;
FORTRAN77 seem not to support variable size arrays, so in isat_d.f I had to replace&lt;br /&gt;
&lt;br /&gt;
 dimension tp(np),up(np),cp(3,np),aia(4)&lt;br /&gt;
&lt;br /&gt;
in line 183 with&lt;br /&gt;
&lt;br /&gt;
 dimension tp(100000),up(100000),cp(3,100000),aia(4)&lt;br /&gt;
&lt;br /&gt;
The same for lines 2455 and 2456. In line I removed the definition of w(3,np,0:nd).&lt;br /&gt;
After that the source compiled into an executable called 'ilgs_d', which is ought to be the double precision version. The quad precision version would be called 'ilgs_q'. Anyway, the executable failed with the following output:&lt;br /&gt;
&lt;br /&gt;
        ________________________________________&lt;br /&gt;
                                                &lt;br /&gt;
           Fichier ./data/Nsat-fd.dat              &lt;br /&gt;
        ________________________________________&lt;br /&gt;
 &lt;br /&gt;
 open: No such file or directory&lt;br /&gt;
 apparent state: unit 12 named /DATA/DE403/de403.unx&lt;br /&gt;
 last format: list io&lt;br /&gt;
 lately reading direct unformatted external IO&lt;br /&gt;
 Aborted&lt;br /&gt;
&lt;br /&gt;
== Second approach: f2c ==&lt;br /&gt;
Using f2c gives the same results as using f77. I hoped to get more insight from reading the C-code, but I did not.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
The file ./data/Nsat-fd.dat exists, maybe the error refers to the file /DATA/DE403/de403.unx, which is indeed missing on my system, And I do not know from where to get it. At ftp://ssd.jpl.nasa.gov/pub/eph/planets/bsp/DE403.BSP I found the file for Sparc architecture, for i386 it seems not to be available any more, but it could be created from DE403.BSP.&lt;br /&gt;
&lt;br /&gt;
But before doing further investigation I would like to ask a FORTRAN programmer about&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Main_Page</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Main_Page"/>
				<updated>2007-05-01T20:25:38Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: FORTRAN90 help&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
==Welcome==&lt;br /&gt;
Welcome to the Stellarium wiki, a knowledge website about Stellarium, the free planetarium for your computer.  The wiki allows Stellarium users to collectively build the knowledge base about Stellarium, so if you have something to add, register and edit the page.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width:29%; margin-right:25px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385;&amp;quot;&amp;gt;Getting started&amp;lt;/h2&amp;gt;&lt;br /&gt;
* [[Stellarium:About|What is Stellarium?]]&lt;br /&gt;
* [[Complete feature list]]&lt;br /&gt;
* [[Download|Where to download Stellarium]]&lt;br /&gt;
* [[Installation guide]]&lt;br /&gt;
* [[Quickstart guide]]&lt;br /&gt;
* [[Keyboard actions]]&lt;br /&gt;
* [[FAQ|Frequently Asked Questions]]&lt;br /&gt;
===User's Guide===&lt;br /&gt;
* [http://prdownloads.sourceforge.net/stellarium/stellarium_user_guide-0.8.1-1.pdf?download Download User's Guide PDF]&lt;br /&gt;
* [http://www.porpoisehead.net/mysw/stellarium_user_guide_html-0.8.1-1/ Online version]&lt;br /&gt;
* [[:Category:User's_Guide|wiki page about the guide]]&lt;br /&gt;
* [[User guide contributions|Making user guide contributions]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Extras&amp;lt;/h2&amp;gt;&lt;br /&gt;
===extra files for Stellarium===&lt;br /&gt;
* [[Landscapes]]&lt;br /&gt;
* [[Nebula images]]&lt;br /&gt;
* [[Scripts]]&lt;br /&gt;
* [[Sky cultures]]: See how people across the world look at the heavens above.&lt;br /&gt;
===education===&lt;br /&gt;
* [[Education|Education Resources]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width:29%; margin-right:25px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Help us&amp;lt;/h2&amp;gt;&lt;br /&gt;
===ongoing efforts===&lt;br /&gt;
* [[Translation using gettext|Translate Stellarium in your language]]&lt;br /&gt;
* [[Homepage translation|Translate the homepage in your language]]&lt;br /&gt;
* [[Help:Contents|Tips for editing the wiki]]&lt;br /&gt;
===specific things you can do===&lt;br /&gt;
* here will be a list of specific tasks&lt;br /&gt;
* [[Help:Fortran90|Comiling FORTRAN90 Neptunial satellite ephemeris]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;float:left; width:29%; margin-right:0px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Advanced topics&amp;lt;/h2&amp;gt;&lt;br /&gt;
===Projection===&lt;br /&gt;
* [[Setting up your own dome using Stellarium's spheric mirror distortion feature|Dome projection with a spheric mirror]]&lt;br /&gt;
===Telescope Control===&lt;br /&gt;
* [[Telescope Control|Control your telescope]]&lt;br /&gt;
* [[Telescope Compatibility|Telescope control compatibility]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-bottom:25px; background-color:#3d4045; padding:7px; border:solid 1px #847f93;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;h2 style=&amp;quot;color:#f4d385&amp;quot;&amp;gt;Developers&amp;lt;/h2&amp;gt;&lt;br /&gt;
===compiling===&lt;br /&gt;
* [[Svn checkout|Checking out a Subversion development version]] (the old CVS page is [[Cvs checkout|here]] for historical purposes).&lt;br /&gt;
* [[Compilation on Linux]]&lt;br /&gt;
* [[Windows Build Instructions]]&lt;br /&gt;
* [[Building universal Stellarium 0.8.1 on an Intel Mac]]&lt;br /&gt;
===coding===&lt;br /&gt;
* [[Coding Standard]]&lt;br /&gt;
* [[Stellarium Code Architecture]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| cellpadding=0 cellspacing=1&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|style=&amp;quot;border: none;padding-left:1em;padding-right:0.5em; background-color:#2b2a30;&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==The Stellarium wiki in other languages==&lt;br /&gt;
''&amp;lt;small&amp;gt;[[Template:MetaHomePages|Edit this list:]]&amp;lt;/small&amp;gt;'' &amp;lt;small&amp;gt;{{MetaHomePages}}&amp;lt;/small&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-03-22T22:29:39Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke was so nice to set up an own page describing in great detail how to setup stellariums spheric mirror distortion feature, please visit his page at:&lt;br /&gt;
&lt;br /&gt;
http://local.wasp.uwa.edu.au/~pbourke/projection/stellarium/&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
New features in current svn, which will go into version 0.9:&lt;br /&gt;
&lt;br /&gt;
1) Ability to control image flipping:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flip_horz  (horizontal image flipping, optional, default=true)&lt;br /&gt;
 flip_vert  (vertical image flipping, optional, default=false)&lt;br /&gt;
&lt;br /&gt;
2) distortion can also be based on other projections than fisheye, for example stereographic, equal area or cylinder&lt;br /&gt;
&lt;br /&gt;
3) improved texturing with triangles, image width and height need not be multiples of 16 any more:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 texture_triangle_base_length  (how fine the grid shall be, optional, default=16)&lt;br /&gt;
&lt;br /&gt;
4) make use of the OpenGL EXT_framebuffer_object extension for increasing the resolution of the image that shall be distorted. The image is then rendered to an off-screen buffer with configurable layout.&lt;br /&gt;
You can disable ext_framebuffer_object if it does not work on your hardware/driver.&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flag_use_ext_framebuffer_object  (optional, default autodetect: true, when extension is available)&lt;br /&gt;
Warning: when your video card/driver supports the OpenGL EXT_framebuffer_object extension, but does not support the OpenGL EXT_packed_depth_stencil extension, you can still use the EXT_framebuffer_object extension, but you will have no stencil buffer in viewport distortion mode. &lt;br /&gt;
This results in bad drawing of the earth shadow during lunar eclipses.&lt;br /&gt;
Currently only NVidia cards support EXT_packed_depth_stencil.&lt;br /&gt;
&lt;br /&gt;
5) make the layout of the not yet distorted image configurable&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 distorter_max_fov     (maximum FOV value of the not yet distorted image, optional, default=175)&lt;br /&gt;
 viewport_width        (width of the not yet distorted image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the not yet distorted image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
&lt;br /&gt;
6) The current set of parameters work well for configuration of a standard dome setup (where zenith, projector, dome center, mirror center and projector optical axis lie in a single plane). Yet I received lots of questions and even complaints about the parameters zenith_y and scaling_factor. Perhaps it was to not easy enough to understand&lt;br /&gt;
their meaning and importance. Therefore I have decided to introduce additional parameters:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_alpha   (optional, default = 0)&lt;br /&gt;
 projector_delta   (optional, default = whatever your zenith_y parameter implied)&lt;br /&gt;
 projector_phi     (optional, default = 0)&lt;br /&gt;
 image_distance_div_height (optional, default = whatever your scaling_factor implied)&lt;br /&gt;
projector_alpha, projector_delta specifies the direction of the projectors optical axis in degrees, projector_phi specifies how much the projector is turned around its optical axis. image_distance_div_height is focal length of the projector divided by the height of the projectors video chip, which is the same as the distance to the projected image divided by the projected images height. Because of the default values, your previous setup with zenith_y and scaling_factor will continue to work as usual. Yet I encourage migrating to the new parameters, which is easy, because the needed values are printed to stdout (you can read them in your xterm window). Windows users - if there are any - have some special file where they can read the standard output, I think it is called cout.txt, stdout.txt or similar.&lt;br /&gt;
&lt;br /&gt;
7) With the above described parameters you can setup stellariums distortion feature for any planetarium with a spheric dome and a spheric mirror. The only restriction is that both the mirror and the dome have spheric shape.&lt;br /&gt;
But even when the dome and/or the mirror are aspheric, you can use stellariums distortion feature by supplying a custom distortion grid using the parameter&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 custom_distortion_file  (optional, default=&amp;quot;&amp;quot;)&lt;br /&gt;
custom_distortion_file is not for the faint of heart. Only people who know what they are doing are supposed to use it. I will not support requests from people who do not understand what is going on.&lt;br /&gt;
&lt;br /&gt;
When custom_distortion_file is supplied, the parameters projector_gamma, projector_position_x, projector_position_y, projector_position_z, mirror_position_x, mirror_position_y, mirror_position_z, mirror_radius, dome_radius, zenith_y, scaling_factor, flip_horz, flip_vert, texture_triangle_base_length, projector_alpha, projector_delta, projector_phi, image_distance_div_height have no influence on the distortion process any more. Instead the distortion is controlled by the contents of the given file.&lt;br /&gt;
&lt;br /&gt;
The syntax of the custom_distortion_file is as follows: It contains integers or floats in decimal notation seperated by whitespaces. The first and second numbers are max_x, max_y (both integer). They discribe the dimension of the triangular distortion grid:&lt;br /&gt;
    const double step_x = screen_w / (double)(max_x-0.5);&lt;br /&gt;
    const double step_y = screen_h / (double)max_y;&lt;br /&gt;
    for (int j=0;j&amp;lt;=max_y;j++) for (int i=0;i&amp;lt;=max_x;i++) {&lt;br /&gt;
        vertex_x = (i == 0)&lt;br /&gt;
                 ? 0.0&lt;br /&gt;
                 : (i == max_x)&lt;br /&gt;
                 ? screen_w&lt;br /&gt;
                 : ((i-0.5*(j%2))*step_x);&lt;br /&gt;
        vertex_y = j*step_y;&lt;br /&gt;
    }&lt;br /&gt;
vertex_x, vertex_y are the coordinates in the destination image. After max_x, max_y come (max_y+1)*(max_x+1) tuples of 5 numbers each. The 5 numbers are: x, y, r, g, b, all of them float. These are the texture coordinates and colors of the vertices given above. The texture coordianates are the coordinates in the fisheye image. The ranges are:&lt;br /&gt;
 0 &amp;lt;= x &amp;lt;= viewport_width&lt;br /&gt;
 0 &amp;lt;= y &amp;lt;= viewport_height&lt;br /&gt;
 0 &amp;lt;= r,g,b &amp;lt;= 1&lt;br /&gt;
Remember that the bottom left corner has coordinates (0,0). Example custom_distortion_file for a 1024x768 viewport:&lt;br /&gt;
 2 1&lt;br /&gt;
    0   0 1 1 1&lt;br /&gt;
  900   0 1 1 1&lt;br /&gt;
 1024   0 1 0 0&lt;br /&gt;
    0 768 0 0 1&lt;br /&gt;
  100 768 1 1 1&lt;br /&gt;
 1024 768 1 1 1&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Related parameters when spheric mirror distortion is disabled.&lt;br /&gt;
When these parameters are not supplied, you get the old behaviour:&lt;br /&gt;
 [projection]&lt;br /&gt;
 fisheye_max_fov       (maximum fisheye FOV, optional, try 360)&lt;br /&gt;
 cylinder_max_fov      (maximum cylinder FOV, optional)&lt;br /&gt;
 viewport_width        (width of the image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
 viewport_x            (offset of the viewport within the screen, default = 0.5*(screen_w-viewport_width)&lt;br /&gt;
 viewport_y            (offset of the viewport within the screen, default = 0.5*(screen_h-viewport_height)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-03-21T21:52:45Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke was so nice to set up an own page describing in great detail how to setup stellariums spheric mirror distortion feature, please visit his page at:&lt;br /&gt;
&lt;br /&gt;
http://local.wasp.uwa.edu.au/~pbourke/projection/stellarium/&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
New features in current svn, which will go into version 0.9:&lt;br /&gt;
&lt;br /&gt;
1) Ability to control image flipping:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flip_horz  (horizontal image flipping, optional, default=true)&lt;br /&gt;
 flip_vert  (vertical image flipping, optional, default=false)&lt;br /&gt;
&lt;br /&gt;
2) distortion can also be based on other projections than fisheye, for example stereographic, equal area or cylinder&lt;br /&gt;
&lt;br /&gt;
3) improved texturing with triangles, image width and height need not be multiples of 16 any more:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 texture_triangle_base_length  (how fine the grid shall be, optional, default=16)&lt;br /&gt;
&lt;br /&gt;
4) make use of the OpenGL EXT_framebuffer_object extension for increasing the resolution of the image that shall be distorted. The image is then rendered to an off-screen buffer with configurable layout.&lt;br /&gt;
You can disable ext_framebuffer_object if it does not work on your hardware/driver.&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flag_use_ext_framebuffer_object  (optional, default autodetect: true, when extension is available)&lt;br /&gt;
Warning: when your video card/driver supports the OpenGL EXT_framebuffer_object extension, but does not support the OpenGL EXT_packed_depth_stencil extension, you can still use the EXT_framebuffer_object extension, but you will have no stencil buffer in viewport distortion mode. &lt;br /&gt;
This results in bad drawing of the earth shadow during lunar eclipses.&lt;br /&gt;
Currently only NVidia cards support EXT_packed_depth_stencil.&lt;br /&gt;
&lt;br /&gt;
5) make the layout of the not yet distorted image configurable&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 distorter_max_fov     (maximum FOV value of the not yet distorted image, optional, default=175)&lt;br /&gt;
 viewport_width        (width of the not yet distorted image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the not yet distorted image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
&lt;br /&gt;
6) The current set of parameters work well for configuration of a standard dome setup (where zenith, projector, dome center, mirror center and projector optical axis lie in a single plane). Yet I received lots of questions and even complaints about the parameters zenith_y and scaling_factor. Perhaps it was to not easy enough to understand&lt;br /&gt;
their meaning and importance. Therefore I have decided to introduce additional parameters:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_alpha   (optional, default = 0)&lt;br /&gt;
 projector_delta   (optional, default = whatever your zenith_y parameter implied)&lt;br /&gt;
 projector_phi     (optional, default = 0)&lt;br /&gt;
 image_distance_div_height (optional, default = whatever your scaling_factor implied)&lt;br /&gt;
projector_alpha, projector_delta specifies the direction of the projectors optical axis in degrees, projector_phi specifies how much the projector is turned around its optical axis. image_distance_div_height is focal length of the projector divided by the height of the projectors video chip, which is the same as the distance to the projected image divided by the projected images height. Because of the default values, your previous setup with zenith_y and scaling_factor will continue to work as usual. Yet I encourage migrating to the new parameters, which is easy, because the needed values are printed to stdout (you can read them in your xterm window). Windows users - if there are any - have some special file where they can read the standard output, I think it is called cout.txt, stdout.txt or similar.&lt;br /&gt;
&lt;br /&gt;
7) With the above described parameters you can setup stellariums distortion feature for any planetarium with a spheric dome and a spheric mirror. The only restriction is that both the mirror and the dome have spheric shape.&lt;br /&gt;
But even when the dome and/or the mirror are aspheric, you can use stellariums distortion feature by supplying a custom distortion grid using the parameter&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 custom_distortion_file  (optional, default=&amp;quot;&amp;quot;)&lt;br /&gt;
custom_distortion_file is not for the faint of heart. Only people who know what they are doing are supposed to use it. In fact this is a special feature made for Paul Bourke. I will not support requests from people who do not understand what is going on.&lt;br /&gt;
&lt;br /&gt;
When custom_distortion_file is supplied, the parameters projector_gamma, projector_position_x, projector_position_y, projector_position_z, mirror_position_x, mirror_position_y, mirror_position_z, mirror_radius, dome_radius, zenith_y, scaling_factor, flip_horz, flip_vert, texture_triangle_base_length, projector_alpha, projector_delta, projector_phi, image_distance_div_height have no influence on the distortion process any more. Instead the distortion is controlled by the contents of the given file.&lt;br /&gt;
&lt;br /&gt;
The syntax of the custom_distortion_file is as follows: It contains integers or floats in decimal notation seperated by whitespaces. The first and second numbers are max_x, max_y (both integer). They discribe the dimension of the triangular distortion grid:&lt;br /&gt;
    const double step_x = screen_w / (double)(max_x-0.5);&lt;br /&gt;
    const double step_y = screen_h / (double)max_y;&lt;br /&gt;
    for (int j=0;j&amp;lt;=max_y;j++) for (int i=0;i&amp;lt;=max_x;i++) {&lt;br /&gt;
        vertex_x = (i == 0)&lt;br /&gt;
                 ? 0.0&lt;br /&gt;
                 : (i == max_x)&lt;br /&gt;
                 ? screen_w&lt;br /&gt;
                 : ((i-0.5*(j%2))*step_x);&lt;br /&gt;
        vertex_y = j*step_y;&lt;br /&gt;
    }&lt;br /&gt;
vertex_x, vertex_y are the coordinates in the destination image. After max_x, max_y come (max_y+1)*(max_x+1) tuples of 5 numbers each. The 5 numbers are: x, y, r, g, b, all of them float. These are the texture coordinates and colors of the vertices given above. The texture coordianates are the coordinates in the fisheye image. The ranges are:&lt;br /&gt;
 0 &amp;lt;= x &amp;lt;= viewport_width&lt;br /&gt;
 0 &amp;lt;= y &amp;lt;= viewport_height&lt;br /&gt;
 0 &amp;lt;= r,g,b &amp;lt;= 1&lt;br /&gt;
Remember that the bottom left corner has coordinates (0,0). Example custom_distortion_file for a 1024x768 viewport:&lt;br /&gt;
 2 1&lt;br /&gt;
    0   0 1 1 1&lt;br /&gt;
  900   0 1 1 1&lt;br /&gt;
 1024   0 1 0 0&lt;br /&gt;
    0 768 0 0 1&lt;br /&gt;
  100 768 1 1 1&lt;br /&gt;
 1024 768 1 1 1&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Related parameters when spheric mirror distortion is disabled.&lt;br /&gt;
When these parameters are not supplied, you get the old behaviour:&lt;br /&gt;
 [projection]&lt;br /&gt;
 fisheye_max_fov       (maximum fisheye FOV, optional, try 360)&lt;br /&gt;
 cylinder_max_fov      (maximum cylinder FOV, optional)&lt;br /&gt;
 viewport_width        (width of the image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
 viewport_x            (offset of the viewport within the screen, default = 0.5*(screen_w-viewport_width)&lt;br /&gt;
 viewport_y            (offset of the viewport within the screen, default = 0.5*(screen_h-viewport_height)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-03-21T21:48:36Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke was so nice to set up an own page describing in great detail how to setup stellariums spheric mirror distortion feature, please visit his page at:&lt;br /&gt;
&lt;br /&gt;
http://local.wasp.uwa.edu.au/~pbourke/projection/stellarium/&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
New features in current svn, which will go into version 0.9:&lt;br /&gt;
&lt;br /&gt;
1) Ability to control image flipping:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flip_horz  (horizontal image flipping, optional, default=true)&lt;br /&gt;
 flip_vert  (vertical image flipping, optional, default=false)&lt;br /&gt;
&lt;br /&gt;
2) distortion can also be based on other projections than fisheye, for example stereographic, equal area or cylinder&lt;br /&gt;
&lt;br /&gt;
3) improved texturing with triangles, image width and height need not be multiples of 16 any more:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 texture_triangle_base_length  (how fine the grid shall be, optional, default=16)&lt;br /&gt;
&lt;br /&gt;
4) make use of the OpenGL EXT_framebuffer_object extension for increasing the resolution of the image that shall be distorted. The image is then rendered to an off-screen buffer with configurable layout.&lt;br /&gt;
You can disable ext_framebuffer_object if it does not work on your hardware/driver.&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flag_use_ext_framebuffer_object  (optional, default autodetect: true, when extension is available)&lt;br /&gt;
Warning: when your video card/driver supports the OpenGL EXT_framebuffer_object extension, but does not support the OpenGL EXT_packed_depth_stencil extension, you can still use the EXT_framebuffer_object extension, but you will have no stencil buffer in viewport distortion mode. &lt;br /&gt;
This results in bad drawing of the earth shadow during lunar eclipses.&lt;br /&gt;
Currently only NVidia cards support EXT_packed_depth_stencil.&lt;br /&gt;
&lt;br /&gt;
5) make the layout of the not yet distorted image configurable&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 distorter_max_fov     (maximum FOV value of the not yet distorted image, optional, default=175)&lt;br /&gt;
 viewport_width        (width of the not yet distorted image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the not yet distorted image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
&lt;br /&gt;
6) The current set of parameters work well for configuration of a standard dome setup (where zenith, projector, dome center, mirror center and projector optical axis lie in a single plane). Yet I received lots of questions and even complaints about the parameters zenith_y and scaling_factor. Perhaps it was to not easy enough to understand&lt;br /&gt;
their meaning and importance. Therefore I have decided to introduce additional parameters:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_alpha   (optional, default = 0)&lt;br /&gt;
 projector_delta   (optional, default = whatever your zenith_y parameter implied)&lt;br /&gt;
 projector_phi     (optional, default = 0)&lt;br /&gt;
 image_distance_div_height (optional, default = whatever your scaling_factor implied)&lt;br /&gt;
projector_alpha, projector_delta specifies the direction of the projectors optical axis in degrees, projector_phi specifies how much the projector is turned around its optical axis. image_distance_div_height is focal length of the projector divided by the height of the projectors video chip, which is the same as the distance to the projected image divided by the projected images height. Because of the default values, your previous setup with zenith_y and scaling_factor will continue to work as usual. Yet I encourage migrating to the new parameters, which is easy, because the needed values are printed to stdout (you can read them in your xterm window). Windows users - if there are any - have some special file where they can read the standard output, I think it is called cout.txt, stdout.txt or similar.&lt;br /&gt;
&lt;br /&gt;
7) With the above described parameters you can setup stellariums distortion feature for any planetarium with a spheric dome and a spheric mirror. The only restriction is that both the mirror and the dome have spheric shape.&lt;br /&gt;
But even when the dome and/or the mirror are aspheric, you can use stellariums distortion feature by supplying a custom distortion grid using the parameter&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 custom_distortion_file  (optional, default=&amp;quot;&amp;quot;)&lt;br /&gt;
custom_distortion_file is not for the faint of heart. Only people who know what they are doing are supposed to use it. In fact this is a special feature made for Paul Bourke. I will not support requests from people who do not understand what is going on.&lt;br /&gt;
&lt;br /&gt;
When custom_distortion_file is supplied, the parameters projector_gamma, projector_position_x, projector_position_y, projector_position_z, mirror_position_x, mirror_position_y, mirror_position_z, mirror_radius, dome_radius, zenith_y, scaling_factor, flip_horz, flip_vert, texture_triangle_base_length, projector_alpha, projector_delta, projector_phi, image_distance_div_height have no influence on the distortion process any more. instead the distortion is controlled by the contents of the given file.&lt;br /&gt;
&lt;br /&gt;
The syntax of the custom_distortion_file is as follows: It contains integers or floats in decimal notation seperated by whitespaces. The first and second numbers are max_x, max_y (both integer). They discribe the dimension of the triangular distortion grid:&lt;br /&gt;
    const double step_x = screen_w / (double)(max_x-0.5);&lt;br /&gt;
    const double step_y = screen_h / (double)max_y;&lt;br /&gt;
    for (int j=0;j&amp;lt;=max_y;j++) for (int i=0;i&amp;lt;=max_x;i++) {&lt;br /&gt;
        vertex_x = (i == 0)&lt;br /&gt;
                 ? 0.0&lt;br /&gt;
                 : (i == max_x)&lt;br /&gt;
                 ? screen_w&lt;br /&gt;
                 : ((i-0.5f*(j%2))*step_x);&lt;br /&gt;
        vertex_y = j*step_y;&lt;br /&gt;
    }&lt;br /&gt;
vertex_x, vertex_y are the coordinates in the destination image. After max_x, max_y come (max_y+1)*(max_x+1) tuples of 5 numbers each. The 5 numbers are: x, y, r, g, b, all of them float. These are the texture coordinates and colors of the vertices given above. The ranges are:&lt;br /&gt;
 0 &amp;lt;= x &amp;lt;= viewport_width&lt;br /&gt;
 0 &amp;lt;= y &amp;lt;= viewport_height&lt;br /&gt;
 0 &amp;lt;= r,g,b &amp;lt;= 1&lt;br /&gt;
Remember that the bottom left corner has coordinates (0,0). Example custom_distortion_file for a 1024x768 viewport:&lt;br /&gt;
 2 1&lt;br /&gt;
    0   0 1 1 1&lt;br /&gt;
  900   0 1 1 1&lt;br /&gt;
 1024   0 1 0 0&lt;br /&gt;
    0 768 0 0 1&lt;br /&gt;
  100 768 1 1 1&lt;br /&gt;
 1024 768 1 1 1&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Related parameters when spheric mirror distortion is disabled.&lt;br /&gt;
When these parameters are not supplied, you get the old behaviour:&lt;br /&gt;
 [projection]&lt;br /&gt;
 fisheye_max_fov       (maximum fisheye FOV, optional, try 360)&lt;br /&gt;
 cylinder_max_fov      (maximum cylinder FOV, optional)&lt;br /&gt;
 viewport_width        (width of the image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
 viewport_x            (offset of the viewport within the screen, default = 0.5*(screen_w-viewport_width)&lt;br /&gt;
 viewport_y            (offset of the viewport within the screen, default = 0.5*(screen_h-viewport_height)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-03-21T21:33:55Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke was so nice to set up an own page describing in great detail how to setup stellariums spheric mirror distortion feature, please visit his page at:&lt;br /&gt;
&lt;br /&gt;
http://local.wasp.uwa.edu.au/~pbourke/projection/stellarium/&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
New features in current svn, which will go into version 0.9:&lt;br /&gt;
&lt;br /&gt;
1) Ability to control image flipping:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flip_horz  (horizontal image flipping, optional, default=true)&lt;br /&gt;
 flip_vert  (vertical image flipping, optional, default=false)&lt;br /&gt;
&lt;br /&gt;
2) distortion can also be based on other projections than fisheye, for example stereographic, equal area or cylinder&lt;br /&gt;
&lt;br /&gt;
3) improved texturing with triangles, image width and height need not be multiples of 16 any more:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 texture_triangle_base_length  (how fine the grid shall be, optional, default=16)&lt;br /&gt;
&lt;br /&gt;
4) make use of the OpenGL EXT_framebuffer_object extension for increasing the resolution of the image that shall be distorted. The image is then rendered to an off-screen buffer with configurable layout.&lt;br /&gt;
You can disable ext_framebuffer_object if it does not work on your hardware/driver.&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flag_use_ext_framebuffer_object  (optional, default autodetect: true, when extension is available)&lt;br /&gt;
Warning: when your video card/driver supports the OpenGL EXT_framebuffer_object extension, but does not support the OpenGL EXT_packed_depth_stencil extension, you can still use the EXT_framebuffer_object extension, but you will have no stencil buffer in viewport distortion mode. &lt;br /&gt;
This results in bad drawing of the earth shadow during lunar eclipses.&lt;br /&gt;
Currently only NVidia cards support EXT_packed_depth_stencil.&lt;br /&gt;
&lt;br /&gt;
5) make the layout of the not yet distorted image configurable&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 distorter_max_fov     (maximum FOV value of the not yet distorted image, optional, default=175)&lt;br /&gt;
 viewport_width        (width of the not yet distorted image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the not yet distorted image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
&lt;br /&gt;
6) The current set of parameters work well for configuration of a standard dome setup (where zenith, projector, dome center, mirror center and projector optical axis lie in a single plane). Yet I received lots of questions and even complaints about the parameters zenith_y and scaling_factor. Perhaps it was to not easy enough to understand&lt;br /&gt;
their meaning and importance. Therefore I have decided to introduce additional parameters:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_alpha   (optional, default = 0)&lt;br /&gt;
 projector_delta   (optional, default = whatever your zenith_y parameter implied)&lt;br /&gt;
 projector_phi     (optional, default = 0)&lt;br /&gt;
 image_distance_div_height (optional, default = whatever your scaling_factor implied)&lt;br /&gt;
projector_alpha, projector_delta specifies the direction of the projectors optical axis in degrees, projector_phi specifies how much the projector is turned around its optical axis. image_distance_div_height is focal length of the projector divided by the height of the projectors video chip, which is the same as the distance to the projected image divided by the projected images height. Because of the default values, your previous setup with zenith_y and scaling_factor will continue to work as usual. Yet I encourage migrating to the new parameters, which is easy, because the needed values are printed to stdout (you can read them in your xterm window). Windows users - if there are any - have some special file where they can read the standard output, I think it is called cout.txt, stdout.txt or similar.&lt;br /&gt;
&lt;br /&gt;
7) With the above described parameters you can setup stellariums distortion feature for any planetarium with a spheric dome and a spheric mirror. The only restriction is that both the mirror and the dome have spheric shape.&lt;br /&gt;
But even when the dome and/or the mirror are aspheric, you can use stellariums distortion feature by supplying a custom distortion grid using the parameter&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 custom_distortion_file  (optional, default=&amp;quot;&amp;quot;)&lt;br /&gt;
When custom_distortion_file is supplied, the parameters projector_gamma, projector_position_x, projector_position_y, projector_position_z, mirror_position_x, mirror_position_y, mirror_position_z, mirror_radius, dome_radius, zenith_y, scaling_factor, flip_horz, flip_vert, texture_triangle_base_length, projector_alpha, projector_delta, projector_phi, image_distance_div_height have no influence on the distortion process any more. instead the distortion is controlled by the contents of the given file.&lt;br /&gt;
&lt;br /&gt;
The syntax of the custom_distortion_file is as follows: It contains integers or floats in decimal notation seperated by whitespaces. The first and second numbers are max_x, max_y (both integer). They discribe the dimension of the triangular distortion grid:&lt;br /&gt;
    const double step_x = screen_w / (double)(max_x-0.5);&lt;br /&gt;
    const double step_y = screen_h/ (double)max_y;&lt;br /&gt;
    for (int j=0;j&amp;lt;=max_y;j++) for (int i=0;i&amp;lt;=max_x;i++) {&lt;br /&gt;
        vertex_x = (i == 0)&lt;br /&gt;
                 ? 0.0&lt;br /&gt;
                 : (i == max_x)&lt;br /&gt;
                 ? screen_w&lt;br /&gt;
                 : ((i-0.5f*(j%2))*step_x);&lt;br /&gt;
        vertex_y = j*step_y;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Related parameters when spheric mirror distortion is disabled.&lt;br /&gt;
When these parameters are not supplied, you get the old behaviour:&lt;br /&gt;
 [projection]&lt;br /&gt;
 fisheye_max_fov       (maximum fisheye FOV, optional, try 360)&lt;br /&gt;
 cylinder_max_fov      (maximum cylinder FOV, optional)&lt;br /&gt;
 viewport_width        (width of the image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
 viewport_x            (offset of the viewport within the screen, default = 0.5*(screen_w-viewport_width)&lt;br /&gt;
 viewport_y            (offset of the viewport within the screen, default = 0.5*(screen_h-viewport_height)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-03-21T21:29:05Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke was so nice to set up an own page describing in great detail how to setup stellariums spheric mirror distortion feature, please visit his page at:&lt;br /&gt;
&lt;br /&gt;
http://local.wasp.uwa.edu.au/~pbourke/projection/stellarium/&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
New features in current svn, which will go into version 0.9:&lt;br /&gt;
&lt;br /&gt;
1) Ability to control image flipping:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flip_horz  (horizontal image flipping, optional, default=true)&lt;br /&gt;
 flip_vert  (vertical image flipping, optional, default=false)&lt;br /&gt;
&lt;br /&gt;
2) distortion can also be based on other projections than fisheye, for example stereographic, equal area or cylinder&lt;br /&gt;
&lt;br /&gt;
3) improved texturing with triangles, image width and height need not be multiples of 16 any more:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 texture_triangle_base_length  (how fine the grid shall be, optional, default=16)&lt;br /&gt;
&lt;br /&gt;
4) make use of the OpenGL EXT_framebuffer_object extension for increasing the resolution of the image that shall be distorted. The image is then rendered to an off-screen buffer with configurable layout.&lt;br /&gt;
You can disable ext_framebuffer_object if it does not work on your hardware/driver.&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flag_use_ext_framebuffer_object  (optional, default autodetect: true, when extension is available)&lt;br /&gt;
Warning: when your video card/driver supports the OpenGL EXT_framebuffer_object extension, but does not support the OpenGL EXT_packed_depth_stencil extension, you can still use the EXT_framebuffer_object extension, but you will have no stencil buffer in viewport distortion mode. &lt;br /&gt;
This results in bad drawing of the earth shadow during lunar eclipses.&lt;br /&gt;
Currently only NVidia cards support EXT_packed_depth_stencil.&lt;br /&gt;
&lt;br /&gt;
5) make the layout of the not yet distorted image configurable&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 distorter_max_fov     (maximum FOV value of the not yet distorted image, optional, default=175)&lt;br /&gt;
 viewport_width        (width of the not yet distorted image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the not yet distorted image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
&lt;br /&gt;
6) The current set of parameters work well for configuration of a standard dome setup (where zenith, projector, dome center, mirror center and projector optical axis lie in a single plane). Yet I received lots of questions and even complaints about the parameters zenith_y and scaling_factor. Perhaps it was to not easy enough to understand&lt;br /&gt;
their meaning and importance. Therefore I have decided to introduce additional parameters:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_alpha   (optional, default = 0)&lt;br /&gt;
 projector_delta   (optional, default = whatever your zenith_y parameter implied)&lt;br /&gt;
 projector_phi     (optional, default = 0)&lt;br /&gt;
 image_distance_div_height (optional, default = whatever your scaling_factor implied)&lt;br /&gt;
projector_alpha, projector_delta specifies the direction of the projectors optical axis in degrees, projector_phi specifies how much the projector is turned around its optical axis. image_distance_div_height is focal length of the projector divided by the height of the projectors video chip, which is the same as the distance to the projected image divided by the projected images height. Because of the default values, your previous setup with zenith_y and scaling_factor will continue to work as usual. Yet I encourage migrating to the new parameters, which is easy, because the needed values are printed to stdout (you can read them in your xterm window). Windows users - if there are any - have some special file where they can read the standard output, I think it is called cout.txt, stdout.txt or similar.&lt;br /&gt;
&lt;br /&gt;
7) With the above described parameters you can setup stellariums distortion feature for any planetarium with a spheric dome and a spheric mirror. The only restriction is that both the mirror and the dome have spheric shape.&lt;br /&gt;
But even when the dome and/or the mirror are aspheric, you can use stellariums distortion feature by supplying a custom distortion grid using the parameter&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 custom_distortion_file  (optional, default=&amp;quot;&amp;quot;)&lt;br /&gt;
When custom_distortion_file is supplied, the parameters projector_gamma, projector_position_x, projector_position_y, projector_position_z, mirror_position_x, mirror_position_y, mirror_position_z, mirror_radius, dome_radius, zenith_y, scaling_factor, flip_horz, flip_vert, texture_triangle_base_length, projector_alpha, projector_delta, projector_phi, image_distance_div_height have no influence on the distortion process any more. instead the distortion is controlled by the contents of the given file.&lt;br /&gt;
&lt;br /&gt;
The syntax of the custom_distortion_file is as follows: It contains integers or floats in decimal notation seperated by whitespaces. The first and second numbers are max_x, max_y (both integer).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Related parameters when spheric mirror distortion is disabled.&lt;br /&gt;
When these parameters are not supplied, you get the old behaviour:&lt;br /&gt;
 [projection]&lt;br /&gt;
 fisheye_max_fov       (maximum fisheye FOV, optional, try 360)&lt;br /&gt;
 cylinder_max_fov      (maximum cylinder FOV, optional)&lt;br /&gt;
 viewport_width        (width of the image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
 viewport_x            (offset of the viewport within the screen, default = 0.5*(screen_w-viewport_width)&lt;br /&gt;
 viewport_y            (offset of the viewport within the screen, default = 0.5*(screen_h-viewport_height)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-03-16T23:15:45Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke was so nice to set up an own page describing in great detail how to setup stellariums spheric mirror distortion feature, please visit his page at:&lt;br /&gt;
&lt;br /&gt;
http://local.wasp.uwa.edu.au/~pbourke/projection/stellarium/&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
New features in current svn, which will go into version 0.9:&lt;br /&gt;
&lt;br /&gt;
1) Ability to control image flipping:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flip_horz  (horizontal image flipping, optional, default=true)&lt;br /&gt;
 flip_vert  (vertical image flipping, optional, default=false)&lt;br /&gt;
&lt;br /&gt;
2) distortion can also be based on other projections than fisheye, for example stereographic, equal area or cylinder&lt;br /&gt;
&lt;br /&gt;
3) improved texturing with triangles, image width and height need not be multiples of 16 any more:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 texture_triangle_base_length  (how fine the grid shall be, optional, default=16)&lt;br /&gt;
&lt;br /&gt;
4) make use of the OpenGL EXT_framebuffer_object extension for increasing the resolution of the image that shall be distorted. The image is then rendered to an off-screen buffer with configurable layout.&lt;br /&gt;
You can disable ext_framebuffer_object if it does not work on your hardware/driver.&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flag_use_ext_framebuffer_object  (optional, default autodetect: true, when extension is available)&lt;br /&gt;
Warning: when your video card/driver supports the OpenGL EXT_framebuffer_object extension, but does not support the OpenGL EXT_packed_depth_stencil extension, you can still use the EXT_framebuffer_object extension, but you will have no stencil buffer in viewport distortion mode. &lt;br /&gt;
This results in bad drawing of the earth shadow during lunar eclipses.&lt;br /&gt;
Currently only NVidia cards support EXT_packed_depth_stencil.&lt;br /&gt;
&lt;br /&gt;
5) make the layout of the not yet distorted image configurable&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 distorter_max_fov     (maximum FOV value of the not yet distorted image, optional, default=175)&lt;br /&gt;
 viewport_width        (width of the not yet distorted image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the not yet distorted image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
&lt;br /&gt;
6) The current set of parameters work well for configuration of a standard dome setup (where zenith, projector, dome center, mirror center and projector optical axis lie in a single plane). Yet I received lots of questions and even complaints about the parameters zenith_y and scaling_factor. Perhaps it was to not easy enough to understand&lt;br /&gt;
their meaning and importance. Therefore I have decided to introduce additional parameters:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_alpha   (optional, default = 0)&lt;br /&gt;
 projector_delta   (optional, default = whatever your zenith_y parameter implied)&lt;br /&gt;
 projector_phi     (optional, default = 0)&lt;br /&gt;
 image_distance_div_height (optional, default = whatever your scaling_factor implied)&lt;br /&gt;
projector_alpha, projector_delta specifies the direction of the projectors optical axis in degrees, projector_phi specifies how much the projector is turned around its optical axis. image_distance_div_height is focal length of the projector divided by the height of the projectors video chip, which is the same as the distance to the projected image divided by the projected images height. Because of the default values, your previous setup with zenith_y and scaling_factor will continue to work as usual. Yet I encourage migrating to the new parameters, which is easy, because the needed values are printed to stdout (you can read them in your xterm window). Windows users - if there are any - have some special file where they can read the standard output, I think it is called cout.txt, stdout.txt or similar.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
related parameters when spheric mirror distortion is disabled,&lt;br /&gt;
when these parameters are not supplied, you get the old behaviour:&lt;br /&gt;
 [projection]&lt;br /&gt;
 fisheye_max_fov       (maximum fisheye FOV, optional, try 360)&lt;br /&gt;
 cylinder_max_fov      (maximum cylinder FOV, optional)&lt;br /&gt;
 viewport_width        (width of the image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
 viewport_x            (offset of the viewport within the screen, default = 0.5*(screen_w-viewport_width)&lt;br /&gt;
 viewport_y            (offset of the viewport within the screen, default = 0.5*(screen_h-viewport_height)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-03-01T23:33:18Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke was so nice to set up an own page describing in great detail how to setup stellariums spheric mirror distortion feature, please visit his page at:&lt;br /&gt;
&lt;br /&gt;
http://local.wasp.uwa.edu.au/~pbourke/projection/stellarium/&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
New features in current svn, which will go into version 0.9:&lt;br /&gt;
&lt;br /&gt;
1) Ability to control image flipping:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flip_horz  (horizontal image flipping, optional, default=true)&lt;br /&gt;
 flip_vert  (vertical image flipping, optional, default=false)&lt;br /&gt;
&lt;br /&gt;
2) distortion can also be based on other projections than fisheye, for example stereographic, equal area or cylinder&lt;br /&gt;
&lt;br /&gt;
3) improved texturing with triangles, image width and height need not be multiples of 16 any more:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 texture_triangle_base_length  (how fine the grid shall be, optional, default=16)&lt;br /&gt;
&lt;br /&gt;
4) make use of the OpenGL EXT_framebuffer_object extension for increasing the resolution of the image that shall be distorted. The image is then rendered to an off-screen buffer with configurable layout.&lt;br /&gt;
You can disable ext_framebuffer_object if it does not work on your hardware/driver.&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flag_use_ext_framebuffer_object  (optional, default autodetect: true, when extension is available)&lt;br /&gt;
Warning: when your video card/driver supports the OpenGL EXT_framebuffer_object extension, but does not support the OpenGL EXT_packed_depth_stencil extension, you can still use the EXT_framebuffer_object extension, but you will have no stencil buffer in viewport distortion mode. &lt;br /&gt;
This results in bad drawing of the earth shadow during lunar eclipses.&lt;br /&gt;
Currently only NVidia cards support EXT_packed_depth_stencil.&lt;br /&gt;
&lt;br /&gt;
5) make the layout of the not yet distorted image configurable&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 distorter_max_fov     (maximum FOV value of the not yet distorted image, optional, default=175)&lt;br /&gt;
 viewport_width        (width of the not yet distorted image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the not yet distorted image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
related parameters when spheric mirror distortion is disabled,&lt;br /&gt;
when these parameters are not supplied, you get the old behaviour:&lt;br /&gt;
 [projection]&lt;br /&gt;
 fisheye_max_fov       (maximum fisheye FOV, optional, try 360)&lt;br /&gt;
 cylinder_max_fov      (maximum cylinder FOV, optional)&lt;br /&gt;
 viewport_width        (width of the image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
 viewport_x            (offset of the viewport within the screen, default = 0.5*(screen_w-viewport_width)&lt;br /&gt;
 viewport_y            (offset of the viewport within the screen, default = 0.5*(screen_h-viewport_height)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-02-21T22:37:04Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke was so nice to set up an own page describing in great detail how to setup stellariums spheric mirror distortion feature, please visit his page at:&lt;br /&gt;
&lt;br /&gt;
http://local.wasp.uwa.edu.au/~pbourke/projection/stellarium/&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
New features in current svn, which will go into version 0.9:&lt;br /&gt;
&lt;br /&gt;
1) Ability to control image flipping:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flip_horz  (horizontal image flipping, optional, default=true)&lt;br /&gt;
 flip_vert  (vertical image flipping, optional, default=false)&lt;br /&gt;
&lt;br /&gt;
2) distortion can also be based on other projections than fisheye, for example stereographic, equal area or cylinder&lt;br /&gt;
&lt;br /&gt;
3) improved texturing with triangles, image width and height need not be multiples of 16 any more:&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 texture_triangle_base_length  (how fine the grid shall be, optional, default=16)&lt;br /&gt;
&lt;br /&gt;
4) make use of the OpenGL ext_framebuffer_object extension for increasing the resolution of the image that shall be distorted. The image is then rendered to an off-screen buffer with configurable layout.&lt;br /&gt;
You can disable ext_framebuffer_object if it does not work on your hardware/driver.&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 flag_use_ext_framebuffer_object  (optional, default autodetect: true, when extension is available)&lt;br /&gt;
&lt;br /&gt;
5) make the layout of the not yet distorted image configurable&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 distorter_max_fov     (maximum FOV value of the not yet distorted image, optional, default=175)&lt;br /&gt;
 viewport_width        (width of the not yet distorted image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the not yet distorted image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk in the not yet distorted image, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
related parameters when spheric mirror distortion is disabled,&lt;br /&gt;
when these parameters are not supplied, you get the old behaviour:&lt;br /&gt;
 [projection]&lt;br /&gt;
 fisheye_max_fov       (maximum fisheye FOV, optional, try 360)&lt;br /&gt;
 cylinder_max_fov      (maximum cylinder FOV, optional)&lt;br /&gt;
 viewport_width        (width of the image, optional, default=screen_w)&lt;br /&gt;
 viewport_height       (height of the image, optional, default=screen_h)&lt;br /&gt;
 viewport_center_x     (center of the FOV-disk, optional, default = 0.5*viewport_width)&lt;br /&gt;
 viewport_center_y     (center of the FOV-disk, optional, default = 0.5*viewport_height)&lt;br /&gt;
 viewport_fov_diameter (diameter of the FOV-disk in pixels, optional, default=min(viewport_width,viewport_height))&lt;br /&gt;
 viewport_x            (offset of the viewport within the screen, default = 0.5*(screen_w-viewport_width)&lt;br /&gt;
 viewport_y            (offset of the viewport within the screen, default = 0.5*(screen_h-viewport_height)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-02-15T13:12:21Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke was so nice to set up an own page describing in great detail how to setup stellariums spheric mirror distortion feature, please visit his page at:&lt;br /&gt;
&lt;br /&gt;
http://local.wasp.uwa.edu.au/~pbourke/projection/stellarium/&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-01-06T23:35:49Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false). This feature is available in current svn, and will go into the 0.9.x release.&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2007-01-06T23:34:19Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 flip_horz = true&lt;br /&gt;
 flip_vert = false&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Mr. Paul Bourke has explained to me that some users like the following setup: They configure their dual head graphic card to show the same image on both outputs. One of them is connected to the projector, the other to an ordinary monitor that is used by the operator only. The operator wants to read the texts left-to-right, and therefore there shall be no image flipping on the stellarium image. Of course the projector then must be capable of doing image flipping, and must be configured to do so. Therefore I have introduced two new config.ini options in the [spheric_mirror] section: flip_horz (default=true) and flip_vert (default=false).&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2006-12-06T21:52:18Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: zenith_y&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building and operating their own planetarium can subscribe to a YahooGroup, and the related Small Planetarium Forums Site.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
and/or&lt;br /&gt;
&lt;br /&gt;
http://www.astro-obsessions.com/small_planetarium&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I keep getting inquiries about zenith_y, so here comes a short explanation.&lt;br /&gt;
The optical axis of the projector does not go through the center of the mirror sphere, but it meets the mirror surface on some point in the upper half. With the zenith_y parameter you can configure, where this point is. With zenith_y=0 the zenith is right in the center of the stellarium window (y=0). With zenith_y&amp;gt;0 the zenith is above the center of the stellarium window, with zenith_y&amp;lt;0 the zenith is below the center of the stellarium window.&lt;br /&gt;
There is no zenith_x parameter for moving the zenith to the left of right side of the stellarium window.&lt;br /&gt;
Exercise: try zenith_y values of 0.0,0.3,-0.3.&lt;br /&gt;
&lt;br /&gt;
You do not need to restart stellarium every time you make changes to the spheric mirror distortion parameters. While stellarium is running just change the parameters in config.ini with your favourite editor, and in the stellarium config window switch to a different projection type, and back to spheric mirror distortion.&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Compatibility</id>
		<title>Telescope Compatibility</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Compatibility"/>
				<updated>2006-10-23T20:38:42Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists telescope control drivers and their compatibility with various models.&lt;br /&gt;
----&lt;br /&gt;
{| cellpadding=2 border=1&lt;br /&gt;
| '''Make''' || '''Model''' || '''Operating System''' || '''Server''' (see note 1) || '''Status''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || Linux || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' ||&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || Windows || TelescopeServerLx200.exe || style=&amp;quot;background:green&amp;quot; | '''Supported''' || see note 2&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || MacOS X || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' || currently source code only&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || Linux || TelescopeServerLx200 || style=&amp;quot;background:green&amp;quot; | '''Supported''' || Original reference implementation, used by the developer&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || Windows || TelescopeServerLx200.exe || style=&amp;quot;background:green&amp;quot; | '''Supported''' || Original reference implementation, seems to work well with different kinds of Windows&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || MacOS X || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' || currently source code only&lt;br /&gt;
|-&lt;br /&gt;
| Losmandy || G11 || Linux/Windows || TelescopeServerLx200(.exe) || style=&amp;quot;background:green&amp;quot; | '''Supported''' || successfully used by some guy in the forum&lt;br /&gt;
|-&lt;br /&gt;
| Celestron || NexStar || Linux/Windows || TelescopeServerNexStar(.exe) || style=&amp;quot;background:orange&amp;quot; | '''Untested''' || by Michael Heinz&lt;br /&gt;
|-&lt;br /&gt;
| Celestron || NexStar || Mac || TelescopeServerNexStar || style=&amp;quot;background:green&amp;quot; | '''Supported''' || by Michael Heinz&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
#The telescope server program (short: Server) is a stand alone program that can operate exactly one telescope, and can simultanousely serve one or many clients (like stellarium). The terms ''server'' and ''client'' refer to the respective role in TCP/IP communication. The name of the binary should uniquely identify the telescope communication protocol it is using for communicating with the telescope. Naming convention for programmers: The name of the driver refers to the ''class'' in the driver source code. This is usually similar to the name of the resulting binary (program), but to be certain, look inside the .hpp file which is used to make the binary.  It might be a good idea to adopt the convention of making the resulting binary have the same name as the driver class.&lt;br /&gt;
#Autostar ETX70 with 494 controller and 506 cable. The original telescopeserverLX200.exe was too fast for the slow link connection to the 494 controller. The problem has been repaired with the latest version of TelescopeServerLx200.exe. To get a smoother move of the cross hair edit the time delay in the config.ini file from 500000 to 1500000. B.G&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-10-23T19:11:46Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes, G11 or compatible&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar: used for controlling Celestron NexStar telescopes, contributed by Michael Heinz&lt;br /&gt;
&lt;br /&gt;
TelescopeServerNexStar.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous svn:&lt;br /&gt;
&lt;br /&gt;
 svn co https://svn.sourceforge.net/svnroot/stellarium/trunk/telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me.&lt;br /&gt;
&lt;br /&gt;
Michael Heinz has provided an XCode project file for Mac, which is included in svn.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerNexStar.exe.gz TelescopeServerNexStar.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
I also provide a cross-compiled stellarium.exe which can be considered as a development snapshot:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/stellarium.exe.gz stellarium.exe.gz]&lt;br /&gt;
&lt;br /&gt;
This is no windows installer archive, just a plain executable that is supposed to replace the official executable in the official package. I have heard that the official 0.8.1 windows binary has problems with the telescope control feature, so please use this binary instead.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. If you have a slow telescope controller - like the Meade AutoStar 494 that comes with ETX 70 - you should increase this value to 1200000 or higher, in order to get smooth movement of the telescope marker. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-09-10T21:58:58Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Building */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes, G11 or compatible&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous svn:&lt;br /&gt;
&lt;br /&gt;
 svn co https://svn.sourceforge.net/svnroot/stellarium/trunk/telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
I also provide a cross-compiled stellarium.exe which can be considered as a development snapshot:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/stellarium.exe.gz stellarium.exe.gz]&lt;br /&gt;
&lt;br /&gt;
This is no windows installer archive, just a plain executable that is supposed to replace the official executable in the official package. I have heard that the official 0.8.1 windows binary has problems with the telescope control feature, so please use this binary instead.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. If you have a slow telescope controller - like the Meade AutoStar 494 that comes with ETX 70 - you should increase this value to 1200000 or higher, in order to get smooth movement of the telescope marker. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Compatibility</id>
		<title>Telescope Compatibility</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Compatibility"/>
				<updated>2006-09-10T20:57:38Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists telescope control drivers and their compatibility with various models.&lt;br /&gt;
----&lt;br /&gt;
{| cellpadding=2 border=1&lt;br /&gt;
| '''Make''' || '''Model''' || '''Operating System''' || '''Server''' (see note 1) || '''Status''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || Linux || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' ||&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || Windows || TelescopeServerLx200.exe || style=&amp;quot;background:green&amp;quot; | '''Supported''' || see note 2&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || MacOS X || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' || currently source code only&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || Linux || TelescopeServerLx200 || style=&amp;quot;background:green&amp;quot; | '''Supported''' || Original reference implementation, used by the developer&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || Windows || TelescopeServerLx200.exe || style=&amp;quot;background:green&amp;quot; | '''Supported''' || Original reference implementation, seems to work well with different kinds of Windows&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || MacOS X || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' || currently source code only&lt;br /&gt;
|-&lt;br /&gt;
| Losmandy || G11 || Linux/Windows || TelescopeServerLx200(.exe) || style=&amp;quot;background:green&amp;quot; | '''Supported''' || successfully used by some guy in the forum&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
#The telescope server program (short: Server) is a stand alone program that can operate exactly one telescope, and can simultanousely serve one or many clients (like stellarium). The terms ''server'' and ''client'' refer to the respective role in TCP/IP communication. The name of the binary should uniquely identify the telescope communication protocol it is using for communicating with the telescope. Naming convention for programmers: The name of the driver refers to the ''class'' in the driver source code. This is usually similar to the name of the resulting binary (program), but to be certain, look inside the .hpp file which is used to make the binary.  It might be a good idea to adopt the convention of making the resulting binary have the same name as the driver class.&lt;br /&gt;
#Autostar ETX70 with 494 controller and 506 cable. The original telescopeserverLX200.exe was too fast for the slow link connection to the 494 controller. The problem has been repaired with the latest version of TelescopeServerLx200.exe. To get a smoother move of the cross hair edit the time delay in the config.ini file from 500000 to 1500000. B.G&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-09-10T20:55:12Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Run the server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes, G11 or compatible&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
I also provide a cross-compiled stellarium.exe which can be considered as a development snapshot:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/stellarium.exe.gz stellarium.exe.gz]&lt;br /&gt;
&lt;br /&gt;
This is no windows installer archive, just a plain executable that is supposed to replace the official executable in the official package. I have heard that the official 0.8.1 windows binary has problems with the telescope control feature, so please use this binary instead.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. If you have a slow telescope controller - like the Meade AutoStar 494 that comes with ETX 70 - you should increase this value to 1200000 or higher, in order to get smooth movement of the telescope marker. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-09-10T20:49:42Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes, G11 or compatible&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
I also provide a cross-compiled stellarium.exe which can be considered as a development snapshot:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/stellarium.exe.gz stellarium.exe.gz]&lt;br /&gt;
&lt;br /&gt;
This is no windows installer archive, just a plain executable that is supposed to replace the official executable in the official package. I have heard that the official 0.8.1 windows binary has problems with the telescope control feature, so please use this binary instead.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-09-10T20:44:30Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Gathering debug information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
I also provide a cross-compiled stellarium.exe which can be considered as a development snapshot:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/stellarium.exe.gz stellarium.exe.gz]&lt;br /&gt;
&lt;br /&gt;
This is no windows installer archive, just a plain executable that is supposed to replace the official executable in the official package. I have heard that the official 0.8.1 windows binary has problems with the telescope control feature, so please use this binary instead.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-09-10T20:41:10Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Gathering debug information */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
I also provide a cross-compiled stellarium.exe which can be considered as a development snapshot:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/stellarium.exe.gz stellarium.exe.gz]&lt;br /&gt;
&lt;br /&gt;
This is no windows installer archive, just a plain executable that is supposed to replace the official executable in the official package. I have heard that the official 0.8.1 windows binary has problems with the telescope control feature, so please use this binary instead.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. The telescope server must be build with the debug option, see the Makefile. Windows users can download the debug executable. You can produce the logfile eigther by redirecting stdout into a file, or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200Debug.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature</id>
		<title>Setting up your own dome using Stellarium's spheric mirror distortion feature</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Setting_up_your_own_dome_using_Stellarium%27s_spheric_mirror_distortion_feature"/>
				<updated>2006-08-29T22:00:44Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: fix y/z coordinate in description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;People interested in building their own planetarium can subscribe to a Yahoo group that discusses this topic.&lt;br /&gt;
&lt;br /&gt;
http://groups.yahoo.com/group/small_planetarium/&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In the following section I want to describe how you can build your own planetarium using stellariums spheric_mirror distortion feature.&lt;br /&gt;
&lt;br /&gt;
What you need:&lt;br /&gt;
#A dome. The dome should have a spherical inside. I suppose you can have good results with any dome larger than 2m in diameter, perhaps even with smaller ones.&lt;br /&gt;
#A spherical security mirror. I recomment a 1/4 mirror, thats a quarter of a sphere. Something like 0.4 or 0.5m in diameter should be ok, for small domes you may need smaller mirrors, decide for yourself.&lt;br /&gt;
#A video projector&lt;br /&gt;
#A computer running a current verion of stellarium.&lt;br /&gt;
&lt;br /&gt;
In the following example I assume a dome with 5m diameter and a spheric 1/4 mirror with radius 0.25m.&lt;br /&gt;
I suggest the following config.ini settings:&lt;br /&gt;
&lt;br /&gt;
 [spheric_mirror]&lt;br /&gt;
 projector_gamma = 0.45&lt;br /&gt;
 projector_position_x = 0&lt;br /&gt;
 projector_position_y = 1&lt;br /&gt;
 projector_position_z = -0.2&lt;br /&gt;
 mirror_position_x = 0&lt;br /&gt;
 mirror_position_y = 2&lt;br /&gt;
 mirror_position_z = 0&lt;br /&gt;
 mirror_radius = 0.25&lt;br /&gt;
 dome_radius = 2.5&lt;br /&gt;
 zenith_y = 0.125&lt;br /&gt;
 scaling_factor = 0.8&lt;br /&gt;
 ...&lt;br /&gt;
 flag_gravity_labels            = true&lt;br /&gt;
 ...&lt;br /&gt;
 flag_menu                      = false&lt;br /&gt;
&lt;br /&gt;
You should be familiar with the keys because there will be no menu exept the tui. When you start stellarium press &amp;quot;PgDown&amp;quot; to get maximum FOV and &amp;quot;CursorUp&amp;quot; in order to look at the zenith. Press &amp;quot;z&amp;quot; 2 times in order to display the azimuth grid. Press &amp;quot;1&amp;quot; in order to get the config window. In the video settings choose the spheric_mirror distortion.&lt;br /&gt;
&lt;br /&gt;
Install the spheric mirror inside the dome. Imagine a coordinate system that is centered in the dome center. The z-axis points upward to the zenith and the y-axis points to some point on the horizon. Look into the direction of the y-axis. Now the x-axis points to a point on the horizon which is near your right hand. In the above config.ini example I suggest that the center of the spheric mirror is at (0,2,0) (I use meters, but feel free to&lt;br /&gt;
use any units you like).&lt;br /&gt;
&lt;br /&gt;
Install the projector approximately at (0,1,-0.2). Notice the z-coordinate -0.2: the projector is lower than the spheric mirror center so that it shall not occult parts of the image. In my implementation I assume that all light comes from one point, which in reality is not true. The projector_position in config.ini refers to this fictional point. It will lie somewhere inside your projector, I do not know, where.&lt;br /&gt;
&lt;br /&gt;
Turn your projector on and project the image onto the mirror. The upper black curved border of the image should correspond to the upper part of the mirror. Use the projector zoom and the scaling_factor in order to match. Also shift and tilt your projector so that the image zenith and horizon is projected onto your dome zenith and horizon. The azimuth grid should be in place, you know what I mean. Play around with the geometry parameters. In order to get equal illumination throughout the dome, you must set the projector_gamma value to whatever your projector needs.&lt;br /&gt;
&lt;br /&gt;
I hope you will be satisfied with the results. Please send pictures of your new planetarium!&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
[[User:Johannes|Johannes]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Compatibility</id>
		<title>Telescope Compatibility</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Compatibility"/>
				<updated>2006-08-08T23:22:17Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists telescope control drivers and their compatibility with various models.&lt;br /&gt;
----&lt;br /&gt;
{| cellpadding=2 border=1&lt;br /&gt;
| '''Make''' || '''Model''' || '''Operating System''' || '''Server''' (see note 1) || '''Status''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || Linux || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' ||&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || Windows || TelescopeServerLx200.exe || style=&amp;quot;background:green&amp;quot; | '''Supported''' || see note 2, please send a logfile!&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || MacOS X || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' || currently source code only&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || Linux || TelescopeServerLx200 || style=&amp;quot;background:green&amp;quot; | '''Supported''' || Original reference implementation, used by the developer&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || Windows || TelescopeServerLx200.exe || style=&amp;quot;background:green&amp;quot; | '''Supported''' || Original reference implementation, seems to work well with different kinds of Windows&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || MacOS X || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' || currently source code only&lt;br /&gt;
|-&lt;br /&gt;
| Losmandy || G11 || Linux/Windows || TelescopeServerLx200(.exe) || style=&amp;quot;background:green&amp;quot; | '''Supported''' || successfully used by some guy in the forum&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
#The telescope server program (short: Server) is a stand alone program that can operate exactly one telescope, and can simultanousely serve one or many clients (like stellarium). The terms ''server'' and ''client'' refer to the respective role in TCP/IP communication. The name of the binary should uniquely identify the telescope communication protocol it is using for communicating with the telescope. Naming convention for programmers: The name of the driver refers to the ''class'' in the driver source code. This is usually similar to the name of the resulting binary (program), but to be certain, look inside the .hpp file which is used to make the binary.  It might be a good idea to adopt the convention of making the resulting binary have the same name as the driver class.&lt;br /&gt;
#Autostar ETX70 with 494 controller and 506 cable. Cross hair appears and telescopeserverLX200.exe polls telescope but the telescope fails to move when request is made. This has been tested on three different installations. Has anyone else checked this it could be a difference with the 494 controller that is not on the 496/7. B.G&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Compatibility</id>
		<title>Telescope Compatibility</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Compatibility"/>
				<updated>2006-08-08T22:45:19Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists telescope control drivers and their compatibility with various models.&lt;br /&gt;
----&lt;br /&gt;
{| cellpadding=2 border=1&lt;br /&gt;
| '''Make''' || '''Model''' || '''Operating System''' || '''Server''' (see note 1) || '''Status''' || '''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || Linux || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' ||&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || Windows || TelescopeServerLx200.exe || style=&amp;quot;background:green&amp;quot; | '''Supported''' || see note 2, please send a logfile!&lt;br /&gt;
|-&lt;br /&gt;
| Meade || Autostar || MacOS X || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' || currently source code only&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || Linux || TelescopeServerLx200 || style=&amp;quot;background:green&amp;quot; | '''Supported''' || Original reference implementation, used by the developer&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || Windows || TelescopeServerLx200.exe || style=&amp;quot;background:green&amp;quot; | '''Supported''' || Original reference implementation, seems to work well with different kinds of Windows&lt;br /&gt;
|-&lt;br /&gt;
| Meade || LX200 || MacOS X || TelescopeServerLx200 || style=&amp;quot;background:orange&amp;quot; | '''Untested''' || currently source code only&lt;br /&gt;
|-&lt;br /&gt;
| Losmandy || G11 || Linux/Windows || TelescopeServerLx200(.exe) || style=&amp;quot;background:green&amp;quot; | '''Supported''' || successfully used by some guy in the forum&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
#The telescope server program (short: Server) is a stand alone program that can operate exactly one telescope, and can serve one or many clients (like stellarium). The terms ''server'' and ''client'' refer to the respective role in TCP/IP communication. The name of the binary should uniquely identify the telescope communication protocol it is using for communicating with the telescope. Naming convention for programmers: The name of the driver refers to the ''class'' in the driver source code. This is usually similar to the name of the resulting binary (program), but to be certain, look inside the .hpp file which is used to make the binary.  It might be a good idea to adopt the convention of making the resulting binary have the same name as the driver class.&lt;br /&gt;
#Autostar ETX70 with 494 controller and 506 cable. Cross hair appears and telescopeserverLX200.exe polls telescope but the telescope fails to move when request is made. This has been tested on three different installations. Has anyone else checked this it could be a difference with the 494 controller that is not on the 496/7. B.G&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-08-08T21:48:51Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: Usage, debug information&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
===Overview===&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
===Architecture===&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
===Building===&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
===Alternatively: downloading precompiled MS Windows binaries===&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
I also provide a cross-compiled stellarium.exe which can be considered as a development snapshot:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/stellarium.exe.gz stellarium.exe.gz]&lt;br /&gt;
&lt;br /&gt;
This is no windows installer archive, just a plain executable that is supposed to replace the official executable in the official package. I have heard that the official 0.8.1 windows binary has problems with the telescope control feature, so please use this binary instead.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
Start stellarium, the telescope server(s) and your telescope(s). The order of starting does not matter. You can also stop and restart stellarium, the telescope server(s) or your telescope(s) at any time.&lt;br /&gt;
&lt;br /&gt;
As soon as the telescope server has sent the telescopes position to stellarium, you will see a crosshair marker indicating the telescopes position, labeled with your telescopes name (config.ini). Note that the crosshair marker might be outside your current field of view. Zoom out and search for the marker, or alternatively use stellariums search feature. When you see the marker, you know that stellarium has successfully connected to the telescope server.&lt;br /&gt;
&lt;br /&gt;
===Run the server===&lt;br /&gt;
&lt;br /&gt;
Navigate to the directory containing the file, and start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of Stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two different telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave out the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that Stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
===Gathering debug information===&lt;br /&gt;
&lt;br /&gt;
For debugging in most cases I will need the log of the telescope server. You can produce the logfile eigther by redirecting stdout into a file or by supplying the logfiles name as an additional command line parameter upon startup of the telescope server:&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerDummy.exe 10000 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 name-of-logfile.txt&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1: name-of-logfile.txt&lt;br /&gt;
&lt;br /&gt;
Other information useful for me is stellariums stdout and config.ini. The windows version stellarium.exe already redirects stdout into a file named stdout.txt.&lt;br /&gt;
&lt;br /&gt;
===Useful Stellarium features===&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
==Telescope Compatibility List==&lt;br /&gt;
*[[Telescope Compatibility]]&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-08-01T22:09:49Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
Overview:&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 or AutoStar telescopes&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Architecture:&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Building:&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Alternatively: downloading precompiled MS Windows binaries&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
I also provide a cross-compiled stellarium.exe which can be considered as a development snapshot:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/stellarium.exe.gz stellarium.exe.gz]&lt;br /&gt;
&lt;br /&gt;
This is no windows installer archive, just a plain executable that is supposed to replace the official executable in the official package. I have heard that the official 0.8.1 windows binary has problems with the telescope control feature, so please use this binary instead.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
&lt;br /&gt;
Start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two differnt telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave away the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Useful stellarium features:&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-07-11T22:29:43Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: precompiles windows binaries&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
Overview:&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 telescopes&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Architecture:&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Building:&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Alternatively: downloading precompiled MS Windows binaries&lt;br /&gt;
&lt;br /&gt;
I have noticed that MS Windows users often prefer downloading precompiled binaries instead of building by themselves. Therefore I provide Windows binaries:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerLx200.exe.gz TelescopeServerLx200.exe.gz]&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/TelescopeServerDummy.exe.gz TelescopeServerDummy.exe.gz]&lt;br /&gt;
&lt;br /&gt;
I also provide a cross-compiled stellarium.exe which can be considered as a development snapshot:&lt;br /&gt;
&lt;br /&gt;
 [http://members.chello.at/johannes.gajdosik/stellarium.exe.gz stellarium.exe.gz]&lt;br /&gt;
&lt;br /&gt;
This is no windows installer archive, just a plain executable that is supposed to replace the official executable in the official package. I have heard that the official 0.8.1 windows binary has problems with the telescope control feature, so please use this binary instead.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
&lt;br /&gt;
Start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two differnt telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave away the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Useful stellarium features:&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-06-21T19:57:18Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
Overview:&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 telescopes&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Architecture:&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Building:&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
&lt;br /&gt;
Start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two differnt telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave away the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Useful stellarium features:&lt;br /&gt;
&lt;br /&gt;
in your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_light_travel_time = true&lt;br /&gt;
 ...&lt;br /&gt;
 [gui]&lt;br /&gt;
 flag_show_flip_buttons = true&lt;br /&gt;
&lt;br /&gt;
Accounting for light travel time is a must when you observe planetary satellites.&lt;br /&gt;
You will also want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. You can do this with the flip buttons and/or the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-06-18T22:10:46Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Warning: when you abuse stellariums telescope control feature for pointing your telescope to the sun without a proper solar filter, then this is your own fault. Stellarium cannot check if you have your solar filter properly installed or not. So when you ruin your telescope, your eyes, your childrens eyes or whatever, then this is not our fault, but yours.'''&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
Overview:&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 telescopes&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Architecture:&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Building:&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
&lt;br /&gt;
Start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two differnt telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave away the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You will want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. Currently there are the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
I also plan to commit menu buttons for the flipping, which also show the current flipping state.&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	<entry>
		<id>http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)</id>
		<title>Telescope Control (client-server)</title>
		<link rel="alternate" type="text/html" href="http://stellarium.org/wiki/index.php/Telescope_Control_(client-server)"/>
				<updated>2006-06-18T22:00:42Z</updated>
		
		<summary type="html">&lt;p&gt;Johannes: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this page I describe the telescope control feature that is present in stellarium since version 0.8.1.&lt;br /&gt;
&lt;br /&gt;
Overview:&lt;br /&gt;
&lt;br /&gt;
Although stellarium is currently (since 0.8.1) able to control any telescope using a suiting external telescope server, up to now there exist only the following telescope server programs:&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy: can be used for testing and as a starting point for developing new telescope servers, no telescope is required&lt;br /&gt;
&lt;br /&gt;
TelescopeServerDummy.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200: used for controlling Meade LX200 telescopes&lt;br /&gt;
&lt;br /&gt;
TelescopeServerLx200.exe: same for MS Windows&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Architecture:&lt;br /&gt;
&lt;br /&gt;
Actual communication with the telescope is not done by stellarium itself, but by an external program which is called telescope server. Stellarium and the telescope server communicate with each other over TCP/IP. For the TCP communication there is an LGPL library which should make the development of telescope servers easy. This architecture has the following advantages:&lt;br /&gt;
&lt;br /&gt;
1) The stellarium source code does not get bloated by incorporation of dozens of telescope control mechanisms and protocols. Instead the stellarium sourcecode stays maintainable.&lt;br /&gt;
&lt;br /&gt;
2) TCP is available on any platform, so for stellarium there are little or no portability problems.&lt;br /&gt;
&lt;br /&gt;
3) Any developer can easily provide an own telescope server for his own telescope, eigther by using the stellarium telescope library (recommended) or without it. No knowledge about the stellarium programs source code is required.&lt;br /&gt;
&lt;br /&gt;
4) There are no license problems: An external telescope server can, but does not need to be GPL. When building your own telescope server you can link with any library you want: ASCOM, Indy, any proprietary library, whatever.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Building:&lt;br /&gt;
&lt;br /&gt;
The telescope server programs described above are available from anonymous cvs:&lt;br /&gt;
&lt;br /&gt;
 cvs -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium login&lt;br /&gt;
 cvs -z3 -d:pserver:anonymous@stellarium.cvs.sourceforge.net:/cvsroot/stellarium co -P telescope_server&lt;br /&gt;
&lt;br /&gt;
There is a README file. Just change into the src directory and type 'make' (no autoconf/automake). In order to cross-compile for MS Windows export the environment variable CROSS_GPP and type 'make exe'. I have never tried native MS Windows compilation, but I suppose that any compiler will do. Same for other operating systems. If you have problems, write to the forum. Or write an email to me, I can also provide binaries.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
&lt;br /&gt;
Start the telescope server with a command line like&lt;br /&gt;
&lt;br /&gt;
 TelescopeServerDummy 10000 or&lt;br /&gt;
 TelescopeServerDummy.exe 10000 or&lt;br /&gt;
 TelescopeServerLx200 10000 /dev/ttyS0 or&lt;br /&gt;
 TelescopeServerLx200.exe 10000 COM1:&lt;br /&gt;
&lt;br /&gt;
depending on your telescope and serial port. In this example I assume you use TCP port 10000, but you can use any free port you want. The telescope servers are capable of serving a huge number of stellarium programs, so you can share the control of your telescope with other stellarium programs.&lt;br /&gt;
&lt;br /&gt;
In your config.ini write&lt;br /&gt;
&lt;br /&gt;
 [astro] &lt;br /&gt;
 flag_telescopes = true &lt;br /&gt;
 flag_telescope_name = true &lt;br /&gt;
 ...&lt;br /&gt;
 [telescopes] &lt;br /&gt;
 1 = My_first_telescope:TCP:localhost:10000:500000&lt;br /&gt;
 2 = My_second_telescope:TCP:localhost:10001:500000&lt;br /&gt;
&lt;br /&gt;
Here I have assumed that you have started two differnt telescope servers on your machine for controlling two different telescopes. When you have just 1 GOTO telescope like me, leave away the last line. If you run the telescope server on a different machine, you must replace 'localhost' with the name of this machine. The value 500000 indicates, that stellarium will not show the telescopes current position - which is unknown anyway - but instead an interpolated position of 500000 microseconds (=0.5 seconds) ago. 'My_first_telescope' is the name that will be shown in stellarium next to the telescope marker. '1' is the keyboard shortcut: &amp;lt;Ctlr&amp;gt;&amp;lt;1&amp;gt; will make the telescope point to the currently selected object (GOTO). Currently up to 10 telescopes can be controlled using keys 0,1,...,9.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
You will want to flip the stellarium image horizontally and/or vertically in order to match what you see in your eyepiece. Currently there are the following keyboard shortcuts:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;h&amp;gt;: toggle horizontal image flip&lt;br /&gt;
 &amp;lt;Ctrl&amp;gt;&amp;lt;Shift&amp;gt;&amp;lt;v&amp;gt;: toggle vertical image flip&lt;br /&gt;
&lt;br /&gt;
I also plan to commit menu buttons for the flipping, which also show the current flipping state.&lt;br /&gt;
&lt;br /&gt;
When you have problems or when you are satisfied, write to the forum.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
--[[User:Johannes|Johannes]] 14:48, 18 June 2006 (PDT)&lt;/div&gt;</summary>
		<author><name>Johannes</name></author>	</entry>

	</feed>