Home
last modified time | relevance | path

Searched refs:getMesh (Results 1 – 25 of 42) sorted by relevance

12

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainPatch.java258 return store.set(getMesh().getFloatBuffer(Type.TexCoord).get(idx*2), in getTex()
259 getMesh().getFloatBuffer(Type.TexCoord).get(idx*2+1) ); in getTex()
266 …return getMesh().getFloatBuffer(Type.Position).get(idx*3+1); // 3 floats per entry (x,y,z), the +1… in getHeightmapHeight()
298 float h = getMesh().getFloatBuffer(Type.Position).get(idx*3+1); in setHeight()
305 getMesh().clearBuffer(Type.Position); in setHeight()
306 getMesh().setBuffer(Type.Position, 3, newVertexBuffer); in setHeight()
314 getMesh().getBuffer(Type.Normal).updateData(newNormalBuffer); in updateNormals()
317 …Array(newNormalBuffer, newTangentBuffer, newBinormalBuffer, (FloatBuffer)getMesh().getBuffer(Type.… in updateNormals()
320 getMesh().getBuffer(Type.Tangent).updateData(newTangentBuffer); in updateNormals()
321 getMesh().getBuffer(Type.Binormal).updateData(newBinormalBuffer); in updateNormals()
[all …]
DUpdatedTerrainPatch.java178 updatedPatch.getMesh().clearBuffer(Type.Index); in updateAll()
179 updatedPatch.getMesh().setBuffer(Type.Index, 3, newIndexBuffer); in updateAll()
/external/jmonkeyengine/engine/src/test/jme3test/light/
DTestTangentGenBadModels.java63 Mesh m = g.getMesh(); in simpleInitApp()
73 TangentBinormalGenerator.genTbnLines(g.getMesh(), 0.2f) in simpleInitApp()
75 debug.getMesh().setLineWidth(1); in simpleInitApp()
90 lightMdl.getMesh().setStatic(); in simpleInitApp()
DTestTangentGenBadUV.java63 TangentBinormalGenerator.generate(g.getMesh()); in simpleInitApp()
74 TangentBinormalGenerator.genTbnLines(((Geometry) teapot).getMesh(), 0.03f) in simpleInitApp()
91 lightMdl.getMesh().setStatic(); in simpleInitApp()
DTestSimpleLighting.java60 TangentBinormalGenerator.generate(teapot.getMesh(), true); in simpleInitApp()
86 lightMdl.getMesh().setStatic(); in simpleInitApp()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DBatchNode.java122 batch.geometry.getMesh().updateBound(); in updateGeometricState()
146 Mesh mesh = batch.geometry.getMesh(); in updateSubBatch()
212 batch.geometry.getMesh().updateCounts(); in doBatch()
213 batch.geometry.getMesh().updateBound(); in doBatch()
385 totalLodLevels = Math.min(totalLodLevels, geom.getMesh().getNumLodLevels()); in mergeGeometries()
391 switch (geom.getMesh().getMode()) { in mergeGeometries()
412 for (VertexBuffer vb : geom.getMesh().getBufferList().getArray()) { in mergeGeometries()
456 Mesh inMesh = geom.getMesh(); in mergeGeometries()
DGeometry.java220 public Mesh getMesh() { in getMesh() method in Geometry
561 getMesh().extractVertexData(sharedMesh); in read()
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DGeometryBatchFactory.java108 totalLodLevels = Math.min(totalLodLevels, geom.getMesh().getNumLodLevels()); in mergeGeometries()
112 switch (geom.getMesh().getMode()) { in mergeGeometries()
133 for (VertexBuffer vb : geom.getMesh().getBufferList().getArray()){ in mergeGeometries()
177 Mesh inMesh = geom.getMesh(); in mergeGeometries()
233 lodLevels = g.getMesh().getNumLodLevels(); in makeLods()
239 lodSize[i] += g.getMesh().getLodLevel(i).getData().capacity(); in makeLods()
258 ShortBuffer buffer = (ShortBuffer) g.getMesh().getLodLevel(i).getDataReadOnly(); in makeLods()
DTestCollector.java51 System.out.println(firstOne.get(0).getMesh()); in main()
DTextureAtlas.java417 return applyCoords(geom, 0, geom.getMesh()); in applyCoords()
429 Mesh inMesh = geom.getMesh(); in applyCoords()
525 Mesh inMesh = geom.getMesh(); in applyAtlasCoords()
DOctree.java103 Mesh m = geoms[g].getMesh(); in Octree()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DUVCoordinatesGenerator.java104 Mesh mesh = geometries.get(0).getMesh(); in generateUVCoordinates()
188 mesh = geometry.getMesh(); in generateUVCoordinates()
205 BoundingBox bb = UVCoordinatesGenerator.getBoundingBox(geometry.getMesh()); in getBoundingBox()
244 BoundingSphere bs = UVCoordinatesGenerator.getBoundingSphere(geometry.getMesh()); in getBoundingSphere()
316 BoundingTube bt = UVCoordinatesGenerator.getBoundingTube(geometry.getMesh());
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
DVehicleControl.java211 Arrow locArrow = (Arrow) locGeom.getMesh(); in render()
213 Arrow axleArrow = (Arrow) axleGeom.getMesh(); in render()
215 Arrow wheelArrow = (Arrow) wheelGeom.getMesh(); in render()
217 Arrow dirArrow = (Arrow) dirGeom.getMesh(); in render()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
DRagdollUtils.java45 buildPointMapForMesh(g.getMesh(), map); in buildPointMap()
51 buildPointMapForMesh(g.getMesh(), map); in buildPointMap()
162 … points.addAll(getPoints(g.getMesh(), index, initialScale, initialPosition, weightThreshold)); in makeShapeFromVerticeWeights()
170 … points.addAll(getPoints(g.getMesh(), index, initialScale, initialPosition, weightThreshold)); in makeShapeFromVerticeWeights()
/external/jmonkeyengine/engine/src/core/com/jme3/font/
DBitmapTextPage.java78 Mesh m = getMesh(); in BitmapTextPage()
133 Mesh m = getMesh(); in assemble()
/external/jmonkeyengine/engine/src/test/jme3test/conversion/
DTestTriangleStrip.java53 Mesh teaMesh = teaGeom.getMesh(); in simpleInitApp()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/meshes/
DMeshContext.java30 public List<Geometry> getMesh() { in getMesh() method in MeshContext
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/util/
DCollisionShapeFactory.java211 Mesh mesh = geom.getMesh(); in createSingleMeshShape()
239 Mesh mesh = geom.getMesh(); in createSingleDynamicMeshShape()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/
DCollisionResult.java94 Mesh m = geometry.getMesh(); in getTriangle()
/external/jmonkeyengine/engine/src/test/jme3test/post/
DTestSSAO.java79 model.getMesh().scaleTextureCoordinates(new Vector2f(2, 2)); in simpleInitApp()
DTestLightScattering.java72 TangentBinormalGenerator.generate(((Geometry)((Node)scene).getChild(0)).getMesh()); in simpleInitApp()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DConstraintShrinkWrap.java54 Mesh mesh = ((Geometry) spatial).getMesh(); in bakeConstraint()
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DMeshLoader.java516 mesh = geoms.get(index).getMesh(); in startLodFaceList()
551 Mesh m = geoms.get(entry.getKey()).getMesh(); in endLevelOfDetail()
748 Mesh m = g.getMesh();
777 Mesh m = geoms.get(i).getMesh();
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
DParticlesModifier.java80 Mesh mesh = ((Geometry) spatial).getMesh(); in apply()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DLodControl.java127 Mesh mesh = geom.getMesh(); in setSpatial()

12