Translate/Rotate accidental translation when using XYZ rotation

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
Minewise_Technology
Posts: 4
Joined: Sat Jul 18, 2015 6:08 pm

Translate/Rotate accidental translation when using XYZ rotation

Post by Minewise_Technology »

Hey Guys,

When I am manually registering two clouds together I use a combination of individual X-axis. Y-axis & Z-axis rotations. But I often use the XYZ rotation for coarse alignment.

My issue is that if I ever use the XYZ rotation, after I am done and accept the change the cloud will automatically translate to a different location (rotation kept intact) so I have to re-translate it back into the original location I placed it.

I have this problem every time, it is not intermittent. Not exactly sure which variables I have in my project that I should note here . I have some FBX solids imported from AutoCAD in my tree of objects in the project (visibility toggled on or off makes no change). Working with up to 40 different clouds in the project (all but two toggled off when registering two clouds) each with a point count of about 300,000 pts.

Running Version: 2.6.1 [Windows 64 bits]

Let me know what you think ;)
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Translate/Rotate accidental translation when using XYZ rotation

Post by daniel »

Hum, that's a bit weird indeed.

It's hard to tell what's going wrong like this.

First can you try the latest beta version? (see the download page of CC - I just updated it yesterday with the latest beta).

Then, if it doesn't fix your issue, could you try to narrow your issue to 2 simple entities ad send them to me (with some indications that could help me reproduce the bug)?
Daniel, CloudCompare admin
Minewise_Technology
Posts: 4
Joined: Sat Jul 18, 2015 6:08 pm

Re: Translate/Rotate accidental translation when using XYZ rotation

Post by Minewise_Technology »

Hey Daniel,

I have uploaded a screen capture video to dropbox which you can snag from the link below. You will see I am running the latest beta and the issue is still persists. Let me know if anything comes to mind. If not I can follow up with some entities like you initially requested.

https://www.dropbox.com/sh/fk2wlz3cva5v ... ICTJa?dl=0

(Some brown nosing...I really like your program! In fact we are going to work at generating a plugin for it so it works with our 3D scanner)

Thanks for looking into this for me!
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Translate/Rotate accidental translation when using XYZ rotation

Post by daniel »

Hum, that's really weird. Especially since the display transformation (during edition) and the applied one should be exactly the same.

If you can send me the two visible points clouds (the others shouldn't have any influence) maybe with the same hierarchy structure (i.e. groups) in a BIN file it should help me investigate.
Daniel, CloudCompare admin
Minewise_Technology
Posts: 4
Joined: Sat Jul 18, 2015 6:08 pm

Re: Translate/Rotate accidental translation when using XYZ rotation

Post by Minewise_Technology »

Hey Daniel,

I think I was able to narrow in a bit closer to what the issue is. It is definitely related to having FBX solids in the project. I began by importing two brand new clouds and roughly aligned them, but found that I didn't have the problem. I could rotate in all axis and it behaved properly. So I imported a DXF drawing (of some Underground mine levels) and then did some further rotations on the cloud and it still behaved. So then I imported some Mine levels in FBX format and did some rotations. It was at this point the problem began. Regardless if the FBX solids were visible, the problem would occur. Even after deletion of that FBX layer, saving and reopening the problem continued.

I have attached a .BIN file to the same DropBox link. I has two clouds and the FBX solids.

https://www.dropbox.com/sh/fk2wlz3cva5v ... ICTJa?dl=0

Let me know what you find ;)
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Translate/Rotate accidental translation when using XYZ rotation

Post by daniel »

Thanks for the accurate feedback. It's perfect.

I guess we have left some virtual transformations somewhere in the FBX importer and it must screw the rendering pipeline during the interactive transformation process. I'll check this asap and I'll get back to you.
Daniel, CloudCompare admin
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Translate/Rotate accidental translation when using XYZ rotation

Post by daniel »

Hum, in fact I can't reproduce the issue with this file. Do you manage to reproduce it with the BIN file? Or do we lose all the magic because the FBX importer is not called anymore...
Daniel, CloudCompare admin
Minewise_Technology
Posts: 4
Joined: Sat Jul 18, 2015 6:08 pm

Re: Translate/Rotate accidental translation when using XYZ rotation

Post by Minewise_Technology »

Hey Man,

Sorry for the delay, I was out of the country for the last couple weeks.

I was pretty convinced that the problem was related to the FBX import, but I have have recently noticed it happens when I have a large number of clouds in the project without any FBX files.

If I can zero in on the problem better I will follow up with it. Let me know if you encounter the problem ;)

Thanks!

- James
Post Reply