|
@@ -120,7 +120,7 @@ Heightmaps are an efficient way of representing the shape of a hilly landscape.
|
|
|
|
|
|
In Java, a heightmap is a float array containing height values between 0f and 255f. Here is a very simple example of a terrain generated from a heightmap with 5x5=25 height values.
|
|
|
|
|
|
-image:jme2/terrain-from-float-array.png[terrain-from-float-array.png,width="",height=""]
|
|
|
+image:beginner/terrain-from-float-array.png[terrain-from-float-array.png,width="",height=""]
|
|
|
|
|
|
Important things to note:
|
|
|
|