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

1 2 3 4 5

  /cts/suite/pts/deviceTests/opengl/jni/graphics/
MeshNode.cpp 16 MeshNode::MeshNode(const Mesh* mesh) :
17 mMesh(mesh) {
MeshNode.h 18 #include "Mesh.h"
24 MeshNode(const Mesh* mesh);
29 const Mesh* mMesh;
PerspectiveMeshNode.h 19 #include "Mesh.h"
25 PerspectiveMeshNode(const Mesh* mesh, const GLuint textureId);
TexturedMeshNode.h 19 #include "Mesh.h"
25 TexturedMeshNode(const Mesh* mesh, const GLuint textureId);
TexturedMeshNode.cpp 17 TexturedMeshNode::TexturedMeshNode(const Mesh* mesh, const GLuint textureId) :
18 MeshNode(mesh), mTextureId(textureId) {
  /frameworks/rs/driver/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...]
  /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;
IndexIntBuffer.java 33 package com.jme3.scene.mesh;
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
NativeMeshUtil.java 34 import com.jme3.scene.Mesh;
36 import com.jme3.scene.mesh.IndexBuffer;
47 public static long getTriangleIndexVertexArray(Mesh mesh){
48 ByteBuffer triangleIndexBase = BufferUtils.createByteBuffer(mesh.getTriangleCount() * 3 * 4);
49 ByteBuffer vertexBase = BufferUtils.createByteBuffer(mesh.getVertexCount() * 3 * 4);
50 int numVertices = mesh.getVertexCount();
52 int numTriangles = mesh.getTriangleCount();
55 IndexBuffer indices = mesh.getIndicesAsList();
56 FloatBuffer vertices = mesh.getFloatBuffer(Type.Position);
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/
Geometry.java 56 * should be shaded and the {@link Mesh} data to contain the actual geometry.
63 // models loaded with shared mesh will be automatically fixed.
67 protected Mesh mesh; field in class:Geometry
80 * the start index of this geom's mesh in the batchNode mesh
99 * Create a geometry node without any mesh data.
100 * Both the mesh and the material are null, the geometry
110 * Create a geometry node with mesh data.
115 * @param mesh The mesh data for this geometr
    [all...]
  /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...]
FloatToFixed.java 40 import com.jme3.scene.Mesh;
45 import com.jme3.scene.mesh.IndexBuffer;
60 Mesh mesh = geom.getMesh(); local
62 VertexBuffer positions = mesh.getBuffer(Type.Position);
63 VertexBuffer normals = mesh.getBuffer(Type.Normal);
64 VertexBuffer texcoords = mesh.getBuffer(Type.TexCoord);
65 VertexBuffer indices = mesh.getBuffer(Type.Index);
71 mesh.getVertexCount());
81 mesh.clearBuffer(Type.Position)
    [all...]
  /cts/suite/pts/deviceTests/opengl/
cob_exporter.py 34 mesh = context.active_object
35 if mesh.type != 'MESH':
36 print("Active object is not a mesh")
38 if mesh.mode != 'OBJECT':
40 print("Writing "+mesh.name+" to "+self.filepath)
41 uvtex = mesh.data.uv_textures.active # points to active texture
47 for vertex_index, vertex_itself in enumerate(mesh.data.faces[uv_index].vertices):
49 vertex = mesh.data.vertices[vertex_itself]
  /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/bullet/com/jme3/bullet/collision/shapes/
GImpactCollisionShape.java 39 import com.jme3.scene.Mesh;
41 import com.jme3.scene.mesh.IndexBuffer;
50 * Basic mesh collision shape
65 * creates a collision shape from the given Mesh
66 * @param mesh the Mesh to use
68 public GImpactCollisionShape(Mesh mesh) {
69 createCollisionMesh(mesh);
72 private void createCollisionMesh(Mesh mesh) {
    [all...]
MeshCollisionShape.java 39 import com.jme3.scene.Mesh;
41 import com.jme3.scene.mesh.IndexBuffer;
51 * Basic mesh collision shape
65 * @param mesh the TriMesh to use
67 public MeshCollisionShape(Mesh mesh) {
68 createCollisionMesh(mesh);
71 private void createCollisionMesh(Mesh mesh) {
72 triangleIndexBase = BufferUtils.createByteBuffer(mesh.getTriangleCount() * 3 * 4);
    [all...]
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/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...]
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/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/core/com/jme3/util/
TangentBinormalGenerator.java 42 import com.jme3.scene.mesh.IndexBuffer;
108 public static void generate(Mesh mesh) {
109 generate(mesh, true);
120 Mesh mesh = geom.getMesh(); local
122 // Check to ensure mesh has texcoords and normals before generating
123 if (mesh.getBuffer(Type.TexCoord) != null
124 && mesh.getBuffer(Type.Normal) != null){
130 public static void generate(Mesh mesh, boolean approxTangents)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
SkeletonControl.java 25 * the transformations on the mesh
38 private Mesh[] targets;
40 * Used to track when a mesh was updated. Meshes are only updated
69 SkeletonControl(Mesh[] targets, Skeleton skeleton) {
74 private boolean isMeshAnimated(Mesh mesh) {
75 return mesh.getBuffer(Type.BindPosePosition) != null;
78 private Mesh[] findTargets(Node node) {
79 Mesh sharedMesh = null;
80 ArrayList<Mesh> animatedMeshes = new ArrayList<Mesh>()
104 Mesh mesh = geom.getMesh(); local
    [all...]
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
Renderable.java 35 import android.renderscript.Mesh;
77 public void setMesh(Mesh mesh) {
78 mData.mesh = mesh;
80 mField.set_mesh(0, mData.mesh, true);
84 public void setMesh(String mesh, String indexName) {
85 mMeshName = mesh;
114 public void resolveMeshData(Mesh mesh) {
    [all...]
  /frameworks/native/services/surfaceflinger/
LayerDim.cpp 46 Mesh mesh(Mesh::TRIANGLE_FAN, 4, 2);
47 computeGeometry(hw, mesh);
50 engine.drawMesh(mesh);
  /frameworks/native/services/surfaceflinger/RenderEngine/
GLES20RenderEngine.cpp 31 #include "Mesh.h"
186 void GLES20RenderEngine::drawMesh(const Mesh& mesh) {
190 if (mesh.getTexCoordsSize()) {
193 mesh.getTexCoordsSize(),
195 mesh.getByteStride(),
196 mesh.getTexCoords());
200 mesh.getVertexSize(),
202 mesh.getByteStride(),
203 mesh.getPositions())
    [all...]

Completed in 300 milliseconds

1 2 3 4 5