Enum Class ELcdOGC3DTilesMeshCompressionType

java.lang.Object
java.lang.Enum<ELcdOGC3DTilesMeshCompressionType>
com.luciad.format.tiled3d.ogc3dtiles.ELcdOGC3DTilesMeshCompressionType
All Implemented Interfaces:
Serializable, Comparable<ELcdOGC3DTilesMeshCompressionType>, Constable

public enum ELcdOGC3DTilesMeshCompressionType extends Enum<ELcdOGC3DTilesMeshCompressionType>
Defines the supported mesh compression algorithms for encoding mesh data as OGC 3D Tiles:

Supported values:


Use: TLcdOGC3DTilesModelEncoder.setMeshCompression(com.luciad.format.tiled3d.ogc3dtiles.ELcdOGC3DTilesMeshCompressionType)
Since:
2021.1
  • Enum Constant Details

    • NONE

      public static final ELcdOGC3DTilesMeshCompressionType NONE
      No mesh compression
    • DRACO

      public static final ELcdOGC3DTilesMeshCompressionType DRACO
      Draco mesh compression.

      The Google Draco library is an open-source royalty-free library offering compression for 3D graphics. The library was extended for GLTF 2.0 by Khronos.

      Draco mesh compression can significantly reduce the size of 3D content: it compresses vertex positions, normals, texture coordinates, colors, and other generic properties. This reduces the size of the B3DM files inside the OGC 3D Tiles dataset, which leads to faster streaming. The client in which you want to visualize the data needs to support Draco compression. It will decompress the data at runtime.

      Although the time to decode the tiles increases, the time to stream the tiles decreases more, resulting in an overall reduction of load times. The maximum error for the resulting mesh is less than 1mm.

  • Method Details

    • values

      public static ELcdOGC3DTilesMeshCompressionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ELcdOGC3DTilesMeshCompressionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null