Primative Not Translating As Expected

Feel free to ask any question here
Post Reply
dcobra
Posts: 12
Joined: Thu Jan 28, 2021 3:37 pm

Primative Not Translating As Expected

Post by dcobra »

Hello,

I'm using the latest alpha release and am noticing that primatives aren't translating as expected. When I translate by a value of 0.0004 or less the primative doesn't move and if translate by a value between 0.9 and 0.0005 it moves by a different amount than that specified. Any ideas on what could be causing this behaviour?

Thanks,
Cody
daniel
Site Admin
Posts: 7721
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Primative Not Translating As Expected

Post by daniel »

I can't reproduce this... Are your primitives already at somehow large coordinates? (in which case you could actually observe the effect of numerical inaccuracy due to the fact that we store coordinates on 32bits)
Daniel, CloudCompare admin
dcobra
Posts: 12
Joined: Thu Jan 28, 2021 3:37 pm

Re: Primative Not Translating As Expected

Post by dcobra »

I think you are right. The coordinates were in the 10,000 range. I moved them closer to 0 and now everything works! Thank you!
Post Reply