thanks a lot, now it makes more sense. I slowly start to understand.
so maybe last little experiment with sketchup and three js to fully understand what is going on:
-
made a box in sketchup, by default gizmo/pivot/axes is on the “left” corner
-
exported it as dae and imported into threejs editor. Gizmo is presented in the “left” corner, same as in sketchup
-
edited object’s axes in sketchup. Moved the gizmo/axes/pivot to the “right” corner
-
exported it as dae and imported into threejs editor. Gizmo is presented in the “right” corner, same as in sketchup
-
selected each object in three js (one with “left” gizmo, another with “right” gizmo) and exported one by one as object (json)
-
made a diff of resulting json files
Results:
- threejs is fully aware of where is the “gizmo/handle/pivot/axes” - so it knows where is the objects (0,0,0) in the world coordinates (as mjurczyk noticed)
- the difference between these two objects, with only “gizmo/axes/pivot” changed:
2.1 object’s matrix property index 13 is changed (26.4647534 changed into 65.8348321,22)
2.2 geometry’s vertices positions are changed (seem to be translated by -39 which is a difference between 26 and 64)
So it seems that “origin/pivot” is just object’s (0,0,0) as you said and when it’s modified (it was moved along the “red” axis) it results in object’s matrix position changed (geometry is translated).
Do I understand correctly?




