Cleans up to reduce the size of test data

monkanim
Nehon 7 years ago
parent 88a1edd37d
commit 3ab8466075
  1. 4
      jme3-examples/src/main/java/jme3test/model/TestGltfLoading.java
  2. BIN
      jme3-testdata/src/main/resources/Models/Tank/Tank_AO.png
  3. BIN
      jme3-testdata/src/main/resources/Models/Tank/Tank_Metallic.png
  4. BIN
      jme3-testdata/src/main/resources/Models/Tank/Tank_Occ_Rough_Metal.png
  5. BIN
      jme3-testdata/src/main/resources/Models/Tank/Tank_Roughness.png
  6. 5
      jme3-testdata/src/main/resources/Models/Tank/tank.j3m

@ -34,6 +34,7 @@ package jme3test.model;
import com.jme3.animation.*;
import com.jme3.app.ChaseCameraAppState;
import com.jme3.app.SimpleApplication;
import com.jme3.asset.plugins.FileLocator;
import com.jme3.input.KeyInput;
import com.jme3.input.controls.ActionListener;
import com.jme3.input.controls.KeyTrigger;
@ -76,6 +77,9 @@ public class TestGltfLoading extends SimpleApplication {
SkeletonDebugAppState skeletonDebugAppState = new SkeletonDebugAppState();
getStateManager().attach(skeletonDebugAppState);
String folder = System.getProperty("user.home");
assetManager.registerLocator(folder, FileLocator.class);
// cam.setLocation(new Vector3f(4.0339394f, 2.645184f, 6.4627485f));
// cam.setRotation(new Quaternion(-0.013950467f, 0.98604023f, -0.119502485f, -0.11510504f));
cam.setFrustumPerspective(45f, (float) cam.getWidth() / cam.getHeight(), 0.1f, 100f);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

@ -1,12 +1,11 @@
Material Tank : Common/MatDefs/Light/PBRLighting.j3md {
MaterialParameters {
MetallicMap : Flip Models/Tank/Tank_Metallic.png
RoughnessMap : Flip Models/Tank/Tank_Roughness.png
MetallicRoughnessMap : Flip Models/Tank/Tank_Occ_Rough_Metal.png
NormalMap : Flip Models/Tank/Tank_Normal.png
BaseColorMap : Flip Models/Tank/Tank_Base_Color.png
EmissiveMap : Flip Models/Tank/Tank_Emissive.png
LightMap: Flip Models/Tank/Tank_AO.png
LightMap: Flip Models/Tank/Tank_Occ_Rough_Metal.png
LightMapAsAOMap: true;
EmissiveIntensity : 2.0

Loading…
Cancel
Save