this.heightMaps = new ImageBasedHeightMap[TERRAIN_PAGES];
Vector3f stepScale = new Vector3f(scale.x, scale.y, scale.x);
Vector3f origin = new Vector3f(0, 0, 0);
for (int loop=0;loop<TERRAIN_PAGES;loop++) heightMaps[loop] = new ImageBasedHeightMap(new ImageIcon(TerrainContinuous.class.getClassLoader().
getResource("data/wor_blank.jpg")).getImage());
heightMaps[4] = new ImageBasedHeightMap(new ImageIcon(TerrainContinuous.class.getClassLoader().
getResource("data/wor1.jpg")).getImage());
heightMaps[5] = new ImageBasedHeightMap(new ImageIcon(TerrainContinuous.class.getClassLoader().
getResource("data/wor2.jpg")).getImage());
heightMaps[6] = new ImageBasedHeightMap(new ImageIcon(TerrainContinuous.class.getClassLoader().
getResource("data/wor3.jpg")).getImage());
heightMaps[7] = new ImageBasedHeightMap(new ImageIcon(TerrainContinuous.class.getClassLoader().
getResource("data/wor4.jpg")).getImage());
heightMaps[8] = new ImageBasedHeightMap(new ImageIcon(TerrainContinuous.class.getClassLoader().
getResource("data/wor5.jpg")).getImage());
heightMaps[9] = new ImageBasedHeightMap(new ImageIcon(TerrainContinuous.class.getClassLoader().
getResource("data/wor6.jpg")).getImage());
heightMaps[10] = new ImageBasedHeightMap(new ImageIcon(TerrainContinuous.class.getClassLoader().
getResource("data/wor7.jpg")).getImage());
heightMaps[11] = new ImageBasedHeightMap(new ImageIcon(TerrainContinuous.class.getClassLoader().
getResource("data/wor8.jpg")).getImage());
buildTerrain(name, heightMaps[0].getSize(), stepScale, origin, clod);
//displacePages(this.pageSize);