07.01.2013 Views

Digital Universe Guide - Hayden Planetarium

Digital Universe Guide - Hayden Planetarium

Digital Universe Guide - Hayden Planetarium

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

30 3. THE MILKY WAY ATLAS<br />

Slider (choose alpha from the Slider Menu) to increase or decrease the opaqueness. If alpha = 0, the<br />

lines are completely transparent (invisible); if alpha = 1, the lines are opaque. We don’t recommend<br />

using an alpha of 1, as it will produce unwanted graphics effects. Use alpha = 0.99 if you want really<br />

bright lines.<br />

You may also use the Partiview Command Line to set an alpha value. For example, type alpha 0.5<br />

to bring the lines to half transparency.<br />

Changing Their Color If you’re unhappy with the colors we’ve chosen, you are free to change it. In<br />

Partiview, particles are assigned a color set by the color command; however, objects and labels are<br />

assigned color using the cment and textcment commands. Well, it’s actually more complicated than<br />

that. cment assigns a red-green-blue color to a reference number called a color index, and this color<br />

index is then assigned to the object.<br />

In the <strong>Digital</strong> <strong>Universe</strong>, we try to use color indexes of 1 when possible. Occasionally, a data group<br />

has more than one object or more than one color assigned to an object (as is the case for the<br />

constellations), making it necessary to use more than one color index.<br />

For the constellations, we use a color index of 3 for Orion and Ursa Major, a color index of 2 for the<br />

zodiacal constellations, and a color index of 1 for the remaining constellations. Partiview will report the<br />

color assigned to color index 1 when you type<br />

cment 1<br />

and so on, replacing “1” for the remaining color indexes. Remember, the colors are expressed in red,<br />

green, blue values, which range from 0–1. A color value of 0 means there is no color present, while a<br />

value of 1 is color saturation.<br />

For a pure red color we have (R, G, B) = (1, 0, 0). White is (R, G, B) = (1, 1, 1), black is<br />

(R, G, B) = (0, 0, 0), and pure yellow is (R, G, B) = (1, 1, 0). To make the lines a nice greenish color, type<br />

cment 1 .2 .7 .2.<br />

Changing the Label Color Similarly, the label color may be changed with the textcment<br />

command:<br />

textcment 1 .2 .7 .2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!