Searched refs:assetManager (Results 1 - 25 of 214) sorted by relevance

123456789

/external/jmonkeyengine/engine/src/android/jme3test/android/
H A DTestSkyLoadingLagoon.java49 Texture west = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_west.jpg");
50 Texture east = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_east.jpg");
51 Texture north = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_north.jpg");
52 Texture south = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_south.jpg");
53 Texture up = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_up.jpg");
54 Texture down = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_down.jpg");
58 Texture west = assetManager.loadTexture("Textures/Sky/Primitives/primitives_positive_x.png");
59 Texture east = assetManager.loadTexture("Textures/Sky/Primitives/primitives_negative_x.png");
60 Texture north = assetManager.loadTexture("Textures/Sky/Primitives/primitives_negative_z.png");
61 Texture south = assetManager
[all...]
H A DTestSkyLoadingPrimitives.java49 Texture west = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_west.jpg");
50 Texture east = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_east.jpg");
51 Texture north = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_north.jpg");
52 Texture south = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_south.jpg");
53 Texture up = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_up.jpg");
54 Texture down = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_down.jpg");
57 Texture west = assetManager.loadTexture("Textures/Sky/Primitives/primitives_positive_x.png");
58 Texture east = assetManager.loadTexture("Textures/Sky/Primitives/primitives_negative_x.png");
59 Texture north = assetManager.loadTexture("Textures/Sky/Primitives/primitives_negative_z.png");
60 Texture south = assetManager
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/texture/
H A DTestSkyLoading.java48 Texture west = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_west.jpg");
49 Texture east = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_east.jpg");
50 Texture north = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_north.jpg");
51 Texture south = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_south.jpg");
52 Texture up = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_up.jpg");
53 Texture down = assetManager.loadTexture("Textures/Sky/Lagoon/lagoon_down.jpg");
55 Spatial sky = SkyFactory.createSky(assetManager, west, east, north, south, up, down);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DAssetManagerTest.java21 AssetManager assetManager; field in class:AssetManagerTest
26 assetManager = new Activity().getAssets();
31 assertNotNull(assetManager);
33 assetManager = Robolectric.application.getAssets();
34 assertNotNull(assetManager);
36 assetManager = Robolectric.application.getResources().getAssets();
37 assertNotNull(assetManager);
46 files = Arrays.asList(assetManager.list(testPath));
51 files = Arrays.asList(assetManager.list(testPath));
55 files = Arrays.asList(assetManager
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
H A DImageBasedHeightMapGrid.java32 private final AssetManager assetManager; field in class:ImageBasedHeightMapGrid
37 public ImageBasedHeightMapGrid(final String textureBase, final String textureExt, AssetManager assetManager) { argument
38 this(assetManager, new Namer() {
46 public ImageBasedHeightMapGrid(AssetManager assetManager, Namer namer) { argument
47 this.assetManager = assetManager;
62 final Texture texture = assetManager.loadTexture(new TextureKey(name));
/external/jmonkeyengine/engine/src/test/jme3test/audio/
H A DTestMusicStreaming.java48 assetManager.registerLocator("http://www.vorbis.com/music/", UrlLocator.class);
49 AudioNode audioSource = new AudioNode(assetManager, "Lumme-Badloop.ogg", true);
/external/jmonkeyengine/engine/src/test/jme3test/model/
H A DTestObjLoading.java51 Geometry teaGeom = (Geometry) assetManager.loadModel("Models/Teapot/Teapot.obj");
54 Material mat = new Material(assetManager, "Common/MatDefs/Misc/ShowNormals.j3md");
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/
H A DSoundDeviceJme.java45 protected AssetManager assetManager; field in class:SoundDeviceJme
48 public SoundDeviceJme(AssetManager assetManager, AudioRenderer ar){ argument
49 this.assetManager = assetManager;
57 AudioNode an = new AudioNode(assetManager, filename, false);
63 return new SoundHandleJme(ar, assetManager, filename);
/external/jmonkeyengine/engine/src/core/com/jme3/post/
H A DPreDepthProcessor.java52 private AssetManager assetManager; field in class:PreDepthProcessor
56 public PreDepthProcessor(AssetManager assetManager){ argument
57 this.assetManager = assetManager;
58 preDepth = new Material(assetManager, "Common/MatDefs/Shadow/PreShadow.j3md");
/external/jmonkeyengine/engine/src/test/jme3test/light/
H A DTestSpotLightTerrain.java119 matTerrain = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md");
124 matTerrain.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alpha1.png"));
125 matTerrain.setTexture("AlphaMap_1", assetManager.loadTexture("Textures/Terrain/splat/alpha2.png"));
128 Texture heightMapImage = assetManager.loadTexture("Textures/Terrain/splat/mountains512.png");
132 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
138 Texture dirt = assetManager.loadTexture("Textures/Terrain/splat/dirt.jpg");
144 Texture rock = assetManager.loadTexture("Textures/Terrain/splat/road.jpg");
150 Texture brick = assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall.jpg");
156 Texture riverRock = assetManager.loadTexture("Textures/Terrain/Pond/Pond.jpg");
162 Texture normalMap0 = assetManager
[all...]
H A DTestManyLights.java49 Node scene = (Node) assetManager.loadModel("Scenes/ManyLights/Main.scene");
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
H A DHelloAssets.java57 Spatial teapot = assetManager.loadModel("Models/Teapot/Teapot.obj");
58 Material mat_default = new Material( assetManager, "Common/MatDefs/Misc/ShowNormals.j3md");
65 Material mat_brick = new Material( assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
66 mat_brick.setTexture("ColorMap", assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall.jpg"));
73 guiFont = assetManager.loadFont("Interface/Fonts/Default.fnt");
81 Spatial ninja = assetManager.loadModel("Models/Ninja/Ninja.mesh.xml");
H A DHelloTerrain.java60 mat_terrain = new Material(assetManager,
64 mat_terrain.setTexture("Alpha", assetManager.loadTexture(
68 Texture grass = assetManager.loadTexture(
75 Texture dirt = assetManager.loadTexture(
82 Texture rock = assetManager.loadTexture(
90 Texture heightMapImage = assetManager.loadTexture(
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
H A DTerrainTestAdvanced.java98 matTerrain = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md");
103 matTerrain.setTexture("AlphaMap", assetManager.loadTexture("Textures/Terrain/splat/alpha1.png"));
104 matTerrain.setTexture("AlphaMap_1", assetManager.loadTexture("Textures/Terrain/splat/alpha2.png"));
107 Texture heightMapImage = assetManager.loadTexture("Textures/Terrain/splat/mountains512.png");
110 Texture grass = assetManager.loadTexture("Textures/Terrain/splat/grass.jpg");
116 Texture dirt = assetManager.loadTexture("Textures/Terrain/splat/dirt.jpg");
122 Texture rock = assetManager.loadTexture("Textures/Terrain/splat/road.jpg");
128 Texture brick = assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall.jpg");
134 Texture riverRock = assetManager.loadTexture("Textures/Terrain/Pond/Pond.jpg");
140 Texture normalMap0 = assetManager
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/tools/
H A DTestTextureAtlas.java56 Spatial obj1 = assetManager.loadModel("Models/Ferrari/Car.scene");
58 Spatial obj2 = assetManager.loadModel("Models/Oto/Oto.mesh.xml");
60 Spatial obj3 = assetManager.loadModel("Models/Ninja/Ninja.mesh.xml");
62 Spatial obj4 = assetManager.loadModel("Models/Sinbad/Sinbad.mesh.xml");
64 Spatial obj5 = assetManager.loadModel("Models/Tree/Tree.mesh.j3o");
72 Geometry geom = TextureAtlas.makeAtlasBatch(scene, assetManager, 2048);
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/
H A DXMLImporter.java55 private AssetManager assetManager; field in class:XMLImporter
67 return assetManager;
70 public void setAssetManager(AssetManager assetManager){ argument
71 this.assetManager = assetManager;
75 assetManager = info.getManager();
/external/jmonkeyengine/engine/src/test/jme3test/gui/
H A DTestZOrder.java51 p.setImage(assetManager, "Interface/Logo/Monkey.png", false);
59 p2.setImage(assetManager, "Interface/Logo/Monkey.png", false);
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
H A DUrlAssetInfo.java22 public static UrlAssetInfo create(AssetManager assetManager, AssetKey key, URL url) throws IOException { argument
33 return new UrlAssetInfo(assetManager, key, url, in);
37 private UrlAssetInfo(AssetManager assetManager, AssetKey key, URL url, InputStream in) throws IOException { argument
38 super(assetManager, key);
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
H A DImageTileLoader.java27 private final AssetManager assetManager; field in class:ImageTileLoader
35 public ImageTileLoader(final String textureBase, final String textureExt, AssetManager assetManager) { argument
36 this(assetManager, new Namer() {
44 public ImageTileLoader(AssetManager assetManager, Namer namer) { argument
45 this.assetManager = assetManager;
90 final Texture texture = assetManager.loadTexture(new TextureKey(name));
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
H A DTestLocalPhysics.java62 bulletAppState.getPhysicsSpace().enableDebug(assetManager);
65 Node physicsSphere = PhysicsTestHelper.createPhysicsTestNode(assetManager, new SphereCollisionShape(1), 1);
72 Node physicsSphere2 = PhysicsTestHelper.createPhysicsTestNode(assetManager, physicsSphere.getControl(RigidBodyControl.class).getCollisionShape(), 1);
79 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
87 Node physicsCylinder = PhysicsTestHelper.createPhysicsTestNode(assetManager, new CylinderCollisionShape(new Vector3f(1f, 1f, 1.5f)), 1);
94 Node node2 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new MeshCollisionShape(new Sphere(16, 16, 1.2f)), 0);
101 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0);
H A DTestSimplePhysics.java62 bulletAppState.getPhysicsSpace().enableDebug(assetManager);
65 Node physicsSphere = PhysicsTestHelper.createPhysicsTestNode(assetManager, new SphereCollisionShape(1), 1);
71 Node physicsSphere2 = PhysicsTestHelper.createPhysicsTestNode(assetManager, physicsSphere.getControl(RigidBodyControl.class).getCollisionShape(), 1);
77 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, new BoxCollisionShape(new Vector3f(1, 1, 1)), 1);
84 Node physicsCylinder = PhysicsTestHelper.createPhysicsTestNode(assetManager, new CylinderCollisionShape(new Vector3f(1f, 1f, 1.5f)), 1);
90 Node node2 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new MeshCollisionShape(new Sphere(16, 16, 1.2f)), 0);
96 Node node3 = PhysicsTestHelper.createPhysicsTestNode(assetManager, new PlaneCollisionShape(new Plane(new Vector3f(0, 1, 0), 0)), 0);
/external/jmonkeyengine/engine/src/core/com/jme3/material/
H A DMaterialDef.java52 private AssetManager assetManager; field in class:MaterialDef
67 * @param assetManager The asset manager to use to load shaders
70 public MaterialDef(AssetManager assetManager, String name){ argument
71 this.assetManager = assetManager;
104 return assetManager;
/external/jmonkeyengine/engine/src/core/com/jme3/ui/
H A DPicture.java129 * @param assetManager The {@link AssetManager} to use to load the image.
135 public void setImage(AssetManager assetManager, String imgName, boolean useAlpha){ argument
137 Texture2D tex = (Texture2D) assetManager.loadTexture(key);
138 setTexture(assetManager, tex, useAlpha);
144 * @param assetManager The {@link AssetManager} to use to load the material.
150 public void setTexture(AssetManager assetManager, Texture2D tex, boolean useAlpha){ argument
152 Material mat = new Material(assetManager, "Common/MatDefs/Gui/Gui.j3md");
/external/jmonkeyengine/engine/src/test/jme3test/post/
H A DTestSSAO.java63 Material mat = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md");
64 Texture diff = assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall.jpg");
66 Texture norm = assetManager.loadTexture("Textures/Terrain/BrickWall/BrickWall_normal.jpg");
78 model = (Geometry) assetManager.loadModel("Models/Sponza/Sponza.j3o");
85 FilterPostProcessor fpp = new FilterPostProcessor(assetManager);
/external/jmonkeyengine/engine/src/core/com/jme3/util/
H A DSkyFactory.java30 * @param assetManager The asset manager to use to load materials
45 public static Spatial createSky(AssetManager assetManager, Texture texture, Vector3f normalScale, boolean sphereMap) { argument
46 return createSky(assetManager, texture, normalScale, sphereMap, 10);
52 * @param assetManager The asset manager to use to load materials
69 public static Spatial createSky(AssetManager assetManager, Texture texture, Vector3f normalScale, boolean sphereMap, int sphereRadius) { argument
80 Material skyMat = new Material(assetManager, "Common/MatDefs/Misc/Sky.j3md");
142 public static Spatial createSky(AssetManager assetManager, Texture west, Texture east, Texture north, Texture south, Texture up, Texture down, Vector3f normalScale) { argument
143 return createSky(assetManager, west, east, north, south, up, down, normalScale, 10);
146 public static Spatial createSky(AssetManager assetManager, Texture west, Texture east, Texture north, Texture south, Texture up, Texture down, Vector3f normalScale, int sphereRadius) { argument
191 Material skyMat = new Material(assetManager, "Commo
199 createSky(AssetManager assetManager, Texture west, Texture east, Texture north, Texture south, Texture up, Texture down) argument
203 createSky(AssetManager assetManager, Texture texture, boolean sphereMap) argument
207 createSky(AssetManager assetManager, String textureName, boolean sphereMap) argument
[all...]

Completed in 429 milliseconds

123456789