Home
last modified time | relevance | path

Searched refs:patchSize (Results 1 – 12 of 12) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DTerrainGrid.java145 …q = new TerrainQuad(getName() + "Quad" + quadCell, patchSize, quadSize, heightMapAt == null ? null… in run()
194 …public TerrainGrid(String name, int patchSize, int maxVisibleSize, Vector3f scale, TerrainGridTile… in TerrainGrid() argument
197 this.patchSize = patchSize; in TerrainGrid()
204 terrainQuadGrid.setPatchSize(this.patchSize); in TerrainGrid()
209 …public TerrainGrid(String name, int patchSize, int maxVisibleSize, Vector3f scale, TerrainGridTile… in TerrainGrid() argument
210 this(name, patchSize, maxVisibleSize, scale, terrainQuadGrid, new Vector2f(), 0); in TerrainGrid()
213 …public TerrainGrid(String name, int patchSize, int maxVisibleSize, TerrainGridTileLoader terrainQu… in TerrainGrid() argument
214 this(name, patchSize, maxVisibleSize, Vector3f.UNIT_XYZ, terrainQuadGrid); in TerrainGrid()
218 …public TerrainGrid(String name, int patchSize, int maxVisibleSize, Vector3f scale, HeightMapGrid h… in TerrainGrid() argument
221 this.patchSize = patchSize; in TerrainGrid()
[all …]
DTerrainQuad.java100 protected int patchSize; // size of the individual patches field in TerrainQuad
148 public TerrainQuad(String name, int patchSize, int totalSize, float[] heightMap) {
149 this(name, patchSize, totalSize, Vector3f.UNIT_XYZ, heightMap);
162 public TerrainQuad(String name, int patchSize, int quadSize, int totalSize, float[] heightMap) {
163 this(name, patchSize, totalSize, quadSize, Vector3f.UNIT_XYZ, heightMap);
176 public TerrainQuad(String name, int patchSize, int size, Vector3f scale, float[] heightMap) {
177 this(name, patchSize, size, scale, heightMap, size, new Vector2f(), 0);
194 …public TerrainQuad(String name, int patchSize, int totalSize, int quadSize, Vector3f scale, float[…
195 this(name, patchSize, quadSize, scale, heightMap, totalSize, new Vector2f(), 0);
201 protected TerrainQuad(String name, int patchSize, int quadSize,
[all …]
DTerrainGridTileLoader.java18 public void setPatchSize(int patchSize); in setPatchSize() argument
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
DImageTileLoader.java29 private int patchSize; field in ImageTileLoader
129 this.patchSize = size - 1; in setSize()
134 …TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, heightMapAt == null ? null… in getTerrainQuadAt()
138 public void setPatchSize(int patchSize) { in setPatchSize() argument
139 this.patchSize = patchSize; in setPatchSize()
DFractalTileLoader.java42 private int patchSize; field in FractalTileLoader
68 …TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, heightMapAt == null ? null… in getTerrainQuadAt()
72 public void setPatchSize(int patchSize) { in setPatchSize() argument
73 this.patchSize = patchSize; in setPatchSize()
DAssetTileLoader.java29 private int patchSize; field in AssetTileLoader
67 public void setPatchSize(int patchSize) { in setPatchSize() argument
68 this.patchSize = patchSize; in setPatchSize()
76 TerrainQuad q = new TerrainQuad("Quad" + location, patchSize, quadSize, null); in createNewQuad()
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
DHelloTerrain.java103 int patchSize = 65; in simpleInitApp() local
104 terrain = new TerrainQuad("my terrain", patchSize, 513, heightmap.getHeightMap()); in simpleInitApp()
114 …control.setLodCalculator( new DistanceLodCalculator(patchSize, 2.7f) ); // patch size, and a multi… in simpleInitApp()
/external/opencv/cv/src/
Dcvlkpyramid.cpp307 CvSize patchSize = cvSize( winSize.width * 2 + 1, winSize.height * 2 + 1 ); in cvCalcOpticalFlowPyrLK() local
308 int patchLen = patchSize.width * patchSize.height; in cvCalcOpticalFlowPyrLK()
309 int srcPatchLen = (patchSize.width + 2)*(patchSize.height + 2); in cvCalcOpticalFlowPyrLK()
488 u.x += (minI.x - (patchSize.width - maxI.x + 1))*0.5f; in cvCalcOpticalFlowPyrLK()
489 u.y += (minI.y - (patchSize.height - maxI.y + 1))*0.5f; in cvCalcOpticalFlowPyrLK()
519 _v.x = v.x + (minJ.x - (patchSize.width - maxJ.x + 1))*0.5f; in cvCalcOpticalFlowPyrLK()
520 _v.y = v.y + (minJ.y - (patchSize.height - maxJ.y + 1))*0.5f; in cvCalcOpticalFlowPyrLK()
696 CvSize patchSize = cvSize( winSize.width * 2 + 1, winSize.height * 2 + 1 ); in cvCalcAffineFlowPyrLK() local
697 int patchLen = patchSize.width * patchSize.height; in cvCalcAffineFlowPyrLK()
698 int patchStep = patchSize.width * sizeof( patchI[0] ); in cvCalcAffineFlowPyrLK()
[all …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/
DSimpleLodThreshold.java66 public SimpleLodThreshold(int patchSize, float lodMultiplier) { in SimpleLodThreshold() argument
67 this.size = patchSize; in SimpleLodThreshold()
DDistanceLodCalculator.java60 public DistanceLodCalculator(int patchSize, float multiplier) { in DistanceLodCalculator() argument
61 this.size = patchSize; in DistanceLodCalculator()
/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_from_sm4.cpp144 unsigned g3dPrim(const unsigned prim, unsigned *patchSize = NULL) const;
167 Converter::g3dPrim(const unsigned prim, unsigned *patchSize) const in g3dPrim()
184 if (patchSize) in g3dPrim()
185 *patchSize = in g3dPrim()
/external/deqp/modules/gles31/functional/
Des31fTessellationTests.cpp2353 const int patchSize = m_primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3 in iterate() local
2362 gl.patchParameteri(GL_PATCH_VERTICES, patchSize); in iterate()
2406 DE_ASSERT((int)positions.size() == patchSize); in iterate()
2414 glu::pr::Patches(patchSize)); in iterate()