Home
last modified time | relevance | path

Searched refs:patchXY (Results 1 – 2 of 2) sorted by relevance

/dports/graphics/ogre3d/ogre-1.11.6/Samples/Media/materials/programs/HLSL/
H A DTerrainTessellation.hlsl456 int2 patchXY;
457 patchXY.y = PatchID / PATCHES_PER_TILE_EDGE;
458 patchXY.x = PatchID - patchXY.y * PATCHES_PER_TILE_EDGE;
466 if (ip[0].adjacency.neighbourMinusX < 0.55 && patchXY.x == 0)
468 if (ip[0].adjacency.neighbourMinusY < 0.55 && patchXY.y == 0)
470 if (ip[0].adjacency.neighbourPlusX < 0.55 && patchXY.x == PATCHES_PER_TILE_EDGE-1)
472 if (ip[0].adjacency.neighbourPlusY < 0.55 && patchXY.y == PATCHES_PER_TILE_EDGE-1)
476 if (ip[0].adjacency.neighbourMinusX > 1 && patchXY.x == 0)
478 if (ip[0].adjacency.neighbourMinusY > 1 && patchXY.y == 0)
480 if (ip[0].adjacency.neighbourPlusX > 1 && patchXY.x == PATCHES_PER_TILE_EDGE-1)
[all …]
/dports/graphics/colmap/colmap-3.6/src/feature/
H A Dsift.cc679 std::vector<float> patchXY(2 * kPatchSide * kPatchSide); in ExtractCovariantSiftFeaturesCPU() local
716 vl_imgradient_polar_f(patchXY.data(), patchXY.data() + 1, 2, in ExtractCovariantSiftFeaturesCPU()
720 vl_sift_calc_raw_descriptor(sift.get(), patchXY.data(), in ExtractCovariantSiftFeaturesCPU()