<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.stellarium.org/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;feed=atom&amp;action=history</id>
		<title>Landscape Rotation - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;action=history"/>
		<updated>2013-05-25T00:51:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4706&amp;oldid=prev</id>
		<title>Matthewg42 at 14:03, 2 December 2008</title>
		<link rel="alternate" type="text/html" href="http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4706&amp;oldid=prev"/>
				<updated>2008-12-02T14:03:40Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:03, 2 December 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Check your answer [[Landscape_Rotation_Exercise_Solution|here]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Check your answer [[Landscape_Rotation_Exercise_Solution|here]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Landscapes]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Landscapes&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]][[Category:Customization&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Matthewg42</name></author>	</entry>

	<entry>
		<id>http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4673&amp;oldid=prev</id>
		<title>Matthewg42 at 13:48, 2 December 2008</title>
		<link rel="alternate" type="text/html" href="http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4673&amp;oldid=prev"/>
				<updated>2008-12-02T13:48:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:48, 2 December 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Check your answer [[Landscape_Rotation_Exercise_Solution|here]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Check your answer [[Landscape_Rotation_Exercise_Solution|here]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Landscapes]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Matthewg42</name></author>	</entry>

	<entry>
		<id>http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4671&amp;oldid=prev</id>
		<title>Matthewg42 at 13:38, 2 December 2008</title>
		<link rel="alternate" type="text/html" href="http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4671&amp;oldid=prev"/>
				<updated>2008-12-02T13:38:53Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:38, 2 December 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;When you make a landscape, you may want to orient some part of the image towards North or some other bearing.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;When you make a landscape, you may want to orient some part of the image towards North or some other bearing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;For '''spherical''' type landscapes (the formal name for this sort of panorama is a '''equirectangular''' panorama), you can use the following procedure for calculating the rotation needed.&amp;#160; The rotation can be specified using the '''angle_rotatez''' setting in the landscape.ini file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;For '''spherical''' type landscapes (the formal name for this sort of panorama is a '''equirectangular''' panorama), you can use the following procedure for calculating the rotation needed.&amp;#160; The rotation can be specified using the '''angle_rotatez''' setting in the landscape.ini file &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(note that this is only possible for version 0&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;9.1 and later.&amp;#160; For older versions of Stellarium you must edit the image).&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Consider the following panorama which is to be used as a landscape image:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://porpoisehead.net/misc/calc_landscape_rot1.png&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://porpoisehead.net/misc/calc_landscape_rot1.png&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;where:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;where:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*b is the bearing you want to have the chosen object, in degrees.&amp;#160; Use 0 for North, 90 for East etc.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;b&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;is the bearing you want to have the chosen object, in degrees.&amp;#160; Use 0 for North, 90 for East etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*x is the distance in pixels from the left side of the image to the object you want to align.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;x&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;is the distance in pixels from the left side of the image to the object you want to align.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*X is the horizontal image size.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;X&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;is the horizontal image size.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;For example, here's the landscape image again, with some measurements:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;For example, here's the landscape image again, with some measurements:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Matthewg42</name></author>	</entry>

	<entry>
		<id>http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4669&amp;oldid=prev</id>
		<title>Matthewg42 at 13:22, 2 December 2008</title>
		<link rel="alternate" type="text/html" href="http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4669&amp;oldid=prev"/>
				<updated>2008-12-02T13:22:49Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:22, 2 December 2008&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; angle_rotatez = 14.06&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; angle_rotatez = 14.06&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Note that the landscape image I am using in the example will work, but it's not a very good landscape image, so you might want to try this with a better panorama.&amp;#160; The moon landscape which comes with Stellarium is a good one to practice on.&amp;#160; As an exercise &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to check you know how to do it&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;consider applying &lt;/del&gt;a rotation to the moon landscape, having the astronaut due South.&amp;#160; Check your answer [[Landscape_Rotation_Exercise_Solution|here]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Note that the landscape image I am using in the example will work, but it's not a very good landscape image, so you might want to try this with a better panorama.&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The moon landscape which comes with Stellarium is a good one to practice on.&amp;#160; As an exercise, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;apply &lt;/ins&gt;a rotation to the moon landscape, having the astronaut due South &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(the astronaut who is in the distance, not the shadow in the foreground)&lt;/ins&gt;.&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Check your answer [[Landscape_Rotation_Exercise_Solution|here]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Matthewg42</name></author>	</entry>

	<entry>
		<id>http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4668&amp;oldid=prev</id>
		<title>Matthewg42: New page: When you make a landscape, you may want to orient some part of the image towards North or some other bearing.  For '''spherical''' type landscapes (the formal name for this sort of panoram...</title>
		<link rel="alternate" type="text/html" href="http://www.stellarium.org/wiki/index.php?title=Landscape_Rotation&amp;diff=4668&amp;oldid=prev"/>
				<updated>2008-12-02T13:19:02Z</updated>
		
		<summary type="html">&lt;p&gt;New page: When you make a landscape, you may want to orient some part of the image towards North or some other bearing.  For &amp;#039;&amp;#039;&amp;#039;spherical&amp;#039;&amp;#039;&amp;#039; type landscapes (the formal name for this sort of panoram...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;When you make a landscape, you may want to orient some part of the image towards North or some other bearing.&lt;br /&gt;
&lt;br /&gt;
For '''spherical''' type landscapes (the formal name for this sort of panorama is a '''equirectangular''' panorama), you can use the following procedure for calculating the rotation needed.  The rotation can be specified using the '''angle_rotatez''' setting in the landscape.ini file.&lt;br /&gt;
&lt;br /&gt;
http://porpoisehead.net/misc/calc_landscape_rot1.png&lt;br /&gt;
&lt;br /&gt;
In this image, there is a tree.  Let's say you want this tree to appear at bearing 0 degrees in Stellarium (due North).&lt;br /&gt;
&lt;br /&gt;
First, you need to calculate the distance from the left side of the landscape image to the tree as a fraction of the total image width, and then use these numbers in the following formula:&lt;br /&gt;
&lt;br /&gt;
 270 + b - ( 360 * x / X )&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
*b is the bearing you want to have the chosen object, in degrees.  Use 0 for North, 90 for East etc.&lt;br /&gt;
*x is the distance in pixels from the left side of the image to the object you want to align.&lt;br /&gt;
*X is the horizontal image size.&lt;br /&gt;
&lt;br /&gt;
For example, here's the landscape image again, with some measurements:&lt;br /&gt;
&lt;br /&gt;
http://porpoisehead.net/misc/calc_landscape_rot2.png&lt;br /&gt;
&lt;br /&gt;
Putting the figures in the equation:&lt;br /&gt;
&lt;br /&gt;
   270 + b - ( 360 * x / X )&lt;br /&gt;
 = 270 + 0 - ( 360 * 364 / 512 )&lt;br /&gt;
 = 14.06&lt;br /&gt;
&lt;br /&gt;
If the result is outside the range 0 ... 360, you should add or subtract 360 to bring it into this range.&lt;br /&gt;
&lt;br /&gt;
The figure of 14.06 should be put into the landscape.ini file like this:&lt;br /&gt;
&lt;br /&gt;
 [landscape]&lt;br /&gt;
 name = Test&lt;br /&gt;
 author = Matthew&lt;br /&gt;
 description = Test landscape to demonstrate alignment&lt;br /&gt;
 type = spherical&lt;br /&gt;
 maptex = image.png&lt;br /&gt;
 angle_rotatez = 14.06&lt;br /&gt;
&lt;br /&gt;
Note that the landscape image I am using in the example will work, but it's not a very good landscape image, so you might want to try this with a better panorama.  The moon landscape which comes with Stellarium is a good one to practice on.  As an exercise to check you know how to do it, consider applying a rotation to the moon landscape, having the astronaut due South.  Check your answer [[Landscape_Rotation_Exercise_Solution|here]].&lt;/div&gt;</summary>
		<author><name>Matthewg42</name></author>	</entry>

	</feed>