HomeSort by relevance Sort by last modified time
    Searched defs:mesh (Results 1 - 25 of 65) sorted by null

1 2 3

  /external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
WrappedIndexBuffer.java 1 package com.jme3.scene.mesh;
3 import com.jme3.scene.Mesh;
4 import com.jme3.scene.Mesh.Mode;
12 * mesh mode such as {@link Mode#TriangleStrip} or {@link Mode#LineLoop}
16 * convoluting classes used to process mesh data from an external source.
24 public WrappedIndexBuffer(Mesh mesh){
25 super(mesh.getVertexCount(), mesh.getMode());
26 this.ib = mesh.getIndexBuffer()
    [all...]
IndexBuffer.java 33 package com.jme3.scene.mesh;
IndexByteBuffer.java 33 package com.jme3.scene.mesh;
IndexIntBuffer.java 33 package com.jme3.scene.mesh;
IndexShortBuffer.java 33 package com.jme3.scene.mesh;
VirtualIndexBuffer.java 1 package com.jme3.scene.mesh;
3 import com.jme3.scene.Mesh.Mode;
8 * based on a specific Mesh {@link Mode}.
9 * The generated indices are as if the mesh is in the given mode
  /external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
ModelConverter.java 35 import com.jme3.scene.Mesh.Mode;
39 import com.jme3.scene.mesh.IndexBuffer;
65 public static void generateStrips(Mesh mesh, boolean stitch, boolean listOnly, int cacheSize, int minStripSize){
72 IndexBuffer ib = mesh.getIndicesAsList();
84 VertexBuffer original = mesh.getBuffer(Type.Index);
89 ib = mesh.getIndexBuffer();
113 mesh.setMode(Mode.TriangleStrip);
115 mesh.setElementLengths(elementLengths);
116 mesh.setModeStart(modeStart)
166 Mesh mesh = geom.getMesh(); local
    [all...]
  /external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/
DrawsGradient.cpp 110 GRADIENT_TRIANGLE mesh[] = { local
117 ::GradientFill(dc, vertices, _countof(vertices), mesh, _countof(mesh), GRADIENT_FILL_TRIANGLE);
  /frameworks/compile/libbcc/lib/Renderscript/runtime/
rs_mesh.c 6 * Mesh
10 Mesh_t *mesh = (Mesh_t *)m.p; local
11 if (mesh == NULL) {
14 return mesh->mHal.state.vertexBuffersCount;
19 Mesh_t *mesh = (Mesh_t *)m.p; local
20 if (mesh == NULL) {
23 return mesh->mHal.state.primitivesCount;
28 Mesh_t *mesh = (Mesh_t *)m.p; local
29 if (mesh == NULL || index >= mesh->mHal.state.vertexBuffersCount)
39 Mesh_t *mesh = (Mesh_t *)m.p; local
50 Mesh_t *mesh = (Mesh_t *)m.p; local
    [all...]
  /frameworks/native/services/surfaceflinger/
LayerDim.cpp 63 LayerMesh mesh; local
64 computeGeometry(hw, &mesh);
66 glVertexPointer(2, GL_FLOAT, 0, mesh.getVertices());
67 glDrawArrays(GL_TRIANGLE_FAN, 0, mesh.getVertexCount());
LayerScreenshot.cpp 145 LayerMesh mesh; local
146 computeGeometry(hw, &mesh);
160 glVertexPointer(2, GL_FLOAT, 0, mesh.getVertices());
161 glDrawArrays(GL_TRIANGLE_FAN, 0, mesh.getVertexCount());
  /frameworks/base/libs/hwui/
PatchCache.cpp 79 Patch* mesh = NULL; local
81 mesh = mCache.valueAt(index);
84 if (!mesh) {
85 PATCH_LOGD("New patch mesh "
89 mesh = new Patch(width, height, transparentQuads);
90 mesh->updateColorKey(colorKey);
91 mesh->copy(xDivs, yDivs);
92 mesh->updateVertices(bitmapWidth, bitmapHeight, 0.0f, 0.0f, pixelWidth, pixelHeight);
99 mCache.add(description, mesh);
100 } else if (!mesh->matches(xDivs, yDivs, colorKey))
    [all...]
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
DebugShapeFactory.java 39 import com.jme3.scene.Mesh;
112 public static Mesh getDebugMesh(CollisionShape shape) {
113 Mesh mesh = new Mesh(); local
114 mesh = new Mesh();
117 mesh.setBuffer(Type.Position, 3, callback.getVertices());
118 mesh.getFloatBuffer(Type.Position).clear();
119 return mesh;
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
MeshTest.java 22 import android.renderscript.Mesh;
23 import android.renderscript.Mesh.Primitive;
24 import android.renderscript.Mesh.AllocationBuilder;
25 import android.renderscript.Mesh.Builder;
26 import android.renderscript.Mesh.TriangleMeshBuilder;
52 Mesh.AllocationBuilder mab;
54 mab = new Mesh.AllocationBuilder(mRS);
60 mab = new Mesh.AllocationBuilder(mRS);
67 Mesh mesh = mab.create() local
87 Mesh mesh = mb.create(); local
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/
MeshContext.java 11 * Class that holds information about the mesh.
16 /** The mesh stored here as a list of geometries. */
17 private List<Geometry> mesh; field in class:MeshContext
26 * This method returns the referenced mesh.
28 * @return the referenced mesh
31 return mesh;
35 * This method sets the referenced mesh.
37 * @param mesh
38 * the referenced mesh
40 public void setMesh(List<Geometry> mesh) {
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
ParticlesModifier.java 8 import com.jme3.scene.Mesh;
77 List<Mesh> meshes = new ArrayList<Mesh>();
80 Mesh mesh = ((Geometry) spatial).getMesh(); local
81 if (mesh != null) {
82 meshes.add(mesh);
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
HullCollisionShape.java 7 import com.jme3.scene.Mesh;
24 public HullCollisionShape(Mesh mesh) {
25 this.points = getPoints(mesh);
48 Mesh mesh = (Mesh) capsule.readSavable("hullMesh", null); local
49 if (mesh != null) {
50 this.points = getPoints(mesh);
86 protected float[] getPoints(Mesh mesh) {
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
EmitterMeshFaceShape.java 5 import com.jme3.scene.Mesh;
28 public EmitterMeshFaceShape(List<Mesh> meshes) {
33 public void setMeshes(List<Mesh> meshes) {
36 for (Mesh mesh : meshes) {
37 Vector3f[] vertexTable = BufferUtils.getVector3Array(mesh.getFloatBuffer(Type.Position));
39 List<Vector3f> vertices = new ArrayList<Vector3f>(mesh.getTriangleCount() * 3);
40 List<Vector3f> normals = new ArrayList<Vector3f>(mesh.getTriangleCount());
41 for (int i = 0; i < mesh.getTriangleCount(); ++i) {
42 mesh.getTriangle(i, indices)
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
HullCollisionShape.java 10 import com.jme3.scene.Mesh;
23 public HullCollisionShape(Mesh mesh) {
24 this.points = getPoints(mesh);
47 Mesh mesh = (Mesh) capsule.readSavable("hullMesh", null); local
48 if (mesh != null) {
49 this.points = getPoints(mesh);
67 protected float[] getPoints(Mesh mesh)
    [all...]
  /external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
GeometryBatchFactory.java 7 import com.jme3.scene.Mesh.Mode;
12 import com.jme3.scene.mesh.IndexBuffer;
91 * the output mesh. Creates a new material using the TextureAtlas.
96 public static void mergeGeometries(Collection<Geometry> geometries, Mesh outMesh) {
177 Mesh inMesh = geom.getMesh();
227 public static void makeLods(Collection<Geometry> geometries, Mesh outMesh) {
302 Mesh mesh = new Mesh(); local
303 mergeGeometries(geomsForMat, mesh);
397 Mesh mesh = new Mesh(); local
    [all...]
TextureAtlas.java 40 import com.jme3.scene.Mesh;
80 * <p>The TextureAtlas also allows you to change the texture coordinates of a mesh or geometry
421 * Applies the texture coordinates to the given output mesh
425 * @param outMesh The mesh to set the coords in (can be same as input).
428 public boolean applyCoords(Geometry geom, int offset, Mesh outMesh) {
429 Mesh inMesh = geom.getMesh();
436 throw new IllegalStateException("Geometry mesh has no texture coordinate buffer.");
494 Mesh mesh = new Mesh(); local
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DebugShapeFactory.java 44 import com.jme3.scene.Mesh;
122 public static Mesh getDebugMesh(CollisionShape shape) {
123 Mesh mesh = null; local
125 mesh = new Mesh();
126 mesh.setBuffer(Type.Position, 3, getVertices((ConvexShape) shape.getCShape()));
127 mesh.getFloatBuffer(Type.Position).clear();
129 mesh = new Mesh();
    [all...]
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
ConstraintShrinkWrap.java 11 import com.jme3.scene.Mesh;
49 //loading mesh points (blender ensures that the target is a mesh-object)
54 Mesh mesh = ((Geometry) spatial).getMesh(); local
55 FloatBuffer floatBuffer = mesh.getFloatBuffer(Type.Position);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
UVProjectionGenerator.java 8 import com.jme3.scene.Mesh;
22 * @param mesh
23 * mesh that is to be projected
28 public static float[] flatProjection(Mesh mesh, BoundingBox bb) {
30 bb = UVCoordinatesGenerator.getBoundingBox(mesh);
34 FloatBuffer positions = mesh.getFloatBuffer(VertexBuffer.Type.Position);
47 * @param mesh
48 * mesh that is to be projected
53 public static float[] cubeProjection(Mesh mesh, BoundingBox bb)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
LodControl.java 45 import com.jme3.scene.Mesh;
127 Mesh mesh = geom.getMesh(); local
128 numLevels = mesh.getNumLodLevels();
131 numTris[i] = mesh.getTriangleCount(i);

Completed in 504 milliseconds

1 2 3