Sections

  • Search Chrome Cow

Design a Day



How to use freely available images to make the planet of your dreams

A while back, I was called upon to terraform the planet Mars. Having a couple of free hours, I decided to take up the challenge, and turn the red planet blue.

I needed some striking space imagery for pitch material for a proposed space-based MMPO. I’ve spent a fair bit of time tromping around the NASA and USGS (US Geological Survey) websites, glorying at the bounty that our tax dollars make available on the net (see list of links at the end of the tutorial).

The Raw Materials

A cylindrical projection of the Mars surface, taken by one of the planetary surveys done by NASA.

It may seem trivial to be able sit down at your computer and pull up an image like this, but think for a moment at the work it has taken to send these probes, about the size of a Volkswagen Bug, hurtling into space, bouncing through the gravity wells of planet after planet, taking these images and beaming them back to us here on Earth, sometimes taking a decade or more to accomplish the mission. Truly one of the most awe inspiring of human accomplishments.

I’ve scaled down all the images I’ve used in the terraforming project, because I’m paying for bandwidth. The government has great big servers, so go pound on them if you want the full size images…};^) The image below is a sample of the detail you get on these maps. Depending on the use you have in mind, you may need to go through the map with the Photoshop Clone Tool or similar, depending on what software you use, and clean up some glitches and mosaic lines if you think they will show up in your final images. This image was clean enough for my use.

Next on the list was a topographic map (in the same cylindrical projection) of Mars. There are topo maps of Earth, Mars and Venus on the net. There may be a few others, mostly moons. The topographic maps for gas giants are none too interesting.

One of the things that jumps out at you looking at the Mars topo is that at some point in the past, Mars got the crap kicked out of it. In topo maps, white is high, and black is low. The big black spot is where something big hit the planet. But the upper dark band is worse, something enormous hit and pretty much melted half the planet. That’s why there is not much detail, craters, mountains, etc., on that side of Mars. In addition, the other hemisphere was pushed up dramatically. It’s almost like there’s a cliff that circles Mars, delineated by the white/black hemispheres.

Another point of interest is the white spot in the upper left quadrant. This is Olympus Mons, the tallest mountain in the solar system, and a volcano to boot! The mountain is about the size of the state of Arizona, and is about 16 miles (25 Km) high. Almost all the raw materials have been gathered.

All that remains is finding some cloud cover. Novice terraformers might be tempted to use a fractal pattern for cloud cover, but trust me, don’t. Another benefit of the space program; people know what clouds look like from space. There are some good Earth cloud plates floating around on the net, and NOAA (National Oceanic and Atmospheric Administration) takes pictures of Earth’s cloud cover 24/7. Dig around their server for useful images, or make your own.

The plate above is a nice mosaic, though it could be trouble in an animation, since a quick glance detects that it is a hemisphere’s worth of cloud cover cloned (and indeed, many smaller internal features are also cloned. Framed correctly, it is perfect for stills and limited animation.




Understanding (not to mention actually using) Photoshop’s Difference Layer

Over the years, I’ve accumulated a few different uses for Photoshop’s Difference Layer functionality, in much the same way I’ve accumulated old computer parts. I didn’t really go looking, it just sort of happened. My impression is that there are three kinds of Photoshop users: those who’ve never stumbled across Difference, those who have played with Difference and a few who actually use Difference. This how-to should appeal to all three.

What is this Difference You Humans Speak of?

A little bit of simple math up front, then on to the good stuff…I promise. There are a couple of different spots in Photoshop where difference shows up. For the following fooling around, assume that we’re talking about the Difference option that appears in the Layers blending menu.

What does it do? In simplest terms, it compares a layer to the layer just below it. Where the pixels have the same RGB value, it displays black (0-0-0).

Those zeros mean there is no difference between the two layers.

Original Image

Comparison Image

Let’s start with these two images. The original image on the top contains three swatches; 255 red / 255 blue / 255 green. The comparison image adds a stripe of white 255 / 255 / 255 on top, and black 0 / 0 / 0 on the bottom. If we place the comparison image in a layer above the original image and set that layer to Difference, we get this:

So what does that image tell us? Well, let’s start from the bottom. Where the comparison image was black, we see the original colors. What it means is the difference between black, where all the RGB values equal 0, and any other color is the the value of the original color:

In the middle stripe, where the colors are the same, which is to say, no difference, the result is a black strip. The difference between a red pixel and a red pixel is 0, green and green, 0, and so on.

Etc.

The top looks a little funky. What’s the deal? Well, now we have a white stripe, where all the RGB values equal 255. So now we get this:

The astute reader will notice that I’m not being consistent about what layer’s RGB values I’m subtracting, sometimes one, sometimes the other. All we are really interested in is the magnitude of the difference. The equation would actually look something like this:

  • Absolute Value of (Layer_1 Red - Layer_0 Red)
  • Absolute Value of (Layer_1 Green - Layer_0 Green)
  • Absolute Value of (Layer_1 Blue - Layer_0 Blue)

The bottom line: Where the images are the same, you get black. Where they are different, you get something else.




Use of the following content is governed by the Chrome Cow’s Terms of Service.

Games

Games

There are some Flash prototyping experiments here, as well as a downloadable boardgame. Leave feedback on the games in the comments. [ Link ]

Palabre Modules

Palabre Modules

Python Modules I have written for the open source Socket Server Project, Palabre. Palabre is a lean socket server with a nice user modules system. [ Link ]

LScript

Lscript

A collection of scripts for Lightwave 3D™. Includes the popular PDB Reader and Dial Ticks scripts. All scripts are saved in plain text. [ Link ]

Lscript UDF

LScript UDFs

A collection of various User Defined Funtions for Lightwave 3D™ contributed by several generous members of the scripting community. [ Link ]

Photoshop

Photoshop™ Actions and Scripts

Includes the Topomatic fake topo map generator, Schmootz, Sean’s HSB Paint tools, which allows artist to quickly the tweak Hue, Saturation and Brightness of the foreground color. [ Link ]

3D Objects

3D Objects

A number of freely available 3D objects in the Lightwave 3D™ format. Includes a small wind-up robot, and a clothespin. [ Link ]

WordPress Plugins

WordPress Plugins

Plugins for WordPress, popular blog software.
Currently includes ShowChildContent. [ Link ]

Excel Spreadsheets

Excel Spreadsheets

Various Spreadsheets in Excel 2003 format. Includes Perpetual Calendar tools. [ Link ]


It is by teaching that we teach ourselves, by relating that we observe, by affirming that we examine, by showing that we look, by writing that we think, by pumping that we draw water into the well.

Henri-Frederic Amiel (1821-81)

Use of the following content is governed by the Chrome Cow’s Terms of Service.

Use a Cellphone Camera to Check Remote Control Batteries

Use a Cellphone Camera to Check Remote Control Batteries

Grab some popcorn; there’s a movie. Use you cellphone camera to check the batteries in remote controls in one easy step. Impress your friends and neighbors, win bar-bets. Link


Embrace Difference

Embrace Difference

Photoshop’s baffling Difference Layer; it’s often ignored, or used to ill purpose by those who enjoy its psychedelic flavor. But, honestly it’s not just for rave posters. Peek inside for the story they don’t want you to know. Link


Terraforming for Fun and Profit

Terraforming for Fun and Profit

A vibrant, water cover red planet; the stuff of legends? A multi-trillion dollar investment? Hardly. Using accurate information available for free on the net, add a touch of life to the Red Planet without increasing the budget deficit. Link


Drive on the Wrong Side of the Road

How to Drive on the Wrong Side of the Road

Taking a trip to the mirror-lands where they drive on the wrong side of the road? Here are some helpful hints and strategies for surviving your drive on the wild side. Link