AdrianM103
AdrianM103

Reputation: 51

Is it possible to create a flat terrain in Java Monkey Engine?

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.

Upvotes: 3

Views: 1570

Answers (1)

Pindatjuh
Pindatjuh

Reputation: 10526

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!)

Upvotes: 6

Related Questions