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

1 2 3 4 5 6

  /frameworks/rs/driver/
rsdMesh.h 24 const android::renderscript::Mesh *m);
26 const android::renderscript::Mesh *m,
29 const android::renderscript::Mesh *m);
rsdMeshObj.h 25 class Mesh;
37 const android::renderscript::Mesh *);
46 const android::renderscript::Mesh *mRSMesh;
rsdMesh.cpp 30 bool rsdMeshInit(const Context *rsc, const Mesh *m) {
41 void rsdMeshDraw(const Context *rsc, const Mesh *m, uint32_t primIndex, uint32_t start, uint32_t len) {
53 void rsdMeshDestroy(const Context *rsc, const Mesh *m) {
  /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/core/com/jme3/effect/
ParticleMesh.java 38 import com.jme3.scene.Mesh;
46 public abstract class ParticleMesh extends Mesh {
49 * Type of particle mesh
53 * The particle mesh is composed of points. Each particle is a point.
60 * The particle mesh is composed of triangles. Each particle is
67 * Initialize mesh data.
  /frameworks/rs/
rsMesh.h 36 class Mesh : public ObjectBase {
58 Mesh(Context *);
59 Mesh(Context *, uint32_t vertexBuffersCount, uint32_t primitivesCount);
60 ~Mesh();
64 static Mesh *createFromStream(Context *rsc, IStream *stream);
rsMesh.cpp 24 Mesh::Mesh(Context *rsc) : ObjectBase(rsc) {
38 Mesh::Mesh(Context *rsc,
62 Mesh::~Mesh() {
64 mRSC->mHal.funcs.mesh.destroy(mRSC, this);
75 void Mesh::init() {
77 mRSC->mHal.funcs.mesh.init(mRSC, this);
81 void Mesh::serialize(Context *rsc, OStream *stream) const
150 Mesh *mesh = new Mesh(rsc, vertexBuffersCount, primitivesCount); local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
EmitterMeshConvexHullShape.java 5 import com.jme3.scene.Mesh;
10 * (a geometry that tightly wraps the mesh). So in case of multiple meshes some vertices may appear
27 public EmitterMeshConvexHullShape(List<Mesh> meshes) {
33 * of randomly selected mesh.
36 * of randomly selected mesh
41 // now move the point from the meshe's face towards the center of the mesh
48 * of randomly selected mesh.
52 * of randomly selected mesh
59 // now move the point from the meshe's face towards the center of the mesh
  /frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
FountainRS.java 44 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS);
46 smb.addIndexSetType(Mesh.Primitive.POINT);
47 Mesh sm = smb.create();
  /frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
FountainRS.java 44 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS);
46 smb.addIndexSetType(Mesh.Primitive.POINT);
47 Mesh sm = smb.create();
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
Quad.java 35 import com.jme3.scene.Mesh;
46 public class Quad extends Mesh {
  /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...]
  /frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
UT_mesh.java 22 import android.renderscript.Mesh.*;
27 Mesh mesh; field in class:UT_mesh
30 super(rstc, "Mesh", ctx);
41 Mesh.AllocationBuilder mBuilder = new Mesh.AllocationBuilder(RS);
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
Grid.java 35 import com.jme3.scene.Mesh;
36 import com.jme3.scene.Mesh.Mode;
47 public class Grid extends Mesh {
SkeletonPoints.java 38 import com.jme3.scene.Mesh;
46 public class SkeletonPoints extends Mesh {
  /external/jmonkeyengine/engine/src/test/jme3test/collision/
TestRayCasting.java 39 import com.jme3.scene.Mesh;
61 Mesh q = new Mesh();
74 teapot = assetManager.loadModel("Models/Teapot/Teapot.mesh.xml");
  /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/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...]
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/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...]
MeshCollisionShape.java 43 import com.jme3.scene.Mesh;
48 * Basic mesh collision shape
62 * @param mesh the TriMesh to use
64 public MeshCollisionShape(Mesh mesh) {
65 createCollisionMesh(mesh, new Vector3f(1, 1, 1));
68 private void createCollisionMesh(Mesh mesh, Vector3f worldScale) {
70 bulletMesh = Converter.convert(mesh);
81 * creates a jme mesh from the collision shape, only needed for debuggin
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/model/shape/
TestCustomMesh.java 41 import com.jme3.scene.Mesh;
47 * We render the mesh in three different ways, once with a solid blue color,
61 Mesh m = new Mesh();
77 // Indexes. We define the order in which mesh should be constructed
87 // First mesh uses one solid color
100 // Second mesh uses vertex colors to color each vertex
102 Mesh cMesh = m.clone();
126 // move mesh a bit so that it doesn't intersect with the first one
130 // /** Alternatively, you can show the mesh vertixes as point
    [all...]
  /frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
FountainFboRS.java 22 import android.renderscript.Mesh;
46 Mesh.AllocationBuilder smb = new Mesh.AllocationBuilder(mRS);
48 smb.addIndexSetType(Mesh.Primitive.POINT);
49 Mesh sm = smb.create();
  /external/jmonkeyengine/engine/src/test/jme3test/light/
TestTangentGen.java 42 import com.jme3.scene.Mesh;
43 import com.jme3.scene.Mesh.Mode;
77 Mesh strip = createTriangleStripMesh();
86 private void addMesh(String name, Mesh mesh, Vector3f translation) {
87 TangentBinormalGenerator.generate(mesh);
89 Geometry testGeom = new Geometry(name, mesh);
97 TangentBinormalGenerator.genTbnLines(mesh, 0.08f)
110 private Mesh createTriangleStripMesh() {
111 Mesh strip = new Mesh()
    [all...]
  /packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
PhaseBeamRS.java 9 import android.renderscript.Mesh;
21 import android.renderscript.Mesh.Primitive;
46 private Mesh mDotMesh;
49 private Mesh mBeamMesh;
68 Mesh.AllocationBuilder smb2 = new Mesh.AllocationBuilder(mRS);
70 smb2.addIndexSetType(Mesh.Primitive.POINT);
74 Mesh.AllocationBuilder smb3 = new Mesh.AllocationBuilder(mRS);
76 smb3.addIndexSetType(Mesh.Primitive.POINT)
    [all...]

Completed in 902 milliseconds

1 2 3 4 5 6