I want to create a simulated tabletop miniatures game. Assuming a world unit of 1 inch, I need a “tabletop” that is 72 inches x 48 inches. Two newbie questions:
How can I create a non-square rectangular terrain?
TerrainQuad is square and only square. So is TerrainGrid. You could use some of the new TerrainQuad interface to build a rectangular terrain out of multiple TerrainQuads; look at TerrainTestTile.java
Terrain is a mesh, each point (say 513x513) is a single unit in size. So it will be 513x513 in world coordinates. You can then scale it afterwards.
@javagame said:
What do you mean, terrain? Do you just want a big rectangle with a wood grain texture on it?
I actually did that, at first. But I think going with actual terrain (appropriately sized) would have a lot of benefits: adding hills with a height map, being able to edit terrain on the "tabletop," et cetera.
@Sploreg said:
1) TerrainQuad is square and only square. So is TerrainGrid. You could use some of the new TerrainQuad interface to build a rectangular terrain out of multiple TerrainQuads; look at TerrainTestTile.java
2) Terrain is a mesh, each point (say 513x513) is a single unit in size. So it will be 513x513 in world coordinates. You can then scale it afterwards.
I kind of have the same problem. I want to make something that resembles a road/street and the player should be constrained to a specific path. It’s not worth to build a completely square world if most of it will never be displayed.
I wonder what would be the best model to store such a map.