#!/bin/sh
# Negative control for the archival task: the unmodified TMC13 encoder with an MPEG CTC-style lossless octree
# configuration (no sensor model). Always lossless, never within the budgets.
set -e
d="$(dirname "$0")"
exec "$d/bin/tmc3" --mode=0 --uncompressedDataPath="$1" --compressedStreamPath="$3" \
  --mergeDuplicatedPoints=0 --positionQuantizationScale=1 --partitionMethod=0 \
  --geomTreeType=0 --trisoupNodeSizeLog2=0 --neighbourAvailBoundaryLog2=8 --intra_pred_max_node_size_log2=6 \
  --inferredDirectCodingMode=3 --maxNumQtBtBeforeOt=6 --minQtbtSizeLog2=0 --planarEnabled=1 --planarModeIdcmUse=32 \
  --convertPlyColourspace=1 --transformType=1 --numberOfNearestNeighborsInPrediction=3 --levelOfDetailCount=0 \
  --direct_avg_predictor_disabled_flag=1 --intraLodPredictionSkipLayers=0 --qp=4 --bitdepth=8 \
  --attribute=reflectance > /dev/null
