Terrain in Xith3D

My first post here, my english isn’t really good but i need your help and that’s the only java gaming related community i know… :slight_smile:

Okay let’s start… :smiley:

I experiment with java2D but i havn’t good ideas for games in 2d and now i experiment with Xith3D and my little programms works fine.

Now my first problem:

I want make a little level with Xith3D but i don’t know how to create the terrain. I know that there is a package called terrain, but i don’t know how to use it. Did anyone knew a tutorial which describe the usage of this package or knew another/a better way to create terrains? ???

I hope you can understand me, or guess what i mean. :-/

Floriam

I don’t think the “terrain” package of Xith3D could help you.

To make a terrain, you can use a tool like Terragen, and then export it to a file ( OBJ Format, for example ). Then, you can load it in Xith3D with the OBJ Loader provided by the Xith Toolkit ( https://xith-tk.dev.java.net/ ) and display it in your scene. For an example, see the source code of OBJTest, supplied with the OBJ Loader.

Hope this will help you…

eMKa

Okay, thank you :smiley:

Do you know if it is possible to edit the terrain which Terragen create?

Yes, if you export it from Terragen using a plugin and import it into a modeler.

In fact, maybe it’s better to use Blender or another modeler to make terrains. They will not be as realistic than with Terragen, but you’re sure you can export it in OBJ and modify it as you want.

You can get Blender at http://www.blender3d.org, the last version is actually 2.36.

Here is a French tutorial to make a terrain using Blender : http://blender.free.fr/docs/didactic/terrain/terrain.htm

Here is an English tutorial to make a terrain using Terragen AND Blender : http://users.skynet.be/sky33676/Ter2BlendTutorial1.html