/external/jmonkeyengine/engine/src/core/com/jme3/asset/ |
MaterialKey.java | 3 import com.jme3.material.Material; 6 * Used for loading {@link Material materials} only (not material definitions). 26 Material mat = (Material) asset;
|
/external/jmonkeyengine/engine/src/core-data/Common/Materials/ |
VertexColor.j3m | 0 Material Vertex Color Ext : Common/MatDefs/Misc/Unshaded.j3md {
|
RedColor.j3m | 0 Material Red Color : Common/MatDefs/Misc/Unshaded.j3md {
|
WhiteColor.j3m | 0 Material White Color : Common/MatDefs/Misc/Unshaded.j3md {
|
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
package.html | 10 The <code>com.jme3.material</code> package contains classes for manipulating 14 Each geometry has a single material which is used to render that 17 Materials (also known as material instances) are extended from 18 material definitions. 20 <h3>Material definitions</h3> 22 Material definitions provide the "logic" for the material. Usually a shader that 25 Material definitions can be created through J3MD files. 27 simple interface where one can simply set a few parameters on the material to change its 32 Techniques specify a specific way of rendering a material. Typicall [all...] |
MaterialDef.java | 33 package com.jme3.material; 42 * Describes a J3MD (Material definition). 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 [all...] |
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
GammaCorrectionFilter.java | 4 import com.jme3.material.Material; 32 protected Material getMaterial() 34 return material; 41 material = new Material(manager, 43 material.setFloat("gamma", gamma); 44 material.setBoolean("computeLuma", computeLuma); 58 if (material != null) 60 material.setFloat("gamma", gamma) [all...] |
FXAAFilter.java | 4 import com.jme3.material.Material; 30 material = new Material(manager, "Common/MatDefs/Post/FXAA.j3md"); 31 material.setFloat("SubPixelShift", subPixelShift); 32 material.setFloat("VxOffset", vxOffset); 33 material.setFloat("SpanMax", spanMax); 34 material.setFloat("ReduceMul", reduceMul); 38 protected Material getMaterial() { 39 return material; [all...] |
CrossHatchFilter.java | 35 import com.jme3.material.Material; 91 material = new Material(manager, "Common/MatDefs/Post/CrossHatch.j3md"); 92 material.setColor("LineColor", lineColor); 93 material.setColor("PaperColor", paperColor); 95 material.setFloat("ColorInfluenceLine", colorInfluenceLine); 96 material.setFloat("ColorInfluencePaper", colorInfluencePaper); 98 material.setFloat("FillValue", fillValue); 100 material.setFloat("Luminance1", luminance1) [all...] |
CartoonEdgeFilter.java | 35 import com.jme3.material.Material; 84 protected Material getMaterial() { 85 material.setTexture("NormalsTexture", normalPass.getRenderedTexture()); 86 return material; 93 material = new Material(manager, "Common/MatDefs/Post/CartoonEdge.j3md"); 94 material.setFloat("EdgeWidth", edgeWidth); 95 material.setFloat("EdgeIntensity", edgeIntensity); 96 material.setFloat("NormalThreshold", normalThreshold) [all...] |
DepthOfFieldFilter.java | 35 import com.jme3.material.Material; 70 protected Material getMaterial() { 72 return material; 78 material = new Material(assets, "Common/MatDefs/Post/DepthOfField.j3md"); 79 material.setFloat("FocusDistance", focusDistance); 80 material.setFloat("FocusRange", focusRange); 86 material.setFloat("XScale", blurScale * xScale); 87 material.setFloat("YScale", blurScale * yScale) [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
TestTexture3DLoading.java | 9 import com.jme3.material.Material; 33 Material material = new Material(assetManager, "jme3test/texture/tex3DThumb.j3md"); local 45 material.setFloat("InvDepth", 1f / 16f); 46 material.setInt("Rows", rows); 47 material.setTexture("Texture", t); 48 geom.setMaterial(material);
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
SimpleTexturedTest.java | 14 import com.jme3.material.Material; 57 Material material = null; local 58 Material materialMonkey = null; 62 material = new Material(assetManager, "Common/MatDefs/Light/Lighting.j3md"); 63 material.setBoolean("VertexLighting", true); 64 material.setFloat("Shininess", 127); 65 material.setBoolean("LowQuality", true) [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/matext/ |
MaterialExtension.java | 38 * <code>MaterialExtension</code> defines a mapping from an Ogre3D "base" material 39 * to a jME3 material definition. 48 * Material extension defines a mapping from an Ogre3D "base" material 49 * to a jME3 material definition. 51 * @param baseMatName The base material name for Ogre3D 52 * @param jmeMatDefName The material definition name for jME3 68 * Set mapping from an Ogre3D base material texture alias to a 70 * @param ogreTexAlias The texture alias in the Ogre3D base material 71 * @param jmeTexParam The texture param name in the jME3 material definition [all...] |
package.html | 13 E.g. example of an Ogre3D material instance:<br/> 15 import * from "materials/baselighting.material" 17 material MyMaterial : BaseLightingMaterial 26 Example code of loading the above material:<br/> 34 OgreMaterialKey matKey = new OgreMaterialKey("materials/mymaterial.material");<br/>
|
MaterialExtensionLoader.java | 39 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); 93 private Material readExtendingMaterial(Statement statement) throws IOException{ 101 logger.log(Level.WARNING, "Cannot find MaterialExtension for: {0}. Ignoring material.", extendedMat); 106 material = new Material(assetManager, matExt.getJmeMatDefName()) 126 Material material = readExtendingMaterial(statement); local [all...] |
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/ |
WaterFilter.java | 41 import com.jme3.material.Material; 140 material.setFloat("Time", time); 143 material.setMatrix4("TextureProjMatrix", textureProjMatrix); 144 material.setVector3("CameraPosition", sceneCam.getLocation()); 145 material.setMatrix4("ViewProjectionMatrixInverse", sceneCam.getViewProjectionMatrix().invert()); 147 material.setFloat("WaterHeight", waterHeight); 205 protected Material getMaterial() { 206 return material; 263 material = new Material(manager, "Common/MatDefs/Water/Water.j3md") [all...] |
/external/chromium_org/cc/quads/ |
content_draw_quad_base.cc | 21 DrawQuad::Material material, 29 DrawQuad::SetAll(shared_quad_state, material, rect, opaque_rect, 37 DrawQuad::Material material, 45 DrawQuad::SetAll(shared_quad_state, material, rect, opaque_rect,
|
draw_quad.cc | 32 : material(INVALID), 38 Material material, 50 this->material = material; 58 DCHECK(material != INVALID); 67 switch (material) { 97 LOG(FATAL) << "Invalid DrawQuad material " << material; 106 value->SetInteger("material", material) [all...] |
content_draw_quad_base.h | 20 DrawQuad::Material material, 28 DrawQuad::Material material,
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
PhysicsTestHelper.java | 18 import com.jme3.material.Material; 45 Material material = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); local 46 material.setTexture("ColorMap", assetManager.loadTexture("Interface/Logo/Monkey.jpg")); 50 floorGeometry.setMaterial(material); 63 boxGeometry.setMaterial(material); 74 sphereGeometry.setMaterial(material); 87 Material material = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md") local 131 Material material = new Material(assetManager, "Common\/MatDefs\/Misc\/Unshaded.j3md"); local 147 Material material = new Material(assetManager, "Common\/MatDefs\/Misc\/Unshaded.j3md"); local [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/ |
MaterialHelper.java | 35 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. 458 Material material = (Material) blenderContext.getLoadedFeature(s.getOldMemoryAddress(), LoadedFeatureDataType.LOADED_FEATURE); local [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/effect/ |
TestSoftParticles.java | 14 import com.jme3.material.Material; 50 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); 58 Material mat2 = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); 70 Material material = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md"); local 71 material.setTexture("Texture", assetManager.loadTexture("Effects/Explosion/flame.png")) [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
MTLLoader.java | 36 import com.jme3.material.Material; 37 import com.jme3.material.MaterialList; 38 import com.jme3.material.RenderState.BlendMode; 59 //protected Material material; 80 // material = null; 127 Material material; local 134 material = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md") [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
GL1Renderer.java | 3 import com.jme3.material.FixedFuncBinding; 9 * {@link #setFixedFuncBinding(com.jme3.material.FixedFuncBinding, java.lang.Object) }
|