Merge pull request #581 from Ev1lbl0w/master

Fix some problems in issue #96 (SDK branch)
native-compilation-test
empirephoenix 8 years ago committed by GitHub
commit b31ccf31d7
  1. 4
      jme3-examples/src/main/java/jme3test/asset/TestOnlineJar.java
  2. 2
      jme3-examples/src/main/java/jme3test/asset/TestUrlLoading.java
  3. 2
      jme3-examples/src/main/java/jme3test/material/TestColoredTexture.java
  4. 2
      jme3-examples/src/main/java/jme3test/scene/TestSceneLoading.java
  5. 2
      jme3-examples/src/main/java/jme3test/terrain/TerrainGridAlphaMapTest.java
  6. 2
      jme3-examples/src/main/java/jme3test/terrain/TerrainGridTest.java
  7. 2
      jme3-examples/src/main/java/jme3test/water/TestSceneWater.java

@ -60,9 +60,9 @@ public class TestOnlineJar extends SimpleApplication {
Geometry quad = new Geometry("Textured Quad", quadMesh);
assetManager.registerLocator("http://jmonkeyengine.googlecode.com/files/town.zip",
assetManager.registerLocator("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jmonkeyengine/town.zip",
HttpZipLocator.class);
assetManager.registerLocator("http://jmonkeyengine.googlecode.com/files/wildhouse.zip",
assetManager.registerLocator("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jmonkeyengine/wildhouse.zip",
HttpZipLocator.class);
Picture pic1 = new Picture("Picture1");

@ -60,7 +60,7 @@ public class TestUrlLoading extends SimpleApplication {
Geometry quad = new Geometry("Textured Quad", quadMesh);
assetManager.registerLocator("https://jmonkeyengine.googlecode.com/svn/BookSamples/assets/Textures/",
assetManager.registerLocator("https://raw.githubusercontent.com/jMonkeyEngine/BookSamples/master/assets/Textures/",
UrlLocator.class);
TextureKey key = new TextureKey("mucha-window.png", false);
key.setGenerateMips(true);

@ -57,7 +57,7 @@ public class TestColoredTexture extends SimpleApplication {
Geometry quad = new Geometry("Quad", quadMesh);
quad.setQueueBucket(Bucket.Gui);
mat = new Material(assetManager, "Common/MatDefs/Misc/ColoredTextured.j3md");
mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
mat.setTexture("ColorMap", assetManager.loadTexture("Textures/ColoredTex/Monkey.png"));
quad.setMaterial(mat);
guiNode.attachChildAt(quad, 0);

@ -75,7 +75,7 @@ public class TestSceneLoading extends SimpleApplication {
// create the geometry and attach it
// load the level from zip or http zip
if (useHttp) {
assetManager.registerLocator("http://jmonkeyengine.googlecode.com/files/wildhouse.zip", HttpZipLocator.class);
assetManager.registerLocator("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jmonkeyengine/wildhouse.zip", HttpZipLocator.class);
} else {
assetManager.registerLocator("wildhouse.zip", ZipLocator.class);
}

@ -75,7 +75,7 @@ public class TerrainGridAlphaMapTest extends SimpleApplication {
File file = new File("TerrainGridTestData.zip");
if (!file.exists()) {
assetManager.registerLocator("http://jmonkeyengine.googlecode.com/files/TerrainGridTestData.zip", HttpZipLocator.class);
assetManager.registerLocator("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jmonkeyengine/TerrainGridTestData.zip", HttpZipLocator.class);
} else {
assetManager.registerLocator("TerrainGridTestData.zip", ZipLocator.class);
}

@ -48,7 +48,7 @@ public class TerrainGridTest extends SimpleApplication {
public void simpleInitApp() {
File file = new File("TerrainGridTestData.zip");
if (!file.exists()) {
assetManager.registerLocator("http://jmonkeyengine.googlecode.com/files/TerrainGridTestData.zip", HttpZipLocator.class);
assetManager.registerLocator("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jmonkeyengine/TerrainGridTestData.zip", HttpZipLocator.class);
} else {
assetManager.registerLocator("TerrainGridTestData.zip", ZipLocator.class);
}

@ -76,7 +76,7 @@ public class TestSceneWater extends SimpleApplication {
// create the geometry and attach it
// load the level from zip or http zip
if (useHttp) {
assetManager.registerLocator("http://jmonkeyengine.googlecode.com/files/wildhouse.zip", HttpZipLocator.class);
assetManager.registerLocator("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/jmonkeyengine/wildhouse.zip", HttpZipLocator.class);
} else {
assetManager.registerLocator("wildhouse.zip", ZipLocator.class);
}

Loading…
Cancel
Save