I have a mesh model in X, Y, Z format. Lets say.
Points *P;
In first step, I want to normalize this mesh into (-1, -1, -1) to (1, 1, 1). Here normalize means to fit this mesh into a box of (-1, -1, -1) to (1, 1, 1).
then after that I do some processing to normalized mesh, finally i want to revert the dimensions to similar with the original mesh.
step-1: P = Original Mesh dimensions;
step-2: nP = Normalize(P); // from (-1, -1, -1) to (1, 1, 1)
step-3: cnP = do something with (nP), number of vertices has increased or decreased.
step-4: Original Mesh dimensions = Revert(cnP); // dimension should be same with the original mesh
how can I do that?