Home Planetarium
Total Page:16
File Type:pdf, Size:1020Kb
LINUXUSER Stellarium Stargazing with Stellarium HOME PLANETARIUM If you like astronomy but you don’t like sitting outside on cold nights, try stargazing from a virtual planetarium. BY KRISTIAN KISSLING tellarium [1] is a virtual planetar- If this is the first time you have used the libsdl-mixer1.2-dev, libsdl-gfx1.2-dev, or ium application that simulates CVS, just repeat these steps if an error libsdl1.2-sound-dev, as well as packages Sthe night sky and shows you con- message appears. CVS needs a .cvs for OpenGL, such as xlibmesa-gl-dev, stellations and celestial bodies. The goal folder in your home directory, but in- and a couple of other packages, such as of Stellarium is to provide users with a stead of just setting up the folder, it just zlib1g-dev and libpng12-dev. The CVS clear, annotated view of what they acts surprised if the folder isn’t there. version may be up to date, but it is often would see in the night sky with eyes, Now change to an empty directory and buggy. If this is the case, you can down- binoculars, or a small telescope. Like a start to download: load and build the stable version, stellar- real planetarium, the Stellarium virtual ium-0.7.1.tar.gz, off the Web [2]. Note planetarium can display a view of the cvs -z3 -d:pserver:U that some of the features described in sky from other locations on the Earth or [email protected]:U this article are missing in the stable other points in history. /cvsroot/stellarium co U version. stellarium Setting Up Getting Started To use Stellarium’s full feature scope, In the new stellarium subdirectory, run Open a console window and type stellar- you will need to download the latest ver- the ./autogen.sh command to create the ium. The program comes up with a pic- sion of the program from the CVS. The configure file, and then follow the nor- turesque scene and the sky above it (Fig- cvs program, which you can install using mal steps to build and install Stellarium: ure 1). Depending on the time of day, YaST or Apt-get, is required for this. An- ./configure, make and make install with you may be able to see the stars. The other essential requirement is 3D drivers root privileges. Stellarium needs a few view depends on the program launch for your graphics adapter, as the pro- developer packages. Suse Linux requires time – Stellarium synchronizes with gram needs a fair amount of graphics the SDL-devel and xorg-x11-Mesa-devel your computer’s internal clock. There is performance. First log in to the Stellar- packages. The latter can be an issue: a status bar with a variety of information ium CVS at the command line, and press if you used YaST to install the Nvidia at the top of the screen. The current date [Enter] when you are prompted for a driver, xorg-x11-Mesa-devel will destroy and time are shown on the left, followed password: the required kernel module. by the name and program version. On You need to reinstall Nvidia, prefera- the far right, there are two values that cvs -d:pserver:U bly following the steps described on the need some explaining: fov is short for [email protected]:U Nvidia page. “Debian Etch” users need “Field of view”; you can extend or re- /cvsroot/stellarium login the SDL packages, libsdl1.2-dev, strict the field of view by pressing [PgUp] 78 ISSUE 65 APRIL 2006 WWW.LINUX - MAGAZINE.COM Stellarium LINUXUSER Figure 1: Stellarium comes up with a nature scene and lots of sky. If you launch the program after dark, you can see the stars. through a fish-eye or a telescope. Save as and this makes sense if you zoom into default lets you store these settings. The space. Cardinal Points lets you display Rendering tab lets you specify the level letters for north, south, east, and west of detail in Stellarium, and this is where in the sky. and [PgDn]. 100 degrees gives you a fish- you enable and disable options, al- The most impressive thing about Stel- eye view; you can restrict the field of though most features can be modified larium is that it gives you command over view to a minimum of 0.001, which is via the icons on the lower left. Star time – just like the Celestia planetarium. what happens when you zoom into a re- Names, Up to mag means that the names You can go back to any point in history – mote planet. Gamers will probably have are displayed up to a certain luminosity, to view the night sky in the year 0, for guessed that FPS means “Frames per second.” If this value is too low, the dis- play will be jerky. On the lower left, you can see the vari- ous options that Stellarium offers in the form of a row of switches that you can enable or disable. The four icons on the lower right let you manipulate the time. Stellarium normally comes up in full- screen mode; pressing [F1] gives you a normal window. You can control the pro- gram by pressing keyboard shortcuts. There is a list of shortcuts on the Web at [3], or you can click the question mark icon to display the internal list. If the graphics performance is not good enough when you press the left mouse button to take a look around, you will need to tweak the video settings. To do so, click the screwdriver icon to go to the menu with the basic settings. Change to the Video tab, and reduce the Screen Resolution. The two options below Projection distort the viewer’s per- Figure 2: Planetarium in the snow. You can watch the skies from a variety of landscapes and spective; you then see your environment at different times of year. WWW.LINUX - MAGAZINE.COM ISSUE 65 APRIL 2006 79 LINUXUSER Stellarium ward and back fields from the left relate to constella- through time, and tions. You can click on the leftmost icon the triangle in the to draw lines between groups of stars center takes you to give you a clearer view of the con- back to realtime stellation. The next box gives you the mode. In the Loca- names of the constellations. And when tion tab, you can you click the third box, artist’s impres- define the location sions show less imaginative users why of the planetar- these constellations are known by their ium. In the CVS mythical names (Figure 3). The next version, you can two icons let you drop coordinate sys- even use the tems over the imaginary celestial mouse wheel, or sphere, an Azimuthal Grid and an press [PgUp] and Equatorial Grid, both of which are coor- [PgDn] to zoom dinate systems for defining the position into the map and of a celestial body (see the Coordinate Figure 3: An artist’s impression of the constellation Capricornus. specify the loca- Systems box). tion. If you like the idea of floating silently example, or to watch future eclipses. You As an alternative, just discover the co- through space, you can just switch off can define the Current Time in Date & ordinates of your current location and the landscape and the atmosphere by Time. Below this there is a display that enter them. Wikipedia might help you clicking the next button, and the one indicates how fast time is elapsing: the track down the correct coordinates for two places to the right. The compass number 1.0 indicates realtime mode. You your location. icon between these two lets you enable can accelerate and slow down the pace This just leaves the Landscapes tab, the Cardinal Points; the button to the of time by pressing [L] or [J], and [K] which lets you change the landscapes right adds nebulae to the galaxy. Astro- takes you back to realtime. displayed by the program. Your options nomic nebulae (interstellar clouds of The icons at the bottom right give you are green meadows, forests, or a snow- dust and gas that either emit or reflect a graphical approach to changing the capped mountain – all of them are quite light) first appear as flashing yellow dots time. The double triangles take you for- breathtaking (Figure 2). in space and reveal interesting forms when you zoom in. Table 1: Stellarium Controlling the Show When you left click a specific object, Keyboard Shortcuts Time to test the small icons in the lower the celestial body is surrounded by a left corner of the screen. The first three flashing cursor: clicking on the arrow Shortcut Effect [F1] Full screen [Up-Arrow] Rotate up Coordinate Systems [Down-Arrow] Rotate down Viewed from the earth, planets rotate altitude line crosses the horizon (an arc) [Right-Arrow] Rotate right about a fixed point known as the celes- is referred to as the azimuth (Figure 4). [Left-Arrow] Rotate left tial pole. The celestial pole actually com- This coordinate system is fairly simple, Left click Select object prises two poles. If you are at the North and it is not suitable for determining the [Space] Focus on object Pole, the celestial pole is located directly exact position of an object such as a [PgUp] Zoom in on object at the zenith. The same thing applies to planet that is highly dependent on the [PgDn] Zoom out from object the South Pole, but in this case, the ze- position of the viewer and the motion of nith is known as the nadir.