This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VXL file format differs with 32 bit build and 64 bit build of Voxel SDK

Hi,

we recently discovered a platform dependency in the VXL file format. First of all, here is what the first image in a recording done on a 64 bit platform looks like:
(The recording was done using the OPT 8241 EVM and the result is regardless of the version of VoxelSDK and VoxelViewer)

If you read that recording with a 32 bit build of Voxel SDK, you get the following vertical stripes effect for every frame:


If you do it vice versa, i.e. record with 32 bit Voxel SDK or VoxelViewer and try to read it on a 64 bit platform, it will crash. We tracked that down due to the usage of size_t. The number of bytes required to store a size_t is platform-dependent and VoxelSDK does not have a check here, but just reads/writes size_t with the number of bytes it uses on the current platform.

We plan to send a merge-request on the repository.


Best regards
Thilo