I have my terrain loaded and it looks like the heightmap! (well kind of)
Here is what I see, notice the grainy bits in front of the hill.
Those grainy bits are all supposed to be the same height, they are all the same shade in the heightmap. Why are they there?
Also, it’s ever so small. I tried scaling up the terrain using;
// Scale the data
Vector3f terrainScale = new Vector3f(0.01f, 0.005f, 0.01f);
tb = new TerrainBlock("Terrain", heightMap.getSize(), terrainScale,
heightMap.getHeightMap(), new Vector3f(0, 0, 0));
But this just scaled up the heightmap and I ended up with just a portion of the map but it still remained the same size as in the image above. The rest of it extended beyond the gray square and therefore wasn't there. (the gray square remains the same size regardless of the scale)
How do I scale up the whole thing?
Also, could someone please tell me what is happening when the terrain is being made. Does it automatically produce a terrain consisting of the same ammount of verts as there are pixels in the heightmap?
Do I need to scale the textures as well? because I set the textures to be the heightmap, which is why it is gray, but the hills aren't white?! So I assume the textures are scaled larger than the model.
Basically how do I scale everything to the same size?
Thanks
Neilos