I often dump the bytes of a numpy array to a buffer for fast writing to file
This probably uses system endianness. Since quantized mesh files must be little-endian, presumably files written on big-endian computers would be incorrect.
Look at the Numpy byte-swapping docs for a fix
I often dump the bytes of a numpy array to a buffer for fast writing to file
quantized-mesh-encoder/quantized_mesh_encoder/encode.py
Line 144 in efd52a2
This probably uses system endianness. Since quantized mesh files must be little-endian, presumably files written on big-endian computers would be incorrect.
Look at the Numpy byte-swapping docs for a fix