HomeSort by relevance Sort by last modified time
    Searched refs:Mesh (Results 101 - 125 of 178) sorted by null

1 2 3 45 6 7 8

  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
AbstractBox.java 40 import com.jme3.scene.Mesh;
56 public abstract class AbstractBox extends Mesh {
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
HeightfieldCollisionShape.java 16 import com.jme3.scene.Mesh;
21 * than using a regular mesh.
101 public Mesh createJmeMesh(){
  /external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
Octree.java 45 import com.jme3.scene.Mesh;
103 Mesh m = geoms[g].getMesh();
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...]
  /cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/
WaterMeshNode.cpp 19 WaterMeshNode::WaterMeshNode(const Mesh* mesh, int time, GLuint textureId1, GLuint textureId2) :
20 MeshNode(mesh), mTime(time), mTextureId1(textureId1), mTextureId2(textureId2) {
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/
GeoMap.java 37 import com.jme3.scene.Mesh;
326 public Mesh createMesh(Vector3f scale, Vector2f tcScale, boolean center){
331 Mesh m = new Mesh();
  /frameworks/rs/driver/runtime/
rs_structs.h 238 * internal members of the C++ class Mesh owned by librs. Unfortunately,
251 typedef struct Mesh {
  /frameworks/rs/
rsRuntime.h 66 void rsrDrawMesh(Context *, Mesh *);
67 void rsrDrawMeshPrimitive(Context *, Mesh *, uint32_t primIndex);
68 void rsrDrawMeshPrimitiveRange(Context *, Mesh *,
70 void rsrMeshComputeBoundingBox(Context *, Mesh *,
rsScriptC_LibGL.cpp 159 void rsrDrawMesh(Context *rsc, Mesh *sm) {
167 void rsrDrawMeshPrimitive(Context *rsc, Mesh *sm, uint32_t primIndex) {
175 void rsrDrawMeshPrimitiveRange(Context *rsc, Mesh *sm, uint32_t primIndex,
184 void rsrMeshComputeBoundingBox(Context *rsc, Mesh *sm,
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
MirrorModifier.java 5 import com.jme3.scene.Mesh;
102 Mesh mesh = ((Geometry) spatial).getMesh(); local
103 Mesh clone = mesh.deepClone();
106 FloatBuffer position = mesh.getFloatBuffer(Type.Position);
107 FloatBuffer bindPosePosition = mesh.getFloatBuffer(Type.BindPosePosition);
  /external/jmonkeyengine/engine/src/core/com/jme3/animation/
AnimControl.java 37 import com.jme3.scene.Mesh;
365 // If we find a target mesh array the AnimControl creates the
370 Mesh[] targets = new Mesh[sav.length];
  /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...]
SceneManager.java 44 import android.renderscript.Mesh;
68 Mesh mQuad;
428 public Mesh getScreenAlignedQuad() {
433 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS,
434 3, Mesh.TriangleMeshBuilder.TEXTURE_0);
  /frameworks/ex/carousel/java/com/android/ex/carousel/
CarouselView.java 25 import android.renderscript.Mesh;
200 * @return the loaded mesh or null if it cannot be loaded
202 public Mesh loadGeometry(int resId) {
209 * @param mesh
211 public void setGeometryForItem(int n, Mesh mesh) {
212 mController.setGeometryForItem(n, mesh);
  /frameworks/native/services/surfaceflinger/RenderEngine/
RenderEngine.cpp 26 #include "Mesh.h"
161 Mesh mesh(Mesh::TRIANGLES, c*6, 2);
162 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());
178 drawMesh(mesh);
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
UVCoordinatesGenerator.java 40 import com.jme3.scene.Mesh;
82 * This method generates UV coordinates for the given mesh.
84 * Each containing mesh with separate material.
104 Mesh mesh = geometries.get(0).getMesh(); local
110 inputData = BufferUtils.getFloatArray(mesh.getFloatBuffer(VertexBuffer.Type.Position));
113 FloatBuffer uvCoordinatesBuffer = BufferUtils.createFloatBuffer(mesh.getVertexCount() * textureDimension);
115 for (int i = 0; i < mesh.getVertexCount(); ++i) {
126 inputData = BufferUtils.getFloatArray(mesh.getFloatBuffer(VertexBuffer.Type.Normal));
150 inputData = UVProjectionGenerator.flatProjection(mesh, bb)
    [all...]
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/
Mesh.java 49 import com.jme3.scene.mesh.*;
59 * <code>Mesh</code> is used to store rendering data.
65 * the size of each point is specified via {@link Mesh#setPointSize(float) }.
69 * via {@link Mesh#setLineWidth(float) }.</li>
75 public class Mesh implements Savable, Cloneable {
78 * The mode of the Mesh specifies both the type of primitive represented
79 * by the mesh and how the data should be interpreted.
84 * can be specified with {@link Mesh#setPointSize(float) }.
90 * a single line. {@link Mesh#setLineWidth(float) } can be used
98 * previous vertex to make a line. {@link Mesh#setLineWidth(float) } can
    [all...]
  /frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
RsRenderStatesRS.java 107 private Mesh mMbyNMesh;
108 private Mesh mTorus;
140 private Mesh getMbyNMesh(float width, float height, int wResolution, int hResolution) {
142 Mesh.TriangleMeshBuilder tmb = new Mesh.TriangleMeshBuilder(mRS,
143 2, Mesh.TriangleMeshBuilder.TEXTURE_0);
353 if (entry == null || entry.getEntryType() != FileA3D.EntryType.MESH) {
356 mTorus = (Mesh)entry.getObject();
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
RagdollUtils.java 15 import com.jme3.scene.Mesh;
58 private static Map<Integer, List<Float>> buildPointMapForMesh(Mesh mesh, Map<Integer, List<Float>> map) {
60 FloatBuffer vertices = mesh.getFloatBuffer(Type.Position);
61 ByteBuffer boneIndices = (ByteBuffer) mesh.getBuffer(Type.BoneIndex).getData();
62 FloatBuffer boneWeight = (FloatBuffer) mesh.getBuffer(Type.BoneWeight).getData();
68 int vertexComponents = mesh.getVertexCount() * 3;
187 * @param mesh
193 private static List<Float> getPoints(Mesh mesh, int boneIndex, Vector3f initialScale, Vector3f offset, float weightThreshold)
    [all...]
  /external/skia/tests/
BlitRowTest.cpp 164 struct Mesh {
167 Mesh(const SkBitmap& bm, SkPaint* paint) {
216 // cons up a mesh to draw the bitmap with
217 Mesh mesh(srcBM, &paint);
246 mesh.draw(&canvas1, &paint);
  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
TorusTest.java 29 import android.renderscript.Mesh.Primitive;
66 private Mesh mTorus;
244 if (entry == null || entry.getEntryType() != FileA3D.EntryType.MESH) {
247 mTorus = (Mesh)entry.getObject();
  /external/jmonkeyengine/engine/src/core/com/jme3/renderer/
RenderContext.java 37 import com.jme3.scene.Mesh;
109 * @see Mesh#setPointSize(float)
114 * @see Mesh#setLineWidth(float)
175 * @see Renderer#renderMesh(com.jme3.scene.Mesh, int, int)
180 * @see Renderer#renderMesh(com.jme3.scene.Mesh, int, int)
187 * @see Renderer#renderMesh(com.jme3.scene.Mesh, int, int)
  /external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
MeshLoader.java 69 * Loads Ogre3D mesh.xml files.
96 private Mesh mesh; field in class:MeshLoader
105 private Mesh sharedMesh;
127 mesh = null;
159 switch (mesh.getMode()){
184 switch (mesh.getMode()){
210 mesh.setBuffer(vb);
244 mesh = new Mesh();
    [all...]
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
TestAppLoadingScreen.java 67 Mesh robotMesh;
76 if (entry != null && entry.getEntryType() == FileA3D.EntryType.MESH) {

Completed in 682 milliseconds

1 2 3 45 6 7 8