com.jme3.terrain.geomipmap.lodcalc.util
Class EntropyComputeUtil

java.lang.Object
  extended by com.jme3.terrain.geomipmap.lodcalc.util.EntropyComputeUtil

public class EntropyComputeUtil
extends java.lang.Object

Computes the entropy value δ (delta) for a given terrain block and LOD level. See the geomipmapping paper section "2.3.1 Choosing the appropriate GeoMipMap level"


Constructor Summary
EntropyComputeUtil()
           
 
Method Summary
static float computeLodEntropy(Mesh terrainBlock, java.nio.IntBuffer lodIndices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntropyComputeUtil

public EntropyComputeUtil()
Method Detail

computeLodEntropy

public static float computeLodEntropy(Mesh terrainBlock,
                                      java.nio.IntBuffer lodIndices)