This error occurs after decimating several obj files to reduce the quality of the original mesh / file size. We’re doing this as we had 200~ photogrammetry models in close proximity which caused serious performance issues within cesiumjs.
All of the models bar this model have tiled fine. Now when we tile the model with the following args:
model-tiler -I PHOTOGRAMMETRY --input-list="path\to\input_list.txt" --latitude=lat --longitude=long --texture-format=WEBP --texture-quality=40 --compression-precision-meters=0.005 --verbose=true --compression-level=6 -o="out\path"
FYI the model tiled fine prior to reducing it’s quality.
Now we receive:
The argument 'size' is invalid. Received NaN.
It’s a rather strange error, the model consists of 4 .objs.
When tiling all objs together the error occurs.
When tiling each obj individually no error occurs.
When tiling objs 1 & 2 together no error occurs.
When tiling objs 1-3 together no error occurs.
When tiling objs 1, 3 & 4 together no error occurs.
When tiling objs 2-4 together no error occurs.
What could be causing this issue?
I have also attempted to tile this model using cesium Ion, asset id 1266016. The models are crrently tiling and are at 35%. I’ll update this post once the tiling succeeds/fails.