Searched defs:material (Results 1 - 25 of 31) sorted by relevance

12

/external/jmonkeyengine/engine/src/core/com/jme3/material/
H A DMaterialList.java33 package com.jme3.material;
38 * A map from material name to a material. Used by loaders to locate
H A DFixedFuncBinding.java33 package com.jme3.material;
43 * Specifies the material ambient color.
49 * Specifies the material diffuse color.
55 * Specifies the material specular color.
68 * Specifies the material shininess value.
77 * {@link #Color material color}.
H A DMatParamTexture.java1 package com.jme3.material;
H A DMaterialDef.java33 package com.jme3.material;
65 * Creates a new material definition with the given name.
68 * @param name The debug name of the material definition
76 logger.log(Level.INFO, "Loaded material definition: {0}", name);
80 * Returns the asset key name of the asset from which this material
108 * The debug name of the material definition.
110 * @return debug name of the material definition.
117 * Adds a new material parameter.
129 * Returns the material parameter with the given name.
133 * @return The material paramete
[all...]
H A DMatParam.java32 package com.jme3.material;
45 * Describes a material parameter. This is used for both defining a name and type
46 * as well as a material parameter value.
59 * Create a new material parameter. For internal use only.
85 * Returns the material parameter type.
87 * @return the material parameter type.
94 * Returns the name of the material parameter.
95 * @return the name of the material parameter.
120 * Returns the value of this material parameter.
122 * Material parameters that are used for material definition
[all...]
H A DTechnique.java32 package com.jme3.material;
60 * @param owner The material that will own this technique
103 * that were requested by the material definition.
112 * Called by the material to tell the technique a parameter was modified
125 * Called by the material to tell the technique a parameter was cleared
180 * the proper defines based on material parameters.
H A DTechniqueDef.java33 package com.jme3.material;
185 * @see #setRenderState(com.jme3.material.RenderState)
242 * Returns the define name which the given material parameter influences.
257 * Adds a define linked to a material parameter.
259 * Any time the material parameter on the parent material is altered,
263 * on the exact details of how the material parameter changes the define.
265 * @param paramName The name of the material parameter to link to.
H A DMaterial.java30 package com.jme3.material;
37 import com.jme3.material.RenderState.BlendMode;
38 import com.jme3.material.RenderState.FaceCullMode;
39 import com.jme3.material.TechniqueDef.LightMode;
40 import com.jme3.material.TechniqueDef.ShadowMode;
61 * <p>A material is essentially a list of {@link MatParam parameters},
126 * Returns the asset key name of the asset from which this material was loaded.
128 * <p>This value will be <code>null</code> unless this material was loaded
138 * @return the name of the material (not the same as the asset name), the returned value can be null
145 * This method sets the name of the material
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/material/
H A DTestUnshadedModel.java1 package jme3test.material;
6 import com.jme3.material.Material;
H A DTestBumpModel.java33 package jme3test.material;
38 import com.jme3.material.Material;
H A DTestColoredTexture.java33 package jme3test.material;
36 import com.jme3.material.Material;
H A DTestNormalMapping.java33 package jme3test.material;
37 import com.jme3.material.Material;
H A DTestSimpleBumps.java33 package jme3test.material;
37 import com.jme3.material.Material;
H A DTestParallax.java32 package jme3test.material;
40 import com.jme3.material.Material;
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/matext/
H A DMaterialExtensionLoader.java39 import com.jme3.material.Material;
40 import com.jme3.material.MaterialList;
65 private Material material; field in class:MaterialExtensionLoader
85 logger.log(Level.WARNING, "Cannot locate {0} for material {1}", new Object[]{texKey, key});
89 material.setTexture(jmeParamName, tex);
101 logger.log(Level.WARNING, "Cannot find MaterialExtension for: {0}. Ignoring material.", extendedMat);
106 material = new Material(assetManager, matExt.getJmeMatDefName());
110 return material;
125 }else if (statement.getLine().startsWith("material")){
126 Material material
[all...]
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/material/plugins/
H A DJ3MLoader.java33 package com.jme3.material.plugins;
36 import com.jme3.material.RenderState.BlendMode;
37 import com.jme3.material.RenderState.FaceCullMode;
38 import com.jme3.material.*;
39 import com.jme3.material.TechniqueDef.LightMode;
40 import com.jme3.material.TechniqueDef.ShadowMode;
65 private Material material; field in class:J3MLoader
150 logger.log(Level.WARNING, "Cannot locate {0} for material {1}", new Object[]{texKey, key});
272 MatParam p = material.getMaterialDef().getMaterialParam(name);
274 throw new IOException("The material paramete
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
H A DTerrainGridAlphaMapTest.java17 import com.jme3.material.Material;
64 private Material material; field in class:TerrainGridAlphaMapTest
89 // TERRAIN TEXTURE material
90 material = new Material(assetManager, "Common/MatDefs/Terrain/TerrainLighting.j3md");
91 material.setBoolean("useTriPlanarMapping", false);
92 //material.setBoolean("isTerrainGrid", true);
93 material.setFloat("Shininess", 0.0f);
98 material.setTexture("DiffuseMap", grass);
99 material.setFloat("DiffuseMap_0_scale", grassScale);
104 material
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/
H A DMaterialHelper.java35 import com.jme3.material.MatParam;
36 import com.jme3.material.MatParamTexture;
37 import com.jme3.material.Material;
38 import com.jme3.material.RenderState.BlendMode;
39 import com.jme3.material.RenderState.FaceCullMode;
81 * The type of the material's diffuse shader.
88 * The type of the material's specular shader.
169 * This method sets the face cull mode to be used with every loaded material.
179 * This method converts the material structure to jme Material.
181 * structure with material dat
301 getNonTexturedMaterial(Material material, int imageType) argument
344 getParticlesMaterial(Material material, Integer alphaMaskIndex, BlenderContext blenderContext) argument
393 hasTexture(Material material) argument
429 hasTexture(Material material, String textureType) argument
[all...]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/
H A DPhysicsCollisionObject.java38 import com.jme3.material.Material;
180 * @param manager AssetManager to load the default wireframe material for the debug shape
210 protected Spatial attachDebugShape(Material material) { argument
211 debugMaterialBlue = material;
212 debugMaterialGreen = material;
213 debugMaterialRed = material;
214 debugMaterialYellow = material;
228 * @param material Material to use for the debug shape
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DBatchNode.java35 import com.jme3.material.Material;
55 * There is one geometry per different material in the sub tree.
57 * usage is like any other node except you have to call the {@link #batch()} method once all geoms have been attached to the sub scene graph and theire material set
196 Material material = entry.getKey();
200 list.add(batches.get(material).geometry);
207 batch.geometry.setMaterial(material);
214 batches.put(material, batch);
236 throw new IllegalStateException("No material is set for Geometry: " + g.getName() + " please set a material before batching");
269 * Sets the material t
275 setMaterial(Material material) argument
[all...]
H A DGeometry.java42 import com.jme3.material.Material;
69 protected Material material; field in class:Geometry
100 * Both the mesh and the material are null, the geometry
111 * The material of the geometry is null, it cannot
225 * Sets the material to use for this geometry.
227 * @param material the material to use for this geometry
230 public void setMaterial(Material material) { argument
232 throw new UnsupportedOperationException("Cannot set the material of a batched geometry, change the material o
[all...]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/
H A DPhysicsCollisionObject.java38 import com.jme3.material.Material;
160 * @param manager AssetManager to load the default wireframe material for the debug shape
190 protected Spatial attachDebugShape(Material material) { argument
191 debugMaterialBlue = material;
192 debugMaterialGreen = material;
193 debugMaterialRed = material;
194 debugMaterialYellow = material;
208 * @param material Material to use for the debug shape
/external/jmonkeyengine/engine/src/core/com/jme3/post/
H A DFilter.java36 import com.jme3.material.Material;
53 * This texture is applied on a fullscreen quad, with a special material.<br>
54 * This material uses a shader that aplly the desired effect to the scene texture.<br>
68 protected Material material; field in class:Filter
146 * @param material
148 public void init(Renderer renderer, int width, int height, Format textureFormat, Format depthBufferFormat, int numSample, Material material) { argument
150 passMaterial = material;
274 * Must return the material used for this filter.
277 * @return the material used for this filter.
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
H A DTerrainGrid.java39 import com.jme3.material.Material;
112 protected Material material; field in class:TerrainGrid
146 q.setMaterial(material.clone());
150 // only clone the material to the quad if it doesn't have a material of its own
151 if(q.getMaterial()==null) q.setMaterial(material.clone());
273 if (this.material == null) {
444 this.material = mat;
494 material = (Material) c.readSavable("material", nul
[all...]
/external/jmonkeyengine/engine/src/blender/com/jme3/asset/
H A DBlenderKey.java44 import com.jme3.material.Material;
45 import com.jme3.material.RenderState.FaceCullMode;
91 * User's default material that is set fo objects that have no material definition in blender. The default value is
92 * null. If the value is null the importer will use its own default material (gray color - like in blender).
334 * This method sets the default material for objects.
336 * the default material
343 * This method returns the default material.
344 * @return the default material
363 oc.write(defaultMaterial, "default-material", nul
574 addMaterial(Material material) argument
[all...]

Completed in 306 milliseconds

12