Cleans up to reduce the size of test data
This commit is contained in:
parent
88a1edd37d
commit
3ab8466075
@ -34,6 +34,7 @@ package jme3test.model;
|
|||||||
import com.jme3.animation.*;
|
import com.jme3.animation.*;
|
||||||
import com.jme3.app.ChaseCameraAppState;
|
import com.jme3.app.ChaseCameraAppState;
|
||||||
import com.jme3.app.SimpleApplication;
|
import com.jme3.app.SimpleApplication;
|
||||||
|
import com.jme3.asset.plugins.FileLocator;
|
||||||
import com.jme3.input.KeyInput;
|
import com.jme3.input.KeyInput;
|
||||||
import com.jme3.input.controls.ActionListener;
|
import com.jme3.input.controls.ActionListener;
|
||||||
import com.jme3.input.controls.KeyTrigger;
|
import com.jme3.input.controls.KeyTrigger;
|
||||||
@ -76,6 +77,9 @@ public class TestGltfLoading extends SimpleApplication {
|
|||||||
SkeletonDebugAppState skeletonDebugAppState = new SkeletonDebugAppState();
|
SkeletonDebugAppState skeletonDebugAppState = new SkeletonDebugAppState();
|
||||||
getStateManager().attach(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.setLocation(new Vector3f(4.0339394f, 2.645184f, 6.4627485f));
|
||||||
// cam.setRotation(new Quaternion(-0.013950467f, 0.98604023f, -0.119502485f, -0.11510504f));
|
// cam.setRotation(new Quaternion(-0.013950467f, 0.98604023f, -0.119502485f, -0.11510504f));
|
||||||
cam.setFrustumPerspective(45f, (float) cam.getWidth() / cam.getHeight(), 0.1f, 100f);
|
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 {
|
Material Tank : Common/MatDefs/Light/PBRLighting.j3md {
|
||||||
MaterialParameters {
|
MaterialParameters {
|
||||||
|
|
||||||
MetallicMap : Flip Models/Tank/Tank_Metallic.png
|
MetallicRoughnessMap : Flip Models/Tank/Tank_Occ_Rough_Metal.png
|
||||||
RoughnessMap : Flip Models/Tank/Tank_Roughness.png
|
|
||||||
NormalMap : Flip Models/Tank/Tank_Normal.png
|
NormalMap : Flip Models/Tank/Tank_Normal.png
|
||||||
BaseColorMap : Flip Models/Tank/Tank_Base_Color.png
|
BaseColorMap : Flip Models/Tank/Tank_Base_Color.png
|
||||||
EmissiveMap : Flip Models/Tank/Tank_Emissive.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;
|
LightMapAsAOMap: true;
|
||||||
EmissiveIntensity : 2.0
|
EmissiveIntensity : 2.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user