Home
last modified time | relevance | path

Searched refs:Mesh (Results 1 – 25 of 153) sorted by relevance

1234567

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/
DModelCache.java23 import com.badlogic.gdx.graphics.Mesh;
51 Mesh obtain (VertexAttributes vertexAttributes, int vertexCount, int indexCount); in obtain()
63 private Array<Mesh> freeMeshes = new Array<Mesh>();
64 private Array<Mesh> usedMeshes = new Array<Mesh>();
73 public Mesh obtain (VertexAttributes vertexAttributes, int vertexCount, int indexCount) { in obtain()
75 final Mesh mesh = freeMeshes.get(i); in obtain()
85 Mesh result = new Mesh(false, vertexCount, indexCount, vertexAttributes); in obtain()
92 for (Mesh m : usedMeshes) in dispose()
95 for (Mesh m : freeMeshes) in dispose()
104 private Array<Mesh> freeMeshes = new Array<Mesh>();
[all …]
/external/vulkan-validation-layers/demos/smoke/
DMeshes.cpp34 class Mesh { class
171 BuildPyramid(Mesh &mesh) in BuildPyramid()
197 BuildIcosphere(Mesh &mesh) : mesh_(mesh), radius_(1.0f) in BuildIcosphere()
265 std::vector<Mesh::Face> faces; in tessellate()
283 faces.emplace_back(Mesh::Face{ v0, v01, v20 }); in tessellate()
284 faces.emplace_back(Mesh::Face{ v1, v12, v01 }); in tessellate()
285 faces.emplace_back(Mesh::Face{ v2, v20, v12 }); in tessellate()
286 faces.emplace_back(Mesh::Face{ v01, v12, v20 }); in tessellate()
299 const Mesh::Position &pos_a = mesh_.positions_[a]; in add_middle_point()
300 const Mesh::Position &pos_b = mesh_.positions_[b]; in add_middle_point()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/light/
DTestTangentGen.java42 import com.jme3.scene.Mesh;
43 import com.jme3.scene.Mesh.Mode;
77 Mesh strip = createTriangleStripMesh(); in simpleInitApp()
86 private void addMesh(String name, Mesh mesh, Vector3f translation) { in addMesh()
110 private Mesh createTriangleStripMesh() { in createTriangleStripMesh()
111 Mesh strip = new Mesh(); in createTriangleStripMesh()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gles2/
DShapes.java19 import com.badlogic.gdx.graphics.Mesh;
24 public static Mesh genCube () { in genCube()
25Mesh mesh = new Mesh(true, 24, 36, new VertexAttribute(Usage.Position, 3, "a_position"), new Verte… in genCube()
DHelloTriangle.java21 import com.badlogic.gdx.graphics.Mesh;
29 Mesh mesh;
40 mesh = new Mesh(true, 3, 0, new VertexAttribute(Usage.Position, 3, "vPosition")); in create()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DHullCollisionShape.java10 import com.jme3.scene.Mesh;
23 public HullCollisionShape(Mesh mesh) { in HullCollisionShape()
47 Mesh mesh = (Mesh) capsule.readSavable("hullMesh", null); in read()
67 protected float[] getPoints(Mesh mesh) { in getPoints()
DMeshCollisionShape.java43 import com.jme3.scene.Mesh;
64 public MeshCollisionShape(Mesh mesh) { in MeshCollisionShape()
68 private void createCollisionMesh(Mesh mesh, Vector3f worldScale) { in createCollisionMesh()
83 public Mesh createJmeMesh(){ in createJmeMesh()
DGImpactCollisionShape.java43 import com.jme3.scene.Mesh;
65 public GImpactCollisionShape(Mesh mesh) { in GImpactCollisionShape()
70 private void createCollisionMesh(Mesh mesh, Vector3f worldScale) { in createCollisionMesh()
85 public Mesh createJmeMesh(){ in createJmeMesh()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DHullCollisionShape.java7 import com.jme3.scene.Mesh;
24 public HullCollisionShape(Mesh mesh) { in HullCollisionShape()
48 Mesh mesh = (Mesh) capsule.readSavable("hullMesh", null); in read()
86 protected float[] getPoints(Mesh mesh) { in getPoints()
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DSkeletonControl.java38 private Mesh[] targets;
69 SkeletonControl(Mesh[] targets, Skeleton skeleton) { in SkeletonControl()
74 private boolean isMeshAnimated(Mesh mesh) { in isMeshAnimated()
78 private Mesh[] findTargets(Node node) { in findTargets()
79 Mesh sharedMesh = null; in findTargets()
80 ArrayList<Mesh> animatedMeshes = new ArrayList<Mesh>(); in findTargets()
90 Mesh childSharedMesh = geom.getUserData(UserData.JME_SHAREDMESH); in findTargets()
104 Mesh mesh = geom.getMesh(); in findTargets()
115 return animatedMeshes.toArray(new Mesh[animatedMeshes.size()]); in findTargets()
157 for (Mesh mesh : targets) { in resetToBind()
[all …]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
DDebugShapeFactory.java39 import com.jme3.scene.Mesh;
112 public static Mesh getDebugMesh(CollisionShape shape) { in getDebugMesh()
113 Mesh mesh = new Mesh(); in getDebugMesh()
114 mesh = new Mesh(); in getDebugMesh()
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/
DTestCustomMesh.java41 import com.jme3.scene.Mesh;
61 Mesh m = new Mesh(); in simpleInitApp()
102 Mesh cMesh = m.clone(); in simpleInitApp()
143 Mesh wfMesh = m.clone(); in simpleInitApp()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DMesh.java67 public class Mesh implements Disposable { class
73 static final Map<Application, Array<Mesh>> meshes = new HashMap<Application, Array<Mesh>>();
80 protected Mesh (VertexData vertices, IndexData indices, boolean isVertexArray) { in Mesh() method in Mesh
95 public Mesh (boolean isStatic, int maxVertices, int maxIndices, VertexAttribute... attributes) { in Mesh() method in Mesh
110 public Mesh (boolean isStatic, int maxVertices, int maxIndices, VertexAttributes attributes) { in Mesh() method in Mesh
128 …public Mesh (boolean staticVertices, boolean staticIndices, int maxVertices, int maxIndices, Verte… in Mesh() method in Mesh
152 …public Mesh (VertexDataType type, boolean isStatic, int maxVertices, int maxIndices, VertexAttribu… in Mesh() method in Mesh
184 public Mesh setVertices (float[] vertices) { in setVertices()
196 public Mesh setVertices (float[] vertices, int offset, int count) { in setVertices()
205 public Mesh updateVertices (int targetOffset, float[] source) { in updateVertices()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DTangentBinormalGenerator.java108 public static void generate(Mesh mesh) { in generate()
120 Mesh mesh = geom.getMesh(); in generate()
130 public static void generate(Mesh mesh, boolean approxTangents) { in generate()
181 private static VertexData[] processTriangles(Mesh mesh, in processTriangles()
212 private static VertexData[] processTriangleStrip(Mesh mesh, in processTriangleStrip()
260 private static VertexData[] processTriangleFan(Mesh mesh, in processTriangleFan()
390 private static ArrayList<VertexInfo> linkVertices(Mesh mesh) { in linkVertices()
428 private static void processTriangleData(Mesh mesh, VertexData[] vertices, in processTriangleData()
606 public static Mesh genTbnLines(Mesh mesh, float scale) { in genTbnLines()
614 public static Mesh genNormalLines(Mesh mesh, float scale) { in genNormalLines()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
DWrappedIndexBuffer.java3 import com.jme3.scene.Mesh;
4 import com.jme3.scene.Mesh.Mode;
24 public WrappedIndexBuffer(Mesh mesh){ in WrappedIndexBuffer()
57 public static void convertToList(Mesh mesh){ in convertToList()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/decals/
DDecalBatch.java21 import com.badlogic.gdx.graphics.Mesh;
53 private Mesh mesh;
91 Mesh.VertexDataType vertexDataType = Mesh.VertexDataType.VertexArray; in initialize()
93 vertexDataType = Mesh.VertexDataType.VertexBufferObjectWithVAO; in initialize()
95 mesh = new Mesh(vertexDataType, false, size * 4, size * 6, new VertexAttribute( in initialize()
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DGeometryBatchFactory.java7 import com.jme3.scene.Mesh.Mode;
96 public static void mergeGeometries(Collection<Geometry> geometries, Mesh outMesh) { in mergeGeometries()
177 Mesh inMesh = geom.getMesh(); in mergeGeometries()
227 public static void makeLods(Collection<Geometry> geometries, Mesh outMesh) { in makeLods()
302 Mesh mesh = new Mesh(); in makeBatches()
370 public static void printMesh(Mesh mesh) { in printMesh()
397 Mesh mesh = new Mesh(); in main()
416 Mesh outMesh = new Mesh(); in main()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtIndexedMesh.java13 import com.badlogic.gdx.graphics.Mesh;
116 public btIndexedMesh(final Mesh mesh) { in btIndexedMesh()
132 public btIndexedMesh(final Mesh mesh, int offset, int count) { in btIndexedMesh()
149 public void set(final Mesh mesh) { in set()
156 public void set(final Object tag, final Mesh mesh) { in set()
172 public void set(final Mesh mesh, int offset, int count) { in set()
179 public void set(final Object tag, final Mesh mesh, int offset, int count) { in set()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
DCurve.java36 import com.jme3.scene.Mesh;
49 public class Curve extends Mesh {
135 this.setMode(Mesh.Mode.Lines); in createCatmullRomMesh()
187 this.setMode(Mesh.Mode.Lines); in createBezierMesh()
224 this.setMode(Mesh.Mode.Lines); in createNurbMesh()
257 this.setMode(Mesh.Mode.Lines); in createLinearMesh()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/
DMeshPart.java20 import com.badlogic.gdx.graphics.Mesh;
57 public Mesh mesh;
80 …public MeshPart (final String id, final Mesh mesh, final int offset, final int size, final int typ… in MeshPart()
107 …public MeshPart set (final String id, final Mesh mesh, final int offset, final int size, final int… in set()
/external/jmonkeyengine/engine/src/test/jme3test/collision/
DTestRayCasting.java39 import com.jme3.scene.Mesh;
61 Mesh q = new Mesh(); in simpleInitApp()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DFrameBufferTest.java35 import com.badlogic.gdx.graphics.Mesh;
52 Mesh mesh;
54 Mesh stencilMesh;
120 …mesh = new Mesh(true, 3, 0, new VertexAttribute(Usage.Position, 3, "a_Position"), new VertexAttrib… in create()
128 …stencilMesh = new Mesh(true, 3, 0, new VertexAttribute(Usage.Position, 3, "a_Position"), new Verte… in create()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
DParticlesModifier.java8 import com.jme3.scene.Mesh;
77 List<Mesh> meshes = new ArrayList<Mesh>(); in apply()
80 Mesh mesh = ((Geometry) spatial).getMesh(); in apply()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
DGrid.java35 import com.jme3.scene.Mesh;
36 import com.jme3.scene.Mesh.Mode;
47 public class Grid extends Mesh {
/external/libgdx/extensions/gdx-bullet/jni/swig/collision/
DbtTriangleIndexVertexArray.i32 import com.badlogic.gdx.graphics.Mesh;
94 public btIndexedMesh(final Mesh mesh) { in btIndexedMesh()
110 public btIndexedMesh(final Mesh mesh, int offset, int count) { in btIndexedMesh()
127 public void set(final Mesh mesh) { in set()
134 public void set(final Object tag, final Mesh mesh) { in set()
150 public void set(final Mesh mesh, int offset, int count) { in set()
157 public void set(final Object tag, final Mesh mesh, int offset, int count) { in set()
199 import com.badlogic.gdx.graphics.Mesh;

1234567