开发者

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

开发者 https://www.devze.com 2022-12-22 15:31 出处:网络
As a beginner using the JME engine, I was wondering whether it is possible to c开发者_开发百科reate flat terrain?

As a beginner using the JME engine, I was wondering whether it is possible to c开发者_开发百科reate 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消