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

Update hello_terrain.adoc

Moved grass, dirt, road images to be inline.
Moved mountain512.png to right and floated text to the left.
mitm001 9 лет назад
Родитель
Сommit
9e6f7b79ae
1 измененных файлов с 3 добавлено и 7 удалено
  1. 3 7
      src/docs/asciidoc/jme3/beginner/hello_terrain.adoc

+ 3 - 7
src/docs/asciidoc/jme3/beginner/hello_terrain.adoc

@@ -154,7 +154,7 @@ In a real game, you will want to use more complex and smoother terrains than the
 
 === Looking at the Heightmap Code
 
-
+[.right.text-left]
 image::jme3/beginner/mountains512.png[mountains512.png,128,128,align="right"]
 
 
@@ -206,13 +206,9 @@ Splat textures are based on the `Terrain.j3md` material defintion. If you open t
 
 Before you can start painting, you have to make a few decisions:
 
-.  Choose three textures. For example grass.jpg, dirt.jpg, and road.jpg. 
-+
-image::jme3/beginner/road.jpg[road.jpg,64,64,align="right"]
-+
-image::jme3/beginner/dirt.jpg[dirt.jpg,64,64,align="right"]
+.  Choose three textures. For example grass.jpg, dirt.jpg, and road.jpg.
 +
-image::jme3/beginner/grass.jpg[grass.jpg,64,64,align="right"]
+image:jme3/beginner/grass.jpg[grass.jpg,64,64] image:jme3/beginner/dirt.jpg[dirt.jpg,64,64] image:jme3/beginner/road.jpg[road.jpg,64,64]
 
 .  You “paint three texture layers by using three colors: Red, blue and, green. You arbitrarily decide that…
 ..  Red   is grass – red   is layer `Tex1`, so put the grass texture into Tex1.