Problems when opening a obj with edited global shift and scale

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
oeysteindigre
Posts: 3
Joined: Fri Mar 01, 2024 10:51 am

Problems when opening a obj with edited global shift and scale

Post by oeysteindigre »

Hi, and thanks for this amazing software!
I have a issue when saving a obj with edited global shift and scale.
When opening the saved obj file in common viewers, the modell is damaged.
Any idea how to avoid this problem?
Attachments
damaged obj saved from CC
damaged obj saved from CC
Skjermbilde (298).png (1.52 MiB) Viewed 356 times
Original Obj created in agisoft
Original Obj created in agisoft
Skjermbilde (299).png (1.88 MiB) Viewed 356 times
Obj with edited shift and scale aligned to a pointcloud.
Obj with edited shift and scale aligned to a pointcloud.
Skjermbilde (297).png (1.28 MiB) Viewed 356 times
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Problems when opening a obj with edited global shift and scale

Post by daniel »

If you open the file again in CloudCompare, is the model damaged, or does it still look ok?

Because I wonder if the other tool is properly managing large coordinates? (OpenGL for instance doesn't like large coordinates, and it creates rendering issues due to the truncated coordinates).
Daniel, CloudCompare admin
oeysteindigre
Posts: 3
Joined: Fri Mar 01, 2024 10:51 am

Re: Problems when opening a obj with edited global shift and scale

Post by oeysteindigre »

Thanks for answering Daniel.
It’s looking good in CC. Also in agisoft.
In windows 3d-viewer and meshlab it’s not.
Is it possible to not save as large coordinates, or you know other workarounds?
oeysteindigre
Posts: 3
Joined: Fri Mar 01, 2024 10:51 am

Re: Problems when opening a obj with edited global shift and scale

Post by oeysteindigre »

It worked well when turning of the “preserve global shift on save” function :)
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Problems when opening a obj with edited global shift and scale

Post by daniel »

Ah yes, or you can also use later the 'Edit > Edit Global Shift & Scale' option (to set the Global Shift to (0, 0, 0)).
Daniel, CloudCompare admin
Post Reply