Package com.jme3.terrain.geomipmap.picking
package com.jme3.terrain.geomipmap.picking
picking algorithms for use with terrain
-
ClassDescriptionIt basically works by casting a pick ray against the bounding volumes of the TerrainQuad and its children, gathering all of the TerrainPatches hit (in distance order.) The triangles of each patch are then tested using the BresenhamYUpGridTracer to determine which triangles to test and in what order.Works on the XZ plane, with positive Y as up.Pick result on a terrain patch with the intersection on the bounding box of that terrain patch.Pick the location on the terrain from a given ray.