61
Bug Reports / Re: Large coordinates truncated in PLY
« on: March 15, 2013, 03:55:08 AM »
Hello Alexey,
Yes, I see that if I save the PLY in ascii format the precision is kept and displays fine in several viewers if the coordinates are offset at import time by 0,4390000.0
I saved the same file again in binary and it does not display properly even with an offset at import time.
So declaring float is not the issue and either the coordinates are not being stored at double precision in the binary PLY or different viewing softwares that allow offset at viewing time are not reading the binary PLY file properly.
Here are links to both files I created.
https://www.dropbox.com/s/vv21m6wxq1pnio2/FMHP_RU_sparse_ascii.ply
https://www.dropbox.com/s/dhqtb1vhtrgbv8r/FMHP_RU_sparse_binary.ply
Tom
Yes, I see that if I save the PLY in ascii format the precision is kept and displays fine in several viewers if the coordinates are offset at import time by 0,4390000.0
I saved the same file again in binary and it does not display properly even with an offset at import time.
So declaring float is not the issue and either the coordinates are not being stored at double precision in the binary PLY or different viewing softwares that allow offset at viewing time are not reading the binary PLY file properly.
Here are links to both files I created.
https://www.dropbox.com/s/vv21m6wxq1pnio2/FMHP_RU_sparse_ascii.ply
https://www.dropbox.com/s/dhqtb1vhtrgbv8r/FMHP_RU_sparse_binary.ply
Tom