]> git.xonotic.org Git - xonotic/netradiant.git/blob - docs/manual/quake3/Terrain_Manual/pages/creating_the_terrain.html
transfer from internal tree r5311 branches/1.4-gpl
[xonotic/netradiant.git] / docs / manual / quake3 / Terrain_Manual / pages / creating_the_terrain.html
1 <html>\r
2 \r
3 <head>\r
4 <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">\r
5 <meta name="GENERATOR" content="Microsoft FrontPage 4.0">\r
6 <meta name="ProgId" content="FrontPage.Editor.Document">\r
7 <title>Creating the Terrain</title>\r
8 </head>\r
9 \r
10 <body background="../pics/background.jpg" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">\r
11 \r
12 <p align="center"><b><font size="5">Creating the Terrain \93Mesh\94</font></b></p>\r
13 \r
14 <font SIZE="4">\r
15 <div align="right">\r
16   <table border="1" cellspacing="1" width="100%" bordercolor="#808080" bgcolor="#000000" cellpadding="10">\r
17     <tr>\r
18       <td width="100%"><font FACE="Times New Roman">\r
19 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Although it\92s not necessarily the only way to develop a piece of terrain,\r
20 thinking of it and creating it as \93mesh\94 of triangular brushes may be the\r
21 easiest way to work initially. The terrain sections for Quake III: Team Arena\r
22 were built in this manner, though each designer went about it in slightly\r
23 different ways.</p>\r
24 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Our primary tool was a plugin for <a href="http://www.qeradiant.com/" target="_blank"> Q3Radiant</a> , created by David Hyde, called\r
25 <a href="http://tarot.telefragged.com/gensurf/" target="_blank">GenSurf</a>. The tool was originally created for Quake 2 (and may have been around\r
26 longer) and has been adapted for use with many of the game engines using Quake,\r
27 Quake2 and Quake3 technology. The basic concept behind GenSurf is that it can\r
28 create and export a group of brushes (or curve patches) to Q3Radiant that have\r
29 the look of \93natural\94 terrain about them. Within the plug-in, the mapmaker\r
30 has control over the horizontal dimensions of the terrain entity, the steepness\r
31 of the slopes it creates, and the number of columns and rows of triangles that\r
32 it subdivides into.</p>\r
33 <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The terrain can be generated from within the tool by using simple waveforms,\r
34 more complex mathematical expressions, fractal calculations, or height maps. The\r
35 last item, height maps, is in our opinion, the route to take for creating\r
36 complex, visually interesting terrain layouts. A height map is a piece of art\r
37 (we rendered them in grayscale) that GenSurf uses as a template for establishing\r
38 the height of vertexes (the points where the corners of the terrain triangles\r
39 meet). GenSurf interprets the color of the pixel (or more correctly the\r
40 numerical color value of the pixel) that corresponds to the location of the\r
41 vertex. Generally, the darker the gray value, the lower in height the vertex\r
42 (256 unique height values corresponding to 256 pixel colors). GenSurf then uses\r
43 the vertexes to define the extents of triangles and suddenly, one has a terrain\r
44 surface. Of course, there are a few details of construction between start and\r
45 finish \85</p>\r
46 </font>\r
47 \r
48 <p align="center"><a href="terrain_entity.html">Back</a> - <a href="table_of_contents.html">Table\r
49 of Contents</a> - <a href="height_maps.html">Height Maps</a></p>\r
50 \r
51         <p>&nbsp;</td>\r
52     </tr>\r
53   </table>\r
54 </div>\r
55 </font>\r
56 \r
57 <p align="center">&nbsp;</p>\r
58 <p align="center">&nbsp;</p>\r
59 <p align="center">-7-</p>\r
60 \r
61 </body>\r
62 \r
63 </html>\r