<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Flavio's blog &#187; astronomy</title>
	<atom:link href="http://flavio.stanchina.net/category/astronomy/feed/" rel="self" type="application/rss+xml" />
	<link>http://flavio.stanchina.net</link>
	<description>challenging common wisdom since he was 3</description>
	<lastBuildDate>Wed, 23 Feb 2011 23:18:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Xplanet for your desktop</title>
		<link>http://flavio.stanchina.net/2006/10/17/xplanet-on-the-desktop/</link>
		<comments>http://flavio.stanchina.net/2006/10/17/xplanet-on-the-desktop/#comments</comments>
		<pubDate>Mon, 16 Oct 2006 22:28:37 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[astronomy]]></category>
		<category><![CDATA[computers]]></category>

		<guid isPermaLink="false">http://flavio.stanchina.net/?p=16</guid>
		<description><![CDATA[I&#8217;ve been using astronomy pictures as my desktop background for years. In a never-ending search for the perfect background, however, I&#8217;m now using an Xplanet-generated image of the Earth and the Moon, with the Veil nebula behind them as additional eyecandy. Click on the sample image for a larger version &#8212; but I&#8217;ll tell you [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" title="my desktop background" href="http://www.stanchina.net/~flavio/pics/desktop/background.png"><img hspace="5" align="right" alt="desktop background" title="desktop background" src="http://www.stanchina.net/~flavio/pics/desktop/background-small.png" /></a>I&#8217;ve been using <a target="_blank" title="Astronomy Picture of the Day" href="http://antwrp.gsfc.nasa.gov/apod/astropix.html">astronomy pictures</a> as my desktop background for years. In a never-ending search for the perfect background, however, I&#8217;m now using an <a target="_blank" href="http://xplanet.sourceforge.net/">Xplanet</a>-generated image of the Earth and the Moon, with the <a target="_blank" title="The Veil Nebula, NGC6960" href="http://www.noao.edu/image_gallery/html/im0852.html">Veil nebula</a> behind them as additional eyecandy. Click on the sample image for a larger version &#8212; but I&#8217;ll tell you how to generate your own.</p>
<p><span id="more-16"></span>If you&#8217;re using KDE like I do, some good soul already set up all the pieces for you: open the &#8220;Advanced Background Settings&#8221; window, click on &#8220;Use the following program for drawing the background:&#8221; and select &#8220;xplanet&#8221; from the list. You&#8217;ll probably want to tweak the options and maybe even the Xplanet configuration file. This is the command line I&#8217;m using:</p>
<blockquote><p>xplanet -config desktop -latitude 30 -longitude 11 -radius 35 -glare 0.001 -base_magnitude 0 -background ~/pics/noao/veil_1280x1024_darkened.jpg -geometry %xx%y -num_times 1 -output %f.jpg &#038;&#038; mv %f.jpg %f</p></blockquote>
<p>I&#8217;m setting the Sun glare to 0.001 because the Sun passes just above the top of the picture at night and the glare would turn the background into a pale yellow splotch.</p>
<p>I&#8217;m setting the base magnitude to 0 because the background picture already provides all the stars I want. I scaled the background image to the right size and darkened it a little bit to get rid of the nebula&#8217;s faint diffuse glow and to reduce the amount of stars.</p>
<p>Here&#8217;s the important part of the configuration file:</p>
<blockquote><p>[default]<br />
max_radius_for_label=0 # never draw labels</p>
<p>[sun]<br />
shade=100 # No night side!</p>
<p>[earth]<br />
magnify=40</p>
<p>[moon]<br />
magnify=40</p></blockquote>
<p>The bodies are enlarged 40 times, otherwise you wouldn&#8217;t see the Earth and Moon in the same image very often.</p>
<p>Of course you&#8217;ll want to add color maps, a specular map and a bump map. For the image above I used maps from James Hastings-Trew&#8217;s <a title="JHT's Planetary Pixel Emporium" href="http://planetpixelemporium.com/index.php">Planetary Pixel Emporium</a>. Note that I&#8217;m not using a bump map on the Moon because it would add too much detail.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.stanchina.net/2006/10/17/xplanet-on-the-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

