Home
last modified time | relevance | path

Searched refs:numIndices (Results 1 – 8 of 8) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/scene/mesh/
DVirtualIndexBuffer.java25 protected int numIndices = 0; field in VirtualIndexBuffer
33 numIndices = numVerts; in VirtualIndexBuffer()
36 numIndices = (numVerts - 1) * 2 + 1; in VirtualIndexBuffer()
39 numIndices = (numVerts - 1) * 2; in VirtualIndexBuffer()
42 numIndices = numVerts; in VirtualIndexBuffer()
45 numIndices = (numVerts - 2) * 3; in VirtualIndexBuffer()
48 numIndices = (numVerts - 2) * 3; in VirtualIndexBuffer()
51 numIndices = numVerts; in VirtualIndexBuffer()
98 return numIndices; in size()
DWrappedIndexBuffer.java29 numIndices = mesh.getTriangleCount(); in WrappedIndexBuffer()
34 numIndices = mesh.getTriangleCount() * 2; in WrappedIndexBuffer()
39 numIndices = mesh.getTriangleCount() * 3; in WrappedIndexBuffer()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
DPrimitiveGroup.java46 public int numIndices; field in PrimitiveGroup
62 return getTypeString() + " : " + numIndices; in toString()
69 int[] stripLengths = new int[numIndices]; in getFullInfo()
73 for ( int i =0; i < numIndices; i++) { in getFullInfo()
86 sb.append("Strip:").append(numIndices).append("\n"); in getFullInfo()
99 if ( indices.length == numIndices ) in getTrimmedIndices()
101 int[] nind = new int[numIndices]; in getTrimmedIndices()
102 System.arraycopy(indices,0,nind,0,numIndices); in getTrimmedIndices()
DTriStrip.java156 int numIndices = 0; in generateStrips() local
158 numIndices += tempStrips.at(i).m_faces.size() * 3; in generateStrips()
162 numIndices += tempFaces.size() * 3; in generateStrips()
165 primGroupArray[0].indices = new int[numIndices]; in generateStrips()
166 primGroupArray[0].numIndices = numIndices; in generateStrips()
179 primGroupArray[0].numIndices -= 3; in generateStrips()
227 primGroupArray[stripCtr].numIndices = stripLength; in generateStrips()
245 primGroupArray[faceGroupLoc].numIndices = tempFaces.size() * 3; in generateStrips()
276 int numIndices = indices.length; in remapIndices() local
277 int[] remappedIndices = new int[numIndices]; in remapIndices()
[all …]
DStripifier.java126 int numIndices = indices.size(); in buildStripifyInfo() local
127 faceInfos.reserve(numIndices / 3); in buildStripifyInfo()
134 int numTriangles = numIndices / 3; in buildStripifyInfo()
293 int numIndices = indices.size(); in getNextIndex() local
295 int v0 = indices.get(numIndices - 2); in getNextIndex()
296 int v1 = indices.get(numIndices - 1); in getNextIndex()
532 static boolean nextIsCW(int numIndices) { in nextIsCW() argument
533 return ((numIndices % 2) == 0); in nextIsCW()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DModelConverter.java82 numElements += group.numIndices; in generateStrips()
96 elementLengths[i] = group.numIndices; in generateStrips()
107 curIndex += group.numIndices; in generateStrips()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java1070 int numIndices = indexBuf.size(); in extractVertexData() local
1072 IntMap<Integer> oldIndicesToNewIndices = new IntMap<Integer>(numIndices); in extractVertexData()
1076 for (int i = 0; i < numIndices; i++) { in extractVertexData()
1102 newIndexBuf = new IndexIntBuffer(BufferUtils.createIntBuffer(numIndices)); in extractVertexData()
1104 newIndexBuf = new IndexShortBuffer(BufferUtils.createShortBuffer(numIndices)); in extractVertexData()
1107 for (int i = 0; i < numIndices; i++) { in extractVertexData()
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DMeshLoader.java198 int numIndices = indicesPerFace * numFaces; in startFaces() local
202 sb = BufferUtils.createShortBuffer(numIndices); in startFaces()
206 ib = BufferUtils.createIntBuffer(numIndices); in startFaces()