Hello
I'm cloning an object, for sharing the mesh data, and I'm a bit confused.
I am trying to transform the mesh data at start-up by using rotateMesh() and translateMesh() after applying proper transformations (for aligning the objects properly).
I am wondering what is the better option (in terms of performance and memory consumption) - cloning the original object (with the original mesh data) and then applying rotateMesh/translateMesh OR first applying mesh transformations and then cloning? Is there a difference?
What happens to the mesh data after rotateMesh/translateMesh? Is it still being shared, so a transformation on one object affects the other?
Thanks
AP
I'm cloning an object, for sharing the mesh data, and I'm a bit confused.
I am trying to transform the mesh data at start-up by using rotateMesh() and translateMesh() after applying proper transformations (for aligning the objects properly).
I am wondering what is the better option (in terms of performance and memory consumption) - cloning the original object (with the original mesh data) and then applying rotateMesh/translateMesh OR first applying mesh transformations and then cloning? Is there a difference?
What happens to the mesh data after rotateMesh/translateMesh? Is it still being shared, so a transformation on one object affects the other?
Thanks
AP