O'Reilly logo

3D Graphics with XNA Game Studio 4.0 by Sean James

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

Rendering sky boxes with Terragen

There are many ways to create the cube map for a sky box. You can draw them by hand, render them from a 3D modeling program or the game itself, or, like we are going to do right now, render them with an environment modeling program such as Terragen. Terragen is a free program (unless you want to use it commercially, in which case you will need to pay $99) that renders terrain, water, and skies. We can specify the camera angles to render from in order to render the images for the six sides of our cube map.

The first step is to download and install Terragen. Download "Terragen Classic" from http://planetside.co.uk, install it, and launch the program. Before we render our environment, we need to set a few settings. ...

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