cork icon indicating copy to clipboard operation
cork copied to clipboard

Low resolution of meshes?

Open matraspe opened this issue 11 years ago • 5 comments

Hi,

After successfully compiling and running cork (Windows 7 64) I was quite surprised to see the very coarse resolution of the objects: in the screenshot the result for the sample geometry (difference of ballA.off and ballB.off) is shown. Is there a setting of grid size or samples I have missed? Similarly coarse results occur for other custom meshes, too.

Thanks and regards, Matthias

screenshot_corktest_meshlab

matraspe avatar Jul 25 '14 20:07 matraspe

That's very strange. Can you tell me what order the coordinates your model uses are? Is it very far from the origin?

There is a slight quantization for the purposes of arithmetic, but it a should be at the 10^-6 scale relative to the largest coordinate value, so it should be unnoticable.

-- Gilbert

On Jul 25, 2014, at 1:12 PM, matraspe [email protected] wrote:

Hi,

After successfully compiling and running cork (Windows 7 64) I was quite surprised to see the very coarse resolution of the objects: in the screenshot the result for the sample geometry (difference of ballA.off and ballB.off) is shown. Is there a setting of grid size or samples I have missed? Similarly coarse results occur for other custom meshes, too.

Thanks and regards, Matthias


Reply to this email directly or view it on GitHub.

gilbo avatar Jul 26 '14 16:07 gilbo

Thanks for answering: actually, the depicted example uses the sample data included with cork (ballA|B.off). My own data is somewhat translated from the origin, but in the range of 50-150 units.

matraspe avatar Jul 26 '14 19:07 matraspe

Ahh, I just noticed you're on Windows. In all likelihood there's something weird about how MPIR is being used that's breaking the code. This is very likely to be an arithmetic bug, so that's the obvious problem area.

-- Gilbert

On Jul 26, 2014, at 12:57 PM, matraspe [email protected] wrote:

Thanks for answering: actually, the depicted example uses the sample data included with cork (ballA|B.off). My own data is somewhat translated from the origin, but in the range of 50-150 units.


Reply to this email directly or view it on GitHub.

gilbo avatar Jul 26 '14 21:07 gilbo

Yes, only MeshLab was running on Mac. Any chance to narrow it down? MPIR seems no fun... Do you have a prebuilt test binary for windows available? Thx

matraspe avatar Jul 27 '14 07:07 matraspe

Did you verify that MPIR is working? I don't have a test binary ready. I can try to poke around my windows box later.

On Jul 27, 2014, at 12:56 AM, matraspe [email protected] wrote:

Yes, only MeshLab was running on Mac. Any chance to narrow it down? MPIR seems no fun... Do you have a prebuilt test binary for windows available? Thx


Reply to this email directly or view it on GitHub.

gilbo avatar Jul 27 '14 18:07 gilbo