3

As a beginner using the JME engine, I was wondering whether it is possible to create flat terrain?

I have played with the TerrainBlock and created a somewhat bumpy terrain using MidPointHeightMap, but can't seem to get it perfectly flat.

Thanks in advance.

Marcelo
  • 11,218
  • 1
  • 37
  • 51
AdrianM103
  • 51
  • 3

1 Answers1

6

You can create a primitive plane, using a Quad shape.

http://www.jmonkeyengine.com/doc/com/jme/scene/shape/Quad.html

This is always perfectly flat. You can use other techniques for texturing. Also note: the Z-height of this Quad is always 0. (It's really flat!)

Pindatjuh
  • 10,550
  • 1
  • 41
  • 68