hello guys I am trying to figure out how to make a terrain a chess board like terrain with blocks that can have different heights, and where I set set the top texture of a block, and the side texture differently, is there a solution with terra monkey for doing this? Or i have to make each block a Quad a texture them depoarately
@normen said:
You should make a custom mesh and just update that. Using separate geometries would be a waste of resources.
Hello normen, thanks for your answer, what do you mean exactly by a custom mesh? there is something in JMonkey that can handle that, or I have to place pixels by code?
You can use a heightmap and have very sharp edges between the squares. Like if you just took a black and white image of a chess board. It will create raised levels for you with only very slight slopes. You can then paint the tops. And be sure to turn on Tri-planar mapping so the textures donβt appear stretched. The editor has a checkbox for this.