O'Reilly logo

3D Game Programming for Teens, Second Edition by Eric Grebler, Maneesh Sethi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating Heightmaps with a Brush

Another way that you can create a heightmap in PHOTO-PAINT, or just about any other graphics application, is to simply paint one. Just remember as you paint that the darker the shade of gray, the flatter the surface will be and vice versa. Start by launching PHOTO-PAINT.

  1. Click the New icon. If the Welcome screen doesn’t appear, or if you are already in PHOTO-PAINT, just click File > New. A new document dialog box will now appear where you can set the parameters for your heightmap.

  2. Take a look at Figure 8.7 and make sure that your settings are the same. You want the Color mode to be 8-bit Grayscale, the width and height to be 256 pixels, and the resolution to be 72 dpi. You’ll probably have to change the units of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required