O'Reilly logo

jMonkeyEngine 3.0 Beginner's Guide by Ruth Kusterer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – climbing a hill

Let's create a scene and add a terrain spatial to it. Open the jMonkeyEngine SDK and create a .j3o file.

  1. Open the Project Assets node in the SDK. Right-click on the Scenes node, and choose New | Other....
  2. In the New File wizard, select the Scene category to create an Empty jME3 Scene.
  3. Name the scene myTerrain.j3o. The wizard saves the scene to the Scenes directory, and opens the empty scene in the SceneComposer.
  4. Open the SceneExplorer from the Windows menu.
  5. In the SceneExplorer, right-click on the New Scene node, and choose Add Spatial... | Terrain. The Terrain wizard opens.

You use the Terrain wizard to generate a terrain mesh.

  1. Specify the terrain's Total Size (for example, 256) and Patch Size (for example, 64). Both ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required