Search found 4 matches

by DanMenzz
Mon Jun 22, 2020 5:15 pm
Forum: Questions
Topic: Reading in cloud compare sbf binary files using C++, does not give me the expected output
Replies: 6
Views: 5499

Re: Reading in cloud compare sbf binary files using C++, does not give me the expected output

4242 After reading in header flag: 2 bytes NP: 1494655216077766656 After reading in NP: 10 bytes C:\Users\af836c\source\repos\SBFTest\x64\Debug\SBFTest.exe (process 19436) exited with code 0. Press any key to close this window . . .[/code] That is the correct output for this file. Just making sure ...
by DanMenzz
Thu Jun 18, 2020 6:50 pm
Forum: Questions
Topic: Reading in cloud compare sbf binary files using C++, does not give me the expected output
Replies: 6
Views: 5499

Re: Reading in cloud compare sbf binary files using C++, does not give me the expected output

The wiki is correct, I verified both the code and a file I saved locally with a hex editor. Without knowledge of the readFile class your using I suspect the issue is somewhere in this region. If you post what your using I can probably help debug. Thank you for the update! I am using the C++ std lib...
by DanMenzz
Thu Jun 18, 2020 6:46 pm
Forum: Questions
Topic: Reading in cloud compare sbf binary files using C++, does not give me the expected output
Replies: 6
Views: 5499

Re: Reading in cloud compare sbf binary files using C++, does not give me the expected output

Have you looked at the code in CloudCompare? ( https://github.com/CloudCompare/CloudCompare/blob/master/plugins/core/IO/qCoreIO/src/SimpleBinFilter.cpp ). That's definitely the source of truth for how the SBF format is organized.The wiki may be wrong?! And otherwise, a classical issue is with the b...
by DanMenzz
Wed Jun 17, 2020 7:11 pm
Forum: Questions
Topic: Reading in cloud compare sbf binary files using C++, does not give me the expected output
Replies: 6
Views: 5499

Reading in cloud compare sbf binary files using C++, does not give me the expected output

I ran into a problem and was hoping to get some suggestions. I am working with a binary file from a software called Cloud Compare. The binary file has the contents described here, https://www.cloudcompare.org/doc/wiki/index.php?title=SBF. The goal is to read in this file; correctly display the conte...