Hello,
When I create my terrain, I can see multiple triangular holes in it.
Does anyone know how I can fix it?
Could you please post a screenshot?
Had this issue- NaN heights.
How is your terrain/heightmap generated?
Like this:
MidPointHeightMap heightMap = new MidPointHeightMap(64, 1f);
Vector3f terrainScale = new Vector3f(20, 0.5f, 20);
tb = new TerrainBlock("Terrain", heightMap.getSize(), terrainScale,
heightMap.getHeightMap(), new Vector3f(0, 0, 0), false);
tb.setModelBound(new BoundingBox());
tb.updateModelBound();
scene.attachChild(tb)
Have you tried using a different scale, instead of 0.5f use something larger, like 10.0f or so. Also, try to use 32 bits of depth and see if that changes something.
I tried it:
Does anyone know how I can fix this?
I really need to know so I can continue!!
Do the terain test in jmetest work for you? If not, it might be a graphics driver issue.