Просмотр исходного кода

Update terrain_editor.adoc

Fixed broken new lines.
Fixed typos in image width.
mitm001 9 лет назад
Родитель
Сommit
c311666d9a
1 измененных файлов с 13 добавлено и 13 удалено
  1. 13 13
      src/docs/asciidoc/sdk/terrain_editor.adoc

+ 13 - 13
src/docs/asciidoc/sdk/terrain_editor.adoc

@@ -10,7 +10,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 The terrain editor lets you create, modify, and paint terrain.
 
-image::wp-uploads/2011/07/terrain-blogpost-july.png[terrain-blogpost-july.png,with="416",height="375",align="center"]
+image::wp-uploads/2011/07/terrain-blogpost-july.png[terrain-blogpost-july.png,width="416",height="375",align="center"]
 
 
 
@@ -21,10 +21,10 @@ Terrain controls are the same as the Scene Composer, you rotate the camera with
 
 == Creating Terrain
 
-To create terrain, first select a node (probably your root node) in your scene.+
-image:sdk/sdk-terrain-tut-selectnode.png[sdk-terrain-tut-selectnode.png,with="",height=""]+
-Then click the add terrain button.+
-image:sdk/sdk-terrain-tut-addterrain.png[sdk-terrain-tut-addterrain.png,with="",height=""]+
+To create terrain, first select a node (probably your root node) in your scene. +
+image:sdk/sdk-terrain-tut-selectnode.png[sdk-terrain-tut-selectnode.png,with="",height=""] +
+Then click the add terrain button. +
+image:sdk/sdk-terrain-tut-addterrain.png[sdk-terrain-tut-addterrain.png,with="",height=""] +
 This will pop up the Create Terrain wizard that will walk you through the steps for creating terrain. Make sure you decide now how large you want your terrain to be and how detailed you want the textures to be as you cannot change it later on!
 
 In order to see the terrain, you will need to add light to your scene. To do this, right-click the root node in the SceneExplorer window and select “Add Light→Directional Light
@@ -48,8 +48,8 @@ This step determines how large the alpha blend images are for your terrain.  The
 
 == Modifying Terrain
 
-Right now there are two terrain modification tools: raise and lower terrain.+
-image:sdk/sdk-terrain-raise-lower.png[sdk-terrain-raise-lower.png,with="",height=""]+
+Right now there are two terrain modification tools: raise and lower terrain. +
+image:sdk/sdk-terrain-raise-lower.png[sdk-terrain-raise-lower.png,width="",height=""] +
 There are two sliders that affect how these tools operate:
 
 *  Radius: how big the brush is
@@ -73,20 +73,20 @@ There are two sliders that affect how the paint tool operates:
 
 Adds a new texture layer to the terrain. The will be drawn over top of the other texture layers listed above it in the list.
 
-image:sdk/sdk-terrain-addtexture.png[sdk-terrain-addtexture.png,with="",height=""]
+image:sdk/sdk-terrain-addtexture.png[sdk-terrain-addtexture.png,width="",height=""]
 
 
 === Changing the diffuse texture
 
 Click on the diffuse texture image in the texture table. This will pop up a window with the available textures in your assets directory.
 
-image:sdk/sdk-terrain-editdiffuse.png[sdk-terrain-editdiffuse.png,with="",height=""]
+image:sdk/sdk-terrain-editdiffuse.png[sdk-terrain-editdiffuse.png,width="",height=""]
 
 
 === Adding a normal map to the texture layer
 
-When you add a texture layer, by default it does not add a normal map for you. To add one, click on the button next to the diffuse texture for that texture layer. This will pop up the texture browser. Select a texture and hit Ok, and you are done.+
-image:sdk/sdk-terrain-addnormaltexture.png[sdk-terrain-addnormaltexture.png,with="",height=""]
+When you add a texture layer, by default it does not add a normal map for you. To add one, click on the button next to the diffuse texture for that texture layer. This will pop up the texture browser. Select a texture and hit Ok, and you are done. +
+image:sdk/sdk-terrain-addnormaltexture.png[sdk-terrain-addnormaltexture.png,width="",height=""]
 
 
 === Removing a normal map from the texture layer
@@ -96,8 +96,8 @@ To remove a normal map from the texture layer, hit the normal map button for tha
 
 === Changing the texture scale
 
-The field in the table to the right of the diffuse and normal textures for your texture layer is the scale. Changing that value changes the scale of the texture.+
-image:sdk/sdk-terrain-texturescale.png[sdk-terrain-texturescale.png,with="",height=""]+
+The field in the table to the right of the diffuse and normal textures for your texture layer is the scale. Changing that value changes the scale of the texture. +
+image:sdk/sdk-terrain-texturescale.png[sdk-terrain-texturescale.png,width="",height=""] +
 You will notice that the scale changes when you switch between Tri-Planar and normal texture mapping. Tri-planar mapping does not use the texture coordinates of the geometry, but real world coordinates. And because of this, in order for the texture to look the same when you switch between the two texture mapping methods, the terrain editor will automatically convert the scales for you.
 Essentially if your scale in normal texture coordinates is 16, then for tri-planar gets converted like this: 1/terrainSize/16