Positon problem by export mesh

Feel free to ask any question here
Post Reply
Xifa
Posts: 5
Joined: Thu Aug 29, 2024 7:41 am

Positon problem by export mesh

Post by Xifa »

Hallo, i create a mesh in cloudcompare und export in unity, the position is not at center but the value is at 0,0,0 and it has a rotation but the mesh model dont hat the rotation wenn in cloudcompare. is there a way to make the position away at center with no rotations?there is a transformation matrix and the value is 1,0,0,0 |0,1,0,0|0,0,1,0|0,0,0,1 is this mean is at center with no rotation?
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Positon problem by export mesh

Post by daniel »

Which mesh format are you using?

I'm a bit confused by your description. You can always translate (or rotate) the mesh in different ways (either manually with the 'Edit > Rotate/Translate' tool, or in a more controlled way with 'Edit > Apply transformation').
Daniel, CloudCompare admin
Xifa
Posts: 5
Joined: Thu Aug 29, 2024 7:41 am

Re: Positon problem by export mesh

Post by Xifa »

i use e57 foramt for pointcloud, and create a FBX mesh. i load it in unity und the mesh position value and rotation value is at 0,0,0, but the mesh is not at 0,0,0 poisiton in the snece in unity ,so i thinkt the position and rotation ist not set at 0,0,0 for the pointcloud und the mesh, i looked wiki und find the Rotate/Translate' tool and Apply transformation but didnt know what value i should look for,to translate or ratate the mesh. there are values in properties like box dimensions,shift/ global box center with x,y,z .is this valves tells me what i need to translate or ratete the mesh to meke it at center ?
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Positon problem by export mesh

Post by daniel »

Well, it looks that you know that the mesh (shape) is not centered on (0, 0, 0), but you don't know exactly what's the exact criteria to determine whether it's centered or not?

Regarding centering, if it's sufficient for you then yes, you can use the bounding-box center and use it in the 'Edit > Apply transformation' tool (-BB.x, -BB.y, -BB.z).

For the orientation, that might be trickier, as I don't know better than you what's the right orientation ;)
Daniel, CloudCompare admin
Post Reply