You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exporting a mesh, are there any exporters that use double precision? I have a model (gLTF) with a transform that puts the coordinates in GCC space, however when I exported the model (Collada) I noticed the transform was missing. I ran Filters -> Mesh Layer -> Matrix: Freeze Current Matrix to bake the transform before exporting, but then I noticed the precision of the resulting vertices are off. My assumption is due to these values being stored as float32 vs float64.
I don't have a requirement to save out as Collada, but I'm using it as intermediate storage and then converting back to gLTF with assimp since gLTF exporting currently isn't supported in MeshLab.
Anyone have some ideas how to accomplish what I'm trying to do? I'd rather not bake the matrix, but only way I could get them in the "right" spot.. but then the verts are not in the correct spot.
edit: I am using MeshLab 2021.07d
edit2: Digging through the code I see Stanford Polygon File Format (*.ply) can export as doubles, and seems to fix the issue I'm having.. with that said is there any way not to have to freeze matrix when exporting? I assume this would be dependent on the export format?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When exporting a mesh, are there any exporters that use double precision? I have a model (gLTF) with a transform that puts the coordinates in GCC space, however when I exported the model (Collada) I noticed the transform was missing. I ran Filters -> Mesh Layer -> Matrix: Freeze Current Matrix to bake the transform before exporting, but then I noticed the precision of the resulting vertices are off. My assumption is due to these values being stored as float32 vs float64.
I don't have a requirement to save out as Collada, but I'm using it as intermediate storage and then converting back to gLTF with assimp since gLTF exporting currently isn't supported in MeshLab.
Anyone have some ideas how to accomplish what I'm trying to do? I'd rather not bake the matrix, but only way I could get them in the "right" spot.. but then the verts are not in the correct spot.
edit: I am using MeshLab 2021.07d
edit2: Digging through the code I see Stanford Polygon File Format (*.ply) can export as doubles, and seems to fix the issue I'm having.. with that said is there any way not to have to freeze matrix when exporting? I assume this would be dependent on the export format?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions